/* ============================================================
   MODERN EDITORIAL — 2025 Edition
   ============================================================ */

/* --- 1. Design Tokens --- */
:root {
    /* Surfaces */
    --bg: #FCFCF9;
    --bg-soft: #F4F4EF;
    --surface: #FFFFFF;
    --surface-2: #F7F7F3;

    /* Ink */
    --ink: #0A0A0A;
    --ink-soft: #404040;
    --muted: #6B6B6B;
    --muted-light: #A8A8A8;

    /* Lines */
    --line: rgba(10, 10, 10, 0.07);
    --line-strong: rgba(10, 10, 10, 0.14);

    /* Brand — vibrant orange */
    --accent: #FF4D00;
    --accent-hover: #E64500;
    --accent-soft: #FFF0E8;
    --accent-tint: #FFE0CC;
    --accent-ink: #8C2A00;

    /* Utility */
    --green: #059669;
    --gold: #B8860B;

    /* Gradients */
    --grad-accent: linear-gradient(135deg, #FF6A1F 0%, #FF4D00 100%);
    --grad-green: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --grad-hero: linear-gradient(180deg, #FCFCF9 0%, #F4F4EF 100%);

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Shadows */
    --sh-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
    --sh-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
    --sh-md: 0 8px 24px rgba(10, 10, 10, 0.08);
    --sh-lg: 0 24px 60px rgba(10, 10, 10, 0.12);
    --sh-accent: 0 12px 32px rgba(255, 77, 0, 0.24);
    --sh-green: 0 12px 32px rgba(5, 150, 105, 0.24);

    /* Typography */
    --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --w-content: 760px;
    --w-wide: 1180px;
}

/* --- 2. Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent-hover); }
.hp-field { display: none !important; }
::selection { background: var(--accent-tint); color: var(--ink); }

.container-narrow { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }

/* --- 3. Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(252, 252, 249, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}
.site-navbar { padding: 14px 0; }

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink) !important;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--grad-accent);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: var(--sh-accent);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

.nav-toggler {
    border: 1px solid var(--line-strong);
    background: var(--surface);
    border-radius: var(--r-sm);
    padding: 6px 10px;
}
.nav-toggler:focus { box-shadow: 0 0 0 3px var(--accent-soft); }

.nav-menu { gap: 4px; }
.nav-menu .nav-link {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 9px 16px;
    border-radius: var(--r-pill);
    transition: all 0.2s ease;
}
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 4px 4px 4px 18px;
    min-width: 280px;
    margin-left: 16px;
    transition: all 0.2s ease;
}
.nav-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav-search input {
    border: 0; outline: 0;
    background: transparent;
    color: var(--ink);
    width: 100%;
    font-size: 0.9rem;
    padding: 8px 0;
}
.nav-search input::placeholder { color: var(--muted-light); }
.nav-search button {
    flex-shrink: 0;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.nav-search button:hover { background: var(--accent); transform: scale(1.06); }

.explore-menu {
    min-width: 420px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    margin-top: 8px;
}
.explore-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.explore-title {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.explore-menu .dropdown-item {
    color: var(--ink-soft);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}
.explore-menu .dropdown-item:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* --- 4. Article page --- */
.article-page { padding-bottom: 80px; }

.article-hero {
    padding: 56px 0 40px;
    background: var(--grad-hero);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.09) 0%, transparent 70%);
    pointer-events: none;
}
.article-hero .container {
    max-width: var(--w-wide);
    position: relative;
    z-index: 1;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--muted);
}
.article-breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb .sep { color: var(--muted-light); }
.article-breadcrumb .current { color: var(--muted); }

.article-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 20px;
    border: 1px solid var(--accent-tint);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--ink);
    max-width: 900px;
}
.article-title-year {
    font-size: 0.5em;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.article-original-title {
    font-size: 1rem;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 16px;
}
.article-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 12px 0 24px;
    max-width: 820px;
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    font-weight: 500;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    color: var(--muted);
    font-size: 0.88rem;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
}
.article-meta-bar > span { display: inline-flex; align-items: center; }
.article-meta-bar i { color: var(--accent); margin-right: 8px; font-size: 0.85rem; }
.article-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink);
    padding-right: 8px;
}
.article-author .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: var(--sh-accent);
}

/* --- 5. Featured image --- */
.article-featured-image {
    max-width: var(--w-wide);
    margin: 40px auto 0;
    padding: 0 16px;
}
.article-featured-image img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
.article-featured-fallback {
    display: flex;
    justify-content: center;
    padding: 32px 0;
    background: var(--bg-soft);
    border-radius: var(--r-lg);
}
.article-featured-portrait {
    width: auto !important;
    height: auto;
    max-height: 600px;
    max-width: 100%;
    aspect-ratio: 2 / 3 !important;
    object-fit: contain !important;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
}

