/* ============================================================
   Sylvaris WordPress Theme — screen.css
   Direct port of Ghost theme screen.css.
   CSS variables are injected via wp_add_inline_style() in functions.php.
   ============================================================ */

/* ── CSS Variables (fallback defaults — overridden by functions.php inline style) ── */
:root {
    --bg:           #2a2a2a;
    --surface:      #343434;
    --surface2:     #3c3c3c;
    --border:       rgba(156, 201, 182, 0.18);
    --border-strong:rgba(156, 201, 182, 0.35);

    --text:         #e5e5e5;
    --text-secondary:#ababab;
    --text-muted:   #737373;

    --accent-sylvaris:      #6dff9a;
    --accent-sylvaris-mid:  #5de085;
    --accent-sylvaris-dark: #4abf6e;
    --accent-sylvaris-dim:  rgba(109, 255, 154, 0.12);

    --accent-canopy:        #a2d55f;
    --accent-canopy-mid:    #8fbd4e;
    --accent-canopy-dark:   #7aa042;
    --accent-canopy-dim:    rgba(162, 213, 95, 0.12);

    --accent-folium:        #e14669;
    --accent-folium-mid:    #c93d5e;
    --accent-folium-dark:   #b03452;
    --accent-folium-dim:    rgba(225, 70, 105, 0.12);

    --accent-radix:         #c8834a;
    --accent-radix-mid:     #b07340;
    --accent-radix-dark:    #966336;
    --accent-radix-dim:     rgba(200, 131, 74, 0.12);

    --accent:               var(--accent-sylvaris);
    --accent-dim:           var(--accent-sylvaris-dim);
    --folium:               var(--accent-folium);
    --folium-dim:           var(--accent-folium-dim);
    --accent-mid:           var(--accent-sylvaris-mid);
    --accent-dark:          var(--accent-sylvaris-dark);

    --section-accent:       var(--accent-sylvaris);
    --section-accent-mid:   var(--accent-sylvaris-mid);
    --section-accent-dark:  var(--accent-sylvaris-dark);
    --section-accent-dim:   var(--accent-sylvaris-dim);

    --tag-ai:       #a78bfa;
    --tag-dev:      #38bdf8;
    --tag-infra:    #fb923c;
    --tag-security: #f87171;
    --tag-hardware: #fbbf24;
    --tag-business: #34d399;

    --font-sans:    'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    --light-bg:       #f0ece6;
    --light-surface:  #e4dfd8;
    --light-surface2: #d8d2cb;

    --nav-height:   64px;
    --container:    1400px;
    --content-width:720px;
    --sidebar-left-width:  220px;
    --sidebar-right-width: 280px;
}

/* ── Section accent overrides ──────────────────────────────────────────────── */
.sylv-section-canopy {
    --section-accent:      var(--accent-canopy);
    --section-accent-mid:  var(--accent-canopy-mid);
    --section-accent-dark: var(--accent-canopy-dark);
    --section-accent-dim:  var(--accent-canopy-dim);
}

.sylv-section-folium {
    --section-accent:      var(--accent-folium);
    --section-accent-mid:  var(--accent-folium-mid);
    --section-accent-dark: var(--accent-folium-dark);
    --section-accent-dim:  var(--accent-folium-dim);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.sylv-pre-light body,
body.sylv-light {
    background-color: var(--light-bg, #f0ece6);
    color: #1a1a1a;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

/* ── Viewport + layout shell ────────────────────────────────────────────────── */
.gh-viewport { display: flex; flex-direction: column; min-height: 100vh; }
.gh-main { flex: 1; }

/* ================================================================
   NAVIGATION
   ================================================================ */

.gh-head {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    overflow: visible;
    padding: 0 2rem;
}

.gh-head-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0;
    max-width: var(--container);
    margin: 0 auto;
    gap: 1rem;
}

/* Section nav tabs (left side) */
.gh-head-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    gap: 8px;
}

/* Home icon */
.sylv-nav-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 6px;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.sylv-nav-home:hover { opacity: 1; }
.sylv-nav-home-icon {
    width: 26px; height: 26px;
    object-fit: contain; border-radius: 4px; display: block;
}
.sylv-nav-home svg { color: var(--text-muted); display: block; }
.sylv-nav-home:hover svg { color: var(--text); }

/* Section nav tab base */
.sylv-nav-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
    height: 36px;
}

.sylv-nav-logo-img {
    height: 39px;
    width: auto;
    display: block;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.sylv-nav-tab:hover .sylv-nav-logo-img,
.sylv-nav-tab.active .sylv-nav-logo-img { opacity: 1; }

.sylv-nav-tab-text { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; }
.sylv-nav-tab-text.canopy { color: var(--accent-canopy); }
.sylv-nav-tab-text.folium { color: var(--accent-folium); }

.sylv-nav-canopy { background: transparent; border-color: transparent; }
.sylv-nav-canopy:hover,
.sylv-nav-canopy.active { background: var(--accent-dim); border-color: var(--border); }

.sylv-nav-folium { background: transparent; border-color: transparent; }
.sylv-nav-folium:hover,
.sylv-nav-folium.active { background: var(--accent-folium-dim); border-color: rgba(225, 70, 105, 0.28); }

/* Head actions (right side) */
.gh-head-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

/* Search button */
.gh-search-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s;
    flex-shrink: 0;
}
.gh-search-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Search form (hidden by default, shown when .active) */
.sylv-search-wrap {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) + 4px);
    right: 2rem;
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 200;
}
.sylv-search-wrap.active { display: block; }
.sylv-search-wrap form { display: flex; align-items: center; gap: 6px; }
.sylv-search-input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s;
}
.sylv-search-input:focus { border-color: var(--accent); }
.sylv-search-submit {
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.15s;
}
.sylv-search-submit:hover { border-color: var(--accent); }

/* Theme toggle */
.gh-theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.15s;
    flex-shrink: 0;
}
.gh-theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.theme-icon-sun  { display: block; }
.theme-icon-moon { display: none; }
.sylv-light .theme-icon-sun  { display: none; }
.sylv-light .theme-icon-moon { display: block; }

/* Subscribe button */
.gh-button {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.15s;
    border: 1px solid var(--border-strong);
    color: var(--accent);
    background: var(--accent-dim);
    white-space: nowrap;
}
.gh-button:hover { background: var(--accent-dim); border-color: var(--accent); }

