:root {
  --bg: #031b1a;
  --surface: rgba(9, 40, 37, 0.7);
  --ink: #edf6f3;
  --muted: #86a49d;
  --line: rgba(157, 198, 188, 0.22);
  --brand-a: #22b48f;
  --brand-b: #0f7367;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 115, 96, 0.3) 0, transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(17, 82, 74, 0.26) 0, transparent 44%),
    linear-gradient(180deg, rgba(6, 35, 34, 0.92), rgba(3, 23, 22, 1)),
    var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(125, 170, 160, 0.22);
  backdrop-filter: blur(8px);
  background: rgba(4, 31, 30, 0.78);
  animation: slide-down 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.05rem;
}

.brand-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
  filter: blur(4px);
  animation: brand-text-in 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) 260ms both;
}

.brand-dot {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 99px;
  background: linear-gradient(140deg, var(--brand-a), var(--brand-b));
  animation: soft-blink 2.8s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(34, 180, 143, 0.1);
}

.nav-links {
  display: flex;
  gap: 22px;
  justify-self: center;
}

.lang-switch {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 5px;
  margin-left: 14px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(120, 190, 173, 0.35);
  background:
    linear-gradient(120deg, rgba(14, 78, 68, 0.64), rgba(8, 42, 38, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(188, 246, 229, 0.08),
    0 0 14px rgba(34, 180, 143, 0.14);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #cce4de;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  background: rgba(19, 120, 103, 0.24);
}

.lang-btn.is-active {
  color: #f2fffb;
  background: linear-gradient(120deg, rgba(21, 169, 135, 0.66), rgba(14, 111, 95, 0.7));
  box-shadow: 0 0 14px rgba(34, 180, 143, 0.25);
}

.episode-page .topbar {
  grid-template-columns: 1fr auto;
}

.episode-page .lang-switch {
  justify-self: end;
  margin-left: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #d6e8e3;
  font-weight: 500;
  font-size: 0.79rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 8px;
  transition: color 260ms ease, transform 260ms ease, opacity 260ms ease;
  opacity: 0.92;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 180, 143, 0), rgba(34, 180, 143, 0.95), rgba(34, 180, 143, 0));
  transform: scaleX(0.15);
  transform-origin: center;
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 320ms ease;
}

.nav-links a:hover {
  color: #f3fbf8;
  transform: translateY(-1px);
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-b), var(--brand-a));
  box-shadow: 0 10px 24px rgba(8, 52, 46, 0.45);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 260ms ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 28px rgba(10, 67, 58, 0.52);
}

.btn-ghost {
  color: #dceae6;
  background: rgba(8, 49, 44, 0.64);
  box-shadow: inset 0 0 0 1px rgba(155, 198, 188, 0.3);
}

main {
  width: min(1480px, calc(100% - 120px));
  margin: 44px auto 92px;
  flex: 1 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 44px;
  padding-inline: 6px;
}

.hero-content,
.hero-art {
  border-radius: var(--radius-xl);
}

.hero-content {
  padding: clamp(26px, 3.6vw, 44px);
  background: linear-gradient(140deg, rgba(11, 53, 49, 0.76), rgba(7, 36, 34, 0.78));
  box-shadow: var(--shadow);
  animation: reveal-up 850ms cubic-bezier(0.2, 0.7, 0.2, 1) 80ms both;
}

.eyebrow {
  margin: 0;
  color: var(--brand-b);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

h1,
h2,
.detail-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
}

.hero p {
  color: #c8dad5;
  max-width: 58ch;
}

.hero-art {
  min-height: 290px;
  background:
    linear-gradient(160deg, rgba(8, 52, 46, 0.34), rgba(2, 24, 22, 0.44)),
    url("assets/references/ref_portada_.png") center/cover;
  position: relative;
  box-shadow: var(--shadow);
  filter: saturate(0.9) brightness(0.96) contrast(0.97);
  animation:
    reveal-up 920ms cubic-bezier(0.2, 0.7, 0.2, 1) 180ms both,
    float-card 4.2s ease-in-out 1.2s infinite;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 170px 170px;
  mix-blend-mode: overlay;
  opacity: 0.12;
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 22px;
}

