/* The catalog of dubbed films and the page of each film. */
.cat, .fp { flex: 1; padding-bottom: 72px; }
.cat h1, .fp h1, .cat h2, .fp h2 { font-family: var(--font-title); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fp-eyebrow { display: block; margin-bottom: 8px; color: var(--brand-2); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Catalog */
.cat-head { max-width: 720px; padding-top: clamp(36px, 6vw, 72px); }
.cat-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; }
.cat-head p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.cat-tools { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 0; background: var(--bg); }
.cat-search { position: relative; flex: 0 1 300px; min-width: 220px; }
.cat-search svg { position: absolute; top: 13px; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.cat-search input { width: 100%; height: 46px; padding: 0 14px 0 44px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); color: #fff; font: 500 1rem var(--font); }
.cat-search input:focus { outline: none; border-color: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); color: #fff; font: 600 .92rem var(--font); cursor: pointer; transition: background .18s, border-color .18s; }
.cat-chips button:hover { background: var(--bg-3); }
.cat-chips button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); }
.cat-group { margin-top: 34px; }
.cat-group h2 { margin-bottom: 16px; font-size: 1.5rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 24px 18px; }
.cat-card { display: block; min-width: 0; text-decoration: none; }
.cat-card[hidden], .cat-group[hidden] { display: none; }
.cat-poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.cat-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.cat-card:hover .cat-poster img { transform: scale(1.05); }
.cat-noposter { display: grid; place-items: center; height: 100%; padding: 14px; background: linear-gradient(149deg, #2A1230, #12303A); font-family: var(--font-title); font-size: 1.2rem; text-align: center; }
.cat-kids { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 99px; background: var(--brand-2); color: #0A0A0F; font-size: .76rem; font-weight: 700; }
.cat-over { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; background: linear-gradient(transparent, rgba(10,10,15,.92)); font-size: .86rem; font-weight: 700; opacity: 0; transition: opacity .2s; }
.cat-card:hover .cat-over, .cat-card:focus-visible .cat-over { opacity: 1; }
.cat-name { display: block; margin-top: 9px; font-weight: 700; line-height: 1.25; }
.cat-meta { display: block; margin-top: 3px; color: var(--faint); font-size: .84rem; }
.cat-empty { margin-top: 34px; color: var(--muted); }
.cat-empty[hidden] { display: none; }

/* Film page */
.fp-hero { position: relative; overflow: hidden; padding-block: clamp(34px, 6vw, 72px); }
.fp-backdrop { position: absolute; inset: -40px; background-position: center 25%; background-size: cover; filter: blur(34px) saturate(1.2); opacity: .42; }
.fp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,10,15,.35), var(--bg)); }
.fp-hero-in { position: relative; z-index: 1; display: flex; gap: clamp(22px, 4vw, 44px); align-items: center; }
.fp-poster { flex: none; width: clamp(180px, 24vw, 280px); height: auto; border-radius: 12px; }
.fp-intro { min-width: 0; }
.fp-kids { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px; background: var(--brand-2); color: #0A0A0F; font-size: .84rem; font-weight: 700; }
.fp-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.05; }
.fp-hero h1 span { display: block; margin-top: 8px; color: var(--brand-2); font-size: .46em; line-height: 1.2; }
.fp-original { margin-top: 10px; color: var(--muted); }
.fp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.fp-meta li { padding: 5px 11px; border-radius: 6px; background: rgba(255,255,255,.1); font-size: .88rem; font-weight: 600; }
.fp-where { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.fp-where span { color: var(--muted); font-size: .92rem; }
.fp-where img { width: auto; height: 24px; filter: brightness(0) invert(1); }
.fp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fp-actions .btn { min-height: 50px; padding: 0 24px; font-weight: 700; text-decoration: none; }
.fp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; margin-top: 12px; }
.fp-main { display: grid; gap: 34px; min-width: 0; }
.fp-main h2 { margin-bottom: 10px; font-size: 1.5rem; }
.fp-main p { color: var(--muted); }
.fp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; }
.fp-stats div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.fp-stats dd { margin: 0; font-family: var(--font-title); font-size: 1.5rem; }
.fp-stats dt { margin-top: 2px; color: var(--muted); font-size: .85rem; }
.fp-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fp-checks li { position: relative; padding-left: 32px; }
.fp-checks svg { position: absolute; top: 1px; left: 0; width: 22px; height: 22px; fill: none; stroke: var(--brand-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fp-reading { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 12px; background: var(--deep, linear-gradient(149deg, #2A1230, #12303A)); }
.fp-reading b { flex: none; font-family: var(--font-title); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--brand-2); }
.fp-people { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.fp-people li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; font-weight: 600; }
.fp-side { position: sticky; top: 84px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); scroll-margin-top: 90px; }
.fp-side h2 { font-size: 1.4rem; }
.fp-side > p:first-of-type { margin: 8px 0 14px; color: var(--muted); }
.fp-side b { color: #fff; }
.fp-more-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.fp-more-head a { color: var(--brand-2); font-weight: 700; }
.fp .cat-group { margin-top: 56px; }
.fp-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 56px; padding: clamp(22px, 4vw, 36px); border-radius: 16px; background: var(--deep, linear-gradient(149deg, #2A1230, #12303A)); }
.fp-band h2 { font-size: 1.8rem; }
.fp-band p { margin-top: 8px; color: var(--muted); }
.fp-band b { color: #fff; }
.fp-credit { margin-top: 28px; color: var(--faint); font-size: .82rem; }

@media (max-width: 900px) {
  .fp-body, .fp-band { grid-template-columns: minmax(0, 1fr); }
  .fp-side { position: static; }
}
@media (max-width: 640px) {
  .fp-hero-in { flex-direction: column; align-items: flex-start; }
  .fp-poster { width: 170px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 20px 12px; }
  .cat-tools { position: static; }
}
@media (prefers-reduced-motion: reduce) { .cat-poster img, .cat-over { transition: none; } .cat-card:hover .cat-poster img { transform: none; } }
