@import url('fonts.css');

/* Design Tokens — Dornenseiten ("Tableau"-Richtung), siehe design/design_handoff_dornenseiten_homepage/README.md */
:root {
    --bg: oklch(14% 0.012 50);
    --bg-panel: oklch(11% 0.01 50);
    --bg-card: oklch(17% 0.013 50);
    --border: oklch(30% 0.02 50);
    --border-soft: oklch(28% 0.018 50);

    --text: oklch(92% 0.012 70);
    --text-2: oklch(82% 0.012 65);
    --text-3: oklch(76% 0.014 65);
    --text-4: oklch(72% 0.014 65);
    --text-meta: oklch(60% 0.02 60);
    --text-meta-2: oklch(56% 0.02 60);
    --text-meta-3: oklch(52% 0.02 60);
    --text-meta-4: oklch(50% 0.02 60);

    --wine: oklch(58% 0.13 18);
    --wine-dark: oklch(46% 0.14 18);
    --gold: oklch(58% 0.13 75);

    --diamond-filled: oklch(58% 0.13 18);
    --diamond-empty: oklch(42% 0.02 60);

    --placeholder-a: oklch(23% 0.017 50);
    --placeholder-b: oklch(17% 0.014 50);
    --placeholder-a-small: oklch(21% 0.016 50);
    --placeholder-b-small: oklch(16% 0.013 50);

    --side-pad: 64px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Work Sans', sans-serif;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

a { color: inherit; text-decoration: none; }

.mono {
    font-family: 'Work Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Dornen-Wertung (Diamanten) & Spice-Level (Chilis) */
.diamonds, .chilis { display: inline-flex; gap: 4px; vertical-align: middle; }
.diamond {
    display: inline-block;
    transform: rotate(45deg);
    border: 1px solid var(--diamond-empty);
    background: transparent;
}
.diamond.filled { background: var(--diamond-filled); border-color: var(--diamond-filled); }
/* Spice-Chilis: eigene Farbgebung (Gold statt Weinrot), damit optisch klar von der Dornen-Wertung getrennt */
.chili {
    display: inline-block;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
}
.chili.filled { background: var(--gold); border-color: var(--gold); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: oklch(14% 0.012 50 / 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    transition: transform 0.25s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
.site-header .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--side-pad);
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; color: var(--text-3); }
.site-header nav a.inactive { color: var(--text-meta); cursor: default; }
.site-header nav a:hover { color: var(--wine); }
.nav-subscribe {
    padding: 8px 18px;
    background: var(--wine-dark);
    border-radius: 20px;
    color: oklch(96% 0.01 70);
}
.nav-subscribe:hover { color: oklch(96% 0.01 70); opacity: 0.9; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega-Menu */
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 22px 0; }
.mega-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 16px 32px -16px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 9;
}
.nav-item:hover .mega-menu,
.nav-item.open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px var(--side-pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 28px;
}
.mega-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-3);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
}
.mega-link:hover { color: var(--wine); }

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-panel);
        border-bottom: 1px solid var(--border-soft);
        box-shadow: 0 16px 32px -16px rgba(0,0,0,0.4);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    .site-header .main-nav.open { display: flex; }
    .nav-item > a { display: block; padding: 14px 0; }
    .main-nav > a { padding: 14px 0; border-top: 1px solid var(--border-soft); }
    .nav-subscribe { display: inline-block; margin-top: 10px; width: fit-content; }

    .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; transition: none; }
    .nav-item.open .mega-menu { display: block; }
    .nav-item:hover .mega-menu { display: none; }
    .nav-item.open:hover .mega-menu { display: block; }
    .mega-grid { grid-template-columns: 1fr; padding: 8px 0; }
}

/* Layout containers */
.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--side-pad); }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.container-read { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* Cover-Platzhalter */
.placeholder {
    background: repeating-linear-gradient(135deg, var(--placeholder-a) 0 14px, var(--placeholder-b) 14px 28px);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-meta-3);
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.placeholder.placeholder-small {
    background: repeating-linear-gradient(135deg, var(--placeholder-a-small) 0 10px, var(--placeholder-b-small) 10px 20px);
}

/* Hero "Buch des Monats" */
.hero {
    position: relative;
    margin: 6px var(--side-pad) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
}
.hero-text { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.hero .kicker { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); }
.hero h1 { font-size: 46px; font-weight: 600; line-height: 1.1; }
.hero .byline { font-size: 14px; color: var(--text-meta); }
.hero .verdict { font-size: 16px; line-height: 1.6; color: var(--text-3); max-width: 430px; margin: 0; }
.hero .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hero .cta {
    margin-top: 8px;
    display: inline-block;
    width: fit-content;
    padding: 13px 28px;
    border: 1px solid var(--wine);
    color: var(--wine);
    font-size: 13.5px;
    letter-spacing: 0.03em;
}
.hero-cover { position: relative; }
.hero-cover .placeholder, .hero-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-cover-fade {
    position: absolute; inset: 0;
    background: linear-gradient(to right, var(--bg-panel), transparent 42%);
}

/* Trope-Tag-Chips */
.tag-chip {
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-meta);
    border: 1px solid var(--border-soft);
    padding: 4px 10px;
    border-radius: 20px;
}
.tag-chip:hover { color: var(--wine); border-color: var(--wine); }

