/* TVN B2B — skóra: Outfit [ŻYWA tvn.pl: Outfit 400/600 + Roboto], koło TVN 2024 = gradient błękit→granat [CI Commons, PD], #0053CF [ŻYWA tvn.pl].
   Wzór: marki/polsat/glowna/glowna.css (pasy programów, hero bez woalu, drop „mega”). */
:root { --tv-b1: #4FB3FF; --tv-b2: #0053CF; --tv-noc: #0A1A3A; }
.nag { border-bottom: 0; box-shadow: none; }
.nag::after { content: ''; display: block; height: 3px; background: linear-gradient(90deg, #7CC8FF, #2F8BFF 45%, #0053CF 75%, #0A2E8A); }

.tv-prog { position: relative; }
.tv-prog .sek-g { border-top: 3px solid var(--pk); padding-top: 18px; }
.tv-prog .h2 a, .tv-prog .h2 { display: inline-flex; align-items: center; gap: 14px; }
.tv-pz { display: inline-grid; place-items: center; width: 72px; height: 44px; flex: none; }
.tv-pz img { max-width: 72px; max-height: 44px; object-fit: contain; }
.tv-prog .okl.foto .okl-n { color: #fff; }
.tv-dg { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.tv-de { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #0B3B2C;
  background: linear-gradient(90deg, #F2D27A, #D9A93B); padding: 5px 10px; border-radius: 999px; font-weight: 600; align-self: flex-start; margin: 0; }
@media (max-width: 760px) { .tv-dg { flex-direction: column; align-items: flex-start; } }

.hero .hero-img, .hero video { left: 0 !important; right: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important;
  object-fit: cover; object-position: 0% 50% !important; -webkit-mask-image: none !important; mask-image: none !important; }
.hero::before, .hero::after { background: none !important; }
/* [D] kadr przypięty do lewej: przy węższych ekranach (cięcie z boków) spokojna lewa część pod tekst zostaje w kadrze */
@media (max-width: 760px) { .hero .hero-img, .hero video { object-position: 50% 100% !important; } }
/* [Yuri 06.11 runda 3] nowe hero zrobione pod tekst: spokojna, jasna lewa trzecia (telefon: górna część) → atrament bez karty i bez cienia */
.hero .hero-t { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.hero .hero-tx { margin: 0; max-width: 21vw; min-width: 260px; }
/* [D] spokojna część kadru = lewe ~24% szerokości (hero = cover na pełną szerokość, bluza zaczyna się przy 25%, zmierzone na 1440) */
@media (min-width: 761px) { .hero .hero-tx h1 { font-size: clamp(30px, 2.9vw, 46px) !important; line-height: 1.04; } .hero .hero-tx p { font-size: clamp(14px, 1.05vw, 16px); } }
.hero .hero-tx > *, .hero .hero-tx h1 { color: #0A1A3A !important; text-shadow: none; }
.hero .hero-tx p { color: #2A3A5A !important; }
.hero .hero-tx .eyebrow { color: #0A1A3A !important; opacity: .75; }
@media (max-width: 760px) {
  .hero .hero-t { justify-content: flex-start; padding-top: 28px; }
  .hero .hero-tx { max-width: none; min-width: 0; }
}


/* [Yuri 06.11: „woal za mocny, gasi kolorowy kafel”] okładki okazji/programów: lekki woal tylko pod tekstem (lewa góra), reszta kadru czysta (jak CMO 31.10) */
.okl.foto::before { background: linear-gradient(90deg, rgba(10,26,58,.62) 0%, rgba(10,26,58,.28) 42%, rgba(10,26,58,0) 70%) !important; }
.okl.foto::after { background: none !important; }
.okl.foto .okl-t, .okl.foto .okl-cta { text-shadow: 0 1px 2px rgba(0,0,0,.4); }
/* tablet (761–1000 px): kadr 16:9 cięty z boków → tekst u góry, nad merchem (jak telefon) */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero .hero-t { justify-content: flex-start; padding-top: 24px; }
  .hero .hero-tx { max-width: 52vw; min-width: 0; }
  .hero .hero-tx h1 { font-size: 30px !important; }
}
/* [Yuri 06.11 „ostatni kadr filmu to nie kadr hero”] pętla światła wyrównana do ostatniej klatki loadera (tools/polsat_swiatlo.py);
   resztę różnicy faktury (Seedance przerysowuje detale) chowa wolne przenikanie filmu nad identycznym zdjęciem */
.hero video { transition: opacity 1.4s cubic-bezier(.25,.46,.45,.94) !important; }


/* ---------- DROP MAGDY GESSLER [Yuri 11.11]: wzór pasa Wieniawy (Polsat 07.11). [D] szmaragd i złoto jej kuchni z „Kuchennych rewolucji” (plakat Player.pl) */
.tv-mega { position: relative; background: #0B2A22; color: #F6F1E4; margin: 48px 0; overflow: hidden; }
.tv-mega::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; z-index: 2; background: linear-gradient(90deg, #F2D27A, #D9A93B 50%, #B8862A); }
.tv-mega-k { position: relative; display: block; aspect-ratio: 16 / 7.4; max-height: 86vh; width: 100%; overflow: hidden; }
.tv-mega-k img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; transform: scale(1.06); transition: transform 9s cubic-bezier(.25,.46,.45,.94); }
.tv-mega.gra .tv-mega-k img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .tv-mega-k img { transform: none; transition: none; } }
.tv-mega-t { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 7.4; max-height: 86vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 4vw, 64px); pointer-events: none; }
.tv-mega-t > * { pointer-events: auto; max-width: 42ch; }
.tv-mega-t h2 { margin: 14px 0 0; font-weight: 700; font-size: clamp(54px, 9.2vw, 156px); line-height: .86; letter-spacing: -.045em; text-transform: uppercase; max-width: none; }
.tv-mega-t h2 a { color: #fff; text-decoration: none; }
.tv-mega-t h2 span { display: block; }
.tv-mega-n { margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 19px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #F2D27A; }
.tv-mega-l { margin: 10px 0 0; color: rgba(246,241,228,.86); font-size: 16px; line-height: 1.5; }
.tv-mega-cta { margin-top: 22px; align-self: flex-start; background: #D9A93B !important; border-color: #D9A93B !important; color: #0B2A22 !important; font-weight: 600; }
.tv-mega-cta:hover { background: #F2D27A !important; border-color: #F2D27A !important; }

.tv-mega-r { padding: 40px 0 60px; }
.tv-mega-r .tv-dg { margin-bottom: 20px; }
.tv-mega-r .h2 { color: #F6F1E4; margin: 0; }
.tv-mega .strz { color: #fff; border-color: rgba(255,255,255,.4); }
.tv-mega .kaf, .tv-mega .kaf-n { color: #F6F1E4; }
.tv-mega .kaf .kaf-o, .tv-mega .kaf .kaf-c { color: rgba(246,241,228,.75); }
@media (max-width: 760px) {
  .tv-mega-k { aspect-ratio: 4 / 5; max-height: none; }
  .tv-mega-k img { object-position: 64% 20%; }
  .tv-mega-t { position: relative; aspect-ratio: auto; max-height: none; padding-top: 22px; padding-bottom: 0; }
  .tv-mega-t h2 { font-size: clamp(52px, 16vw, 80px); }
  .tv-mega-r { padding: 28px 0 44px; }
}
@media (min-width: 761px) and (max-width: 1000px) { .tv-mega-k, .tv-mega-t { aspect-ratio: 16 / 9; } .tv-mega-l { display: none; } }

/* [D 07.11] tekst na kadrze miał 1,9:1 (lead na zachodzie słońca, zmierzone) → bez woalu [hero-bez-woalu]: od 761 px pas dzielony,
   tekst po lewej na czerni dropu, Gessler po prawej na pełną wysokość pasa */
@media (min-width: 761px) {
  .tv-mega { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); }
  .tv-mega-k { grid-column: 2; grid-row: 1; aspect-ratio: auto; height: clamp(520px, 74vh, 760px); max-height: none; }
  .tv-mega-k img { object-position: 70% 30%; }
  .tv-mega-t { grid-column: 1; grid-row: 1; position: relative; aspect-ratio: auto; max-height: none; width: auto; margin: 0;
    padding: 40px 32px clamp(32px, 4vw, 64px) max(32px, calc((100vw - 1240px) / 2)); justify-content: center; }
  .tv-mega-t h2 { font-size: clamp(38px, 4.9vw, 96px); }
  .tv-mega-r { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 761px) and (max-width: 1000px) { .tv-mega-k, .tv-mega-t { aspect-ratio: auto; } .tv-mega-l { display: block; } .tv-mega-t h2 { font-size: 38px; } }


@media (min-width: 761px) { .zgal .zgal-m { max-height: 100%; overflow-y: auto; scrollbar-width: thin; } }
