/* The Feature — podcast page. Tokens mirror europeancorrespondent.com (Nuxt/Tailwind theme). */
:root {
  --background: oklch(98.9% .0073 80.72);
  --background-primary: oklch(95.65% .0204 74.66); /* warm beige band used on the main site */
  --foreground: oklch(14.5% 0 0);
  --muted-foreground: oklch(45% 0 0);
  --border: oklch(90% .006 80);
  --card: oklch(100% 0 0);
  --green: oklch(64.46% .0533 160.91);
  --blue: oklch(55.59% .0494 230.41);
  --brand-blue: #2A48B5;   /* cover art */
  --brand-coral: #E27D5F;  /* cover art / TEC accent */
  --font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --container: 80rem;
  --gutter: 1.5rem;
  --radius: .375rem;
  --header-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); color-scheme: light; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; font-size: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--foreground); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header (same proportions as the main site: 60px sticky, 226x30 wordmark) */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--background); display: flex; align-items: center; border-bottom: 1px solid transparent; }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo-link { display: flex; height: 24px; width: 181px; flex: none; }
.tec-logo { height: 100%; width: 100%; fill: var(--foreground); }
.site-nav { display: none; margin-left: auto; font-size: .9375rem; }
.btn-label-short { display: inline; }
.btn-label-long { display: none; }
@media (min-width: 480px) {
  .logo-link { height: 30px; width: 226px; }
  .btn-label-short { display: none; }
  .btn-label-long { display: inline; }
}
.menu-link { position: relative; display: inline-block; text-decoration: none; padding-block: .25rem; }
.menu-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.menu-link:hover::after, .menu-link.is-active::after { transform: scaleX(1); }
@media (min-width: 768px) { .site-nav { display: flex; } .nav-wrapper { gap: 1.5rem; } }

/* Buttons (main site: rounded-md, h-9, px-4, text-sm font-medium) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.25rem; padding-inline: 1rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; cursor: pointer; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: color-mix(in oklab, var(--green) 90%, black); }
.btn-dark { background: var(--foreground); color: #fff; }
.btn-dark:hover { background: oklch(25% 0 0); }
.btn-outline { background: transparent; border-color: var(--foreground); }
.btn-outline:hover { background: oklch(14.5% 0 0 / .06); }
.chip { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding-inline: .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); text-decoration: none; font-size: .875rem; font-weight: 500; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--foreground); }
.chip svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.text-link { font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--border); }
.text-link:hover { text-decoration-color: currentColor; }

/* Type */
.display { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; text-wrap: pretty; letter-spacing: -.01em; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; text-wrap: pretty; }
.eyebrow { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: .75rem; }
.lead { font-size: 1.125rem; line-height: 1.55; max-width: 44rem; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 0; font-size: .8125rem; color: var(--muted-foreground); }
.meta > * + *::before { content: "·"; margin-inline: .5rem; }
.episode-title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.3; text-wrap: pretty; margin-top: .4rem; }
.episode-title a { text-decoration: none; }
.episode-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.title-orig { margin-top: .2rem; font-size: .8125rem; color: var(--muted-foreground); }
.guest { margin-top: .4rem; font-size: .9375rem; color: var(--muted-foreground); }
.description { margin-top: .9rem; font-size: 1rem; line-height: 1.6; max-width: 44rem; }
.description p + p { margin-top: .75em; }
.description a { color: var(--blue); }

/* Hero */
.hero { padding-block: 2.5rem 1.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-art img { width: min(100%, 22rem); border-radius: var(--radius); box-shadow: 0 10px 30px -12px oklch(14.5% 0 0 / .35); }
.hero-sub { font-family: var(--font-display); font-style: italic; font-size: 1.375rem; margin: .5rem 0 1.25rem; }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
@media (min-width: 768px) {
  .hero { padding-block: 4rem 2rem; }
  .hero-grid { grid-template-columns: minmax(0, 22rem) 1fr; gap: 3.5rem; }
}

/* Sections */
.section { padding-block: 3rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-note { font-size: .875rem; color: var(--muted-foreground); }

/* Player (click-to-play facade, iframe loaded on demand) */
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--brand-blue); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.player-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.player-facade:hover img, .player-facade:focus-visible img { transform: scale(1.02); }
.player-facade:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.play-badge { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: var(--brand-coral); display: grid; place-items: center; box-shadow: 0 8px 24px -8px oklch(14.5% 0 0 / .5); transition: transform .15s ease; }
.play-badge svg { width: 2rem; height: 2rem; fill: #fff; margin-left: .2rem; }
.player-facade:hover .play-badge { transform: scale(1.06); }
.player-static { display: grid; place-items: center; }
.player-static img { width: 100%; height: 100%; object-fit: cover; }

/* Latest */
.latest { border-top: 1px solid var(--border); }
.latest-episode { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
.latest .episode-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.episode-links { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 1.25rem; align-items: center; }
@media (min-width: 1024px) {
  .latest-episode { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; }
}

/* Episode list */
.episodes { background: var(--background-primary); }
.episode-list { display: grid; gap: 0; margin-top: 1.25rem; }
.episode { display: grid; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid oklch(14.5% 0 0 / .12); }
.episode:first-child { border-top: 0; padding-top: .5rem; }
.episode-media .player { box-shadow: 0 6px 20px -10px oklch(14.5% 0 0 / .4); }
.description.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.description.is-clamped.clamp-8 { -webkit-line-clamp: 8; }
.read-more { margin-top: .5rem; padding: 0; border: 0; background: none; font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.read-more[hidden] { display: none; }
@media (min-width: 768px) {
  .episode { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; padding-block: 2.25rem; }
}

/* Host */
.host-grid { display: grid; gap: 2rem; }
.host-bio { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; max-width: 36rem; }
.host-cta p { margin-block: 1rem 1.25rem; max-width: 30rem; }
@media (min-width: 768px) { .host-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Newsletter */
.newsletter { border-top: 1px solid var(--border); }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.newsletter-inner p { margin-top: .75rem; max-width: 36rem; }

/* Footer (mirrors the main site's four columns) */
.site-footer { padding-block: 4rem 3rem; border-top: 1px solid var(--border); font-size: .9375rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h3 { font-weight: 700; margin-bottom: 1rem; }
.footer-grid li + li { margin-top: .75rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-grid a span { display: inline-block; margin-left: .5rem; font-size: .75rem; color: var(--muted-foreground); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .5rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; color: var(--muted-foreground); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .player-facade img, .play-badge, .menu-link::after { transition: none; } }