/* Section */
.section { padding: 64px var(--side-pad) 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section-head h2 { font-size: 27px; font-weight: 600; }
.section-head .view-all { color: var(--wine); font-size: 12px; }

/* "Zuletzt verschlungen" — horizontale Card-Reihe */
.card-row { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 14px; }
.book-card { flex: 0 0 190px; display: flex; flex-direction: column; gap: 9px; cursor: pointer; }
.book-card .cover { width: 100%; aspect-ratio: 2/3; }
.book-card .title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; line-height: 1.25; }
.book-card .author { font-size: 11.5px; color: var(--text-meta-2); }

/* Grid (Archiv/Liste) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.article-card { cursor: pointer; }
.article-card .cover { width: 100%; aspect-ratio: 2/3; margin-bottom: 14px; }
.article-card .trope { color: var(--wine); font-size: 10px; margin-bottom: 8px; }
.article-card h3 { font-size: 19px; font-weight: 600; line-height: 1.2; }
.article-card .meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--text-meta); }

/* Artikelliste mit Filter-Sidebar */
.articles-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 48px var(--side-pad) 80px;
}
.filter-sidebar { padding-top: 8px; }
.filter-title { font-size: 12px; color: var(--text-meta); margin-bottom: 18px; }
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-3);
    padding: 8px 0;
    cursor: pointer;
}
.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--wine);
    cursor: pointer;
}
.articles-main .empty-state { color: var(--text-4); padding: 24px 0; }

/* Pro/Contra-Spotlight */
.spotlight {
    margin: 50px var(--side-pad);
    padding: 46px 54px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.spotlight .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.spotlight .pro .label { color: var(--gold); }
.spotlight .contra .label { color: var(--wine); }
.spotlight p { font-family: 'Playfair Display', serif; font-size: 19px; line-height: 1.5; margin: 0; }
.spotlight .quote {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 26px;
}
.spotlight .quote p {
    font-style: italic;
    font-size: 20px;
    color: var(--text-2);
}

/* Spice-Skala & Triggerwarnungen */
.scales { padding: 10px var(--side-pad) 60px; display: flex; gap: 60px; align-items: flex-start; flex-wrap: wrap; }
.scales .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-meta); margin-bottom: 14px; }
.scales .scale-desc { font-size: 12px; color: var(--text-meta-3); margin-top: 8px; max-width: 220px; }
.scales .scale-text { font-size: 13px; color: var(--text-4); max-width: 360px; line-height: 1.6; }

/* Article detail */
.article-page {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: 48px;
    padding-top: 0;
    align-items: start;
}
.article-page .article-detail { max-width: 760px; }
.toc-sidebar { position: sticky; top: 96px; align-self: start; }
.toc-title { font-size: 11px; color: var(--text-meta); margin-bottom: 16px; }
.toc-link {
    display: block;
    padding: 7px 0 7px 14px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--text-4);
    border-left: 2px solid var(--border-soft);
}
.toc-link.toc-h3 { padding-left: 26px; font-size: 12.5px; }
.toc-link.active { color: var(--wine); border-left-color: var(--wine); font-weight: 600; }

@media (max-width: 980px) {
    .article-page { grid-template-columns: 1fr; }
    .toc-sidebar { display: none; }
}

.back-link { display: inline-block; margin: 40px 0 24px; color: var(--text-meta); font-size: 11px; }
.article-detail .kicker { color: var(--wine); font-size: 11px; margin-bottom: 14px; }
.article-detail h1 { font-size: 42px; line-height: 1.1; margin-bottom: 16px; text-align: left; }
.article-detail .book-author,
.article-hero-content .book-author { font-size: 14px; color: var(--text-meta); margin-top: -8px; margin-bottom: 8px; }
.article-hero-content .book-author { color: rgba(255,255,255,0.82); }
.book-author a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.book-author a:hover { color: var(--wine); }
.article-detail .lead { font-size: 19px; color: var(--text-3); line-height: 1.5; }
.article-detail .byline {
    margin-top: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--border-soft);
    font-size: 13px; color: var(--text-meta); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.article-detail .cover { aspect-ratio: 16/9; margin: 32px 0; }