.episodes {
  margin-top: 78px;
  padding-top: 46px;
  scroll-margin-top: 124px;
  position: relative;
  padding-inline: 6px;
}

.project-section {
  margin-top: 94px;
  width: min(1680px, calc(100vw - 64px));
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 46px 10px 8px;
  scroll-margin-top: 124px;
  position: relative;
}

.episodes::before,
.project-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(34, 180, 143, 0.08),
    rgba(34, 180, 143, 0.6),
    rgba(34, 180, 143, 0.08)
  );
}

.episodes::after,
.project-section::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -6%;
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(34, 180, 143, 0),
    rgba(34, 180, 143, 0.95),
    rgba(34, 180, 143, 0)
  );
  filter: blur(0.2px);
  opacity: 0.85;
  animation: divider-glow 4.2s ease-in-out infinite;
}

.project-section h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
}

.project-section p {
  margin: 0;
  color: #c8dad5;
  line-height: 1.65;
  max-width: 95ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: pretty;
}

.project-subtitle {
  margin: 0 0 14px !important;
  color: #dff4ed !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-align: center !important;
  max-width: none !important;
}

.project-copy + .project-copy {
  margin-top: 12px !important;
}

.project-reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(1.4px);
  transition:
    opacity 980ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 980ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 980ms ease;
  transition-delay: var(--project-delay, 0ms);
}

.project-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.episodes-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  width: max-content;
  padding: 0;
}

.episodes-rail-wrap {
  position: relative;
}

.episodes-rail {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 18px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 18px;
  scroll-padding-right: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 180, 143, 0.82) rgba(9, 43, 40, 0.8);
}

.episodes-rail::-webkit-scrollbar {
  height: 10px;
}

.episodes-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(34, 180, 143, 0.8), rgba(15, 115, 103, 0.8));
}

.episodes-rail::-webkit-scrollbar-track {
  background: rgba(9, 43, 40, 0.8);
  border-radius: 999px;
}

.episode-card {
  text-decoration: none;
  color: inherit;
  flex: 0 0 clamp(220px, 20vw, 300px);
  border-radius: var(--radius-lg);
  overflow: clip;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 460ms ease;
  opacity: 0;
  transform: translateY(12px) scale(0.992);
  filter: saturate(0.94);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.episode-card:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.episode-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
  transition:
    opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 760ms ease;
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

.episode-card.is-visible:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.episode-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: end;
  padding: 16px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.episode-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 9, 6, 0.78), transparent 55%);
  z-index: 1;
}

.episode-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  opacity: 0.22;
}

.episode-card:hover .episode-cover {
  transform: none;
}

.episode-body {
  position: relative;
  z-index: 3;
  padding: 18px 16px 16px;
  border-top: 1px solid rgba(47, 166, 136, 0.28);
}

.episode-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.04rem;
}

.episode-meta {
  margin: 8px 0 0;
  color: #9fbbb4;
  font-size: 0.92rem;
}

.detail-page {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(240px, 350px) 1fr;
  gap: 26px;
  align-items: start;
}

.detail-cover {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  position: sticky;
  top: 98px;
  min-height: 380px;
  animation: reveal-up 760ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.detail-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 170px 170px;
  mix-blend-mode: overlay;
  opacity: 0.2;
}

.detail-cover .overlay {
  display: flex;
  align-items: end;
  height: 100%;
  padding: 20px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(to top, rgba(16, 9, 5, 0.8), transparent 65%);
  border-radius: inherit;
}

