/*
Theme Name: Pýtame sa ĎALEJ
Theme URI: https://pytame-sa-dalej.maros-koo.chatgpt.site/
Author: Pýtame sa ĎALEJ
Description: Prémiová responzívna WordPress šablóna pre slovenský videopodcast. Obsahuje editovateľné epizódy, krátke videá, sociálne siete a nastavenia titulnej stránky.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: pytame-sa-dalej
Tags: custom-logo, custom-menu, featured-images, one-column, accessibility-ready, blog
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #071225;
  --navy-soft: #101e35;
  --navy-raised: #14243e;
  --blue: #1769ff;
  --blue-deep: #0c55dc;
  --cyan: #56d5ff;
  --white: #f8faff;
  --paper: #edf2f8;
  --ink: #091426;
  --muted: #9baac1;
  --dark-muted: #5b687a;
  --line: rgba(255, 255, 255, 0.12);
  --container: 1200px;
  --header-height: 78px;
  --radius: 18px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.header-inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 18, 37, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand img {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 40px);
}

.main-nav-list,
.footer-nav-list {
  display: flex;
  align-items: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: #c7d2e4;
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transition: right 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: inherit;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  background: var(--blue);
  color: white;
}

.button-small:hover,
.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.3);
}

.button-small svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-height) + 62px) 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(23, 105, 255, 0.19), transparent 34%),
    linear-gradient(135deg, var(--navy) 0%, #08162c 62%, #0d1b32 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 213, 255, 0.48), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
  max-width: 535px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #b9c7db;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 2px;
  background: var(--cyan);
}

.eyebrow-dark {
  color: var(--blue-deep);
}

.eyebrow-dark > span {
  background: var(--blue);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--cyan);
}

.hero-tagline {
  max-width: 500px;
  margin: 28px 0 0;
  color: #eef4ff;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.hero-description {
  max-width: 490px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-primary {
  background: var(--blue);
  color: white;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: #e6edf8;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.play-mini {
  color: var(--cyan);
  font-size: 0.67rem;
}

.button-primary .play-mini {
  color: white;
}

.hero-media {
  position: relative;
}

.hero-poster,
.latest-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--navy-soft);
  text-align: left;
  cursor: pointer;
}

.hero-poster {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-poster img,
.latest-image img,
.episode-thumb img,
.short-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-poster img {
  object-position: center;
}

.hero-poster:hover img,
.latest-image:hover img,
.episode-thumb:hover img,
.short-card:hover img {
  transform: scale(1.035);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 10, 22, 0.86));
}

.poster-play,
.card-play,
.short-play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, background 180ms ease;
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%);
}

.poster-play svg,
.card-play svg,
.short-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.hero-poster:hover .poster-play {
  background: var(--cyan);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.08);
}

.poster-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: white;
}

.poster-caption small {
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.poster-caption strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.hero-media-note {
  display: flex;
  justify-content: space-between;
  margin: 15px 2px 0;
  color: #d0daea;
  font-size: 0.78rem;
  font-weight: 650;
}

.hero-media-note span {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section {
  padding: clamp(82px, 9vw, 118px) 0;
}

.latest-section,
.shorts-section {
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(9, 20, 38, 0.16);
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.about-copy h2,
.shorts-copy h2,
.social-intro h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--dark-muted);
  font-size: 0.83rem;
  line-height: 1.6;
  text-align: right;
}

.latest-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 22px 60px rgba(6, 22, 44, 0.1);
}

.latest-image {
  min-height: 440px;
}

.latest-play {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(7, 18, 37, 0.94);
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.latest-play span {
  color: var(--cyan);
  font-size: 0.65rem;
}

.latest-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 4.5vw, 62px);
}

.episode-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.episode-kicker span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.guest-name {
  margin: 0 0 8px;
  color: var(--dark-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.latest-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.latest-description {
  margin: 22px 0 28px;
  color: var(--dark-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.button-dark {
  background: var(--navy);
  color: white;
}

.button-dark:hover {
  background: var(--blue);
}

.episodes-section {
  background: var(--navy);
}

.section-heading-light {
  border-color: var(--line);
}

.section-heading-light > p {
  color: var(--muted);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.episode-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--navy-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.episode-card:hover {
  border-color: rgba(86, 213, 255, 0.38);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.episode-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b182b;
}

.episode-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 8, 18, 0.78));
}

.episode-number {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(7, 18, 37, 0.82);
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card-play {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
}

.card-play svg {
  width: 21px;
  height: 21px;
}

.episode-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.episode-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.episode-meta span:first-child {
  color: var(--cyan);
}

.episode-guest {
  margin: 0 0 5px;
  color: #aebcd1;
  font-size: 0.78rem;
  font-weight: 700;
}

.episode-card h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.episode-card h3 a:hover {
  color: var(--cyan);
}

.episode-card-copy > p:not(.episode-guest) {
  margin: 15px 0 24px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding: 12px 0 3px;
  border-top: 1px solid var(--line);
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-link span,
.text-link span {
  color: var(--cyan);
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.card-link:hover span,
.text-link:hover span {
  transform: translate(3px, -3px);
}

.about-section {
  background: var(--navy-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px 90px;
}

.about-copy h2 {
  max-width: 460px;
}

.about-text {
  align-self: end;
}

.about-text > p {
  max-width: 720px;
  margin: 0;
  color: #d9e2ef;
  font-size: clamp(1.15rem, 2vw, 1.46rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.62;
}

.about-text .text-link {
  width: max-content;
  margin-top: 30px;
}

.studio-image {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
}

.studio-image img {
  width: 100%;
  min-height: 230px;
  max-height: 330px;
  object-fit: cover;
  object-position: center;
}

.studio-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 10, 23, 0.76));
  pointer-events: none;
}

.studio-image figcaption {
  position: absolute;
  z-index: 1;
  right: 23px;
  bottom: 18px;
  color: #dbe5f4;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shorts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.shorts-copy {
  max-width: 440px;
}

.shorts-copy > p:not(.eyebrow) {
  max-width: 380px;
  margin: 24px 0 0;
  color: var(--dark-muted);
}

.text-link-dark {
  width: max-content;
  margin-top: 30px;
  border-color: rgba(9, 20, 38, 0.18);
  color: var(--ink);
}

.text-link-dark span {
  color: var(--blue);
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 610px;
  margin-left: auto;
}

.short-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-soft);
  box-shadow: 0 18px 48px rgba(6, 22, 44, 0.18);
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.08) 35%, rgba(2, 8, 18, 0.9));
}

.short-index {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(7, 18, 37, 0.45);
  color: white;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.short-platform {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(7, 18, 37, 0.45);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.short-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.short-card:hover .short-play {
  background: var(--cyan);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.08);
}

.short-card strong {
  position: absolute;
  right: 20px;
  bottom: 21px;
  left: 20px;
  color: white;
  font-size: clamp(0.92rem, 1.6vw, 1.12rem);
  line-height: 1.35;
}

.social-section {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.social-section::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -220px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.15);
  filter: blur(110px);
  pointer-events: none;
}

.social-section > .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px clamp(58px, 8vw, 112px);
}

.social-intro {
  position: relative;
  align-self: start;
  max-width: 520px;
  margin: 0;
}

.social-intro > p:last-child {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.social-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.social-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
  transition: padding 180ms ease, background 180ms ease;
}

.social-card:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-card > span:nth-child(2) {
  display: block;
}

.social-card strong {
  display: block;
  font-size: clamp(2.1rem, 4.1vw, 4.25rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1;
}

.social-arrow {
  justify-self: end;
  color: var(--cyan);
  font-size: 1.2rem;
  transition: transform 160ms ease;
}

.social-card:hover .social-arrow {
  transform: translate(3px, -3px);
}

.contact-note {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: left;
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: #040b17;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: start;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-top > p {
  max-width: 330px;
  margin: 3px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-nav-list {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-nav a,
.footer-social a {
  color: #aebbd0;
  font-size: 0.74rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: #738098;
  font-size: 0.68rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.video-dialog {
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #040b17;
  color: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.video-dialog::backdrop {
  background: rgba(2, 7, 15, 0.84);
  backdrop-filter: blur(7px);
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 14px 0 22px;
  border-bottom: 1px solid var(--line);
}

.dialog-bar h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: black;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-bar .site-header {
  top: 32px;
}

.content-main {
  min-height: 70vh;
  padding: calc(var(--header-height) + 70px) 0 100px;
  background: var(--navy);
}

.content-shell {
  max-width: 980px;
}

.content-header,
.single-content > h1 {
  margin-bottom: 42px;
}

.content-header h1,
.single-content h1,
.episodes-section .section-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-card,
.single-content {
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-soft);
}

.content-card h2 {
  margin: 4px 0 14px;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}

.content-card h2 a:hover {
  color: var(--cyan);
}

.content-card p,
.entry-content,
.content-date {
  color: var(--muted);
}

.content-date {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-video {
  aspect-ratio: 16 / 9;
  margin: 32px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.single-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.single-image {
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 14px;
}

.episode-card h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.episode-card h2 a:hover {
  color: var(--cyan);
}

.navigation.pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-links .current,
.nav-links a:hover {
  background: var(--blue);
  color: white;
}

.alignwide {
  width: min(1100px, 100%);
  max-width: none;
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 1020px) {
  .header-inner {
    gap: 22px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav-list {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 380px);
    gap: 8px;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 42px;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
  }

  .latest-card {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .latest-image {
    min-height: 380px;
  }

  .social-grid {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    align-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(7, 18, 37, 0.78);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 90px 24px 36px;
    background: rgba(7, 18, 37, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    width: min(100%, 380px);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 44px) 0 64px;
  }

  .hero-grid,
  .latest-card,
  .about-layout,
  .shorts-layout,
  .social-section > .container {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .hero-tagline {
    margin-top: 23px;
  }

  .hero-media {
    width: 100%;
  }

  .hero-poster {
    aspect-ratio: 16 / 9;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-heading > p {
    text-align: left;
  }

  .latest-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .latest-copy {
    padding: 30px;
  }

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

  .about-layout {
    gap: 28px;
  }

  .about-text > p {
    font-size: 1.12rem;
  }

  .studio-image {
    grid-column: auto;
    margin-top: 10px;
  }

  .studio-image img {
    min-height: 190px;
  }

  .shorts-layout {
    gap: 44px;
  }

  .shorts-copy {
    max-width: 560px;
  }

  .shorts-grid {
    width: 100%;
    max-width: 560px;
    margin: 0;
  }

  .social-intro {
    max-width: 680px;
    margin-bottom: 22px;
  }

  .contact-note {
    grid-column: auto;
    margin-top: 4px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 520px) {
  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 34px);
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 0.65rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 3.8rem);
  }

  .hero-tagline {
    font-size: 1.08rem;
  }

  .hero-description {
    font-size: 0.91rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .poster-caption {
    right: 17px;
    bottom: 15px;
    left: 17px;
  }

  .poster-caption small {
    font-size: 0.6rem;
  }

  .poster-play {
    width: 53px;
    height: 53px;
  }

  .hero-media-note {
    font-size: 0.7rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-copy h2,
  .shorts-copy h2,
  .social-intro h2 {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
  }

  .latest-copy {
    padding: 25px 22px 28px;
  }

  .latest-copy h3 {
    font-size: 2rem;
  }

  .episode-card-copy {
    padding: 21px;
  }

  .shorts-grid {
    gap: 10px;
  }

  .short-card {
    border-radius: 12px;
  }

  .short-index {
    top: 11px;
    left: 11px;
  }

  .short-play {
    width: 44px;
    height: 44px;
  }

  .short-card strong {
    right: 12px;
    bottom: 14px;
    left: 12px;
    font-size: 0.82rem;
  }

  .social-intro h2 br {
    display: none;
  }

  .social-grid {
    gap: 0;
  }

  .social-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 13px;
    min-height: 88px;
    padding: 14px 2px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }

  .social-card strong {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .social-card > span:nth-child(2) {
    gap: 7px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-nav-list {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .footer-social {
    gap: 10px 16px;
  }

  .video-dialog {
    width: calc(100vw - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
