/**
 * CinemaVilla Theme Stylesheet
 * Premium, lightweight, light-mode cinema discovery design system.
 *
 * @package CinemaVilla
 */

/* ==========================================================================
   1. CSS RESET & DESIGN TOKENS
   ========================================================================== */
:root {
    --cv-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --cv-primary: #0f172a;        /* Deep Cinema Navy */
    --cv-primary-light: #1e293b;
    --cv-accent: #e11d48;         /* Cinema Crimson Accent */
    --cv-accent-hover: #be123c;
    --cv-gold: #d97706;           /* Star Rating Warm Gold */
    --cv-bg-body: #f8fafc;        /* Soft Neutral Base */
    --cv-bg-surface: #ffffff;     /* Pure White Card */
    --cv-bg-subtle: #f1f5f9;      /* Slate Tint */
    --cv-border: #e2e8f0;
    --cv-border-focus: #e11d48;
    --cv-text: #0f172a;
    --cv-text-muted: #64748b;
    --cv-text-light: #94a3b8;
    
    --cv-radius-sm: 6px;
    --cv-radius-md: 10px;
    --cv-radius-lg: 16px;
    --cv-radius-full: 9999px;

    --cv-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --cv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --cv-shadow-lg: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);

    --cv-container-max: 1200px;
    --cv-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: var(--cv-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cv-text);
    background-color: var(--cv-bg-body);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--cv-bg-body);
    color: var(--cv-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--cv-accent);
    text-decoration: none;
    transition: var(--cv-transition);
}

a:hover {
    color: var(--cv-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cv-accent);
    outline-offset: 2px;
}

/* Screen reader utility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.cv-skip-link:focus {
    background-color: #ffffff;
    border-radius: var(--cv-radius-sm);
    box-shadow: var(--cv-shadow-lg);
    clip: auto !important;
    clip-path: none;
    color: var(--cv-primary);
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 1rem;
    line-height: normal;
    padding: 0.75rem 1.25rem;
    position: fixed !important;
    top: 1rem;
    width: auto;
    z-index: 100000;
}

/* Containers */
.cv-container {
    width: 100%;
    max-width: var(--cv-container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cv-site-main {
    flex: 1 0 auto;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.cv-site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--cv-border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--cv-shadow-sm);
}

.cv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Brand Wordmark */
.cv-site-branding {
    display: flex;
    align-items: center;
}

.cv-brand-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--cv-primary);
}

.cv-brand-logo-mark {
    font-size: 1.6rem;
    line-height: 1;
}

.cv-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cv-primary);
}

.cv-brand-text strong {
    color: var(--cv-accent);
}

/* Desktop Nav */
.cv-main-navigation {
    display: none;
}

@media (min-width: 960px) {
    .cv-main-navigation {
        display: block;
    }
}

.cv-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.cv-nav-list li {
    position: relative;
}

.cv-nav-list a {
    color: var(--cv-text);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}

.cv-nav-list a:hover {
    color: var(--cv-accent);
}

.cv-arrow {
    font-size: 0.75rem;
    color: var(--cv-text-muted);
}

/* Dropdown */
.cv-nav-list .cv-menu-has-dropdown {
    position: relative;
}

.cv-nav-list .cv-menu-has-dropdown:hover .cv-sub-menu,
.cv-nav-list .cv-menu-has-dropdown:focus-within .cv-sub-menu,
.cv-nav-list .cv-menu-has-dropdown.cv-dropdown-open .cv-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cv-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    min-width: 240px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
}

.cv-sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.cv-sub-menu li {
    width: 100%;
}

.cv-sub-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--cv-text);
}

.cv-sub-menu a:hover {
    background: var(--cv-bg-subtle);
    color: var(--cv-accent);
}

/* Header Actions */
.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cv-btn-search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-full);
    color: var(--cv-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.cv-btn-search-trigger:hover {
    background: #e2e8f0;
    color: var(--cv-primary);
}

.cv-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm);
    padding: 0.5rem;
    cursor: pointer;
}