.article-detail .rating-row { display: flex; align-items: center; gap: 24px; margin: 8px 0 24px; font-size: 13px; color: var(--text-meta); }
.article-detail .rating-row .diamonds, .article-detail .rating-row .chilis { margin-left: 8px; }

.markdown-body { font-size: 18px; line-height: 1.72; color: var(--text-2); }
.markdown-body p { margin: 0 0 24px; }
.markdown-body h2 { font-family: 'Playfair Display', serif; font-size: 27px; font-weight: 600; margin: 40px 0 16px; text-align: left; scroll-margin-top: 96px; }
.markdown-body h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 600; margin: 32px 0 12px; text-align: left; scroll-margin-top: 96px; }
.markdown-body a { color: var(--wine); text-decoration: underline; }
.markdown-body ul, .markdown-body ol { margin: 0 0 24px; padding-left: 22px; }
.markdown-body li { margin-bottom: 8px; }
.markdown-body img { max-width: 100%; margin: 24px 0; }
.markdown-body blockquote {
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 24px; font-weight: 500; line-height: 1.4;
    color: var(--text); border-left: 3px solid var(--wine);
    padding-left: 26px; margin: 40px 0;
}
.markdown-body code { background: var(--bg-card); padding: 2px 6px; font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; }
.markdown-body pre { background: var(--bg-card); padding: 16px; overflow-x: auto; }

.legal-page { padding: 56px 0 80px; }
.legal-note {
    margin-top: 40px; padding: 16px 20px; background: var(--bg-card);
    font-size: 14px; color: var(--text-3); text-align: left;
}
.legal-link { color: var(--wine); }

.markdown-body table {
    width: 100%; border-collapse: collapse; margin: 0 0 32px;
    font-size: 16px; text-align: left;
}
.markdown-body th, .markdown-body td {
    padding: 12px 16px; border-bottom: 1px solid var(--border-soft); text-align: left;
}
.markdown-body th {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-meta); background: var(--bg-card);
}
.markdown-body tbody tr:last-child td { border-bottom: none; }

/* Pro/Contra-Box innerhalb der Detailseite (zusätzlich zur Homepage-Spotlight-Version) */
.verdict-box { border: 1px solid var(--border); padding: 28px; margin: 40px 0; background: var(--bg-card); }
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 0; }
.verdict-grid .pro .label { color: var(--gold); }
.verdict-grid .contra .label { color: var(--wine); }
.verdict-grid .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.verdict-grid p { font-family: 'Playfair Display', serif; font-size: 18px; line-height: 1.5; margin: 0; }

.pull-quote {
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; font-weight: 500; line-height: 1.4;
    color: var(--text); border-left: 3px solid var(--wine); padding-left: 26px; margin: 40px 0;
}

.trigger-warnings {
    background: var(--bg-card); padding: 20px 24px; margin: 32px 0; border: 1px solid var(--border-soft);
}
.trigger-warnings .label { color: var(--text-meta); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.trigger-warnings p { margin-top: 10px; color: var(--text-3); font-size: 14px; }

.faq-block { margin: 32px 0; }
.faq-item { border: 1px solid var(--border-soft); padding: 16px 20px; margin-bottom: 10px; }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--text); }
.faq-item p { margin-top: 10px; color: var(--text-3); font-size: 15px; }

.author-bio-box {
    display: flex; gap: 18px; align-items: flex-start;
    border: 1px solid var(--border-soft); padding: 20px;
    margin-top: 40px; background: var(--bg-card);
}
.author-bio-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-box .label { color: var(--wine); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.author-bio-name { font-weight: 600; margin-top: 4px; font-family: 'Playfair Display', serif; }
.author-bio-box p { margin-top: 8px; color: var(--text-3); font-size: 14px; line-height: 1.55; }
.author-bio-social { display: flex; gap: 14px; margin-top: 10px; }
.author-bio-social a { font-size: 12px; font-weight: 500; color: var(--wine); text-decoration: none; }
.author-bio-social a:hover { text-decoration: underline; }

.crossref-card {
    border: 1px solid var(--border-soft); padding: 18px;
    display: flex; align-items: center; gap: 16px; cursor: pointer; margin-top: 32px;
}
.crossref-card .thumb { width: 56px; height: 56px; flex-shrink: 0; object-fit: cover; }
.crossref-card .label { font-size: 10px; color: var(--text-meta); }
.crossref-card .title { font-weight: 600; margin-top: 2px; font-family: 'Playfair Display', serif; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-soft);
    margin-top: 50px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px var(--side-pad);
    flex-wrap: wrap;
    gap: 20px;
}
.footer-brand .logo { font-family: 'Playfair Display', serif; font-size: 24px; }
.footer-social { display: flex; gap: 28px; font-size: 13px; color: var(--text-4); }
.footer-social a:hover { color: var(--wine); }
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-soft);
    padding: 20px var(--side-pad) 32px;
    font-size: 12px;
    color: var(--text-meta-3);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-legal a { color: var(--text-meta-3); }
