/* =====================================================================
   tomekplata.com – Host (podcast "Biznes bez Lukru")
   Breakpoints copied from the original Elementor setup:
     desktop >= 1401px, tablet 801–1400px, mobile <= 800px
     header: full menu >= 992px (zoomed to 84% between 992 and 1260px)
   Deliberate mobile-only improvements live in the "<= 767px" blocks.
   ===================================================================== */

/* === SHARED: base, header, buttons, pills, footer – keep identical in every page CSS === */

:root {
  --navy: #0E293E;
  --navy-text: #0c293e;
  --orange: #F87034;
  --orange-dark: #f4570e;
  --beige: #F3DFB4;
  --cream: #FFEECD;
  --hover-navy: #00002b;
  --container: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--navy-text);
  font-family: 'Sarabun', 'Sarabun Fallback', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
source { display: none; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; }

/* Background layers. ".bg--fixed" imitates background-attachment: fixed on desktop:
   the image is position:fixed and clipped to its section (works in Chromium and WebKit). */
.bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1401px) {
  .bg--fixed { clip-path: inset(0); }
  .bg--fixed img { position: fixed; inset: 0; width: 100%; height: 100%; }
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 1000; height: 91px; }
.header-bar {
  position: absolute; top: 0; left: 0; right: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-top: 1px;
}
.site-header--transparent .header-bar {
  background: transparent;
  color: #fff;
  box-shadow: none;
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}
.site-logo { display: flex; align-items: center; height: 90px; flex: none; }
.site-logo img { width: auto; max-height: 50px; margin-top: -2px; }
.site-logo__dark { display: none; }
.site-header--transparent .site-logo__light img { display: block; }
.site-header--transparent .site-logo__dark img { display: none; }
.site-header:not(.site-header--transparent) .site-logo__light img { display: none; }
.site-header:not(.site-header--transparent) .site-logo__dark img { display: block; }
.site-logo__light, .site-logo__dark { display: contents; } /* logo: vector SVG from the original brand files (owner decision 03.10.2026) */

.header-social { display: flex; align-items: center; margin-left: 24px; }
.header-social__link,
.site-nav__social a {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 30px;
  opacity: 0.8;
  transition: opacity 0.15s ease-out;
}
.header-social__link:hover, .site-nav__social a:hover { opacity: 1; }
.header-social__link svg, .site-nav__social svg { width: 16px; height: 16px; fill: currentColor; }
.header-social__link svg[viewBox^="0 -850 857"], .site-nav__social svg[viewBox^="0 -850 857"] { width: 13.7px; }
.header-social__link svg[viewBox^="0 -850 500"], .site-nav__social svg[viewBox^="0 -850 500"] { width: 8px; }

.menu-toggle { display: none; }