@media (min-width: 960px) {
    .cv-menu-toggle {
        display: none;
    }
}

.cv-hamburger-box {
    width: 22px;
    height: 16px;
    position: relative;
    display: block;
}

.cv-hamburger-inner,
.cv-hamburger-inner::before,
.cv-hamburger-inner::after {
    width: 22px;
    height: 2px;
    background-color: var(--cv-primary);
    position: absolute;
    transition: transform 0.2s ease;
}

.cv-hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.cv-hamburger-inner::before {
    content: "";
    top: -6px;
}

.cv-hamburger-inner::after {
    content: "";
    bottom: -6px;
}

/* Mobile Slide Drawer */
.cv-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.cv-mobile-drawer.active {
    transform: translateX(0);
}

.cv-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--cv-border);
}

.cv-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.cv-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    color: var(--cv-text-muted);
}

.cv-drawer-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.cv-drawer-search {
    display: flex;
    margin-bottom: 1.5rem;
}

.cv-drawer-search input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm) 0 0 var(--cv-radius-sm);
}

.cv-drawer-search button {
    background: var(--cv-primary);
    color: #ffffff;
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--cv-radius-sm) var(--cv-radius-sm) 0;
    cursor: pointer;
}

.cv-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-mobile-list li {
    border-bottom: 1px solid var(--cv-border);
}

.cv-mobile-list a {
    display: block;
    padding: 0.75rem 0;
    color: var(--cv-text);
    font-weight: 600;
}

.cv-mobile-list .cv-sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
}

.cv-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cv-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.cv-hero-section {
    padding: 3.5rem 0 2.5rem 0;
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--cv-bg-body) 100%);
    border-bottom: 1px solid var(--cv-border);
}

.cv-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.cv-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--cv-border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--cv-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cv-primary);
    box-shadow: var(--cv-shadow-sm);
    margin-bottom: 1.25rem;
}

.cv-hero-dot {
    width: 8px;
    height: 8px;
    background: var(--cv-accent);
    border-radius: 50%;
    display: inline-block;
}

.cv-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--cv-primary);
    margin: 0 0 1rem 0;
}

.cv-text-highlight {
    color: var(--cv-accent);
    display: block;
}

.cv-hero-subtitle {
    font-size: 1.15rem;
    color: var(--cv-text-muted);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.cv-hero-tool-wrap {
    text-align: left;
}

/* ==========================================================================
   4. CONTENT SECTIONS & HEADERS
   ========================================================================== */
.cv-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--cv-border);
}

.cv-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cv-sub-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cv-accent);
    margin-bottom: 0.35rem;
}

.cv-section-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--cv-primary);
    margin: 0;
}

.cv-section-desc {
    color: var(--cv-text-muted);
    font-size: 1rem;
    max-width: 650px;
    margin-top: 0.5rem;
}

.cv-view-all-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--cv-accent);
}

/* Language Tabs */
.cv-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--cv-border);
    padding-bottom: 0.5rem;
}

.cv-tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    background: transparent;
    border-radius: var(--cv-radius-sm);
    color: var(--cv-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.cv-tab-btn:hover {
    color: var(--cv-primary);
    background: var(--cv-bg-subtle);
}

.cv-tab-btn.active {
    color: #ffffff;
    background: var(--cv-primary);
}

.cv-tab-lead {
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cv-tab-lead h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
}

.cv-tab-lead p {
    margin: 0;
    color: var(--cv-text-muted);
    max-width: 650px;
}

/* Feature Box for Where to Watch */
.cv-feature-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--cv-shadow-md);
}

@media (min-width: 960px) {
    .cv-feature-box {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
    }
}

.cv-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.cv-checklist li {
    padding: 0.35rem 0;
    font-weight: 600;
    color: var(--cv-primary);
}

/* Tools Grid */
.cv-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cv-tool-card {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--cv-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cv-shadow-md);
}

.cv-tool-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cv-tool-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: var(--cv-primary);
}