/* Clock */
.nav-clock {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Hamburger (mobile only) */
.gh-burger {
    display: none;
    width: 34px; height: 34px;
    align-items: center; justify-content: center;
    border: 1px solid var(--accent-sylvaris-dim);
    border-radius: 6px;
    cursor: pointer;
    color: var(--accent-sylvaris);
    background: var(--accent-sylvaris-dim);
    transition: all 0.15s;
}
.gh-burger:hover {
    border-color: var(--accent-sylvaris);
    background: rgba(109, 255, 154, 0.18);
    color: var(--accent-sylvaris);
}

/* ================================================================
   FOOTER
   ================================================================ */

.gh-foot {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 0;
    background: var(--bg);
}

.gh-foot-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    max-width: var(--container);
    margin: 0 auto;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.gh-foot-brand { display: flex; flex-direction: column; gap: 0.75rem; }

.gh-foot-logo {
    display: inline-flex; align-items: center;
    text-decoration: none; color: var(--text);
    font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em;
}
.gh-foot-logo img { height: 26px; width: auto; display: block; }

.gh-foot-desc {
    font-size: 0.82rem; font-weight: 300;
    color: var(--text-muted); line-height: 1.6; max-width: 260px;
}

.gh-foot-col { display: flex; flex-direction: column; gap: 0.6rem; }
.gh-foot-col-title {
    font-family: var(--font-mono);
    font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 0.4rem;
}

.gh-foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.gh-foot-link {
    font-size: 0.85rem; font-weight: 400;
    color: var(--text-secondary); text-decoration: none;
    padding: 4px 0; transition: color 0.15s;
}
.gh-foot-link:hover { color: var(--accent); }
.gh-foot-link--canopy { color: var(--accent-canopy); }
.gh-foot-link--canopy:hover { color: var(--accent-canopy-mid); }
.gh-foot-link--folium { color: var(--accent-folium); }
.gh-foot-link--folium:hover { color: var(--accent-folium-mid); }

.gh-foot-nav,
.gh-foot-nav .nav {
    list-style: none !important; padding: 0 !important; margin: 0 !important;
    display: flex !important; flex-direction: column !important; gap: 0 !important;
}
.gh-foot-nav .nav li { list-style: none !important; padding: 0 !important; margin: 0 !important; line-height: 1 !important; }
.gh-foot-nav .nav li a,
.gh-foot-nav .nav li a:visited {
    font-family: var(--font-sans) !important;
    font-size: 0.85rem !important; font-weight: 400 !important;
    color: var(--text-secondary) !important; text-decoration: none !important;
    padding: 4px 0 !important; display: block !important; line-height: 1.5 !important;
    transition: color 0.15s;
}
.gh-foot-nav .nav li a:hover { color: var(--accent) !important; }
.gh-foot-nav .nav li a:empty { display: none !important; }

.gh-foot-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.75rem;
    max-width: var(--container); margin: 0 auto;
    padding: 1rem 0 1.5rem;
}
.gh-foot-bar-copy { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.gh-foot-bar-copy a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.gh-foot-bar-copy a:hover { color: var(--accent); }
.gh-foot-bar-links { display: flex; align-items: center; gap: 1.25rem; }
.gh-foot-bar-link { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.gh-foot-bar-link:hover { color: var(--accent); }

@media (max-width: 767px) {
    .gh-foot { padding: 2rem 1rem 0; }
    .gh-foot-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gh-foot-brand { grid-column: 1 / -1; }
    .gh-foot-desc { max-width: 100%; }
}
@media (max-width: 480px) {
    .gh-foot-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   FEED LAYOUT — 3-column (sidebar-left / feed / sidebar-right)
   ================================================================ */

.sylv-feed-layout {
    display: grid;
    grid-template-columns: var(--sidebar-left-width, 220px) 1fr var(--sidebar-right-width, 280px);
    grid-template-areas: "sidebar-left feed sidebar-right";
    max-width: var(--container);
    margin: 0 auto;
    min-height: calc(100vh - var(--nav-height));
}

/* Left Sidebar */
.sylv-sidebar-left {
    grid-area: sidebar-left;
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

.sylv-sidebar-label {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
    color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0 8px; margin-bottom: 8px; display: block;
}

.sylv-category-list {
    list-style: none; display: flex; flex-direction: column;
    gap: 2px; margin-bottom: 2rem;
}
.sylv-category-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 7px;
    text-decoration: none; color: var(--text-secondary);
    font-size: 0.85rem; font-weight: 400; transition: all 0.15s;
}
.sylv-category-item:hover { background: var(--surface); color: var(--text); }
.sylv-category-item.active { background: var(--section-accent-dim); color: var(--section-accent); font-weight: 500; }

.sylv-category-dot {
    width: 7px; height: 7px;
    border-radius: 2px; flex-shrink: 0; background: var(--text-muted);
}
.sylv-category-count { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); }
.sylv-sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 0.75rem 8px 1rem; }

/* Main Feed */
.sylv-feed {
    grid-area: feed;
    padding: 1.5rem 2rem;
    border-right: 1px solid var(--border);
    min-width: 0;
}

.sylv-feed-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.25rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap; gap: 0.5rem;
}
.sylv-feed-title {
    font-size: 1.35rem; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em;
}
.sylv-feed-dot {
    width: 9px; height: 9px; background: var(--accent-canopy);
    border-radius: 50%; flex-shrink: 0;
    animation: sylv-pulse 2s infinite;
}
.sylv-feed-dot.folium { background: var(--accent-folium); }
@keyframes sylv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.82); }
}
.sylv-feed-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

/* Article Cards */
.gh-card {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.15s ease;
    display: block;
}
.gh-card:hover { padding-left: 6px; }
.gh-card:last-child { border-bottom: none; }
.gh-card-link { display: flex; flex-direction: row; align-items: stretch; gap: 12px; text-decoration: none; color: inherit; }
.gh-card-body { flex: 1; min-width: 0; }
.gh-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }

.sylv-tag-badge {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
}
.sylv-tag-badge--sm { font-size: 0.62rem !important; padding: 1px 6px !important; }
.sylv-tag-badge.tag-canopy  { color: var(--accent-canopy); background: var(--accent-canopy-dim); }
.sylv-tag-badge.tag-folium  { color: var(--folium);        background: var(--folium-dim); }
.sylv-tag-badge.tag-default { color: var(--text-muted);    background: rgba(171, 171, 171, 0.10); }

.sylv-card-date { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); }

.sylv-card-thumb {
    width: 80px; align-self: stretch;
    object-fit: cover; border-radius: 6px; flex-shrink: 0; opacity: 0.85;
}

.gh-card-title {
    font-size: 1.05rem; font-weight: 600; line-height: 1.35;
    color: var(--text); margin-bottom: 7px; letter-spacing: -0.01em;
    transition: color 0.15s;
}
.gh-card:hover .gh-card-title { color: var(--section-accent); }

.gh-card-content p,
.gh-card-excerpt {
    font-size: 0.92rem; font-weight: 300; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 0;
}
.sylv-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.gh-card-footer { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.sylv-reading-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); }
.sylv-read-link { margin-left: auto; font-size: 0.78rem; font-weight: 500; color: var(--section-accent); opacity: 0.75; transition: opacity 0.15s; }
.sylv-read-link:hover { opacity: 1; }

/* Right Sidebar */
.sylv-sidebar-right {
    grid-area: sidebar-right;
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

.sylv-widget { margin-bottom: 2rem; }
.sylv-widget-title {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
    color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 10px; display: block;
}

.sylv-trending-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    text-decoration: none; transition: all 0.15s;
}
.sylv-trending-item:last-child { border-bottom: none; }
.sylv-trending-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); padding-top: 2px; min-width: 14px; flex-shrink: 0; }
.sylv-trending-text { font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.4; transition: color 0.15s; }
.sylv-trending-item:hover .sylv-trending-text { color: var(--accent); }

.sylv-teaser { border-radius: 8px; padding: 1rem; }
.sylv-teaser.canopy { background: linear-gradient(135deg, var(--accent-canopy-dim), rgba(162, 213, 95, 0.03)); border: 1px solid rgba(162, 213, 95, 0.22); }
.sylv-teaser.folium { background: linear-gradient(135deg, var(--accent-folium-dim), rgba(225, 70, 105, 0.03)); border: 1px solid rgba(225, 70, 105, 0.22); }
.sylv-teaser-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.sylv-teaser.canopy .sylv-teaser-label { color: var(--accent-canopy); }
.sylv-teaser.folium .sylv-teaser-label { color: var(--folium); }
.sylv-teaser-title { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; display: block; text-decoration: none; }
.sylv-teaser-desc { font-size: 0.76rem; font-weight: 300; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.sylv-teaser-link { font-size: 0.76rem; font-weight: 500; text-decoration: none; opacity: 0.8; transition: opacity 0.15s; }
.sylv-teaser-link:hover { opacity: 1; }
.sylv-teaser.canopy .sylv-teaser-link { color: var(--accent-canopy); }
.sylv-teaser.folium .sylv-teaser-link { color: var(--accent-folium); }

/* Pagination */
.gh-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 2rem 0; border-top: 1px solid var(--border); margin-top: 1rem; }
.gh-pagination a { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-muted); padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; transition: all 0.15s; }
.gh-pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* Load More */
.sylv-load-more-wrap { display: flex; justify-content: center; padding: 2rem 0 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.sylv-load-more-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 28px; border-radius: 7px;
    font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
    color: var(--text-secondary); background: var(--surface);
    border: 1px solid var(--border); cursor: pointer; transition: all 0.15s;
    letter-spacing: -0.01em;
}
.sylv-load-more-btn:hover:not(:disabled) { border-color: var(--section-accent); color: var(--section-accent); background: var(--section-accent-dim); }
.sylv-load-more-btn:disabled,
.sylv-load-more-btn.loading { opacity: 0.55; cursor: not-allowed; }
.sylv-load-more-btn.loading::after {
    content: ''; display: inline-block;
    width: 10px; height: 10px;
    border: 1.5px solid currentColor; border-top-color: transparent;
    border-radius: 50%; animation: sylv-spin 0.6s linear infinite; margin-left: 4px;
}
@keyframes sylv-spin { to { transform: rotate(360deg); } }