.detail-content {
  background: rgba(8, 42, 39, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  animation: reveal-up 860ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
  height: fit-content;
}

.detail-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.detail-subtitle {
  margin: 0 0 16px;
  color: var(--brand-b);
  font-weight: 800;
}

.detail-description {
  margin: 0;
  color: #d0e1dc;
  line-height: 1.7;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(1px);
  animation: detail-copy-in 980ms cubic-bezier(0.22, 0.61, 0.36, 1) 220ms both;
}

.detail-meta {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(6, 31, 29, 0.72);
  color: #c8dad5;
}

.detail-meta-row + .detail-meta-row {
  margin-top: 8px;
}

.audio-link {
  margin-top: 10px;
  display: inline-flex;
}

.audio-link.is-activating {
  animation: play-click 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.audio-player-wrap {
  margin-top: 18px;
  width: min(100%, 760px);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(96, 218, 185, 0.35);
  background: linear-gradient(120deg, rgba(15, 115, 103, 0.58), rgba(34, 180, 143, 0.54));
  box-shadow: inset 0 0 0 1px rgba(190, 244, 228, 0.12);
}

.audio-player {
  display: none;
}

.audio-ui {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.audio-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(193, 245, 231, 0.55);
  background: rgba(7, 67, 60, 0.45);
  color: #e7fff8;
  font-size: 0.95rem;
  cursor: pointer;
}

.audio-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(7, 67, 60, 0.38);
  cursor: pointer;
  padding: 0;
}

.audio-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67f2c9, #98ff6e);
}

.audio-time {
  color: #d8eee8;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.audio-note {
  margin: 10px 0 0;
  color: #9ec2b9;
  font-size: 0.9rem;
}

.immersive-hint {
  margin: 10px 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(170, 145, 244, 0.42);
  background: linear-gradient(120deg, rgba(20, 106, 95, 0.54), rgba(99, 71, 184, 0.42));
  color: #eff8ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(196, 180, 246, 0.16);
}

.immersive-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(151, 123, 237, 0.28);
  box-shadow: 0 0 14px rgba(151, 123, 237, 0.45);
  font-size: 0.92rem;
}

.empty-state {
  text-align: center;
  background: rgba(9, 40, 37, 0.82);
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 28px;
}

.site-footer {
  width: min(1200px, calc(100% - 36px));
  margin: auto auto 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(140, 182, 173, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -6%;
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(34, 180, 143, 0),
    rgba(34, 180, 143, 0.92),
    rgba(34, 180, 143, 0)
  );
  opacity: 0.82;
  animation: divider-glow 4.2s ease-in-out infinite;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #98b8b0;
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
  width: 100%;
  margin-inline: auto;
}

.footer-logos img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: saturate(0.94) contrast(1.02);
}



.footer-logos img.footer-logo-pacto {
  max-height: 78px;
  opacity: 0.96;
  filter: brightness(0) invert(1) contrast(1.08);
}

.footer-logos img.footer-logo-prtr {
  max-height: 104px;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-up {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes card-enter {
  0% {
    opacity: 0;
    transform: translateY(46px) scale(0.94);
    filter: saturate(0.8) blur(1px);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
    filter: saturate(1.02) blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) blur(0);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes soft-blink {
  0%,
  100% {
    opacity: 0.35;
    box-shadow: 0 0 0 rgba(34, 180, 143, 0.08);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(34, 180, 143, 0.42);
  }
}

@keyframes divider-glow {
  0% {
    transform: translateX(0);
    opacity: 0.4;
  }
  45% {
    opacity: 0.95;
  }
  100% {
    transform: translateX(380%);
    opacity: 0.3;
  }
}

@keyframes brand-text-in {
  0% {
    opacity: 0;
    transform: translateY(5px);
    filter: blur(4px);
  }
  65% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes play-click {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes detail-copy-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .episode-card {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 920px) {
  main {
    width: calc(100% - 32px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .lang-switch {
    margin-left: 0;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .detail-page {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    position: relative;
    top: 0;
    max-width: 420px;
  }

  .episode-card {
    flex-basis: min(75vw, 300px);
  }

  .episodes-grid {
    padding: 0;
  }

  .episodes-rail {
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }

  .footer-logos img {
    max-height: 46px;
  }



  .footer-logos img.footer-logo-pacto {
    max-height: 62px;
  }

  .footer-logos img.footer-logo-prtr {
    max-height: 80px;
  }

}
