/* ==========================================================================
   Moban 8-10-2 — Editorial Magazine Theme (main.css)
   Palette: olive #6B7C3E / deep olive #3D4A22 / cream #F2F0E6
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap&subset=vietnamese');

/* ---------- Design tokens ---------- */
:root {
    --olive: #6B7C3E;
    --olive-dark: #3D4A22;
    --olive-deep: #2C3618;
    --cream: #F2F0E6;
    --paper: #FBFAF4;
    --card: #FFFFFF;
    --ink: #262B1B;
    --ink-soft: #5C6350;
    --line: rgba(61, 74, 34, 0.16);
    --shadow-sm: 0 2px 8px rgba(61, 74, 34, 0.08);
    --shadow-md: 0 6px 20px rgba(61, 74, 34, 0.12);
    --radius: 8px;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Be Vietnam Pro', 'Segoe UI', Tahoma, sans-serif;
}

html[data-theme="dark"] {
    --olive: #8FA256;
    --olive-dark: #B7C68A;
    --olive-deep: #1A2010;
    --cream: #14170E;
    --paper: #191D12;
    --card: #20261A;
    --ink: #EDEBDD;
    --ink-soft: #A8AD98;
    --line: rgba(242, 240, 230, 0.14);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    transition: background-color 0.35s ease, color 0.35s ease;
    background-image: radial-gradient(rgba(61, 74, 34, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

html[data-theme="dark"] body {
    background-image: radial-gradient(rgba(242, 240, 230, 0.04) 1px, transparent 1px);
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--olive); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--olive-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 0.6em;
    font-weight: 700;
}

p { margin: 0 0 1em; }

ul { padding-left: 1.2em; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary { background: var(--olive-deep); color: #F6F4EA; }
html[data-theme="dark"] .btn-primary { background: var(--olive); color: #14170E; }

.btn-ghost { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn-ghost:hover { background: var(--olive); color: #F6F4EA; }
html[data-theme="dark"] .btn-ghost:hover { background: var(--olive); color: #14170E; }

.btn-light { background: #F6F4EA; color: var(--olive-deep); }

.btn-sm { padding: 7px 16px; font-size: 13px; }

.btn-block { display: block; width: 100%; text-align: center; margin-top: 12px; }

/* ---------- Header: topbar + centered split nav ---------- */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 60;
    box-shadow: var(--shadow-sm);
}

.header-topbar {
    background: var(--olive-deep);
    color: #EDEBDD;
    font-size: 12.5px;
    letter-spacing: 0.04em;
}

html[data-theme="dark"] .header-topbar { background: #0F1208; }

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
    min-width: 0;
}

.topbar-date { opacity: 0.85; text-transform: capitalize; }

.header-actions { display: flex; gap: 10px; min-width: 0; }
.header-actions .btn { padding: 5px 16px; font-size: 12.5px; }
.header-actions .btn-login { background: transparent; border-color: rgba(246, 244, 234, 0.5); color: #F6F4EA; }
.header-actions .btn-register { background: #F6F4EA; color: var(--olive-deep); border-color: #F6F4EA; }

.header-grid {
    display: grid;
    grid-template-areas: "left logo right";
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
}

.nav-left { grid-area: left; display: flex; justify-content: flex-end; gap: 26px; min-width: 0; }
.nav-right { grid-area: right; display: flex; justify-content: flex-start; align-items: center; gap: 26px; min-width: 0; }

.site-logo { grid-area: logo; text-align: center; min-width: 0; }
.logo-img { max-height: 64px; width: auto; display: inline-block; }

.header-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 0;
    white-space: nowrap;
}

.header-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.header-nav .nav-link:hover::after,
.header-nav .nav-link.is-active::after { transform: scaleX(1); }

.header-nav .nav-link:hover { color: var(--olive); }

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    background: transparent;
    color: var(--olive);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover { background: var(--olive); color: #F6F4EA; transform: rotate(20deg); }
html[data-theme="dark"] .theme-toggle:hover { color: #14170E; }

/* hamburger (hidden on desktop) */
.nav-toggle {
    display: none;
    grid-area: toggle;
    width: 42px;
    height: 38px;
    padding: 8px;
    background: transparent;
    border: 2px solid var(--olive);
    border-radius: var(--radius);
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--olive);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* mobile collapsible menu */
.mobile-menu {
    display: none;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 14px 20px 22px;
}

.mobile-menu.is-open { display: block; animation: menuDrop 0.3s ease; }

@keyframes menuDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav { display: flex; flex-direction: column; }

.mobile-nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
}

.mobile-nav-link:hover { color: var(--olive); }

.mobile-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-actions .btn { flex: 1; text-align: center; }

/* ---------- Intro lead ---------- */
.intro-lead { padding: 56px 0 30px; }

.intro-grid {
    display: flex;
    align-items: center;
    gap: 44px;
    flex-wrap: wrap;
}

.intro-copy { flex: 1 1 460px; min-width: 0; }
.intro-visual { flex: 1 1 380px; position: relative; min-width: 0; }

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    border: 1px solid var(--olive);
    border-radius: var(--radius);
    padding: 5px 14px;
    margin-bottom: 18px;
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.intro-headline {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    margin-bottom: 18px;
}

.intro-headline em {
    font-style: italic;
    color: var(--olive);
}

.intro-lede {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 56ch;
    margin-bottom: 26px;
}

.intro-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.intro-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 4px solid var(--card);
    display: block;
    width: 100%;
    transform: rotate(1.2deg);
}

.intro-stamp {
    position: absolute;
    top: -16px;
    right: -10px;
    background: var(--olive-deep);
    color: #F6F4EA;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 12px 18px;
    border-radius: 50%;
    transform: rotate(12deg);
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .intro-stamp { background: var(--olive); color: #14170E; }

/* ---------- Editor's pick banner ---------- */
.editor-pick { padding: 26px 0; }

.editor-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--olive-deep);
    background-size: cover;
    background-position: center;
    color: #F6F4EA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 40px 44px;
    box-shadow: var(--shadow-md);
}

.editor-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(44, 54, 24, 0.92) 30%, rgba(44, 54, 24, 0.55) 70%, rgba(44, 54, 24, 0.25));
}

.editor-banner-inner { position: relative; z-index: 1; min-width: 0; max-width: 620px; }

.editor-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: #F6F4EA;
    color: var(--olive-deep);
    padding: 6px 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.editor-title { font-size: clamp(24px, 3vw, 36px); color: #F6F4EA; margin-bottom: 10px; }

.editor-desc { opacity: 0.9; margin-bottom: 22px; }

.editor-thumb { position: relative; z-index: 1; flex: 0 0 auto; }

.editor-thumb img {
    width: 170px;
    border-radius: var(--radius);
    border: 3px solid rgba(246, 244, 234, 0.85);
    box-shadow: var(--shadow-md);
    transform: rotate(-2deg);
}

.editor-score {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--olive);
    color: #F6F4EA;
    font-weight: 800;
    font-size: 18px;
    padding: 8px 13px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

/* ---------- Section heads ---------- */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--olive);
    padding-bottom: 10px;
    margin-bottom: 26px;
    min-width: 0;
}

.section-title {
    font-size: 28px;
    margin: 0;
    position: relative;
}

.section-more {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Two-column layout ---------- */
.site-content { min-height: 60vh; }

.two-col-layout {
    display: flex;
    gap: 36px;
    padding: 36px 0 46px;
    align-items: flex-start;
}

.main-col { flex: 1 1 auto; min-width: 0; }
.sidebar-col { flex: 0 0 320px; min-width: 0; }

/* ---------- Article cards ---------- */
.article-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.article-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.article-card-link { display: block; color: inherit; }

.article-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; }

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.article-card:hover .article-card-thumb img { transform: scale(1.06); }

.article-card-body { padding: 18px 20px 22px; min-width: 0; }

.article-card-date {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 8px;
    font-weight: 600;
}

.article-card-title {
    font-size: 19px;
    margin-bottom: 8px;
    line-height: 1.35;
}

.article-card:hover .article-card-title { color: var(--olive); }

.article-card-excerpt { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- Article list rows ---------- */
.article-list { display: flex; flex-direction: column; gap: 18px; }

.article-list-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.article-list-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }

.article-list-link { display: flex; gap: 18px; padding: 14px; color: inherit; min-width: 0; }

.article-list-thumb { flex: 0 0 170px; border-radius: var(--radius); overflow: hidden; min-width: 0; }

.article-list-thumb img { width: 100%; height: 110px; object-fit: cover; display: block; }

.article-list-content { min-width: 0; }

.article-list-title { font-size: 18px; margin-bottom: 6px; line-height: 1.35; }
.article-list-item:hover .article-list-title { color: var(--olive); }

.article-list-excerpt { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 6px; }

.article-list-date { font-size: 12px; color: var(--olive); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Games horizontal strip (nowrap scroll) ---------- */
.games-strip-section { margin-top: 44px; }

.games-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--olive) transparent;
    min-width: 0;
}

.game-mini-card {
    flex: 0 0 190px;
    min-width: 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    white-space: normal;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.game-mini-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

.game-mini-body { padding: 12px 14px 16px; text-align: center; }

.game-mini-body h4 { font-size: 15px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }

.game-mini-rating { display: block; color: var(--olive); font-weight: 700; font-size: 13px; margin-bottom: 10px; }

/* ---------- Sidebar widgets ---------- */
.sidebar-widget {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 22px;
    min-width: 0;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--olive);
}

.widget-poster { padding: 12px; }
.widget-poster img { border-radius: var(--radius); display: block; width: 100%; }

.sidebar-search { display: flex; gap: 8px; min-width: 0; }

.search-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
}

.search-input:focus { outline: 2px solid var(--olive); border-color: var(--olive); }

.search-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--radius);
    background: var(--olive-deep);
    color: #F6F4EA;
    padding: 0 14px;
    cursor: pointer;
}

html[data-theme="dark"] .search-btn { background: var(--olive); color: #14170E; }

.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }

.sidebar-cat-list li { border-bottom: 1px dashed var(--line); }
.sidebar-cat-list li:last-child { border-bottom: 0; }

.sidebar-cat-list a {
    display: block;
    padding: 9px 2px;
    color: var(--ink);
    font-weight: 500;
}

.sidebar-cat-list a:hover { color: var(--olive); padding-left: 8px; }

.sidebar-popular-list { list-style: none; margin: 0; padding: 0; }

.sidebar-popular-list li { margin-bottom: 12px; }
.sidebar-popular-list li:last-child { margin-bottom: 0; }

.sidebar-popular-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    min-width: 0;
}

.sidebar-popular-list a img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius);
    flex: 0 0 auto;
}