.site-nav { margin-left: auto; display: flex; }
.site-nav__social { display: none; }
.site-nav__list { display: flex; padding-right: 32px; font-size: 18px; font-weight: 500; }
.site-nav__list li { position: relative; margin: 0 -2px; height: 90px; }
.site-nav__list li::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1px; right: -1px;
  border-right: 1px solid currentColor;
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.2s;
}
.site-nav__list li:first-child::after { border-left: 1px solid currentColor; }
.site-header--transparent .site-nav__list li::after { opacity: 0.2; }
.site-nav__list a { display: block; height: 100%; line-height: 90px; }
.site-nav__list span {
  position: relative; z-index: 10;
  display: inline-block;
  padding: 0 16px;
  transition: color 0.4s;
}
/* "ribbon" hover / current item */
.site-nav__list span::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 0;
  z-index: -1;
  background: var(--hover-navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 15px), 0 100%);
  transition: height 0.3s;
}
.site-nav__list a:hover span, .site-nav__list a:focus-visible span, .site-nav__list .is-current span { color: #fff; }
.site-nav__list a:hover span::before, .site-nav__list a:focus-visible span::before { height: 115px; }
.site-nav__list .is-current span::before { height: 115px; background: var(--orange-dark); }

/* sticky header (class set by main.js after scrolling) */
.site-header.is-stuck .header-bar {
  position: fixed;
  margin-top: 0;
  background: #fff;
  color: #222;
  border-bottom: 0;
  box-shadow: 0 6px 15px rgba(17, 17, 17, 0.12);
  transition: background 0.4s;
}
.site-header.is-stuck .site-logo__light img { display: none; }
.site-header.is-stuck .site-logo__dark img { display: block; }
.site-header.is-stuck .site-nav__list li::after { opacity: 0.12; }
.site-header.is-compact .site-logo,
.site-header.is-compact .site-nav__list li { height: 65px; }
.site-header.is-compact .site-nav__list a { line-height: 65px; }
.site-header.is-compact .site-nav__list a:hover span::before,
.site-header.is-compact .site-nav__list .is-current span::before { height: 90px; }
.site-header.is-compact .site-logo img { margin-top: 0; }
.site-header .site-logo, .site-header .site-nav__list li, .site-header .site-nav__list a { transition: height 0.3s, line-height 0.3s; }

@media (min-width: 992px) and (max-width: 1260px) {
  .site-logo, .header-social, .site-nav { zoom: 0.84; }
  /* zoomed bar is 75.6px + 1px margin (original: sub-page content starts at 76.6px) */
  .site-header:not(.site-header--transparent) { height: 76.6px; }
}

@media (max-width: 991px) {
  .site-header { height: 51px; }
  .site-header--transparent { height: 51px; }
  .header-inner { width: 90%; align-items: center; flex-wrap: wrap; }
  .menu-toggle {
    display: block;
    position: relative;
    width: 52px; height: 50px;
    margin-left: -16px;
    color: var(--beige);
  }
  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    position: absolute;
    left: 16px; top: 47%;
    width: 16px; height: 2px;
    background: currentColor;
    transition: background 0.6s, transform 0.6s;
  }
  .menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; left: 0; transform-origin: 4px center; }
  .menu-toggle__lines::before { top: 6px; }
  .menu-toggle__lines::after { top: -6px; }
  .site-logo { order: 1; height: 50px; margin-left: -4px; }
  .site-logo img { max-height: 26px; margin-top: -1px; }
  .header-social { display: none; }
  .menu-toggle { order: 0; }
  .site-nav { display: none; order: 2; flex-basis: 100%; flex-direction: column; margin: 0; padding-bottom: 60px; }
  .site-nav__list { display: block; padding: 36px 0; font-size: 18px; font-weight: 400; letter-spacing: 1px; line-height: 27px; }
  .site-nav__list li { margin: 0; height: auto; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .site-nav__list li::after { display: none; }
  .site-nav__list a { padding: 18px 0; line-height: 27px; }
  .site-nav__list span { padding: 0; }
  .site-nav__list span::before { display: none; }
  .site-nav__list a:hover span, .site-nav__list .is-current span { color: inherit; }
  .site-nav__social { display: flex; justify-content: center; padding: 20px 0 32px; }

  .site-header.is-stuck .header-bar { box-shadow: 0 6px 15px rgba(17, 17, 17, 0.12); }
  .site-header.is-compact .site-logo { height: 50px; }

  /* open mobile menu */
  .site-header.menu-open .header-bar { position: absolute; background: #fff; color: #222; }
  .site-header.menu-open.is-stuck .header-bar { position: fixed; }
  .site-header.menu-open .site-nav { display: flex; }
  .site-header.menu-open .site-logo__light img { display: none; }
  .site-header.menu-open .site-logo__dark img { display: block; }
  .site-header.menu-open .menu-toggle { color: rgba(243, 223, 180, 0.5); }
  .site-header.menu-open .menu-toggle__lines { background: transparent; }
  .site-header.menu-open .menu-toggle__lines::before { transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle__lines::after { transform: rotate(-45deg); }
}
html.menu-locked, html.menu-locked body { overflow: hidden; }

/* ---------- pills, section heads, buttons ---------- */
.pill {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 4px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.pill--navy { background: var(--navy); color: #fff; }
.pill--beige { background: var(--beige); color: var(--navy); }
.pill--cream { background: var(--cream); color: var(--navy); }
.pill--link a { color: inherit; }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-title {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}
.section-title--light { color: #fff; }
.section-title--black { color: #000; }
.section-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 19.6px;
}
.section-lead--light { color: #fff; }
.section-lead--grey { color: #6B6B6B; } /* owner decision 03.10.2026: was #919191 (contrast 3.2:1) */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  color: #fff;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.btn--orange { background: var(--orange); }
.btn--orange:hover, .btn--orange:focus-visible { background: var(--orange); color: #fff; }
.btn--shadow { text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }

@media (max-width: 1400px) {
  .pill { font-size: 11px; letter-spacing: 3px; }
  .section-lead { line-height: 1; }
}
@media (max-width: 800px) {
  .section-title { font-size: 30px; }
  .section-lead { font-size: 14px; }
}

/* ---------- footer (Elementor section repeated on every page) ---------- */
.site-footer { position: relative; padding: 6% 0; overflow: hidden; }
.site-footer__bg img { object-position: 50% 0; }
.site-footer__inner { position: relative; z-index: 1; max-width: 500px; margin: 0 auto; padding-top: 36px; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 52px; }
.footer-social__link {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.3s;
}
.footer-social__link:hover, .footer-social__link:focus-visible { background: var(--orange); }
.footer-social__link svg { width: 16px; height: 16px; fill: #2a344f; }
.site-footer__copy { color: rgba(255, 255, 255, 0.78); font-size: 14px; line-height: 1.5; }
@media (max-width: 1400px) { .site-footer { padding: 8% 5%; } }
@media (max-width: 800px) { .site-footer { padding: 12% 5%; } }

/* ---------- entrance animations (Elementor fadeInUp / fadeInDown / slideInUp) ----------
   Content is always visible without JS and with prefers-reduced-motion.
   main.js adds .anim-ready to <html> and .is-in to elements entering the viewport. */
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .anim-ready .reveal:not(.is-in):not(.is-done) { opacity: 0; }
  .anim-ready .reveal[data-anim="slideInUp"]:not(.is-in):not(.is-done) { opacity: 1; visibility: hidden; }
  .reveal.is-in { animation: 1.25s both; animation-delay: var(--delay, 0ms); }
  .reveal.is-in[data-anim="fadeInUp"] { animation-name: fadeInUp; }
  .reveal.is-in[data-anim="fadeInDown"] { animation-name: fadeInDown; }
  .reveal.is-in[data-anim="slideInUp"] { animation-name: slideInUp; }
}

/* ---------- QA fixes (see FIXES-qa.md) ---------- */
/* logo: width and height were both "auto", so its box had no size until the file arrived (layout
   shift of the header icons); explicit height = the size it always rendered at (aspect from attributes) */
.site-logo img { height: 50px; }
@media (max-width: 1024px) { .site-logo img { height: 41.72px; } }
/* keyboard focus / anchor jumps never end under the fixed (sticky) header */
html { scroll-padding-top: 100px; }
@media (max-width: 991px) { html { scroll-padding-top: 70px; } }
/* pill that is a link: the whole pill is clickable, not only the 15px-high text */
.pill--link { position: relative; }
.pill--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 991px) {
  /* open mobile menu taller than a landscape phone: let it scroll instead of cutting off links */
  .site-header.menu-open .header-bar { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 767px) {
  /* social icons in the mobile menu: 24x30px tap targets -> 44x44px */
  .site-nav__social a { width: 44px; height: 44px; }
  /* section leads: bold 14px text with line-height 1 – lines touched each other */
  .section-lead { line-height: 1.35; }
}


/* ---------- footer legal links + cookie consent banner (owner decision 03.10.2026) ---------- */
.site-footer__legal { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.5; }
.site-footer__legal a, .site-footer__cookies { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.site-footer__legal a:hover, .site-footer__cookies:hover { color: #fff; }
.site-footer__sep { margin: 0 8px; }
.site-footer__cookies[hidden] { display: none; }
.site-footer__legal:has(.site-footer__cookies[hidden]) .site-footer__sep { display: none; }
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  font-size: 14px; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__text { flex: 1; margin: 0; }
.consent__text a { color: var(--beige); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent__btn {
  min-height: 44px; padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  background: var(--beige); color: var(--navy);
  transition: background-color 0.2s;
}
.consent__btn:hover, .consent__btn:focus-visible { background: #fff; }
.consent :focus-visible { outline-color: var(--beige); }
@media (max-width: 767px) {
  .consent { flex-direction: column; align-items: stretch; gap: 12px; left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .consent__actions .consent__btn { flex: 1; }
}

/* === END SHARED === */



/* ================= HOST ================= */


.page-host .section-lead { color: var(--navy); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 180px 0; background: #000; }
.hero__bg img { object-position: 100% 0; }
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 90%; max-width: var(--container); margin: 0 auto;
}
.hero__inner > * { max-width: 570px; }
.hero__pill { padding: 14px 26px; margin-bottom: 10px; border-radius: 10px; }
.hero__title {
  align-self: stretch;
  margin-bottom: 24px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
}
/* 24px margin + the original 20px spacer */
.hero__lead {
  align-self: stretch;
  margin-bottom: 44px;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.28);
}
/* The hero is above the fold: its entrance animation runs in pure CSS (no JS needed). */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { animation: 1.25s both; animation-delay: var(--delay, 0ms); }
  .hero .reveal[data-anim="fadeInUp"] { animation-name: fadeInUp; }
  .hero .reveal[data-anim="fadeInDown"] { animation-name: fadeInDown; }
}
.hero__pill { --delay: 300ms; }
.hero__title { --delay: 1000ms; }
.hero__lead { --delay: 1600ms; }

.shape-bottom {
  position: absolute; left: 0; bottom: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}
.shape-bottom svg {
  position: relative; left: 50%;
  width: calc(170% + 1.3px);
  height: 150px;
  max-width: none;
  transform: translateX(-50%);
  fill: #fff;
}

@media (max-width: 1400px) {
  .hero { padding: 16% 5%; }
  .hero__bg img { object-position: 50% 50%; }
  .hero__inner { width: auto; max-width: none; }
  .hero__inner > * { max-width: 50%; }
}
@media (max-width: 800px) {
  .hero { padding: 24% 5% 10%; }
  .hero__inner > * { max-width: none; }
  .hero__pill { padding: 10px 16px; }
  .hero__title { padding-right: 20%; font-size: 26px; }
  .hero__lead { margin-bottom: 24px; font-size: 14px; line-height: 1.5; }
  .shape-bottom svg { width: calc(200% + 1.3px); height: 60px; }
}

/* ---------- YouTube facades (main.js swaps the button for the player on click) ---------- */
.yt { position: relative; aspect-ratio: 1.77777; overflow: hidden; background: #000; }
.yt__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; }
.yt__play {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 48px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.yt__play svg { width: 100%; height: 100%; }
.yt__play-bg { fill: #212121; fill-opacity: 0.8; transition: fill 0.1s, fill-opacity 0.1s; }
.yt__btn:hover .yt__play-bg, .yt__btn:focus-visible .yt__play-bg { fill: #f00; fill-opacity: 1; }
.yt__btn:focus-visible { outline-offset: -4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* lead under a section title: original widget margin -10px 0 30px + 20px widget gap */
.host-lead { margin: -10px 0 50px; }

/* ---------- intro (Dlaczego warto?) ---------- */
.intro { padding: 20px 0 50px; }
@media (max-width: 1400px) { .intro { padding: 100px 25px; } }
@media (max-width: 800px) { .intro { padding: 50px 20px; } }

/* ---------- perks (Dla kogo?) ---------- */
.perks { padding: 100px 0; }
.perks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.perk { padding: 40px; color: var(--navy); text-align: center; }
.perk__icon img { width: 30%; margin: 0 auto; }
.perk__title { margin-bottom: 20px; font-size: 25px; font-weight: 600; line-height: 19.6px; }
.perk__text { margin-bottom: 16px; font-size: 16px; line-height: 1.4; }
.perk__text--plain { margin-bottom: 0; }
@media (max-width: 1400px) {
  .perks { padding: 100px 25px; }
  .perk { padding: 25px; }
  .perk__title { font-size: 20px; }
}
@media (max-width: 800px) {
  .perks { padding: 50px 20px; }
  .perks__grid { grid-template-columns: minmax(0, 1fr); }
  .perk { padding: 40px; }
  .perk__title { line-height: 56px; }
}

/* ---------- watch (Przetestuj ten format) ---------- */
.watch { position: relative; padding: 100px 0; }
.watch::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0, 0, 0, 0.08); }
.watch > .container { position: relative; z-index: 1; }
.page-host .watch__lead { color: rgba(255, 255, 255, 0.72); }
.watch__cta { text-align: center; }
/* +12px on the right: the original button reserves a gap for an (empty) icon */
.btn--big { padding: 25px 62px 25px 50px; border-radius: 6px; font-size: 16px; }
/* Elementor "grow" hover animation (text colour on hover as in the original) */
.btn--grow { transition: background-color 0.3s, color 0.3s, transform 0.3s; }
.btn--grow:hover, .btn--grow:focus-visible { color: rgba(243, 223, 180, 0.5); transform: scale(1.1); }
@media (max-width: 1400px) { .watch { padding: 100px 25px; } }
@media (max-width: 800px) {
  .watch { padding: 50px 20px; }
  .watch__bg img { object-position: -140px 0; }
  .watch__cta .btn { line-height: 56px; }
}

/* ---------- episodes (Poprzednie odcinki) ---------- */
.episodes { padding: 50px 0; }
.episodes__lead { margin-bottom: 20px; }
.episodes__grid { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px; }
.episode { display: flex; flex-direction: column; gap: 20px; width: 33.3333%; padding: 10px; color: var(--navy); text-align: center; }
.episode__name { font-size: 25px; font-weight: 600; line-height: 19.6px; }
.episode__nr { margin-bottom: 16px; font-size: 16px; line-height: 1.4; }
.episodes__more { margin-top: 50px; }
.episodes__lead2 { margin-bottom: 35px; }

.eps-list { padding-left: 320px; font-size: 16px; line-height: 1.5; }
.eps-list + .eps-list { margin-top: 20px; }
.eps-list li + li { margin-top: 4px; }
.eps-list a { display: flex; align-items: center; }
.eps-list svg { flex: none; width: 16px; height: 16px; margin: 0 6px 0 2px; fill: var(--navy); }
.eps-list span { padding-left: 5px; }
.eps-list--orange span { color: var(--orange); }
.eps-list--navy span { color: var(--navy); }

@media (max-width: 1400px) {
  .episodes { padding: 100px 25px; }
  .episode__name { font-size: 20px; }
  .eps-list { padding-left: 120px; font-size: 14px; line-height: 1.4; }
}
@media (max-width: 800px) {
  .episodes { padding: 50px 20px; }
  .episode { width: 100%; gap: 0; }
  .episode__name { line-height: 56px; }
  .eps-list { padding-left: 0; }
  .eps-list a { align-items: flex-start; }
}

/* ---------- footer variant of this page (Nowy odcinek co tydzień!) ---------- */
.site-footer--host { padding: 6% 0 7%; }
.site-footer--host .site-footer__inner {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 50vh;
  padding-top: 0;
}
.host-footer__kicker {
  margin-bottom: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 19.6px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.28);
}
/* 16px + the original 20px spacer + 16px */
.host-footer__title {
  margin-bottom: 52px;
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
}
.site-footer--host .footer-social { margin-bottom: 16px; }
.site-footer--host .footer-social__link { transition: background-color 0.3s, transform 0.3s; }
.site-footer--host .footer-social__link svg { fill: #132c3c; transition: fill 0.3s; }
.site-footer--host .footer-social__link:hover,
.site-footer--host .footer-social__link:focus-visible { background: #E37B44; transform: scale(1.1); }
.site-footer--host .footer-social__link:hover svg,
.site-footer--host .footer-social__link:focus-visible svg { fill: #fff; }
.host-footer__copy { color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.6; }
@media (max-width: 1400px) {
  .site-footer--host { padding: 8% 5%; }
  .host-footer__kicker { line-height: 1; }
}
@media (max-width: 800px) {
  .site-footer--host { padding: 12% 5%; }
  .host-footer__kicker { margin-right: 37%; font-size: 14px; }
  .host-footer__title { font-size: 30px; }
  /* the original inherits the 40px/56px mobile body text around the 15px copyright line */
  .host-footer__copy { font-size: 40px; line-height: 56px; }
  .host-footer__copy span { font-size: 15px; line-height: 1.6; }
}

/* ================= MOBILE IMPROVEMENTS (<= 767px) ================= */
@media (max-width: 767px) {
  /* perks: the original stacks the tiles with 40px side padding (text squeezed into ~270px) and
     a 56px title line-height inherited from the 40px mobile body text – tightened */
  .perks__grid { padding-top: 10px; }
  .perk { padding: 20px 0 28px; }
  .perk__icon img { width: 72px; }
  .perk__title { margin: 12px 0 10px; line-height: 1.3; }
  .perk__text { margin-bottom: 0; }
  /* video cards: same 56px title line-height and 40px inset – full width, normal spacing */
  .episodes__grid { padding: 0; }
  .episode { padding: 0 0 28px; }
  .episode__name { margin-top: 14px; line-height: 1.3; }
  .episode__nr { margin: 4px 0 0; }
  /* episode list: a bit more air between two-line entries so the links are easier to tap */
  .eps-list li + li { margin-top: 8px; }
}
@media (max-width: 767px) {
  /* OGLĄDAM button: 56px line-height inherited from the 40px mobile body text made it 106px tall */
  .watch__cta .btn { line-height: 19.6px; }
}
@media (max-width: 767px) {
  /* footer kicker: the original pushes it off-centre with a 37% right margin */
  .host-footer__kicker { margin-right: 0; }
}

/* ---------- QA mobile fixes (<= 767px), see FIXES-qa.md ---------- */
@media (max-width: 767px) {
  /* episode list: 20px-high links with 8px gaps -> each link is a 44px+ tap target */
  .eps-list li + li { margin-top: 0; }
  .eps-list a { padding: 12px 0; }
}