.cv-tool-card p {
    color: var(--cv-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.cv-tool-card-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cv-accent);
}

/* Blog Grid */
.cv-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.cv-blog-card {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    box-shadow: var(--cv-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cv-shadow-md);
}

.cv-blog-thumb {
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.cv-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cv-blog-card:hover .cv-blog-thumb img {
    transform: scale(1.03);
}

.cv-blog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cv-blog-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cv-text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cv-blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
}

.cv-blog-title a {
    color: var(--cv-primary);
}

.cv-blog-title a:hover {
    color: var(--cv-accent);
}

.cv-blog-excerpt {
    font-size: 0.95rem;
    color: var(--cv-text-muted);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.cv-blog-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cv-accent);
}

/* FAQs Accordion */
.cv-faq-accordion {
    max-width: 860px;
    margin: 0 auto;
}

.cv-faq-item {
    border-bottom: 1px solid var(--cv-border);
}

.cv-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cv-primary);
    cursor: pointer;
}

.cv-faq-question:hover {
    color: var(--cv-accent);
}

.cv-faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--cv-text-muted);
    transition: transform 0.2s ease;
}

.cv-faq-item.active .cv-faq-icon {
    transform: rotate(45deg);
}

.cv-faq-answer {
    display: none;
    padding-bottom: 1.25rem;
    color: var(--cv-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.cv-faq-item.active .cv-faq-answer {
    display: block;
}

/* Static & Schema FAQ Lists */
.cv-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0 2.5rem 0;
}

.cv-faq-list .cv-faq-item {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--cv-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cv-faq-list .cv-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--cv-shadow-md);
}

.cv-faq-list .cv-faq-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cv-primary);
    margin: 0 0 0.65rem 0;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.cv-faq-list .cv-faq-item h3::before {
    content: "Q.";
    color: var(--cv-accent);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cv-faq-list .cv-faq-item p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
    padding-left: 1.85rem;
}

/* Guide Points & Actionable Step Cards */
.cv-guide-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2.25rem 0;
}

.cv-guide-point {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.5rem;
    position: relative;
    box-shadow: var(--cv-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-guide-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--cv-shadow-md);
    border-color: #cbd5e1;
}

.cv-point-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: var(--cv-primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--cv-radius-full);
    margin-bottom: 0.85rem;
    letter-spacing: 0.04em;
}

.cv-guide-point h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cv-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
}

.cv-guide-point p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Channel Elements */
.cv-channel-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cv-channel-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

.cv-channel-title-meta {
    flex: 1;
    min-width: 0;
}

.cv-channel-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cv-primary);
    margin: 0.25rem 0 0 0;
    line-height: 1.3;
}

.cv-verified-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ==========================================================================
   5. BREADCRUMBS & SINGLE VIEWS
   ========================================================================== */
.cv-regional-header-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cv-badge-verified {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--cv-radius-sm);
    border: 1px solid #86efac;
}

.cv-longform-content {
    margin-top: 3rem;
    border-top: 1px solid var(--cv-border);
    padding-top: 2.5rem;
}

.cv-content-block {
    margin-bottom: 3rem;
}

.cv-longform-content {
    margin-top: 3.5rem;
    border-top: 1px solid var(--cv-border);
    padding-top: 3rem;
}

.cv-article-container,
.cv-prose-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cv-content-block {
    margin-bottom: 3.5rem;
}

.cv-content-block:last-child {
    margin-bottom: 1.5rem;
}

.cv-content-block h2 {
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 800;
    color: var(--cv-primary);
    margin: 2.75rem 0 1.25rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--cv-border);
}

.cv-content-block:first-of-type h2,
.cv-longform-content > .cv-content-block:first-child h2 {
    margin-top: 0;
}

.cv-content-block h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 700;
    color: var(--cv-primary);
    margin: 2.25rem 0 0.85rem 0;
    line-height: 1.35;
}

.cv-content-block h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cv-primary);
    margin: 1.75rem 0 0.65rem 0;
    line-height: 1.45;
}