/* ================================================================
   POST / PAGE LAYOUT — 2-column (content + aside)
   ================================================================ */

.sylv-post-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-right-width, 280px);
    grid-template-areas: "post-content post-aside";
    max-width: var(--container);
    margin: 0 auto;
    min-height: calc(100vh - var(--nav-height));
}

.sylv-post-content {
    grid-area: post-content;
    padding: 2.5rem 3rem 3rem;
    border-right: 1px solid var(--border);
    min-width: 0;
}
.sylv-post-aside {
    grid-area: post-aside;
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

/* Post header */
.sylv-post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; flex-wrap: wrap; }
.sylv-post-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.sylv-post-reading-time { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }

.gh-title { font-size: 2rem; font-weight: 600; line-height: 1.2; color: var(--text); letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.gh-excerpt { font-size: 1rem; font-weight: 300; color: var(--text-secondary); line-height: 1.65; margin-top: 1rem; }

.gh-feature-image { margin: 2rem 0; }
.gh-feature-image img { width: 100%; max-height: 420px; object-fit: cover; object-position: center; border-radius: 8px; display: block; }
.gh-feature-image figcaption { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 8px; font-style: italic; }

/* gh-canvas content grid */
.gh-canvas {
    --gap:  4vw;
    --main: min(var(--content-width, 720px), 100% - var(--gap) * 2);
    --wide: minmax(0, calc((900px - var(--content-width, 720px)) / 2));
    --full: minmax(var(--gap), 1fr);
    display: grid;
    grid-template-columns:
        [full-start] var(--full)
        [wide-start] var(--wide)
        [main-start] var(--main) [main-end]
        var(--wide) [wide-end]
        var(--full) [full-end];
}
.gh-canvas > * { grid-column: main-start / main-end; }
.kg-width-wide,
.kg-content-wide > div { grid-column: wide-start / wide-end; }
.kg-width-full { grid-column: full-start / full-end; }
.kg-width-full img { width: 100%; }

/* Article typography */
.gh-content { color: var(--text-secondary); font-size: 1.1rem; font-weight: 300; line-height: 1.78; margin-top: 2rem; }
.gh-content > * + * { margin-top: 1.5rem; }
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 { font-weight: 600; color: var(--text); margin-top: 2.5rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.gh-content h2 { font-size: 1.65rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.gh-content h3 { font-size: 1.35rem; }
.gh-content h4 { font-size: 1.05rem; }
.gh-content p { margin-bottom: 1.25rem; }
.gh-content strong, .gh-content b { font-weight: 600; color: var(--text); }
.gh-content a { color: var(--section-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gh-content a:hover { color: var(--section-accent-mid); }
.gh-content img { border-radius: 6px; height: auto; width: 100%; }
.gh-content ul { list-style: disc; padding-left: 1.5rem; line-height: 1.8; margin-bottom: 1.5rem; }
.gh-content ol { list-style: decimal; padding-left: 1.5rem; line-height: 1.8; margin-bottom: 1.5rem; }
.gh-content li { margin-bottom: 0.5rem; }
.gh-content blockquote { border-left: 3px solid var(--section-accent-dark); padding-left: 1.25rem; margin: 2rem 0; color: var(--text-muted); font-style: italic; font-size: 1.05em; }
.gh-content code { font-family: var(--font-mono); font-size: 0.85em; background: var(--surface2); padding: 2px 6px; border-radius: 4px; color: var(--tag-dev); }
.gh-content pre { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; overflow-x: auto; margin: 2rem 0; }
.gh-content pre code { background: none; padding: 0; color: var(--text-secondary); font-size: 0.875rem; }
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.gh-content th { padding: 8px 12px; text-align: left; font-size: 0.72em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.gh-content td { padding: 8px 12px; border-bottom: 1px solid var(--border); }

/* AI Summary callout */
.sylv-ai-summary { border-radius: 8px; padding: 1.1rem 1.4rem; margin: 1.5rem 0; border: 1px solid var(--border); border-left: 3px solid var(--section-accent-dark); background: var(--section-accent-dim); }
.sylv-ai-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--section-accent); margin-bottom: 6px; display: block; }
.sylv-ai-text { font-size: 0.95rem; font-weight: 300; color: var(--text-secondary); line-height: 1.65; }

/* Post tags */
.sylv-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.25rem; }
.sylv-post-tags .sylv-tag-badge { text-decoration: none; }

/* Verdict badges */
.sylv-verdict { display: flex; align-items: center; gap: 12px; border-radius: 8px; padding: 1rem 1.25rem; margin: 2rem 0; }
.sylv-verdict.recommend { background: var(--accent-sylvaris-dim); border: 1px solid rgba(109, 255, 154, 0.25); color: var(--accent); }
.sylv-verdict.neutral   { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.25); color: var(--tag-hardware); }
.sylv-verdict.skip      { background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.25); color: var(--tag-security); }
.sylv-verdict-icon { font-size: 1.25rem; flex-shrink: 0; }
.sylv-verdict-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; display: block; }
.sylv-verdict-text { font-size: 0.9rem; font-weight: 600; }