.footer-legal a:hover { color: var(--wine); }

@media (max-width: 860px) {
    .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* Lese-Fortschrittsbalken (Artikelseiten) */
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 50; }
.reading-progress-fill { height: 100%; width: 0%; background: var(--wine); }

/* Artikel-Hero (Vollbild-Aufmacherbild mit Verlauf) */
.article-hero { position: relative; width: 100%; height: min(64vh, 600px); min-height: 360px; overflow: hidden; margin-bottom: 40px; }
.article-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.75) 100%); }
.article-hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 80px; padding-bottom: 40px; }
.article-hero-content .back-link { color: rgba(255,255,255,0.78); }
.article-hero-content .kicker { color: var(--wine); margin-bottom: 14px; }
.article-hero-content h1 { color: #fff; font-size: 42px; line-height: 1.1; margin-bottom: 16px; text-align: left; }
.article-hero-content .byline { color: rgba(255,255,255,0.82); font-size: 13px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
    .article-hero { height: 56vh; min-height: 320px; }
    .article-hero-content h1 { font-size: 30px; }
}

/* Cookie-Banner */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    padding: 20px 24px; z-index: 200;
}
.cookie-banner-text { font-size: 13.5px; color: var(--text-3); line-height: 1.5; margin: 0 0 16px; }
.cookie-banner-text a { color: var(--wine); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn-cookie {
    font-family: inherit; font-size: 13px; font-weight: 500; padding: 10px 18px;
    border: 1px solid var(--wine); background: var(--wine-dark); color: #fff; cursor: pointer;
}
.btn-cookie.secondary { background: transparent; color: var(--text-2); border-color: var(--border); }

.cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 210; padding: 20px; }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-modal-inner { background: var(--bg-card); border: 1px solid var(--border); padding: 28px; max-width: 480px; width: 100%; max-height: 84vh; overflow-y: auto; }
.cookie-modal-inner h2 { font-size: 20px; margin-bottom: 18px; }
.cookie-category { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-head label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--text); }
.cookie-category p { font-size: 13px; color: var(--text-meta); margin: 6px 0 0 26px; }
.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ============================================================
   Mobile-Optimierung: Paddings, Grids, Typografie auf schmalen Viewports
   ============================================================ */
@media (max-width: 700px) {
    :root { --side-pad: 20px; }

    .site-header .inner { padding: 0 20px; }
    .container, .articles-layout, .section { padding-left: 20px; padding-right: 20px; }
    .container-narrow, .container-read { padding-left: 20px; padding-right: 20px; }

    .hero { grid-template-columns: 1fr; margin: 6px 20px 0; }
    .hero-text { padding: 36px 24px; }
    .hero-cover { aspect-ratio: 4/5; order: -1; }
    .hero-cover-fade { background: linear-gradient(to top, var(--bg-panel), transparent 30%); }
    .hero h1 { font-size: 32px; }

    .section { padding: 40px 20px 10px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

    .card-grid { grid-template-columns: 1fr; gap: 28px; }

    .articles-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 56px; }
    .filter-sidebar { padding-top: 0; }

    .spotlight { margin: 36px 20px; padding: 30px 24px; grid-template-columns: 1fr; gap: 28px; }
    .scales { padding: 10px 20px 40px; gap: 32px; }

    .article-page { padding-left: 20px; padding-right: 20px; }
    .article-detail h1 { font-size: 28px; }
    .article-detail .lead { font-size: 17px; }
    .markdown-body, .markdown-body p { font-size: 16px; }
    .markdown-body blockquote { font-size: 19px; padding-left: 18px; }

    .article-hero-content { padding-top: 48px; padding-bottom: 24px; }
    .article-hero-content .container-read { padding-left: 20px; padding-right: 20px; }

    .verdict-grid { grid-template-columns: 1fr; }
    .author-bio-box { flex-direction: column; }

    .footer-grid, .footer-legal { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
    .container, .container-narrow, .container-read, .section, .articles-layout {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero { margin-left: 16px; margin-right: 16px; }
    .footer-grid, .footer-legal { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 560px) {
    .cookie-banner-actions { justify-content: stretch; }
    .btn-cookie { flex: 1; }
}