.cv-content-block p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 1.65rem 0;
}

.cv-content-block ul,
.cv-content-block ol {
    margin: 0 0 1.85rem 0;
    padding-left: 1.65rem;
    color: #334155;
}

.cv-content-block li {
    font-size: 1.025rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.cv-content-block li strong {
    color: var(--cv-primary);
}

/* ==========================================================================
   TABLE FORMATTING (ROOT LEVEL - DEFENSE AGAINST THIN CONTENT)
   ========================================================================== */
.cv-table-wrapper,
.cv-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0 2.5rem 0;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    box-shadow: var(--cv-shadow-sm);
    background: #ffffff;
}

.cv-data-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.cv-data-table thead th {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #1e293b;
    white-space: nowrap;
}

.cv-data-table th,
.cv-data-table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    line-height: 1.55;
}

.cv-data-table tbody td {
    color: #334155;
    border-bottom: 1px solid var(--cv-border);
}

.cv-data-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.cv-data-table tbody tr:hover td {
    background-color: #f1f5f9;
}

.cv-data-table td strong {
    color: var(--cv-primary);
}

/* Status & Tag Pills for Tables */
.cv-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--cv-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cv-status-confirmed {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.cv-status-projected {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.cv-status-streaming {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.cv-status-free {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #d8b4fe;
}

/* Trust / E-E-A-T Editorial Header Card */
.cv-eeat-badge-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid var(--cv-border);
    border-left: 4px solid var(--cv-accent);
    border-radius: var(--cv-radius-md);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 2.5rem 0;
}

.cv-eeat-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cv-eeat-icon {
    font-size: 1.85rem;
    line-height: 1;
}

.cv-eeat-text strong {
    display: block;
    color: var(--cv-primary);
    font-size: 0.98rem;
    font-weight: 700;
}

.cv-eeat-text span {
    color: var(--cv-text-muted);
    font-size: 0.85rem;
}

.cv-eeat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-eeat-tag {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--cv-radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.cv-platform-dir,
.cv-platform-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cv-platform-card {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--cv-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-platform-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cv-shadow-md);
}

.cv-platform-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cv-border);
}

.cv-platform-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--cv-primary);
}

.cv-ott-icon {
    font-size: 1.4rem;
}

.cv-platform-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
    color: #475569;
}

.cv-platform-card p:last-child {
    margin-bottom: 0;
}

.cv-info-callout {
    background: #f8fafc;
    border-left: 4px solid var(--cv-accent);
    border-radius: 0 var(--cv-radius-md) var(--cv-radius-md) 0;
    padding: 1.65rem 1.85rem;
    margin: 2.25rem 0;
    box-shadow: var(--cv-shadow-sm);
}

.cv-info-callout h4 {
    margin: 0 0 0.65rem 0;
    font-size: 1.2rem;
    color: var(--cv-primary);
}

.cv-info-callout p {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.cv-info-callout p:last-child {
    margin-bottom: 0;
}

.cv-windows-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.cv-window-item {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.25rem;
}

.cv-window-item h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.05rem;
    color: var(--cv-primary);
}

.cv-window-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--cv-text-muted);
}

.cv-breadcrumbs {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--cv-text-muted);
}

.cv-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.cv-breadcrumb-item a {
    color: var(--cv-text-muted);
}

.cv-breadcrumb-item a:hover {
    color: var(--cv-accent);
}

.cv-breadcrumb-current {
    color: var(--cv-text);
    font-weight: 600;
}

.cv-breadcrumb-separator {
    color: var(--cv-text-light);
}

/* Movie Details Layout */
.cv-movie-details-hero {
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    box-shadow: var(--cv-shadow-md);
    margin: 1.5rem 0 3rem 0;
}

.cv-details-backdrop {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cv-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.cv-details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
    position: relative;
}

@media (min-width: 860px) {
    .cv-details-layout {
        grid-template-columns: 280px 1fr;
    }
}

