/* ============================================
   /films/ — Films & Documentaries Styles
   IMDB/Rotten Tomatoes Inspired Redesign
   April 6, 2026
   ============================================ */

/* ── Hero: Cinematic Dark Treatment ──────────────────────────── */

.films-hero {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a2332 50%, #0f1923 100%);
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.films-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(61,111,163,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(197,48,48,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.films-hero .container { position: relative; z-index: 1; }
.films-hero-inner { max-width: 720px; margin: 0 auto; }
.films-hero h1 {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}
.films-hero-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
.films-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4942a;
    margin-bottom: var(--space-sm);
}

/* ── Stats Bar ───────────────────────────────────────────────── */

.films-stats-bar {
    background: #111b27;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-md) 0;
}
.films-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}
.films-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #d4942a;
    line-height: 1.2;
}
.films-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* ── Section Layout ──────────────────────────────────────────── */

.films-section {
    padding: var(--space-xl) 0;
}
.films-section-alt {
    padding: var(--space-xl) 0;
    background: var(--bg-alt);
}
.films-section-dark {
    padding: var(--space-xl) 0;
    background: #0f1923;
}
.films-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text);
}
.films-section-dark h2 { color: #fff; }
.films-section-dark .film-card { background: #1a2332; border-color: rgba(255,255,255,0.08); }
.films-section-dark .film-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.films-section-dark .film-card-title { color: #fff; }
.films-section-dark .film-card-meta { color: rgba(255,255,255,0.45); }
.films-section-dark .film-card-tagline { color: rgba(255,255,255,0.55); }
.films-section-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 100%;
}
.films-section-dark .films-section-intro { color: rgba(255,255,255,0.55); }

/* ── Featured Films — Large Horizontal Cards ─────────────────── */

.featured-films-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.featured-film-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-md);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.featured-film-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ── Poster ──────────────────────────────────────────────────── */

.film-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}
.film-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* No-poster placeholder — IMDB-style structured placeholder */
.film-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    position: relative;
    background: #1a1d24;
    text-align: center;
    gap: 0.6rem;
}
.film-poster-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.02) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.03) 49px, rgba(255,255,255,0.03) 50px);
    pointer-events: none;
}
/* Film strip icon via CSS */
.film-poster-placeholder::after {
    content: '';
    display: block;
    width: 48px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    position: relative;
    box-shadow:
        -8px -6px 0 -4px rgba(255,255,255,0.1),
        -8px 0px 0 -4px rgba(255,255,255,0.1),
        -8px 6px 0 -4px rgba(255,255,255,0.1),
        8px -6px 0 -4px rgba(255,255,255,0.1),
        8px 0px 0 -4px rgba(255,255,255,0.1),
        8px 6px 0 -4px rgba(255,255,255,0.1);
    order: -1;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

/* Subtle type color accent on left edge */
.poster-type-documentary { border-left: 3px solid #3d6fa3; }
.poster-type-feature-film { border-left: 3px solid #c05621; }
.poster-type-tv-episode,
.poster-type-news-special { border-left: 3px solid #6b46c1; }
.poster-type-educational { border-left: 3px solid #319795; }
.poster-type-corporate-negligence { border-left: 3px solid #c53030; }

.film-poster-title {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}
.film-poster-year {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.35);
    font-size: 0.68rem;
    font-weight: 500;
    margin-top: 0;
}
.film-poster-type-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
}
/* On placeholders, move type badge below the icon */
.film-poster-placeholder .film-poster-type-badge {
    position: relative;
    top: auto;
    left: auto;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    order: -2;
}

/* ── AI Artwork Badge ────────────────────────────────────────── */

.film-poster-ai-badge {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    padding: 0.15rem 0.35rem;
    border-radius: 2px;
}

/* ── Rating Badge ────────────────────────────────────────────── */

.film-rating {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.film-rating-high { background: #16a34a; }    /* 8-10: green */
.film-rating-mid { background: #d4942a; }     /* 6-7: gold */
.film-rating-low { background: #6b7280; }     /* 1-5: gray */

.film-rating-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

/* ── Featured Film Card Body ─────────────────────────────────── */

.featured-film-body {
    padding: var(--space-md) var(--space-md) var(--space-md) 0;
    display: flex;
    flex-direction: column;
}
.featured-film-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.featured-film-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    color: var(--text);
}
.film-meta-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.film-meta-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}
.film-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
    font-style: italic;
    margin-bottom: var(--space-sm);
}
.film-synopsis-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}
.film-who-watch {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}
.film-who-watch strong { color: var(--text); }

/* ── Topic Tags ──────────────────────────────────────────────── */

.film-topics {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}
.film-topic-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Where to Watch — Platform Badges ────────────────────────── */

.film-platforms {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
}
.film-platforms-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-right: 0.25rem;
}
.film-platform-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.15s;
    color: #fff;
}
.film-platform-badge:hover { opacity: 0.85; }
.film-platform-badge span { color: #fff; }
/* Platform colors */
.platform-youtube { background: #cc0000; }
.platform-amazon-prime,
.platform-amazon { background: #00a8e1; }
.platform-hbo-max,
.platform-hbo { background: #8731de; }
.platform-pbs,
.platform-pbs-org { background: #1c3664; }
.platform-bbc-iplayer,
.platform-bbc { background: #222; }
.platform-apple-tv,
.platform-apple { background: #555; }
.platform-paramount { background: #0064ff; }
.platform-cbs,
.platform-cbs-com { background: #0f4d92; }
.platform-nbc,
.platform-nbc-com { background: #f37021; }
.platform-vice,
.platform-vice-com { background: #111; }
.platform-vimeo { background: #1ab7ea; }
.platform-library { background: #6b7280; }
.platform-osha-gov,
.platform-epa-gov,
.platform-cancer-gov { background: #2563eb; }
.platform-curemeso-org { background: #059669; }
.platform-youtube-rental { background: #aa0000; }
.platform-abc-iview-australia { background: #111; }
.platform-default { background: #6b7280; }

/* ── Browse Grid — Poster Cards ──────────────────────────────── */

.films-browse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
.film-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.film-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.film-card .film-poster {
    border-radius: 0;
}
.film-card-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.film-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    color: var(--text);
}
.film-card-meta {
    font-size: 0.73rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.film-card-tagline {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.45;
    font-style: italic;
    margin-bottom: 0.5rem;
    flex: 1;
}
.film-card-footer {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.film-card-footer .film-platform-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
}

/* ── Category Filter Chips ───────────────────────────────────── */

.films-filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}
.films-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.films-filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.films-filter-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.films-filter-count {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
}

/* ── Expanded Film Detail (overlay on card click) ────────────── */

.film-detail-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}
.film-detail-overlay.active { display: flex; }

.film-detail-panel {
    background: #fff;
    border-radius: 12px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.film-detail-poster {
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}
.film-detail-poster .film-poster {
    border-radius: 0;
    height: 100%;
    min-height: 360px;
}
.film-detail-content {
    padding: var(--space-lg);
}
.film-detail-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 10;
}
.film-detail-close:hover { background: rgba(0,0,0,0.7); }

.film-detail-header {
    margin-bottom: var(--space-md);
}
.film-detail-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}
.film-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}
.film-detail-section {
    margin-bottom: var(--space-md);
}
.film-detail-section h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.film-detail-section p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.65;
}
.film-detail-related {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.film-detail-related a {
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: all 0.15s;
}
.film-detail-related a:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Contextual CTA (mid-page) ───────────────────────────────── */

.films-context-cta {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a2332 100%);
    border-radius: 10px;
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}
.films-context-cta-text {
    flex: 1;
}
.films-context-cta-text h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.films-context-cta-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.55;
}
.films-context-cta-phone {
    flex-shrink: 0;
    text-align: center;
}
.films-context-cta-phone a {
    display: inline-block;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    border-radius: 6px;
    transition: background 0.15s;
}
.films-context-cta-phone a:hover { background: #b91c1c; }
.films-context-cta-phone span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.3rem;
}

/* ── Find Your Starting Point — Compact Row ──────────────────── */

.films-situation-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}
.films-situation-card-compact {
    background: var(--bg-alt);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}
.films-situation-card-compact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.films-situation-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.5rem;
}
.films-situation-list li span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
}
.films-situation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.films-situation-list li {
    padding: 0.2rem 0;
}
.films-situation-list a {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.films-situation-list a:hover { text-decoration: underline; }

/* ── Also See Box ────────────────────────────────────────────── */

.films-also-see {
    background: var(--primary-light);
    border: 1px solid rgba(61,111,163,0.15);
    border-radius: 8px;
    padding: var(--space-md);
}
.films-also-see h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-xs);
}
.films-also-see p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
}
.films-also-see a { color: var(--primary); }

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    .films-hero h1 { font-size: 1.6rem; }
    .films-hero-subtitle { font-size: 0.9rem; }

    .films-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
    .films-stat-number { font-size: 1.25rem; }

    .films-situation-row { grid-template-columns: repeat(2, 1fr); }

    .featured-film-card {
        grid-template-columns: 140px 1fr;
        gap: var(--space-sm);
    }
    .featured-film-body {
        padding: var(--space-sm) var(--space-sm) var(--space-sm) 0;
    }
    .featured-film-body h3 { font-size: 1rem; }

    .films-browse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .films-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-sm);
    }
    .films-filter-bar::-webkit-scrollbar { display: none; }
    .films-filter-chip { flex-shrink: 0; }

    .film-detail-panel {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    .film-detail-poster { display: none; }
    .film-detail-content { padding: var(--space-md); }

    .films-context-cta {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .films-situation-grid { grid-template-columns: 1fr; }

    .film-topics { gap: 0.25rem; }
    .film-topic-tag { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .films-hero { padding: var(--space-lg) 0 var(--space-md); }
    .films-hero h1 { font-size: 1.35rem; }

    .featured-film-card {
        grid-template-columns: 110px 1fr;
    }
    .featured-film-body h3 { font-size: 0.92rem; }
    .film-tagline { font-size: 0.82rem; }

    .films-browse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .film-card-body { padding: 0.5rem; }
    .film-card-title { font-size: 0.8rem; }
    .film-card-tagline { font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════════════════════════
   FILM PROFILE PAGE — Individual film detail pages
   /films/{id}/ — IMDB-style layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Profile Hero ────────────────────────────────────────────── */

.film-profile-hero {
    background: linear-gradient(135deg, #0b1a2e 0%, #1a2332 50%, #0f1923 100%);
    padding: var(--space-xl) 0;
    color: #fff;
}
.film-profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.film-profile-poster {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.film-profile-poster img {
    width: 100%;
    height: auto;
    display: block;
}
.film-profile-poster .film-poster-placeholder {
    border-radius: 0;
}
.film-profile-info { padding-top: var(--space-xs); }

.film-profile-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d4942a;
    background: rgba(212,148,42,0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: var(--space-sm);
}
.film-profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.25rem;
}
.film-profile-year {
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}
.film-profile-meta-line {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--space-sm);
}
.film-profile-tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    max-width: 600px;
}

/* ── Ratings Row (IMDB-style) ────────────────────────────────── */

.film-profile-ratings {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}
.film-profile-rating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 80px;
}
.film-profile-rating-source {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.45);
}
.film-profile-rating-score {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    min-width: 56px;
    text-align: center;
}
.film-profile-rating-max {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.6;
}
.film-rating-imdb { background: #f5c518; color: #000; }
.film-rating-rt { background: #fa320a; color: #fff; }
.film-rating-rt-audience { background: #f93208; color: #fff; }
.film-rating-metacritic { background: #66cc33; color: #000; }

/* ── Where to Watch (profile) ────────────────────────────────── */

.film-profile-watch {
    margin-bottom: var(--space-sm);
}
.film-profile-watch h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.5rem;
}
.film-profile-watch .film-platform-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

/* ── Profile Content Sections ────────────────────────────────── */

.film-profile-section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}
.film-profile-section:last-child { border-bottom: none; }
.film-profile-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.film-profile-section p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── Critic Quotes ───────────────────────────────────────────── */

.film-critic-quotes {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.film-critic-quote {
    border-left: 3px solid var(--primary);
    padding-left: var(--space-md);
    margin: 0;
}
.film-critic-quote p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 0.35rem;
}
.film-critic-quote cite {
    font-size: 0.8rem;
    font-style: normal;
    color: var(--text-muted);
}
.film-critic-quote cite strong {
    color: var(--text-light);
}

/* ── Press Links ─────────────────────────────────────────────── */

.film-press-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.film-press-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: all 0.15s;
}
.film-press-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── Profile Responsive ──────────────────────────────────────── */

@media (max-width: 768px) {
    .film-profile-layout {
        grid-template-columns: 180px 1fr;
        gap: var(--space-md);
    }
    .film-profile-info h1 { font-size: 1.4rem; }
    .film-profile-tagline { font-size: 0.9rem; }
    .film-profile-rating-score { font-size: 1.3rem; }
    .film-profile-ratings { gap: var(--space-sm); }
}
@media (max-width: 480px) {
    .film-profile-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .film-profile-poster {
        max-width: 200px;
        margin: 0 auto;
    }
    .film-profile-info { text-align: center; }
    .film-profile-ratings { justify-content: center; }
    .film-profile-watch { text-align: center; }
    .film-profile-watch .film-platforms { justify-content: center; }
}