/* --- 6. Intro text --- */
.article-intro-text { padding: 48px 0 12px; }
.article-intro-text p {
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
    font-weight: 500;
}
.article-intro-text strong { font-weight: 800; color: var(--ink); }

/* --- 7. Cover + synopsis --- */
.article-cover-synopsis { padding: 40px 0 12px; }
.cover-synopsis-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.cover-portrait img {
    width: 100%;
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
.synopsis-body { min-width: 0; }
.synopsis-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
}

/* --- 8. Generic sections --- */
.article-section {
    padding: 48px 0 12px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 90px;
}
.article-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--ink);
    line-height: 1.2;
}
.article-section-lead {
    color: var(--muted);
    font-size: 0.96rem;
    margin: -10px 0 24px;
    max-width: 780px;
    line-height: 1.65;
}

/* --- 9. Download block --- */
.item-section {
    padding-top: 56px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 90px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ink);
    line-height: 1.2;
}
.section-lead {
    color: var(--muted);
    font-size: 0.96rem;
    margin: 0 0 28px;
    max-width: 780px;
    line-height: 1.65;
}
.section-lead strong { color: var(--ink); font-weight: 700; }

.download-list { display: grid; gap: 10px; margin-bottom: 24px; }

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    border-radius: var(--r-md);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}
.download-btn span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-family: ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace;
    letter-spacing: -0.01em;
}
.download-btn:hover { color: #fff; transform: translateY(-2px); }
.download-btn .btn-external {
    flex-shrink: 0;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.download-btn:hover .btn-external { opacity: 1; transform: translate(2px, -2px); }

.btn-dl-verde { background: var(--grad-green); box-shadow: var(--sh-green); }
.btn-dl-verde:hover { box-shadow: 0 16px 36px rgba(5, 150, 105, 0.32); }
.btn-dl-legendado {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.24);
}
.btn-dl-legendado:hover { box-shadow: 0 16px 36px rgba(6, 182, 212, 0.32); }
.btn-dl-cam {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.24);
}
.btn-dl-cam:hover { box-shadow: 0 16px 36px rgba(245, 158, 11, 0.32); }

.download-note { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.download-note p { margin: 0 0 12px; }
.download-note a { color: var(--accent); font-weight: 700; }

/* --- 10. Video frame --- */
.video-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-md);
}

/* --- 11. Galleries --- */
.backdrop-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.backdrop-gallery-item {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
}
.backdrop-gallery-item a { display: block; height: 100%; }
.backdrop-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.backdrop-gallery-item:hover img { transform: scale(1.05); }

.poster-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.poster-gallery-item {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 2 / 3;
    background: var(--surface-2);
}
.poster-gallery-item a { display: block; height: 100%; }
.poster-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.poster-gallery-item:hover img { transform: scale(1.05); }

/* --- 12. Ficha / synopsis content --- */
.ficha-content { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.ficha-content p:last-child { margin-bottom: 0; }

/* --- 13. Cast --- */
.cast-block { margin-bottom: 28px; }
.cast-block:last-child { margin-bottom: 0; }
.cast-subtitle {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}
.cast-lines { list-style: none; padding: 0; margin: 0; }
.cast-lines li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.95rem;
}
.cast-lines li:last-child { border-bottom: 0; }
.cast-lines .cast-as {
    color: var(--muted);
    font-weight: 400;
    margin-left: 4px;
    font-style: italic;
}