.sidebar-popular-list a:hover { color: var(--olive); }

/* ---------- Page head / archive ---------- */
.page-head { text-align: center; padding: 48px 0 6px; }

.page-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 8px; }

.page-subtitle { color: var(--ink-soft); max-width: 62ch; margin: 0 auto; }

.empty-box, .empty-note {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 34px;
    text-align: center;
    color: var(--ink-soft);
}

.pagination-wrap { margin-top: 30px; text-align: center; }

.pagination-wrap .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.pagination-wrap .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover { background: var(--olive-deep); color: #F6F4EA; }

html[data-theme="dark"] .pagination-wrap .page-numbers.current,
html[data-theme="dark"] .pagination-wrap .page-numbers:hover { background: var(--olive); color: #14170E; }

/* ---------- Single article ---------- */
.single-article {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px 46px;
    margin-top: 40px;
}

.single-header { text-align: center; margin-bottom: 24px; }

.single-title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }

.single-meta { display: flex; justify-content: center; gap: 22px; color: var(--ink-soft); font-size: 13.5px; flex-wrap: wrap; }

.single-thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.single-thumb img { display: block; width: 100%; }

.entry-content { font-size: 16.5px; line-height: 1.85; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content blockquote {
    margin: 1.6em 0;
    padding: 16px 24px;
    border-left: 4px solid var(--olive);
    background: var(--paper);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.single-download-box {
    margin-top: 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--olive-deep), var(--olive));
    color: #F6F4EA;
    border-radius: var(--radius);
    padding: 34px 26px;
}

.single-download-box h3 { color: #F6F4EA; margin-bottom: 8px; }
.single-download-box p { opacity: 0.92; margin-bottom: 18px; }

.post-nav {
    display: flex;
    gap: 18px;
    margin: 26px 0;
    flex-wrap: wrap;
}

.post-nav-item {
    flex: 1 1 260px;
    min-width: 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
}

.post-nav-next { text-align: right; }

.post-nav-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); font-weight: 700; margin-bottom: 6px; }