.cv-details-poster-col {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.cv-details-poster {
    width: 100%;
    border-radius: var(--cv-radius-md);
    box-shadow: var(--cv-shadow-lg);
    border: 3px solid #ffffff;
}

.cv-movie-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.35rem 0;
    color: var(--cv-primary);
}

.cv-movie-orig-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cv-text-muted);
    margin: 0 0 1rem 0;
}

.cv-movie-badges-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cv-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--cv-radius-sm);
}

.cv-badge-year { background: var(--cv-bg-subtle); color: var(--cv-primary); }
.cv-badge-runtime { background: var(--cv-bg-subtle); color: var(--cv-primary); }
.cv-badge-lang { background: var(--cv-primary); color: #ffffff; }
.cv-badge-rating { background: #fef3c7; color: #b45309; }

.cv-details-genres {
    margin-bottom: 1.25rem;
}

.cv-genre-chip {
    display: inline-block;
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    padding: 0.2rem 0.5rem;
    border-radius: var(--cv-radius-sm);
    font-size: 0.8rem;
    margin-right: 0.35rem;
}

.cv-details-synopsis {
    margin-bottom: 1.5rem;
}

.cv-details-synopsis h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.cv-details-watch-options {
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.cv-prov-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.cv-prov-single {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--cv-border);
    padding: 0.6rem 1rem;
    border-radius: var(--cv-radius-sm);
}

.cv-prov-attribution {
    margin-top: 1rem;
    color: var(--cv-text-light);
}

/* ==========================================================================
   6. ARTICLE & STANDARD PAGE LAYOUT
   ========================================================================== */
.cv-article-container {
    max-width: 860px;
}

.cv-article-header {
    margin-bottom: 2rem;
}

.cv-article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0 1rem 0;
    color: var(--cv-primary);
}

.cv-article-meta {
    font-size: 0.9rem;
    color: var(--cv-text-muted);
}

.cv-article-featured-image {
    border-radius: var(--cv-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.cv-entry-content {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #1e293b;
}

.cv-entry-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
}

.cv-entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem 0;
}

.cv-entry-content p {
    margin-bottom: 1.5rem;
}

.cv-author-bio-box {
    display: flex;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.cv-author-avatar img {
    border-radius: 50%;
}

.cv-author-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cv-accent);
}

.cv-author-name {
    margin: 0.2rem 0 0.5rem 0;
}

.cv-author-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--cv-text-muted);
}

.cv-post-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cv-border);
    font-weight: 700;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.cv-site-footer {
    background: #ffffff;
    border-top: 1px solid var(--cv-border);
    padding: 4rem 0 2rem 0;
    margin-top: auto;
}

.cv-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.cv-footer-brand-col {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .cv-footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
    }
}

.cv-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cv-footer-mission {
    font-size: 0.9rem;
    color: var(--cv-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cv-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cv-bg-subtle);
    padding: 0.4rem 0.75rem;
    border-radius: var(--cv-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: #16a34a;
    border: 1px solid var(--cv-border);
}

.cv-footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cv-primary);
    margin: 0 0 1.25rem 0;
}

.cv-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-footer-links li {
    margin-bottom: 0.6rem;
}

.cv-footer-links a {
    color: var(--cv-text-muted);
    font-size: 0.9rem;
}

.cv-footer-links a:hover {
    color: var(--cv-accent);
}

.cv-footer-disclaimer-box {
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-md);
    padding: 1.25rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--cv-text-muted);
    margin-bottom: 2rem;
}

.cv-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cv-border);
    font-size: 0.85rem;
    color: var(--cv-text-muted);
}

.cv-copyright a {
    color: var(--cv-primary);
    font-weight: 600;
}

.cv-back-to-top {
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm);
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cv-text);
    cursor: pointer;
}

/* ==========================================================================
   8. 404 & EMPTY STATES
   ========================================================================== */
.cv-404-container {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.cv-404-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--cv-accent);
    line-height: 1;
    display: block;
}