/* Audience badges */
.sylv-audience-badges { display: flex; flex-direction: column; gap: 10px; border-radius: 8px; padding: 1rem 1.25rem; margin: 1.5rem 0 0; background: var(--surface); border: 1px solid var(--border); }
.sylv-audience-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); display: block; }
.sylv-audience-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sylv-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.03em; border: 1px solid; white-space: nowrap; }
.sylv-pill.recommend { color: var(--accent-sylvaris); background: var(--accent-sylvaris-dim); border-color: rgba(109, 255, 154, 0.28); }
.sylv-pill.avoid     { color: #f87171; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.28); }

/* Affiliate CTA */
.sylv-affiliate-btn { display: inline-flex; align-items: center; gap: 8px; margin: 1.5rem 0; padding: 10px 22px; background: var(--section-accent); color: #1a1a1a; border-radius: 7px; font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.15s; letter-spacing: -0.01em; }
.sylv-affiliate-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Post footer */
.gh-post-authors { font-size: 0.85rem; color: var(--text-muted); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.gh-post-authors a { color: var(--section-accent); font-weight: 500; text-decoration: none; }
.gh-post-comments { margin-top: 2rem; }

/* Next/prev navigation */
.gh-readmore { border-top: 1px solid var(--border); padding: 1.25rem 0; max-width: var(--container); margin: 0 auto; }
.gh-readmore-inner { display: flex; justify-content: space-between; padding: 0 2rem; gap: 2rem; }
.gh-readmore-next, .gh-readmore-prev { flex: 1; }
.gh-readmore-next a, .gh-readmore-prev a { display: flex; align-items: center; gap: 10px; padding: 1rem 0; text-decoration: none; color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; transition: color 0.15s; }
.gh-readmore-prev a { justify-content: flex-end; }
.gh-readmore-next a:hover, .gh-readmore-prev a:hover { color: var(--section-accent); }
.gh-readmore-next h4, .gh-readmore-prev h4 { font-size: 0.85rem; font-weight: 500; line-height: 1.35; margin: 0; }

/* Post sidebar: related items */
.sylv-post-aside .sylv-related-item { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--border); text-decoration: none; transition: all 0.15s; }
.sylv-post-aside .sylv-related-item:last-child { border-bottom: none; }
.sylv-related-title { font-size: 0.87rem; font-weight: 500; color: var(--text-secondary); line-height: 1.4; transition: color 0.15s; }
.sylv-post-aside .sylv-related-item:hover .sylv-related-title { color: var(--section-accent); }
.sylv-related-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.sylv-back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem; font-size: 0.78rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.sylv-back-link:hover { color: var(--section-accent); }

/* ================================================================
   TAG / ARCHIVE / AUTHOR PAGE HEADERS
   ================================================================ */

.gh-page { max-width: var(--container); margin: 0 auto; padding: 2rem; }
.gh-page-head { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.gh-page-head h1 { font-size: 1.75rem; font-weight: 600; color: var(--text); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.gh-page-head p { font-size: 0.9rem; color: var(--text-muted); font-weight: 300; max-width: 600px; }
.gh-page-image { margin-top: 1.5rem; border-radius: 8px; max-height: 300px; object-fit: cover; width: 100%; }

.gh-author-image { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 2px solid var(--border); }
.gh-author-meta { margin-top: 0.75rem; }
.gh-author-links { display: flex; gap: 12px; flex-wrap: wrap; }
.gh-author-links a { font-size: 0.8rem; color: var(--accent); font-weight: 500; text-decoration: none; border: 1px solid var(--border); padding: 4px 10px; border-radius: 5px; transition: all 0.15s; }
.gh-author-links a:hover { border-color: var(--accent); }

.gh-postfeed { padding: 0; }

/* ================================================================
   ERROR PAGE
   ================================================================ */

.gh-error { min-height: calc(100vh - var(--nav-height) - 80px); display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.gh-error-content { max-width: 480px; }
.gh-error-code { font-size: 6rem; font-weight: 600; color: var(--accent); line-height: 1; letter-spacing: -0.05em; opacity: 0.85; margin-bottom: 1rem; }
.gh-error-description { font-size: 1rem; color: var(--text-secondary); font-weight: 300; margin-bottom: 1.5rem; }
.gh-error-link a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--border); border-radius: 7px; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: all 0.15s; }
.gh-error-link a:hover { border-color: var(--accent); color: var(--accent); }

/* ================================================================
   SECTION TOPIC SIDEBAR VISIBILITY
   body class sylv-section-canopy / sylv-section-folium
   ================================================================ */

.sylv-topics-canopy { display: block; }
.sylv-topics-folium { display: none; }
.sylv-section-canopy .sylv-topics-canopy { display: block; }
.sylv-section-canopy .sylv-topics-folium { display: none; }
.sylv-section-folium .sylv-topics-canopy { display: none; }
.sylv-section-folium .sylv-topics-folium { display: block; }
.home-template .sylv-topics-canopy,
.home-template .sylv-topics-folium { display: block; }

.sylv-section-canopy .sylv-category-item.active { background: var(--accent-canopy-dim); color: var(--accent-canopy); }
.sylv-section-folium .sylv-category-item.active { background: var(--accent-folium-dim); color: var(--accent-folium); }

/* ================================================================
   HOMEPAGE v2 — Hero · Featured grid · Latest split
   ================================================================ */

.sylv-home-hero { border-bottom: 1px solid var(--border); padding: 3rem 2rem 2.5rem; }
.sylv-home-hero-inner { max-width: var(--container); margin: 0 auto; }
.sylv-home-hero-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.sylv-home-hero-headline { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--text); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1rem; }
.sylv-home-hero-sub { font-size: 1rem; font-weight: 300; color: var(--text-secondary); max-width: 520px; line-height: 1.6; margin-bottom: 1.5rem; }
.sylv-home-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.sylv-home-cta { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: 7px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: all 0.15s; border: 1px solid; }
.sylv-home-cta--canopy { color: var(--accent-canopy); border-color: rgba(162, 213, 95, 0.35); background: var(--accent-canopy-dim); }
.sylv-home-cta--canopy:hover { background: rgba(162, 213, 95, 0.22); border-color: var(--accent-canopy); }
.sylv-home-cta--folium { color: var(--accent-folium); border-color: rgba(225, 70, 105, 0.35); background: var(--accent-folium-dim); }
.sylv-home-cta--folium:hover { background: rgba(225, 70, 105, 0.22); border-color: var(--accent-folium); }

.sylv-home-featured-section { padding: 2rem 2rem; border-bottom: 1px solid var(--border); }
.sylv-home-featured-inner { max-width: var(--container); margin: 0 auto; }
.sylv-featured-header { margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.sylv-section-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.sylv-section-eyebrow.canopy { color: var(--accent-canopy); }
.sylv-section-eyebrow.folium { color: var(--accent-folium); }

.sylv-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }

/* Hero card */
.sylv-feat-hero { display: grid; grid-template-rows: 1fr auto; height: 100%; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: border-color 0.2s; }
.sylv-feat-hero:hover { border-color: var(--border-strong); }
.sylv-feat-hero-img-wrap { width: 100%; min-height: 200px; overflow: hidden; }
.sylv-feat-hero-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.sylv-feat-hero:hover .sylv-feat-hero-img { transform: scale(1.03); }
.sylv-feat-hero-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.sylv-feat-hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sylv-feat-hero-title { font-size: 1.5rem; font-weight: 600; color: var(--text); line-height: 1.25; letter-spacing: -0.02em; transition: color 0.15s; }
.sylv-feat-hero:hover .sylv-feat-hero-title { color: var(--accent); }
.sylv-feat-hero-excerpt { font-size: 0.9rem; font-weight: 300; color: var(--text-secondary); line-height: 1.65; flex: 1; }

/* Medium sidebar cards */
.sylv-feat-medium { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 1rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: padding-left 0.15s; }
.sylv-feat-medium:hover { padding-left: 5px; }
.sylv-feat-medium:first-child { padding-top: 0; }
.sylv-feat-medium:last-child  { border-bottom: none; padding-bottom: 0; }
.sylv-feat-medium-thumb { width: 140px; height: 95px; object-fit: cover; border-radius: 6px; flex-shrink: 0; opacity: 0.9; }
.sylv-feat-medium-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sylv-feat-medium-title { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.35; letter-spacing: -0.01em; transition: color 0.15s; }
.sylv-feat-medium:hover .sylv-feat-medium-title { color: var(--accent); }
.sylv-feat-medium-excerpt { font-size: 0.82rem; font-weight: 300; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Compact sidebar cards */
.sylv-feat-sidebar { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.sylv-feat-compact { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 1.1rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: padding-left 0.15s; }
.sylv-feat-compact:first-child { padding-top: 0; }
.sylv-feat-compact:last-child { border-bottom: none; padding-bottom: 0; }
.sylv-feat-compact:hover { padding-left: 5px; }
.sylv-feat-compact-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; flex-shrink: 0; opacity: 0.85; }
.sylv-feat-compact-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sylv-feat-compact-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sylv-feat-compact-title { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.3; letter-spacing: -0.01em; transition: color 0.15s; }
.sylv-feat-compact:hover .sylv-feat-compact-title { color: var(--accent); }

/* Latest split section */
.sylv-home-latest { padding: 2rem 2rem 0; }
.sylv-home-latest-inner { display: grid; grid-template-columns: 1fr auto 1fr; max-width: var(--container); margin: 0 auto; }
.sylv-home-latest-col { padding-bottom: 2rem; }
.sylv-home-latest-col:first-child { padding-right: 2rem; }
.sylv-home-latest-col:last-child  { padding-left: 2rem; }
.sylv-home-latest-divider { width: 1px; background: var(--border); align-self: stretch; }
.sylv-home-latest-header { display: flex; align-items: baseline; gap: 8px; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.sylv-home-latest-desc { font-size: 0.75rem; color: var(--text-muted); font-weight: 300; }
.sylv-home-view-all { display: inline-flex; align-items: center; margin-top: 1rem; padding: 7px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 500; text-decoration: none; border: 1px solid; transition: all 0.15s; }
.sylv-home-view-all.canopy { color: var(--accent-canopy); border-color: var(--border-strong); background: var(--accent-canopy-dim); }
.sylv-home-view-all.canopy:hover { background: rgba(162, 213, 95, 0.2); border-color: var(--accent-canopy); }
.sylv-home-view-all.folium { color: var(--accent-folium); border-color: rgba(225, 70, 105, 0.25); background: var(--accent-folium-dim); }
.sylv-home-view-all.folium:hover { background: rgba(225, 70, 105, 0.2); border-color: var(--accent-folium); }

/* ================================================================
   MOBILE DRAWER
   ================================================================ */

.sylv-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 200; }
.sylv-drawer-overlay.open { display: block; }
.sylv-drawer { position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: var(--bg); border-right: 1px solid var(--border); z-index: 300; padding: 1.5rem 1rem; padding-top: 68px; transform: translateX(-100%); transition: transform 0.2s ease; overflow-y: auto; }
.sylv-drawer.open { transform: translateX(0); }
.sylv-drawer-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; background: none; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1rem; transition: all 0.15s; }
.sylv-drawer-close:hover { border-color: var(--accent); color: var(--text); }
.sylv-drawer-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 0; }
.sylv-drawer-nav-link { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 6px; text-decoration: none; border: 1px solid transparent; transition: all 0.15s; height: 36px; }
.sylv-drawer-nav-logo { height: 28px; width: auto; display: block; opacity: 0.75; transition: opacity 0.15s; }
.sylv-drawer-nav-link:hover .sylv-drawer-nav-logo { opacity: 1; }
.sylv-drawer-nav-text { font-size: 0.88rem; font-weight: 500; }
.sylv-drawer-nav-text.canopy { color: var(--accent-canopy); }
.sylv-drawer-nav-text.folium { color: var(--accent-folium); }
.sylv-drawer-nav-canopy { background: var(--accent-canopy-dim); border-color: var(--border); }
.sylv-drawer-nav-canopy:hover { background: rgba(162, 213, 95, 0.2); border-color: var(--accent-canopy); }
.sylv-drawer-nav-folium { background: var(--accent-folium-dim); border-color: var(--border); }
.sylv-drawer-nav-folium:hover { background: rgba(225, 70, 105, 0.2); border-color: var(--accent-folium); }

/* ================================================================
   FOLIUM REVIEW POST COMPONENTS
   ================================================================ */

.gh-content .folium-intro { font-size: 1.15rem; line-height: 1.75; border-left: 4px solid var(--accent-canopy); padding-left: 1.25rem; margin-bottom: 2rem; color: var(--text-secondary); }
.gh-content .folium-intro p { margin-bottom: 0; }
.gh-content .folium-verdict { background: rgba(162, 213, 95, 0.07); border: 1px solid var(--border); border-left: 4px solid var(--accent-canopy); border-radius: 6px; padding: 1.5rem; margin: 2rem 0; }
.gh-content .folium-verdict p { margin-bottom: 0; color: var(--text-secondary); line-height: 1.75; }
.gh-content .folium-cta { display: block; margin: 2.5rem auto; text-align: center; }
.gh-content .folium-cta a { display: inline-block; background: var(--accent-canopy); color: #1a1a1a; padding: 0.75rem 2rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; letter-spacing: -0.01em; transition: background 0.15s, transform 0.15s, opacity 0.15s; border: none; }
.gh-content .folium-cta a:hover { background: var(--accent-canopy-mid); transform: translateY(-1px); opacity: 1; color: #1a1a1a; text-decoration: none; }
.gh-content .ai-summary-box { background: rgba(162, 213, 95, 0.07); border: 1px solid var(--border); border-left: 4px solid var(--accent-canopy); border-radius: 4px; padding: 1.25rem; margin-bottom: 1.5rem; color: var(--text-secondary); font-size: 0.98rem; line-height: 1.7; }
.gh-content .ai-summary-box p:last-child,
.gh-content .ai-summary-box ul:last-child { margin-bottom: 0; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet: hide right sidebar */
@media (max-width: 1100px) {
    .sylv-feed-layout { grid-template-columns: var(--sidebar-left-width, 200px) 1fr; grid-template-areas: "sidebar-left feed"; }
    .sylv-sidebar-right { display: none; }
    .sylv-post-layout { grid-template-columns: 1fr; grid-template-areas: "post-content"; }
    .sylv-post-aside { display: none; }
}

/* Homepage responsive */
@media (max-width: 900px) {
    .sylv-featured-grid { grid-template-columns: 1fr; }
    .sylv-feat-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .sylv-feat-compact { border: 1px solid var(--border); border-radius: 7px; padding: 0.75rem; }
}

/* Mobile: single column */
@media (max-width: 767px) {
    .gh-head { padding: 0 1rem; }
    .gh-head-nav { display: none; }
    .gh-head-actions .gh-button { display: none; }
    .nav-clock { display: none; }
    .gh-burger { display: flex; cursor: pointer; order: -1; }

    .sylv-feed-layout { grid-template-columns: 1fr; grid-template-areas: "feed"; }
    .sylv-sidebar-left { display: none; }
    .sylv-feed { padding: 1.25rem 1rem; border-right: none; }
    .sylv-feed-header { flex-direction: column; align-items: flex-start; }

    .sylv-post-content { padding: 1.5rem 1rem; }
    .gh-title { font-size: 1.65rem; }
    .sylv-post-tags { gap: 5px; }

    .gh-readmore-inner { flex-direction: column; padding: 0 1rem; }
    .gh-page { padding: 1.5rem 1rem; }

    .sylv-home-hero { padding: 2rem 1rem 1.5rem; }
    .sylv-home-featured-section { padding: 1.5rem 1rem; }
    .sylv-home-latest { padding: 1.5rem 1rem 0; }
    .sylv-home-latest-inner { grid-template-columns: 1fr; }
    .sylv-home-latest-divider { width: 100%; height: 1px; margin: 0.5rem 0; }
    .sylv-home-latest-col:first-child { padding-right: 0; }
    .sylv-home-latest-col:last-child  { padding-left: 0; }
    .sylv-feat-sidebar { grid-template-columns: 1fr; }

    .sylv-search-wrap { right: 1rem; width: calc(100vw - 2rem); }
}

/* ================================================================
   LIGHT THEME — body.sylv-light
   ================================================================ */

body.sylv-light {
    --bg:            var(--light-bg);
    --surface:       var(--light-surface);
    --surface2:      var(--light-surface2);
    --border:        rgba(60, 80, 70, 0.22);
    --border-strong: rgba(60, 80, 70, 0.42);
    --text:          #1a1a1a;
    --text-secondary:#3a3a3a;
    --text-muted:    #757575;
    --accent-sylvaris-dim: rgba(60, 180, 100, 0.18);
    --accent-canopy-dim:   rgba(100, 160, 40, 0.18);
    --accent-folium-dim:   rgba(200, 50, 80, 0.15);
    --accent-dim:          var(--accent-sylvaris-dim);
    --section-accent-dim:  var(--accent-sylvaris-dim);
}

body.sylv-light.sylv-section-canopy { --section-accent-dim: rgba(100, 160, 40, 0.14); }
body.sylv-light.sylv-section-folium { --section-accent-dim: rgba(200, 50, 80, 0.12); }

body.sylv-light ::-webkit-scrollbar-thumb { background: rgba(60, 80, 70, 0.22); }

body.sylv-light .gh-head { background: var(--bg); border-bottom-color: var(--border); }
body.sylv-light .gh-theme-toggle:hover { background: rgba(60,80,70,0.1); border-color: rgba(60,80,70,0.3); color: var(--text); }
body.sylv-light .gh-burger { border-color: rgba(60,180,100,0.3); background: rgba(60,180,100,0.1); color: var(--accent-sylvaris-dark); }
body.sylv-light .gh-burger:hover { border-color: var(--accent-sylvaris-dark); background: rgba(60,180,100,0.18); color: var(--accent-sylvaris-dark); }
body.sylv-light .gh-button { border-color: rgba(60,80,70,0.3); }
body.sylv-light .gh-search-btn { color: var(--text-muted); border-color: var(--border); }
body.sylv-light .sylv-search-wrap { background: var(--light-surface); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
body.sylv-light .sylv-search-input { background: var(--light-bg); color: var(--text); border-color: var(--border); }

body.sylv-light .sylv-feat-hero { background: var(--surface); border-color: var(--border); }
body.sylv-light .sylv-feat-hero:hover .sylv-feat-hero-title { color: var(--accent-sylvaris-dark); }
body.sylv-light.sylv-section-canopy .sylv-feat-hero:hover .sylv-feat-hero-title { color: var(--accent-canopy-dark); }
body.sylv-light.sylv-section-folium .sylv-feat-hero:hover .sylv-feat-hero-title { color: var(--accent-folium-dark); }

body.sylv-light .gh-card:hover .gh-card-title { color: var(--section-accent-dark); }
body.sylv-light .sylv-feat-compact:hover .sylv-feat-compact-title { color: var(--accent-sylvaris-dark); }
body.sylv-light.sylv-section-canopy .sylv-feat-compact:hover .sylv-feat-compact-title { color: var(--accent-canopy-dark); }
body.sylv-light.sylv-section-folium .sylv-feat-compact:hover .sylv-feat-compact-title { color: var(--accent-folium-dark); }

body.sylv-light .sylv-tag-badge { background: #2a2a2a !important; border: 1px solid transparent !important; }
body.sylv-light .sylv-tag-badge.tag-default { color: #ababab; }

body.sylv-light .sylv-category-item { background: transparent; border: 1px solid transparent; color: var(--text-secondary); }
body.sylv-light .sylv-category-item:hover { background: var(--surface); color: var(--text); }
body.sylv-light .sylv-category-item.active { background: var(--section-accent-dim); color: var(--text); font-weight: 500; }
body.sylv-light.sylv-section-canopy .sylv-category-item.active,
body.sylv-light.sylv-section-folium .sylv-category-item.active { color: var(--text); }

body.sylv-light .sylv-nav-canopy { background: transparent; border-color: transparent; }
body.sylv-light .sylv-nav-folium { background: transparent; border-color: transparent; }
body.sylv-light .sylv-nav-canopy:hover,
body.sylv-light .sylv-nav-canopy.active { background: var(--accent-dim); border-color: var(--border); }
body.sylv-light .sylv-nav-canopy:hover .sylv-nav-logo-img,
body.sylv-light .sylv-nav-canopy.active .sylv-nav-logo-img { opacity: 1; }
body.sylv-light .sylv-nav-folium:hover,
body.sylv-light .sylv-nav-folium.active { background: var(--accent-folium-dim); border-color: rgba(200,50,80,0.28); }
body.sylv-light .sylv-nav-folium:hover .sylv-nav-logo-img,
body.sylv-light .sylv-nav-folium.active .sylv-nav-logo-img { opacity: 1; }

body.sylv-light .sylv-load-more-btn { background: var(--surface); border-color: var(--border); color: var(--text-secondary); }
body.sylv-light .gh-content code { background: var(--surface2); color: #1a6ba0; }
body.sylv-light .gh-content pre { background: var(--surface); border-color: var(--border); }
body.sylv-light .gh-content pre code { background: none; color: var(--text-secondary); }
body.sylv-light .sylv-audience-badges { background: var(--surface); border-color: var(--border); }
body.sylv-light .sylv-pill.recommend { color: #2e9e5e; background: rgba(46,158,94,0.12); border-color: rgba(46,158,94,0.3); }
body.sylv-light .sylv-pill.avoid     { color: #c0392b; background: rgba(192,57,43,0.1);  border-color: rgba(192,57,43,0.28); }
body.sylv-light .sylv-verdict.recommend { background: rgba(60,180,100,0.1); border-color: rgba(60,180,100,0.3); }
body.sylv-light .sylv-verdict.neutral   { background: rgba(200,150,10,0.1); border-color: rgba(200,150,10,0.3); }
body.sylv-light .sylv-verdict.skip      { background: rgba(200,50,50,0.08); border-color: rgba(200,50,50,0.25); }
body.sylv-light .sylv-affiliate-btn { color: #f5f5f0; }
body.sylv-light .sylv-sidebar-left,
body.sylv-light .sylv-sidebar-right,
body.sylv-light .sylv-post-aside { background: var(--bg); }
body.sylv-light .sylv-teaser.canopy { background: linear-gradient(135deg, rgba(100,160,40,0.1), rgba(100,160,40,0.04)); border-color: rgba(100,160,40,0.22); }
body.sylv-light .sylv-teaser.folium { background: linear-gradient(135deg, rgba(200,50,80,0.08), rgba(200,50,80,0.03)); border-color: rgba(200,50,80,0.18); }
body.sylv-light .gh-foot { background: var(--bg); border-top-color: var(--border); }
body.sylv-light .gh-foot-inner { border-bottom-color: var(--border); }
body.sylv-light .sylv-drawer { background: var(--bg); border-right-color: var(--border); }
body.sylv-light .sylv-drawer-overlay { background: rgba(0,0,0,0.35); }
body.sylv-light .sylv-home-cta--canopy { background: rgba(100,160,40,0.12); border-color: rgba(100,160,40,0.35); }
body.sylv-light .sylv-home-cta--canopy:hover { background: rgba(100,160,40,0.22); }
body.sylv-light .sylv-home-cta--folium { background: rgba(200,50,80,0.1); border-color: rgba(200,50,80,0.32); }
body.sylv-light .sylv-home-cta--folium:hover { background: rgba(200,50,80,0.18); }
body.sylv-light .sylv-home-view-all.canopy { background: rgba(100,160,40,0.12); }
body.sylv-light .sylv-home-view-all.canopy:hover { background: rgba(100,160,40,0.2); }
body.sylv-light .sylv-home-view-all.folium { background: rgba(200,50,80,0.08); }
body.sylv-light .sylv-home-view-all.folium:hover { background: rgba(200,50,80,0.16); }
body.sylv-light .gh-pagination a { border-color: var(--border); color: var(--text-muted); }
body.sylv-light .gh-pagination a:hover { border-color: var(--section-accent); color: var(--section-accent); }
body.sylv-light .gh-content h2 { border-bottom-color: var(--border); }
body.sylv-light .gh-foot-subscribe-btn { color: #f5f5f0; }
body.sylv-light .sylv-drawer-nav-canopy { background: rgba(100,160,40,0.1); }
body.sylv-light .sylv-drawer-nav-folium { background: rgba(200,50,80,0.08); }

/* ================================================================
   RADIX — All section-specific rules (brown/orange #c8834a)
   ================================================================ */

.sylv-section-radix {
    --section-accent:      var(--accent-radix);
    --section-accent-mid:  var(--accent-radix-mid);
    --section-accent-dark: var(--accent-radix-dark);
    --section-accent-dim:  var(--accent-radix-dim);
}

/* Nav tab text */
.sylv-nav-tab-text.radix { color: var(--accent-radix); }

/* Nav tab hover/active */
.sylv-nav-radix { background: transparent; border-color: transparent; }
.sylv-nav-radix:hover,
.sylv-nav-radix.active { background: var(--accent-radix-dim); border-color: rgba(200, 131, 74, 0.28); }

/* Feed dot */
.sylv-feed-dot.radix { background: var(--accent-radix); }

/* Tag badge */
.sylv-tag-badge.tag-radix { color: var(--accent-radix); background: var(--accent-radix-dim); }

/* Footer link */
.gh-foot-link--radix { color: var(--accent-radix); }
.gh-foot-link--radix:hover { color: var(--accent-radix-mid); }

/* Teaser card */
.sylv-teaser.radix {
    background: linear-gradient(135deg, var(--accent-radix-dim), rgba(200, 131, 74, 0.03));
    border: 1px solid rgba(200, 131, 74, 0.22);
}
.sylv-teaser.radix .sylv-teaser-label { color: var(--accent-radix); }
.sylv-teaser.radix .sylv-teaser-link  { color: var(--accent-radix); }

/* Section eyebrow */
.sylv-section-eyebrow.radix { color: var(--accent-radix); }

/* Home CTA */
.sylv-home-cta--radix {
    color: var(--accent-radix);
    border-color: rgba(200, 131, 74, 0.35);
    background: var(--accent-radix-dim);
}
.sylv-home-cta--radix:hover {
    background: rgba(200, 131, 74, 0.22);
    border-color: var(--accent-radix);
}

/* View-all */
.sylv-home-view-all.radix {
    color: var(--accent-radix);
    border-color: rgba(200, 131, 74, 0.25);
    background: var(--accent-radix-dim);
}
.sylv-home-view-all.radix:hover {
    background: rgba(200, 131, 74, 0.2);
    border-color: var(--accent-radix);
}

/* Drawer nav */
.sylv-drawer-nav-text.radix { color: var(--accent-radix); }
.sylv-drawer-nav-radix { background: var(--accent-radix-dim); border-color: var(--border); }
.sylv-drawer-nav-radix:hover { background: rgba(200, 131, 74, 0.2); border-color: var(--accent-radix); }

/* Sidebar topic toggling */
.sylv-topics-radix { display: none; }
.sylv-section-radix .sylv-topics-canopy { display: none; }
.sylv-section-radix .sylv-topics-folium { display: none; }
.sylv-section-radix .sylv-topics-radix  { display: block; }
.home-template .sylv-topics-radix { display: block; }

/* Sidebar active item */
.sylv-section-radix .sylv-category-item.active {
    background: var(--accent-radix-dim);
    color: var(--accent-radix);
}

/* Light mode */
body.sylv-light { --accent-radix-dim: rgba(170, 100, 40, 0.14); }
body.sylv-light.sylv-section-radix { --section-accent-dim: rgba(170, 100, 40, 0.14); }
body.sylv-light .sylv-nav-radix { background: transparent; border-color: transparent; }
body.sylv-light .sylv-nav-radix:hover,
body.sylv-light .sylv-nav-radix.active { background: var(--accent-radix-dim); border-color: rgba(170, 100, 40, 0.28); }
body.sylv-light .sylv-nav-radix:hover .sylv-nav-logo-img,
body.sylv-light .sylv-nav-radix.active .sylv-nav-logo-img { opacity: 1; }
body.sylv-light .sylv-teaser.radix { background: linear-gradient(135deg, rgba(170,100,40,0.1), rgba(170,100,40,0.03)); border-color: rgba(170,100,40,0.2); }
body.sylv-light .sylv-home-cta--radix { background: rgba(170,100,40,0.1); border-color: rgba(170,100,40,0.32); }
body.sylv-light .sylv-home-cta--radix:hover { background: rgba(170,100,40,0.18); }
body.sylv-light .sylv-home-view-all.radix { background: rgba(170,100,40,0.1); }
body.sylv-light .sylv-home-view-all.radix:hover { background: rgba(170,100,40,0.18); }
body.sylv-light .sylv-drawer-nav-radix { background: rgba(170,100,40,0.1); }
body.sylv-light.sylv-section-radix .sylv-feat-hero:hover .sylv-feat-hero-title { color: var(--accent-radix-dark); }
body.sylv-light.sylv-section-radix .sylv-feat-compact:hover .sylv-feat-compact-title { color: var(--accent-radix-dark); }
body.sylv-light.sylv-section-radix .sylv-category-item.active { color: var(--text); }

/* ================================================================
   COMMENTS
   ================================================================ */

.comment-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment-area h2 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-author b { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.comment-author img { border-radius: 50%; border: 2px solid var(--border); }
.comment-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.comment-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; }
.comment-form label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.15s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form .submit { background: var(--accent); color: #1a1a1a; border: none; border-radius: 6px; padding: 9px 20px; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: opacity 0.15s; }
.comment-form .submit:hover { opacity: 0.88; }

/* WordPress core alignment helpers */
.alignleft  { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 6px; font-style: italic; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ================================================================
   RESELLER PAGES
   ================================================================ */

/* Full-width page layout (no right sidebar) */
.sylv-page-full { max-width: var(--container); margin: 0 auto; padding: 0; }

/* Hero banner */
.sylv-rh-hero { padding: 4rem 2rem 3rem; border-bottom: 1px solid var(--border); }
.sylv-rh-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.sylv-rh-hero-headline { font-size: clamp(2rem,5vw,3.25rem); font-weight:600; line-height:1.1; letter-spacing:-0.04em; color:var(--text); margin-bottom:1rem; }
.sylv-rh-hero-sub { font-size:1.05rem; font-weight:300; color:var(--text-secondary); max-width:600px; margin:0 auto 2rem; line-height:1.7; }
.sylv-rh-hero-ctas { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

/* Primary CTA button */
.sylv-rh-btn-primary { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; border-radius:8px; font-size:0.9rem; font-weight:600; background:var(--accent); color:#1a1a1a; border:none; text-decoration:none; transition:all 0.15s; cursor:pointer; }
.sylv-rh-btn-primary:hover { opacity:0.88; transform:translateY(-1px); }

/* Secondary CTA */
.sylv-rh-btn-secondary { display:inline-flex; align-items:center; gap:8px; padding:11px 24px; border-radius:8px; font-size:0.9rem; font-weight:500; background:transparent; color:var(--text-secondary); border:1px solid var(--border-strong); text-decoration:none; transition:all 0.15s; }
.sylv-rh-btn-secondary:hover { border-color:var(--accent); color:var(--accent); }

/* Section wrapper */
.sylv-rh-section { padding:3rem 2rem; border-bottom:1px solid var(--border); }
.sylv-rh-section-inner { max-width:1100px; margin:0 auto; }
.sylv-rh-section-title { font-size:1.75rem; font-weight:600; color:var(--text); letter-spacing:-0.03em; margin-bottom:0.5rem; }
.sylv-rh-section-desc { font-size:0.95rem; color:var(--text-secondary); font-weight:300; max-width:600px; line-height:1.65; margin-bottom:2rem; }

/* ── GoDaddy Reseller Store — product grid + full card overrides ────────────── */

/* Grid container — injected by PHP filter (functions.php) or JS fallback */
.sylv-rh-products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-bottom:1.75rem; align-items:stretch; }

/* Force theme font on all plugin elements */
.widget.rstore-product,
.widget.rstore-product * { font-family:var(--font-sans) !important; box-sizing:border-box; }

/* Card shell */
.widget.rstore-product {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:12px;
    padding:1.5rem;
    display:flex !important;
    flex-direction:column !important;
    gap:0;
    transition:border-color 0.18s, box-shadow 0.18s;
    overflow:hidden;
}
.widget.rstore-product:hover { border-color:var(--accent); box-shadow:0 4px 20px rgba(0,0,0,0.18); }

/* Product icon — override plugin's 8rem centered SVG */
.widget.rstore-product .rstore-product-icons { display:flex; justify-content:flex-start; margin-bottom:1rem; }
.widget.rstore-product .rstore-product-icons svg,
.widget.rstore-product .rstore-product-icons img { width:44px !important; height:44px !important; display:block !important; margin:0 !important; }

/* Header (title + price + button in default layout) */
.widget.rstore-product .rstore-product-header { display:flex; flex-direction:column; gap:0.3rem; margin-bottom:0.75rem; }

/* Title */
.widget.rstore-product .widget-title {
    font-size:1.05rem !important;
    font-weight:600 !important;
    color:var(--text) !important;
    margin:0 0 0.2rem !important;
    letter-spacing:-0.01em;
    line-height:1.3;
}

/* Pricing block */
.widget.rstore-product .rstore-pricing { font-size:inherit !important; display:flex; align-items:baseline; gap:0.25rem; flex-wrap:wrap; margin-bottom:0.25rem; }
.widget.rstore-product .rstore-price { font-size:1.45rem !important; font-weight:700 !important; color:var(--text) !important; margin:0 !important; letter-spacing:-0.03em; }
.widget.rstore-product .rstore-retail-price { font-size:0.85rem !important; font-weight:400 !important; color:var(--text-muted) !important; text-decoration:line-through !important; padding-right:0 !important; }
.widget.rstore-product .rstore-term { font-size:0.78rem !important; color:var(--text-muted) !important; margin-left:0.1rem !important; }

/* Product description / feature list */
.widget.rstore-product .rstore-product-summary {
    font-size:0.875rem !important;
    color:var(--text-secondary) !important;
    line-height:1.65 !important;
    flex:1;
    overflow:hidden;
    margin-bottom:1rem !important;
    height:auto !important;
}
.widget.rstore-product .rstore-product-summary:after { display:none !important; }
.widget.rstore-product .rstore-product-summary p { margin:0 0 0.35rem !important; font-size:inherit !important; color:inherit !important; }
.widget.rstore-product .rstore-product-summary ul { list-style:none !important; padding:0 !important; margin:0 !important; display:flex; flex-direction:column; gap:0.15rem; }
.widget.rstore-product .rstore-product-summary li { font-size:0.85rem !important; color:var(--text-secondary) !important; padding-left:1.1rem; position:relative; }
.widget.rstore-product .rstore-product-summary li::before { content:'✓'; position:absolute; left:0; color:var(--accent); font-size:0.72rem; top:0.15em; }

/* Add-to-cart form — push to bottom of card */
.widget.rstore-product .rstore-add-to-cart-form { margin-top:auto !important; }
.widget.rstore-product .rstore-add-to-cart-form input[type="submit"],
.widget.rstore-product .rstore-add-to-cart-form button,
.widget.rstore-product .rstore-add-to-cart-form button[type="submit"] {
    display:block !important;
    width:100% !important;
    background:var(--accent) !important;
    color:#1a1a1a !important;
    border:none !important;
    border-radius:7px !important;
    padding:0.65rem 1rem !important;
    font-family:var(--font-sans) !important;
    font-size:0.875rem !important;
    font-weight:600 !important;
    cursor:pointer !important;
    text-align:center !important;
    text-decoration:none !important;
    transition:opacity 0.15s !important;
    margin:0 !important;
    letter-spacing:-0.01em;
    box-shadow:none !important;
    outline:none;
    -webkit-appearance:none;
}
.widget.rstore-product .rstore-add-to-cart-form input[type="submit"]:hover,
.widget.rstore-product .rstore-add-to-cart-form button:hover,
.widget.rstore-product .rstore-add-to-cart-form button[type="submit"]:hover { opacity:0.85 !important; }

/* Cart + message feedback */
.widget.rstore-product .rstore-cart { display:inline !important; }
.widget.rstore-product .rstore-message { font-size:0.8rem; margin-top:0.5rem; }

/* "More info" / product permalink — hidden by design */
.widget.rstore-product .rstore-product-permalink { display:none !important; }

/* Cart button shortcode below grid */
.sylv-rh-section-inner .widget.rstore-cart { margin-top:1.5rem; }

/* Light mode card overrides */
body.sylv-light .widget.rstore-product { background:var(--light-surface); border-color:var(--border); }
body.sylv-light .widget.rstore-product .widget-title { color:#1a1a1a !important; }
body.sylv-light .widget.rstore-product .rstore-price { color:#1a1a1a !important; }
body.sylv-light .widget.rstore-product .rstore-add-to-cart-form input[type="submit"],
body.sylv-light .widget.rstore-product .rstore-add-to-cart-form button { color:#1a1a1a !important; }

/* Feature grid (3-col) */
.sylv-rh-features { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.sylv-rh-feature-card { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:1.5rem; display:flex; flex-direction:column; gap:0.75rem; transition:border-color 0.15s; }
.sylv-rh-feature-card:hover { border-color:var(--border-strong); }
.sylv-rh-feature-icon { font-size:1.5rem; width:44px; height:44px; border-radius:8px; background:var(--accent-dim); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sylv-rh-feature-title { font-size:1rem; font-weight:600; color:var(--text); line-height:1.3; }
.sylv-rh-feature-desc { font-size:0.875rem; font-weight:300; color:var(--text-secondary); line-height:1.6; flex:1; }

/* 2-col features (icon left) */
.sylv-rh-features-2col { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }

/* Comparison/spec list */
.sylv-rh-spec-list { list-style:none; display:flex; flex-direction:column; gap:8px; margin:1.5rem 0; }
.sylv-rh-spec-item { display:flex; align-items:flex-start; gap:10px; font-size:0.9rem; color:var(--text-secondary); line-height:1.5; }
.sylv-rh-spec-check { color:var(--accent); font-size:1rem; flex-shrink:0; margin-top:1px; }

/* Placeholder block */
.sylv-placeholder { background:var(--surface); border:2px dashed var(--border-strong); border-radius:10px; padding:2.5rem 2rem; text-align:center; margin:2rem 0; }
.sylv-placeholder-label { font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.5rem; display:block; }
.sylv-placeholder-desc { font-size:0.875rem; color:var(--text-muted); font-weight:300; }

/* Trust bar (icons + stats) */
.sylv-rh-trust { display:flex; justify-content:center; gap:3rem; flex-wrap:wrap; padding:2rem; background:var(--surface); border-bottom:1px solid var(--border); }
.sylv-rh-trust-item { display:flex; flex-direction:column; align-items:center; gap:4px; }
.sylv-rh-trust-stat { font-size:1.5rem; font-weight:600; color:var(--text); letter-spacing:-0.02em; }
.sylv-rh-trust-label { font-family:var(--font-mono); font-size:0.7rem; color:var(--text-muted); letter-spacing:0.08em; text-transform:uppercase; }

/* FAQ Accordion */
.sylv-rh-faq { display:flex; flex-direction:column; gap:0; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.sylv-rh-faq-item { border-bottom:1px solid var(--border); }
.sylv-rh-faq-item:last-child { border-bottom:none; }
.sylv-rh-faq-question { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; padding:1.1rem 1.5rem; font-family:var(--font-sans); font-size:0.95rem; font-weight:500; color:var(--text); cursor:pointer; text-align:left; transition:background 0.15s; gap:1rem; }
.sylv-rh-faq-question:hover { background:var(--surface2); }
.sylv-rh-faq-question[aria-expanded="true"] { color:var(--accent); }
.sylv-rh-faq-chevron { font-size:0.75rem; transition:transform 0.2s; flex-shrink:0; color:var(--text-muted); }
.sylv-rh-faq-question[aria-expanded="true"] .sylv-rh-faq-chevron { transform:rotate(180deg); }
.sylv-rh-faq-answer { display:none; padding:0 1.5rem 1.25rem; font-size:0.9rem; color:var(--text-secondary); line-height:1.7; font-weight:300; }
.sylv-rh-faq-answer.open { display:block; }

/* CTA Banner */
.sylv-rh-cta-banner { padding:3rem 2rem; text-align:center; background:var(--surface); border-bottom:1px solid var(--border); }
.sylv-rh-cta-banner-title { font-size:1.75rem; font-weight:600; color:var(--text); margin-bottom:0.75rem; letter-spacing:-0.03em; }
.sylv-rh-cta-banner-sub { font-size:0.95rem; color:var(--text-secondary); margin-bottom:1.75rem; font-weight:300; }

/* Product category nav (home page cards) */
.sylv-rh-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.25rem; }
.sylv-rh-product-card { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:1.5rem; text-decoration:none; color:inherit; transition:all 0.15s; display:flex; flex-direction:column; gap:0.75rem; }
.sylv-rh-product-card:hover { border-color:var(--border-strong); transform:translateY(-2px); }
.sylv-rh-product-card-icon { font-size:1.75rem; }
.sylv-rh-product-card-title { font-size:1rem; font-weight:600; color:var(--text); }
.sylv-rh-product-card-desc { font-size:0.85rem; color:var(--text-secondary); font-weight:300; line-height:1.5; flex:1; }
.sylv-rh-product-card-link { font-size:0.8rem; font-weight:500; color:var(--accent); margin-top:auto; }

/* Light mode adjustments */
body.sylv-light .sylv-rh-feature-card { background:var(--light-surface); }
body.sylv-light .sylv-placeholder { background:var(--light-surface); }
body.sylv-light .sylv-rh-trust { background:var(--light-surface); }
body.sylv-light .sylv-rh-faq-question:hover { background:var(--light-surface2); }
body.sylv-light .sylv-rh-cta-banner { background:var(--light-surface); }
body.sylv-light .sylv-rh-product-card { background:var(--light-surface); }

/* Responsive */
@media (max-width:900px) {
    .sylv-rh-features { grid-template-columns:repeat(2,1fr); }
    .sylv-rh-products-grid { grid-template-columns:repeat(2,1fr); }
    .sylv-rh-trust { gap:2rem; }
}
@media (max-width:600px) {
    .sylv-rh-hero { padding:2.5rem 1rem 2rem; }
    .sylv-rh-section { padding:2rem 1rem; }
    .sylv-rh-features { grid-template-columns:1fr; }
    .sylv-rh-features-2col { grid-template-columns:1fr; }
    .sylv-rh-products-grid { grid-template-columns:1fr; }
    .sylv-rh-trust { gap:1.5rem; padding:1.5rem 1rem; }
    .sylv-rh-cta-banner { padding:2rem 1rem; }
}