/* --- 14. Tech list (modern card) --- */
.tech-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.tech-simple-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    line-height: 1.5;
    transition: background 0.15s ease;
}
.tech-simple-list li:last-child { border-bottom: 0; }
.tech-simple-list li:nth-child(even) { background: var(--surface-2); }
.tech-simple-list li:hover { background: var(--accent-soft); }
.tech-simple-label {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.tech-simple-value {
    flex: 1 1 auto;
    text-align: right;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    word-break: break-word;
}
.tech-simple-value .genre-chip { margin: 2px 0 2px 6px; }
.tech-simple-value .text-link { color: var(--accent); font-weight: 700; }

/* --- 15. Related articles --- */
.related-article-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.related-article-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.related-article-card:hover {
    border-color: var(--accent-tint);
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}
.related-card-media {
    display: block;
    border-radius: var(--r-sm);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--surface-2);
}
.related-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-article-card:hover .related-card-media img { transform: scale(1.06); }
.related-card-body { min-width: 0; padding-top: 4px; }
.related-card-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}
.related-card-title a { color: var(--ink); }
.related-card-title a:hover { color: var(--accent); }
.related-card-excerpt {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-year {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    background: var(--accent-soft);
    border-radius: var(--r-pill);
}

/* --- 16. Tags --- */
.tags-plain { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-plain span {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.tags-plain span:hover {
    background: var(--accent-soft);
    border-color: var(--accent-tint);
    color: var(--accent);
}

/* --- 17. Badges & chips --- */
.badge-faixa-etaria {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--r-sm);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.fe-l, .fe-livre { background: #059669; }
.fe-10 { background: #0891B2; }
.fe-12 { background: #F59E0B; color: #111; }
.fe-14 { background: #EA580C; }
.fe-16 { background: #DC2626; }
.fe-18 { background: #0A0A0A; }

.genre-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    border: 1px solid transparent;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.18s ease;
}
.genre-chip:hover { background: var(--accent); color: #fff; }

.franchise-inline-label {
    color: var(--muted);
    font-weight: 600;
    margin-right: 6px;
    font-size: 0.88rem;
}
.text-link { color: var(--accent); text-decoration: none; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- 18. Footer --- */
.site-footer {
    margin-top: 80px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 56px 0 36px;
}
.footer-inner { max-width: var(--w-wide); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    display: block;
    letter-spacing: -0.02em;
}
.footer-about { color: var(--muted); font-size: 0.9rem; line-height: 1.65; max-width: 340px; }
.footer-col h3 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.82rem;
}
.footer-disclaimer { font-size: 0.8rem; color: var(--muted); margin: 0; }
.footer-disclaimer i { color: var(--gold); margin-right: 4px; }

/* --- 19. Responsive --- */
@media (max-width: 1199.98px) {
    .nav-search { margin: 14px 0 0; width: 100%; }
    .explore-menu { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
    .cover-synopsis-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
    .related-article-list { grid-template-columns: 1fr; }
    .poster-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .container-narrow { padding: 0 20px; }
    .article-hero { padding: 36px 0 28px; }
    .article-title { font-size: clamp(1.75rem, 6.5vw, 2.4rem); }
    .article-subtitle { font-size: 1.02rem; padding-left: 16px; }
    .article-featured-image { padding: 0; margin-top: 28px; }
    .article-featured-image img { border-radius: 0; aspect-ratio: 16 / 9; }
    .article-featured-portrait { max-height: 500px; }
    .article-intro-text p { font-size: 1.06rem; }
    .cover-synopsis-grid { grid-template-columns: 1fr; gap: 24px; }
    .cover-portrait { max-width: 220px; margin: 0 auto; }
    .backdrop-gallery { grid-template-columns: 1fr; }
    .poster-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-article-card { grid-template-columns: 110px minmax(0, 1fr); padding: 12px; }
    .synopsis-text { font-size: 1.02rem; }
    .tech-simple-list li { padding: 12px 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .article-section { padding: 32px 0 8px; }
}
@media (max-width: 575.98px) {
    .tech-simple-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .tech-simple-value { text-align: left; }
    .article-meta-bar { gap: 10px 18px; font-size: 0.82rem; }
    .article-breadcrumb { font-size: 0.78rem; }
}

/* --- 20. Home / list page --- */
.page-main {
    padding-top: 48px;
    padding-bottom: 80px;
    max-width: var(--w-wide);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
    flex-wrap: wrap;
}
.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.15;
}
.page-description {
    max-width: 820px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.article-list { display: flex; flex-direction: column; gap: 0; }
.article-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.article-card:first-child { padding-top: 0; }
.article-card-media {
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-2);
    aspect-ratio: 16 / 11;
    border: 1px solid var(--line);
}
.article-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-card:hover .article-card-media img { transform: scale(1.05); }
.article-card-body { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.article-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.article-card-title a { color: var(--ink); }
.article-card-title a:hover { color: var(--accent); }
.article-card-excerpt {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    color: var(--muted);
    font-size: 0.82rem;
}
.article-card-meta i { margin-right: 6px; color: var(--accent); }
.article-card-meta .meta-item { display: inline-flex; align-items: center; }

.article-card.featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 0 36px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line-strong);
}
.article-card.featured .article-card-media { aspect-ratio: 21 / 9; }
.article-card.featured .article-card-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.article-card.featured .article-card-excerpt { -webkit-line-clamp: 4; font-size: 1.02rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }

.tag-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 22px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 0.9rem;
}
.tag-bar a { margin-left: auto; color: var(--accent); font-weight: 700; }

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 80px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-md);
}
.empty-state i { font-size: 2.5rem; margin-bottom: 16px; color: var(--accent); }

.pagination-wrap { margin-top: 48px; }
.pagination { justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-link {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: var(--r-sm) !important;
    font-weight: 600;
    padding: 8px 14px;
    transition: all 0.18s ease;
}
.pagination .page-link:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.pagination .active .page-link { background: var(--accent); border-color: var(--accent); color: #fff; }

.seo-section {
    max-width: var(--w-content);
    margin: 60px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 32px;
}
.seo-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.seo-section p { color: var(--ink-soft); margin: 0; line-height: 1.7; }

/* --- 21. Icon font protection --- */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .fa-sharp,
i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Sharp" !important;
}
i[class*="fa-"]::before { font-family: inherit; }

/* --- 22. Focus states (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}