.cv-404-title {
    font-size: 2rem;
    margin: 0.5rem 0 1rem 0;
}

.cv-404-desc {
    color: var(--cv-text-muted);
    margin-bottom: 2rem;
}

.cv-404-search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cv-404-search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm);
}

.cv-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.cv-pill-btn {
    background: var(--cv-bg-subtle);
    border: 1px solid var(--cv-border);
    padding: 0.4rem 0.8rem;
    border-radius: var(--cv-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cv-primary);
}

.cv-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: #ffffff;
    border: 1px dashed var(--cv-border);
    border-radius: var(--cv-radius-lg);
    margin: 2rem 0;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES (320px, 375px, 480px, 768px, 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .cv-hero-content {
        max-width: 720px;
    }
    .cv-footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cv-container {
        padding: 0 1.25rem;
    }

    .cv-hero-section {
        padding: 2.5rem 0 1.75rem 0;
    }

    .cv-hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .cv-hero-subtitle {
        font-size: 1.05rem;
    }

    .cv-section-title {
        font-size: 1.5rem;
    }

    .cv-content-block h2 {
        font-size: 1.4rem;
    }

    .cv-content-block p {
        font-size: 0.98rem;
    }

    .cv-guide-points {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cv-platform-dir,
    .cv-platform-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cv-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cv-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cv-post-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cv-container {
        padding: 0 1rem;
    }

    .cv-site-header .cv-header-inner {
        height: 60px;
    }

    .cv-brand-text {
        font-size: 1.15rem;
    }

    .cv-trigger-text {
        display: none;
    }

    .cv-hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .cv-hero-subtitle {
        font-size: 0.925rem;
        margin-bottom: 1.25rem;
    }

    .cv-hero-pill {
        font-size: 0.75rem;
        padding: 0.25rem 0.65rem;
    }

    .cv-content-block h2 {
        font-size: 1.25rem;
    }

    .cv-data-table {
        font-size: 0.85rem;
    }

    .cv-data-table th,
    .cv-data-table td {
        padding: 0.75rem 0.85rem;
    }

    .cv-eeat-badge-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-faq-list .cv-faq-item {
        padding: 1.25rem 1rem;
    }

    .cv-faq-list .cv-faq-item h3 {
        font-size: 1.05rem;
    }

    .cv-faq-list .cv-faq-item p {
        padding-left: 0;
        margin-top: 0.5rem;
        font-size: 0.92rem;
    }

    .cv-guide-point {
        padding: 1.25rem;
    }

    .cv-platform-card {
        padding: 1.25rem;
    }

    .cv-details-layout {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .cv-details-poster-col {
        margin-top: -30px;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .cv-movie-main-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 360px) {
    .cv-container {
        padding: 0 0.75rem;
    }

    .cv-mobile-drawer {
        width: min(290px, 88vw);
    }

    .cv-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }

    .cv-brand-text {
        font-size: 1.05rem;
    }
}

/* Mobile 2-Column Responsive Movie Grid */
@media (max-width: 640px) {
    .cv-movie-grid,
    .cv-free-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .cv-movie-card .cv-card-body,
    .cv-free-card .cv-free-body {
        padding: 0.65rem !important;
    }

    .cv-movie-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
    }

    .cv-card-meta {
        font-size: 0.72rem !important;
        gap: 0.35rem !important;
        margin-bottom: 0.35rem !important;
    }

    .cv-card-synopsis {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.5rem !important;
    }

    .cv-card-actions .cv-btn,
    .cv-free-actions .cv-btn {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.75rem !important;
    }

    .cv-rating-pill {
        top: 0.4rem !important;
        right: 0.4rem !important;
        padding: 0.15rem 0.35rem !important;
        font-size: 0.68rem !important;
    }

    .cv-lang-pill {
        top: 0.4rem !important;
        left: 0.4rem !important;
        padding: 0.15rem 0.35rem !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 480px) {
    .cv-movie-grid,
    .cv-free-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
}