.post-nav-item a { color: var(--ink); font-weight: 600; }
.post-nav-item a:hover { color: var(--olive); }

.related-section { margin: 40px 0 46px; }

/* ---------- Download CTA ---------- */
.download-cta {
    background: var(--olive-deep);
    background-image: repeating-linear-gradient(45deg, rgba(246, 244, 234, 0.05) 0 12px, transparent 12px 24px);
    padding: 60px 0;
    margin-top: 20px;
}

.download-cta-inner { text-align: center; }

.download-title { color: #F6F4EA; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 10px; }

.download-desc { color: rgba(246, 244, 234, 0.85); max-width: 58ch; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--paper);
    border-top: 3px solid var(--olive);
    padding: 46px 0 30px;
    margin-top: 0;
}

.footer-widgets {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-widget { flex: 1 1 240px; min-width: 0; color: var(--ink-soft); font-size: 14.5px; }

.footer-widget .widget-title { font-size: 17px; }

.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul a { color: var(--ink-soft); display: inline-block; padding: 4px 0; }
.footer-widget ul a:hover { color: var(--olive); }

.footer-brand { text-align: center; padding: 20px 0 6px; border-top: 1px dashed var(--line); }

.footer-logo { max-height: 52px; margin-bottom: 8px; }

.footer-tagline { color: var(--ink-soft); font-size: 14px; font-style: italic; }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px dashed var(--line); }

.disclaimer-text { color: var(--ink-soft); font-size: 13px; max-width: 74ch; margin: 14px auto; line-height: 1.75; }

.footer-copy { color: var(--ink-soft); font-size: 12.5px; opacity: 0.85; }

/* ---------- Scroll reveal ---------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header responsive (grid areas live only here) ---------- */
@media (max-width: 991px) {
    .header-grid {
        grid-template-areas: "toggle logo logo";
        grid-template-columns: auto 1fr auto;
        padding: 12px 20px;
    }
    .nav-left, .nav-right { display: none; }
    .nav-toggle { display: flex; }
    .site-logo { text-align: left; }
    .two-col-layout { flex-direction: column; }
    .sidebar-col { flex: 1 1 auto; width: 100%; }
    .editor-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
}
