/* ============================================================
   Radio «Віра Life» — Components & Layout
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input[type="submit"], input[type="button"] { cursor: pointer; border: 0; }   /* CF7 submit is an <input> → needs pointer + no default border */
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.1; font-weight: 800; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-eyebrow);
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy-800);
}
.eyebrow::before { content: ""; width: 6px; height: 20px; border-radius: 2px; background: var(--red-600); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section-head h2 { font-size: var(--fs-h2); text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r-pill); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  white-space: nowrap;
}
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 10px 24px rgba(193,18,31,.28); }
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(193,18,31,.34); }
.btn-ghost { color: var(--navy-800); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--font-head); font-weight: 700; color: var(--navy-600); }
.link-arrow svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; height: 90px; }
.brand { flex: 0 0 auto; display: flex; }
.brand svg { height: 50px; width: auto; }
.nav { margin-left: auto; }  /* push the menu + language group to the right (logo+play stay left) */
.nav ul { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 26px); }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--navy-800);
  padding: 10px 2px; position: relative; transition: color var(--dur); white-space: nowrap;
}
.nav a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--red-600); transition: right var(--dur) var(--ease); }
.nav a:hover { color: var(--red-600); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; margin-left: clamp(6px, 1.2vw, 12px); }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy-800); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* Full-bleed photo that dissolves into white on the left and bottom (soft mask) */
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/hero-home.webp") no-repeat right top;
  background-size: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent 22%, #000 58%),
    linear-gradient(to bottom, transparent 0%, #000 8%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 22%, #000 58%),
    linear-gradient(to bottom, transparent 0%, #000 8%);
  mask-composite: intersect;
}
.hero-inner { max-width: 640px; padding-block: clamp(52px, 8vw, 110px); }
.hero-title { font-size: var(--fs-hero); letter-spacing: -.01em; text-transform: uppercase; }
.hero-title .c-navy { color: var(--navy-800); display: block; }
.hero-title .c-red { color: var(--red-600); display: block; }
.hero-sub { margin-top: var(--s-5); font-size: var(--fs-lead); color: var(--ink-soft); }

/* Live player: red button centred, waveform spreads symmetrically both sides */
.live { display: flex; align-items: center; justify-content: center; gap: var(--s-4); margin-top: clamp(34px, 5vw, 60px); }
.play-btn {
  width: 78px; height: 78px; border-radius: 50%; background: var(--red-600); color:#fff;
  display: grid; place-items: center; flex: 0 0 auto; box-shadow: 0 14px 34px rgba(193,18,31,.36);
  transition: transform var(--dur) var(--ease), background var(--dur); position: relative;
}
.play-btn::after { content:""; position:absolute; inset:-9px; border-radius:50%; border:2px solid rgba(193,18,31,.22); animation: pulse 2.6s var(--ease) infinite; }
.play-btn:hover { transform: scale(1.06); background: var(--red-700); }
.play-btn svg { width: 30px; height: 30px; }
.play-btn .i-play { margin-left: 3px; }
.play-btn.is-playing .i-play { display:none; }
.play-btn .i-pause { display:none; }
.play-btn.is-playing .i-pause { display:block; }
@keyframes pulse { 0%{transform:scale(1);opacity:1} 70%{transform:scale(1.16);opacity:0} 100%{opacity:0} }

.eq-side { display:flex; align-items:center; gap:3px; height:42px; flex:1 1 0; overflow:hidden; }
.eq-side[data-side="left"] { justify-content:flex-end; }
.eq-side[data-side="right"] { justify-content:flex-start; }
.eq-side span { flex:0 0 auto; width:3px; border-radius:3px; background: var(--navy-600); opacity:.4; transform-origin:center; }
.eq-side span.accent { background: var(--red-600); opacity:.65; }
.eq-side.is-live span { animation: eq 1.1s ease-in-out infinite; opacity:.85; }
.eq-side.is-live span.accent { opacity:1; }
@keyframes eq { 0%,100%{ transform:scaleY(.26) } 50%{ transform:scaleY(1) } }

.live-label {
  text-align:center; margin-top: var(--s-4);
  font-family: var(--font-head); font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  font-size:.86rem; color: var(--navy-800);
}

/* ---------- Podcasts ---------- */
.podcasts { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.pcard {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display:flex; flex-direction:column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pcard-cover { position: relative; aspect-ratio: 16/11; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color:#fff; }
.pcard:nth-child(2) .pcard-cover { background: linear-gradient(135deg,#3a2340,#7a2b52); }
.pcard:nth-child(3) .pcard-cover { background: linear-gradient(135deg,#243b2f,#3c6b53); }
.pcard:nth-child(4) .pcard-cover { background: linear-gradient(135deg,#241f3b,#4a3f6b); }
.pcard-cover .play-mini { width:56px; height:56px; border-radius:50%; background: rgba(13,25,46,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display:grid; place-items:center; border:1.5px solid rgba(255,255,255,.72); box-shadow: 0 4px 14px rgba(13,25,46,.28); color:#fff; transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease); }
.pcard:hover .play-mini { background: var(--red-600); border-color: var(--red-600); transform: scale(1.08); }
.pcard-cover .play-mini svg { width:20px; height:20px; margin-left:2px; }
.pcard-body { padding: var(--s-4) var(--s-5) var(--s-5); }
.pcard-body h3 { font-size: var(--fs-h3); color: var(--navy-900); }
.pcard-body p { color: var(--ink-mute); font-size: var(--fs-small); margin-top: 4px; }

/* ---------- Feature blocks ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.feature { display:flex; gap: var(--s-4); align-items:flex-start; padding: var(--s-5); border-radius: var(--r-lg); transition: background var(--dur); }
.feature:hover { background: var(--bg-soft); }
.feature-icon { flex:0 0 auto; width:56px; height:56px; border-radius:16px; background: #fff; box-shadow: var(--shadow-sm); display:grid; place-items:center; color: var(--red-600); }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1rem; letter-spacing:.06em; text-transform: uppercase; color: var(--navy-800); }
.feature p { color: var(--ink-soft); margin-top: 4px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: var(--s-8) var(--s-5); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer-grid h4 { font-family: var(--font-head); font-weight:700; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color: var(--navy-800); margin-bottom: var(--s-4); }
.footer-brand svg { height: 42px; margin-bottom: var(--s-4); }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; max-width: 30ch; }
.footer-col a, .footer-col address { display:block; color: var(--ink-soft); font-style: normal; font-size:.95rem; padding: 5px 0; transition: color var(--dur); }
.footer-col a:hover { color: var(--red-600); }
.socials { display:flex; gap: 10px; }
.socials a { width:40px; height:40px; border-radius:12px; background: var(--bg-soft); display:grid; place-items:center; color: var(--navy-800); transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease); }
.socials a:hover { background: var(--red-600); color:#fff; transform: translateY(-3px); }
.socials svg { width:18px; height:18px; }
.footer-bottom { display:flex; justify-content: space-between; gap: var(--s-4); flex-wrap:wrap; margin-top: var(--s-7); padding-top: var(--s-5); border-top:1px solid var(--line); color: var(--ink-mute); font-size: .85rem; }
.footer-bottom nav { display:flex; gap: var(--s-5); }
.footer-bottom a:hover { color: var(--red-600); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { max-width: 100%; }
  .hero-bg { background-size: auto 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; gap: var(--s-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.nav-extra { display: none; }                       /* the in-menu language + CTA (mobile only) */
/* burger ⇆ close: key off the nav's own open class (robust even if body class is stale) */
.nav-toggle .i-close { display: none; }
.nav.is-open ~ .nav-toggle .i-menu { display: none; }
.nav.is-open ~ .nav-toggle .i-close { display: block; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }   /* push burger to the right */
  .lang-switch.lang-switch--header, .lang-dd--header { display: none; }   /* desktop dropdown hidden on mobile — language lives inside the menu */
  /* IMPORTANT: drop the header's backdrop-filter on mobile — it creates a containing
     block for position:fixed, which would trap the fullscreen menu inside the header. */
  .site-header { z-index: 100; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* .nav (fixed, z90) is a child of the header → lift the header controls above it,
     otherwise the fullscreen menu paints over the burger/✕, logo and play button. */
  .brand, .onair-chip, .nav-toggle { position: relative; z-index: 95; }
  body.nav-open { overflow: hidden; }               /* lock scroll behind the menu */
  /* iOS drops a sticky header off-screen when body scroll is locked → pin it while
     the menu is open so the logo + ✕ stay put at the top. */
  .site-header:has(.nav.is-open) { position: fixed; left: 0; right: 0; }

  /* Fullscreen overlay menu — height 100dvh matches the VISIBLE area (excludes iOS
     toolbars), so the content never hides behind Safari's bottom bar. Centres when it
     fits, scrolls when it doesn't. */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: auto; z-index: 90;
    height: 100dvh; max-height: 100dvh;
    display: flex; flex-direction: column; justify-content: flex-start;
    background: #fff;
    padding: clamp(68px, 9vh, 88px) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .admin-bar .nav { padding-top: clamp(104px, 14vh, 128px); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 0; margin-top: auto; }
  .nav-extra { margin-bottom: auto; }              /* ul + extra sit as one centred block when they fit */
  .nav li { position: relative; }
  .nav a {
    display: block; padding: 10px 18px; border-radius: var(--r-md);
    font-size: clamp(1.2rem, 5vw, 1.5rem); font-weight: 800; color: var(--navy-800);
    text-align: center; white-space: normal;
    transition: color var(--dur);
  }
  .nav a::after { display: none; }
  .nav a:hover, .nav a:focus-visible { color: var(--red-600); }
  .nav a[aria-current="page"] { color: var(--red-600); }

  .nav-extra { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
  .nav-extra .lang-switch { margin: 0; transform: scale(1.05); }
  .nav-listen { padding: 13px 32px; font-size: 1rem; }
}
@media (max-width: 980px) {
  .hero-bg {
    background-size: cover; background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
    mask-composite: add;
  }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .live { flex-wrap: wrap; }
  .eq-side { height: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Inner pages
   ============================================================ */
.hero-bg.bg-about   { background-image: url("../img/about-studio.webp"); }
.hero-bg.bg-prayer  { background-image: url("../img/prayer-hands.webp"); }
.hero-bg.bg-support { background-image: url("../img/support-hands.webp"); }
.hero--page .hero-inner { padding-block: clamp(44px, 6vw, 88px); max-width: 660px; }
.hero-title--page { font-size: var(--fs-h1); text-transform: uppercase; }
.intro { margin-top: var(--s-5); color: var(--ink-soft); font-size: var(--fs-lead); max-width: 46ch; }

/* ---------- Prose: legal & generic page/article content ---------- */
.prose { max-width: 72ch; margin-top: var(--s-5); color: var(--ink); font-size: var(--fs-body); line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.3rem, 1rem + 1.3vw, 1.65rem); color: var(--heading); line-height: 1.25; font-weight: 800; text-transform: none; margin: 1.9em 0 .5em; }
.prose h3 { font-size: 1.15rem; color: var(--heading); line-height: 1.3; margin: 1.5em 0 .4em; }
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.45em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .35em 0; padding-left: .15em; }
.prose li::marker { color: var(--red-600); }
.prose a { color: var(--red-600); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--red-700); }
.prose strong { color: var(--heading); font-weight: 700; }
.prose em { color: var(--ink-soft); }
.prose blockquote { margin: 1.2em 0; padding: .4em 1.1em; border-left: 3px solid var(--red-600); color: var(--ink-soft); }
.intro p + p { margin-top: var(--s-4); }

/* Mission / Vision */
.mv-grid { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.mv-card {
  position: relative; overflow: hidden;
  display:flex; gap: var(--s-5); padding: clamp(24px,3vw,38px);
  background: linear-gradient(135deg, #ffffff 0%, #eef2fb 100%);
  border-radius: var(--r-xl);
}
.mv-card::after {   /* soft brand glow, top-right — matches the founder panel */
  content:""; position:absolute; top:-38%; right:-12%; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(193,18,31,.07), rgba(193,18,31,0) 70%); pointer-events:none; z-index:0;
}
.mv-card > * { position: relative; z-index: 1; }
.mv-ic { flex:0 0 auto; width:60px; height:60px; border-radius:50%; background:#fff; box-shadow:var(--shadow-sm); display:grid; place-items:center; color:var(--red-600); }
.mv-card .mv-ic { width:64px; height:64px; box-shadow: 0 0 0 1.5px rgba(193,18,31,.16), var(--shadow-sm); }  /* red ring, like the portrait */
.mv-ic svg{ width:28px; height:28px; }
.mv-card .mv-ic svg { width:30px; height:30px; }
.mv-card h3 { font-size: var(--fs-h3); color: var(--red-600); text-transform:uppercase; letter-spacing:.05em; margin-bottom: var(--s-2); }
.mv-card p { color: var(--ink-soft); line-height: 1.7; }

/* Founder — portrait profile panel */
.founder {
  position: relative; overflow: hidden;
  display:flex; gap: clamp(26px,4vw,48px); align-items:center;
  padding: clamp(30px,4vw,52px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #ffffff 0%, #eef2fb 100%);
}
.founder::after {   /* soft brand glow, top-right corner */
  content:""; position:absolute; top:-45%; right:-6%; width:360px; height:360px; border-radius:50%;
  background: radial-gradient(circle, rgba(193,18,31,.09), rgba(193,18,31,0) 68%); pointer-events:none;
}
.founder img {
  position: relative; z-index:1;
  width: clamp(128px,15vw,168px); height: clamp(128px,15vw,168px);
  border-radius:50%; object-fit:cover; flex:0 0 auto;
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px rgba(193,18,31,.28), 0 16px 36px rgba(22,41,74,.20);
}
.founder > div { position: relative; z-index:1; max-width: 58ch; }
.founder > div p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; }
.founder p + p { margin-top: var(--s-4); }
.founder strong { color: var(--navy-900); font-weight: 800; }

/* CTA banner */
/* CTA banner — cross-on-mountain image on the right, light-blue veil keeps the centered text crisp */
.cta-banner {
  position: relative; overflow: hidden;
  text-align:center; padding: clamp(40px,6vw,72px); border-radius: var(--r-xl);
  background-color: #eef2fb;   /* fallback / base tint */
  background-image:
    linear-gradient(90deg, rgba(233,238,251,.50) 0%, rgba(233,238,251,.66) 38%, rgba(233,238,251,.60) 60%, rgba(233,238,251,.22) 82%, rgba(233,238,251,0) 100%),
    url('../img/cta_bg.webp');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.cta-banner p { position: relative; font-family: var(--font-head); font-weight:700; color: var(--navy-800); font-size: clamp(1.1rem,2vw,1.5rem); line-height:1.45; max-width: 42ch; margin-inline:auto; }

/* Prayer / contact form — tidy, branded fields */
.form-wrap { max-width: 720px; margin-inline:auto; background: linear-gradient(180deg,#fff,#fbfcfe); border:1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,4vw,48px); box-shadow: var(--shadow-md); }
.form-head { display:flex; align-items:center; gap:var(--s-4); margin-bottom: var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.form-head h2 { font-size: var(--fs-h3); text-transform:uppercase; color:var(--navy-800); }
.form-head .mv-ic { background: rgba(193,18,31,.09); box-shadow: none; }  /* soft red badge */
.field { position: relative; margin-bottom: var(--s-5); padding-bottom: 20px; }
.field label { display:block; font-family: var(--font-head); font-weight:700; font-size:.92rem; color: var(--navy-800); margin-bottom: 10px; }
/* field = leading icon lane + hairline divider + control */
.input { display:flex; align-items:stretch; border:1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); transition: border-color var(--dur), background var(--dur); }
.input svg { width:20px; height:20px; flex:0 0 auto; align-self:center; margin:0 14px; color: var(--ink-mute); transition: color var(--dur); }
.input .wpcf7-form-control-wrap { flex:1 1 auto; min-width:0; display:block; transition: border-color var(--dur); }
.input svg + .wpcf7-form-control-wrap { border-left:1.5px solid var(--line); }  /* hairline divider only when an icon leads */
.input input, .input textarea { border:0; background:none; outline:none; width:100%; padding: 14px 16px; font: inherit; color: var(--ink); resize: vertical; display:block; }
.input:hover:not(:focus-within) { border-color: rgba(13,25,46,.22); }
.input:focus-within { border-color: var(--red-600); background:#fff; outline:none; box-shadow:none; }  /* clean red border, no ring */
.input:focus-within svg + .wpcf7-form-control-wrap { border-left-color: rgba(193,18,31,.35); }
.input:focus-within svg { color: var(--red-600); }
.input--area svg { align-self:flex-start; margin-top:14px; }
.form-note { display:flex; align-items:center; gap:var(--s-2); justify-content:center; color: var(--ink-mute); font-size: var(--fs-small); margin-top: var(--s-4); }
.btn-block { width:100%; padding: 18px; font-size:1.05rem; letter-spacing:.06em; }

/* Donate */
.donate-hero { text-align:center; background: var(--bg-soft); border-radius: var(--r-xl); padding: clamp(36px,5vw,64px); }
.donate-flex { display:flex; gap: var(--s-8); align-items:center; justify-content:center; flex-wrap:wrap; }
.donate-main { display:grid; gap: var(--s-5); justify-items:center; }
.donate-main .mv-ic { width:72px; height:72px; }
.donate-hero h2 { font-size: var(--fs-h2); text-transform:uppercase; }
.donate-hero h2 .c-red { color: var(--red-600); }
.qr { width:160px; height:160px; border:2px dashed var(--navy-500); border-radius: var(--r-md); display:grid; place-items:center; color: var(--ink-mute); text-align:center; font-size:var(--fs-small); padding: var(--s-4); background:#fff; }

.info-grid { display:grid; grid-template-columns:1fr 1fr; gap: var(--s-5); margin-top: var(--s-7); }
.info-card { display:flex; gap:var(--s-5); padding: var(--s-6); background:var(--bg-soft); border-radius: var(--r-lg); }
.info-card h3 { color: var(--navy-800); text-transform:uppercase; font-size:1rem; letter-spacing:.04em; margin-bottom: var(--s-3); }
.info-card ul li { position:relative; padding-left: var(--s-5); margin-bottom: var(--s-2); color: var(--ink-soft); }
.info-card ul li::before { content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:50%; background: var(--red-600); }
.info-card p { color: var(--ink-soft); }
.verse { font-style:italic; color: var(--navy-800); font-size: var(--fs-lead); border-left:3px solid var(--red-600); padding-left: var(--s-5); margin-top: var(--s-5); max-width: 46ch; }
.verse cite { display:block; margin-top: var(--s-2); font-style:normal; font-weight:600; color: var(--ink-mute); font-size: var(--fs-small); }

/* Schedule */
.schedule { width:100%; border-collapse:collapse; }
.schedule th, .schedule td { text-align:left; padding: var(--s-4) var(--s-5); border-bottom:1px solid var(--line); }
.schedule th { font-family:var(--font-head); color: var(--navy-800); text-transform:uppercase; letter-spacing:.06em; font-size: var(--fs-small); }
.schedule td.time { font-family:var(--font-head); font-weight:700; color: var(--red-600); white-space:nowrap; }
.schedule tr:hover td { background: var(--bg-soft); }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius: var(--r-lg); }
.stub-note { text-align:center; color: var(--ink-mute); font-size: var(--fs-small); margin-top: var(--s-6); }

@media (max-width: 860px){
  .mv-grid, .info-grid { grid-template-columns: 1fr; }
  .founder { flex-direction:column; text-align:center; }
  .founder > div { max-width: none; }
  /* CTA: centered text can't sidestep the cross on a narrow screen → soft veil top, opaque under the text */
  .cta-banner {
    background-image:
      linear-gradient(180deg, rgba(233,238,251,.62) 0%, rgba(233,238,251,.86) 46%, rgba(233,238,251,.96) 100%),
      url('../img/cta_bg.webp');
    background-position: center top;
  }
}

/* Real brand logo (vector <img>) */
.brand-logo { height: 54px; width: auto; display: block; }
.footer-brand .brand-logo { height: 50px; margin-bottom: var(--s-4); }
@media (max-width: 720px){ .brand-logo { height: 46px; } }

/* ============================================================
   Accessibility & form states (block A)
   ============================================================ */
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 3px; }
.play-btn:focus-visible, .play-mini:focus-visible { outline-offset: 5px; }
/* red focus ring on the primary buttons (incl. CF7 submit) */
.btn-primary:focus-visible, .wpcf7-submit:focus-visible { outline-color: rgba(193,18,31,.5); }
.input:has(:focus-visible) { box-shadow: none; }  /* text fields: no halo on focus — the red border is the indicator */

/* Skip to content */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* Prayer form: success state */
.form-success {
  display: none; text-align: center; padding: var(--s-6) var(--s-4);
}
.form-success.is-visible { display: block; }
.form-success .mv-ic { margin: 0 auto var(--s-4); width: 64px; height: 64px; color: #1f9d55; }
.form-success h3 { font-size: var(--fs-h3); color: var(--navy-800); margin-bottom: var(--s-2); }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.field .error-msg { display: none; color: var(--red-600); font-size: var(--fs-small); margin-top: 6px; }
.field.has-error .error-msg { display: block; }
.field.has-error .input { border-color: var(--red-600); }

/* Live player loading state (stream buffering) */
.play-btn.is-loading::after {
  border-color: rgba(255,255,255,.35);
  border-top-color: #fff;
  inset: -6px;
  animation: vf-spin .8s linear infinite;
}
@keyframes vf-spin { to { transform: rotate(360deg); } }

/* ============================================================
   Persistent radio bar + swup page transitions
   ============================================================ */
/* Prevent accidental double-tap-to-zoom on tap targets inside the app
   (WKWebView honours touch-action:manipulation; pinch-zoom stays available). */
a, button, [role="button"], label, input, select, summary,
.radio-bar, .radio-bar *, .radio-panel, .radio-panel *,
.sleep-menu, .sleep-menu *, .appbar, .appbar * {
  touch-action: manipulation;
}
.radio-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(26,48,88,.95), rgba(12,24,44,.97));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-radius: 18px 18px 0 0;
  transform: translateY(125%); transition: transform .42s var(--ease);
  box-shadow: 0 -14px 44px rgba(0,0,0,.34);
}
/* glowing broadcast hairline along the top edge */
.radio-bar::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(226,84,92,.85) 24%, rgba(255,255,255,.6) 50%, rgba(226,84,92,.85) 76%, transparent);
  opacity: .5; pointer-events: none; transition: opacity var(--dur);
}
.radio-bar.is-playing::before { opacity: .95; }
.radio-bar.is-active { transform: translateY(0); }
.radio-bar-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.radio-bar-play {
  width: 50px; height: 50px; border-radius: 50%; background: var(--red-600); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(193,18,31,.5), 0 0 0 5px rgba(193,18,31,.14);
  transition: background var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur);
}
.radio-bar-play:hover { background: var(--red-700); transform: scale(1.06); }
.radio-bar-play svg { width: 18px; height: 18px; }
.radio-bar-play .i-play { margin-left: 2px; }
.radio-bar-play .i-pause { display: none; }
.radio-bar.is-playing .radio-bar-play .i-play { display: none; }
.radio-bar.is-playing .radio-bar-play .i-pause { display: block; }

/* Equalizer — organic spectrum, grows from the baseline */
.radio-bar-eq { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.radio-bar-eq span {
  width: 3.5px; height: 100%; border-radius: 4px;
  background: linear-gradient(to top, var(--red-600), #ff5a63 68%, rgba(255,255,255,.9));
  transform: scaleY(.22); transform-origin: bottom; opacity: .85;
  transition: transform .3s var(--ease);
}
/* playing → each bar dances to its own rhythm & speed (never in sync) */
.radio-bar.is-playing .radio-bar-eq span { animation: eqA 1s ease-in-out infinite; opacity: 1; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(3n+2) { animation-name: eqB; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(3n)   { animation-name: eqC; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(1){ animation-duration: .92s; animation-delay: -.20s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(2){ animation-duration:1.18s; animation-delay: -.55s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(3){ animation-duration: .82s; animation-delay: -.10s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(4){ animation-duration:1.30s; animation-delay: -.42s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(5){ animation-duration: .74s; animation-delay: -.66s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(6){ animation-duration:1.06s; animation-delay: -.15s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(7){ animation-duration: .88s; animation-delay: -.48s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(8){ animation-duration:1.22s; animation-delay: -.30s; }
.radio-bar.is-playing .radio-bar-eq span:nth-child(9){ animation-duration: .80s; animation-delay: -.60s; }
@keyframes eqA { 0%,100%{transform:scaleY(.20)} 50%{transform:scaleY(1)} }
@keyframes eqB { 0%,100%{transform:scaleY(.30)} 25%{transform:scaleY(.92)} 60%{transform:scaleY(.44)} 85%{transform:scaleY(.72)} }
@keyframes eqC { 0%,100%{transform:scaleY(.55)} 20%{transform:scaleY(.24)} 50%{transform:scaleY(1)} 78%{transform:scaleY(.40)} }

.radio-bar-meta { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; min-width: 0; }
.radio-bar-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .12em; color: var(--red-500); }
.radio-bar-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); }
.radio-bar.is-playing .radio-bar-live .dot { animation: vf-blink 1.4s infinite; }
@keyframes vf-blink { 50% { opacity: .3; } }
.radio-bar-title { font-size: .92rem; color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-bar-close { width: 36px; height: 36px; border-radius: 50%; color: rgba(255,255,255,.7); display: grid; place-items: center; flex: 0 0 auto; transition: background var(--dur), color var(--dur); }
.radio-bar-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.radio-bar-close svg { width: 18px; height: 18px; }
body.radio-open { padding-bottom: 66px; }
@media (max-width: 520px) { .radio-bar-eq { display: none; } }

/* swup page transition (fade #main) */
.transition-fade { transition: opacity .25s ease; }
html.is-animating .transition-fade { opacity: 0; }

/* ============================================================
   Radio player v2 — header on-air chip, volume, mobile polish
   ============================================================ */
.header-spacer { flex: 1 1 auto; }

/* On-air chip in header — ALWAYS visible; COMPACT icon control (saves nav space).
   Idle → play; connecting → spinner; live → eq. (The wording lives in hero/footer.) */
.onair-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(193,18,31,.22); background: rgba(193,18,31,.08); color: var(--red-600); cursor: pointer;
  transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease);
  margin-left: clamp(10px, 1.4vw, 18px); margin-right: clamp(6px, 1vw, 12px);
}
.onair-chip:hover { background: rgba(193,18,31,.14); border-color: rgba(193,18,31,.36); transform: translateY(-1px); }
.onair-chip .onair-text { display: none; }
.onair-chip .onair-play { width: 14px; height: 14px; margin-left: 1px; }

/* state visibility (default = idle) */
.onair-chip .onair-eq, .onair-chip .onair-spin, .onair-chip .t-live, .onair-chip .t-load { display: none; }
body.radio-loading  .onair-chip .onair-play, body.radio-loading  .onair-chip .t-idle { display: none; }
body.radio-loading  .onair-chip .onair-spin, body.radio-loading  .onair-chip .t-load { display: inline-flex; }
body.radio-playing  .onair-chip .onair-play, body.radio-playing  .onair-chip .t-idle,
body.radio-playing  .onair-chip .onair-spin, body.radio-playing  .onair-chip .t-load { display: none; }
body.radio-playing  .onair-chip .onair-eq,   body.radio-playing  .onair-chip .t-live { display: inline-flex; }

.onair-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(193,18,31,.28); border-top-color: var(--red-600); animation: vf-spin .8s linear infinite; }
.onair-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.onair-eq span { width: 3px; height: 100%; background: var(--red-600); border-radius: 2px; transform-origin: bottom; transform: scaleY(.4); animation: eq 1s ease-in-out infinite; }
.onair-eq span:nth-child(2){ animation-delay: -.2s; }
.onair-eq span:nth-child(3){ animation-delay: -.5s; }
.onair-eq span:nth-child(4){ animation-delay: -.3s; }

/* Volume control in the bar */
.radio-bar-vol { display: flex; align-items: center; gap: 8px; }
.radio-bar-mute { width: 38px; height: 38px; border-radius: 50%; color: rgba(255,255,255,.85); display: grid; place-items: center; flex: 0 0 auto; transition: background var(--dur); }
.radio-bar-mute:hover { background: rgba(255,255,255,.12); }
.radio-bar-mute svg { width: 20px; height: 20px; }
.radio-bar-mute .i-mute { display: none; }
.radio-bar.is-muted .radio-bar-mute .i-vol { display: none; }
.radio-bar.is-muted .radio-bar-mute .i-mute { display: block; color: var(--red-500); }
.radio-bar-range {
  -webkit-appearance: none; appearance: none; width: 96px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.28); cursor: pointer; outline-offset: 4px;
}
.radio-bar-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.45); transition: transform var(--dur); }
.radio-bar-range:hover::-webkit-slider-thumb { transform: scale(1.15); }
.radio-bar-range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }

/* Loading spinner on the bar's play button */
.radio-bar.is-loading .radio-bar-play { position: relative; }
.radio-bar.is-loading .radio-bar-play::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: vf-spin .8s linear infinite;
}

/* Safe-area for iPhone home indicator */
.radio-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
body.radio-open { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }

/* Mobile: compact, touch-friendly bar */
@media (max-width: 620px) {
  .radio-bar-inner { gap: var(--s-3); height: 62px; }
  .radio-bar-eq { display: none; }
  .radio-bar-range { display: none; }        /* keep mute button only */
  .radio-bar-play { width: 46px; height: 46px; }
  .radio-bar-mute, .radio-bar-close { width: 42px; height: 42px; }
  .radio-bar-title { font-size: .86rem; }
}

/* Language switcher (Polylang) — segmented toggle */
.lang-switch {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 3px; margin-left: clamp(10px, 1.8vw, 22px); margin-right: 0;
}
.lang-switch ul { display: contents; }               /* handle optional <ul> wrapper */
.lang-switch li { list-style: none; margin: 0; }
.lang-switch a {
  display: block; padding: 5px 11px; border-radius: var(--r-pill); line-height: 1;
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink-mute); transition: color var(--dur), background var(--dur), box-shadow var(--dur);
}
.lang-switch a:hover { color: var(--navy-800); }
.lang-switch .current-lang a { background: #fff; color: var(--red-600); box-shadow: 0 1px 3px rgba(22,41,74,.14); }
/* Mobile in-menu switcher: let 7 languages wrap into a tidy block instead of one long row */
.lang-switch--menu { flex-wrap: wrap; justify-content: center; max-width: 268px; }

/* Compact language dropdown (desktop header) — scales cleanly to many languages */
.lang-dd { position: relative; margin-left: clamp(10px, 1.8vw, 22px); }
.lang-dd summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 9px 6px 13px; line-height: 1;
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .05em;
  color: var(--red-600); -webkit-user-select: none; user-select: none;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::marker { content: ""; }
.lang-dd summary:hover { border-color: rgba(193,18,31,.35); }
.lang-dd summary:focus-visible { outline: 2px solid var(--red-500); outline-offset: 2px; }
.lang-dd[open] summary { background: #fff; box-shadow: 0 1px 3px rgba(22,41,74,.14); }
.lang-dd-caret { width: 12px; height: 12px; color: var(--ink-mute); transition: transform var(--dur); }
.lang-dd[open] .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 200;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 6px; min-width: 140px; box-shadow: 0 14px 34px rgba(22,41,74,.18);
  animation: langddin .16s ease;
}
@keyframes langddin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-dd-opt {
  display: block; text-align: center; padding: 8px 10px; border-radius: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-mute); transition: color var(--dur), background var(--dur);
}
.lang-dd-opt:hover { background: var(--bg-soft); color: var(--navy-800); }
.lang-dd-opt.is-current { color: var(--red-600); background: var(--bg-soft); }

/* ============================================================
   Contact Form 7 (prayer form) — match the design
   ============================================================ */
.wpcf7-form .btn { width: 100%; }
/* CF7 plumbing that must never render as an empty box */
.wpcf7-form .hidden-fields-container { display: none; }   /* wrapper of hidden inputs — they still submit */
.wpcf7-response-output:empty { display: none; }           /* only show once it carries a message */
.wpcf7-response-output {
  margin: var(--s-5) 0 0 !important; padding: 13px 16px; border-radius: var(--r-md);
  font-size: var(--fs-small); border: 1px solid var(--line); border-left-width: 3px;
  line-height: 1.5; text-align: left;
}
.wpcf7 form.sent .wpcf7-response-output { background: rgba(31,157,85,.09); border-color: rgba(31,157,85,.45); color: #1a7a45; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: rgba(193,18,31,.06); border-color: rgba(193,18,31,.4); color: var(--red-700); }
/* validation tip → below the field pill (not inside it) */
.wpcf7-not-valid-tip {
  position: absolute; left: 2px; bottom: 0;
  color: var(--red-600); font-size: var(--fs-small); font-weight: 600;
}
.wpcf7-form .input:has(.wpcf7-not-valid) { border-color: var(--red-600); }
.wpcf7-spinner { margin: 0 0 0 10px; }

/* Podcast video embed (responsive 16:9) */
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); margin: var(--s-6) 0; background: var(--navy-900); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* YouTube facade — light preview; the real player loads on click (PageSpeed + privacy) */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background-color: var(--navy-900); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; }
.yt-facade::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,43,.10), rgba(11,19,43,.40)); transition: background var(--dur) var(--ease); }
.yt-facade:hover::after, .yt-facade:focus-visible::after { background: linear-gradient(180deg, rgba(11,19,43,0), rgba(11,19,43,.28)); }
.yt-facade-play { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%;
  background: var(--red-600); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(193,18,31,.45); transition: transform var(--dur) var(--ease), background var(--dur); }
.yt-facade:hover .yt-facade-play, .yt-facade:focus-visible .yt-facade-play { transform: scale(1.08); background: var(--red-700); }
.yt-facade-play svg { width: 30px; height: 30px; margin-left: 4px; }

/* Schedule — "now on air" highlight */
.schedule tr.is-now td { background: rgba(193,18,31,.06); }
.schedule tr.is-now .time { color: var(--red-600); }
.now-badge { display:inline-block; margin-left:10px; font-family:var(--font-head); font-weight:700; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color: var(--red-600); white-space:nowrap; }

/* ============================================================
   Radio bar → expandable schedule panel
   ============================================================ */
.radio-bar-sched { width: 38px; height: 38px; border-radius: 50%; color: rgba(255,255,255,.85); display: grid; place-items: center; flex: 0 0 auto; transition: background var(--dur), color var(--dur); }
.radio-bar-sched:hover, .radio-bar.panel-open .radio-bar-sched { background: rgba(255,255,255,.16); color: #fff; }
.radio-bar-sched svg { width: 20px; height: 20px; }

.radio-panel {
  position: absolute; left: 0; right: 0; bottom: 100%;
  background: var(--navy-900); color: #fff;
  box-shadow: 0 -12px 34px rgba(0,0,0,.30);
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.radio-bar.panel-open .radio-panel { opacity: 1; visibility: visible; transform: none; }
.radio-panel-inner { padding-block: var(--s-5); }  /* keep the .container side gutter (don't zero padding-inline) */
.radio-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-3); }
.radio-panel-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: #fff; }
.radio-panel-all { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--red-500); white-space: nowrap; }
.radio-panel-all:hover { color: #fff; }
.radio-panel-list { max-height: 42vh; overflow-y: auto; margin: 0 -8px; }
.radio-panel-list li { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: var(--s-4); padding: 11px 8px; border-radius: var(--r-sm); color: rgba(255,255,255,.7); }
.radio-panel-list li + li { border-top: 1px solid rgba(255,255,255,.06); }
.radio-panel-list li .t { font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,.55); }
.radio-panel-list li .p { color: rgba(255,255,255,.9); }
.radio-panel-list li .r { font-size: var(--fs-small); color: rgba(255,255,255,.45); white-space: nowrap; }
.radio-panel-list li.past { opacity: .45; }
.radio-panel-list li.now { background: rgba(255,255,255,.09); color: #fff; }
.radio-panel-list li.now .t, .radio-panel-list li.now .r { color: var(--red-500); }
.radio-panel-list li.now .p { color: #fff; font-weight: 600; }
@media (max-width: 520px) {
  .radio-panel-list li { grid-template-columns: 54px 1fr; }
  .radio-panel-list li .r { display: none; }
}

/* WordPress admin bar — offset the sticky header (the dropdown is anchored to the header, so it follows automatically) */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ============================================================
   Crispness pass (Medium-style) — hairlines, borders, rhythm
   Keeps the approved layout; adds definition & pixel polish.
   ============================================================ */
/* Consistent vertical rhythm — generous but not cavernous */
.section { padding-block: clamp(48px, 7vw, 92px); }

/* Page intro (eyebrow + title + lead) belongs to the content right below it —
   kill the doubled gap so the body follows closely, not across a void. */
.page-intro { padding-top: clamp(56px, 7vw, 104px); padding-bottom: 0; }   /* extra breathing room below the sticky header */
.page-intro + .section { padding-top: clamp(30px, 4vw, 52px); }

/* Hairline definition between two real content sections — the "crisp grey lines".
   NOT after a page-intro (that's a header + its own body) and NOT around
   soft-bg blocks, which already separate themselves. */
.section + .section { border-top: 1px solid var(--line); }
.page-intro + .section,
.podcasts + .section, .section + .podcasts, .podcasts + .podcasts { border-top: 0; }

/* Page hero photo dissolves into the page at the bottom & left (desktop) so the
   section below joins it cleanly instead of butting a hard photo edge. */
/* ---- Page hero: photo on the right, text on a guaranteed-white left ---- */
@media (min-width: 1100px) {
  .hero--page { min-height: clamp(400px, 38vw, 500px); display: flex; align-items: center; }
  .hero--page > .container { width: 100%; }
  .hero--page .hero-inner { max-width: 520px; }
  .hero--page .hero-bg {
    left: auto; right: 0; width: 54%;
    background-position: center center;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, #000 66%, transparent 96%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, #000 66%, transparent 96%);
    mask-composite: intersect;
  }
  .hero--page .hero-bg.bg-support { width: 56%; background-position: center 45%; }
}

/* Tablet / mobile: photo becomes a banner above the text (always legible).
   Fade the left + bottom to hide the decorations baked into these stock photos
   (a soundwave in prayer-hands, a chevron in support-hands) and keep the subject. */
@media (max-width: 1099px) {
  .hero--page .hero-bg {
    position: relative; inset: auto; left: auto; right: auto; z-index: 0;
    width: 100%; height: clamp(180px, 30vw, 250px); margin-bottom: var(--s-5);
    background-position: 60% 42%;
    -webkit-mask-image:
      linear-gradient(to right, transparent 4%, #000 36%),
      linear-gradient(to bottom, #000 64%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 4%, #000 36%),
      linear-gradient(to bottom, #000 64%, transparent);
    mask-composite: intersect;
  }
  .hero--page .hero-inner { padding-top: 0; max-width: 640px; }
}

/* Crisp card edges: lean on 1px hairlines, keep shadows light (less "floaty") */
.pcard { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22,41,74,.05); }
.pcard:hover { box-shadow: var(--shadow-md); border-color: rgba(35,62,152,.22); }
.mv-card, .info-card, .founder, .donate-hero, .cta-banner { border: 1px solid var(--line); }

/* Headings & measure — tidy wrapping, comfortable line length */
h2, h3 { text-wrap: balance; }
.pcard-body p, .feature p, .mv-card p, .info-card p { max-width: 44ch; }

/* Section head: a touch more breathing room above the content it labels */
.section-head { padding-bottom: var(--s-3); }

/* ---------- Footer (light, crisp) ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--bg-soft); color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 76px) var(--s-6);
  /* no margin-top: the border-top + padding already separate the footer.
     A margin here shows as an ugly white strip when the last section is grey (podcasts). */
}
.footer-glow { display: none; }
.site-footer > .container { position: relative; z-index: 1; }

.footer-listen {
  display: flex; align-items: center; gap: var(--s-5);
  padding: clamp(18px, 3vw, 26px) clamp(20px, 3vw, 30px); margin-bottom: clamp(40px, 6vw, 60px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
}
.footer-listen-eq { display: flex; align-items: center; gap: 3px; height: 32px; flex: 0 0 auto; }
.footer-listen-eq span { width: 3px; height: 100%; border-radius: 3px; background: var(--navy-500); opacity: .45; transform: scaleY(.35); transform-origin: center; animation: eq 1.1s ease-in-out infinite; }
.footer-listen-eq span:nth-child(3n) { background: var(--red-600); opacity: .8; }
.footer-listen-eq span:nth-child(2){animation-delay:-.2s} .footer-listen-eq span:nth-child(3){animation-delay:-.5s}
.footer-listen-eq span:nth-child(4){animation-delay:-.3s} .footer-listen-eq span:nth-child(5){animation-delay:-.6s}
.footer-listen-eq span:nth-child(6){animation-delay:-.15s} .footer-listen-eq span:nth-child(7){animation-delay:-.45s}
.footer-listen-text { margin-right: auto; min-width: 0; }
.footer-listen-kicker { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); }
.footer-listen-title { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.2; margin-top: 4px; }
.footer-listen-btn { flex: 0 0 auto; }
/* any "listen" button (footer + mobile menu) reflects the player state (idle → connecting → playing) */
[data-radio-toggle] .i-pause, [data-radio-toggle] .i-spin,
[data-radio-toggle] .lbl-live, [data-radio-toggle] .lbl-load { display: none; }
body.radio-playing [data-radio-toggle] .i-play, body.radio-playing [data-radio-toggle] .lbl-idle,
body.radio-loading [data-radio-toggle] .i-play, body.radio-loading [data-radio-toggle] .lbl-idle { display: none; }
body.radio-playing [data-radio-toggle] .i-pause { display: block; }
body.radio-playing [data-radio-toggle] .lbl-live { display: inline; }
body.radio-loading [data-radio-toggle] .i-spin { display: block; }
body.radio-loading [data-radio-toggle] .lbl-load { display: inline; }
[data-radio-toggle] .i-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: vf-spin .8s linear infinite; }

.footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.footer-brand .brand-logo { height: 50px; margin-bottom: var(--s-5); }
.footer-brand p { color: var(--ink-soft); max-width: 34ch; margin-bottom: var(--s-5); font-size: .95rem; line-height: 1.65; }
.footer-col h4 { color: var(--navy-800); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-col a, .footer-col address { display: block; color: var(--ink-soft); font-style: normal; font-size: .96rem; padding: 6px 0; transition: color var(--dur); }
.footer-col a:hover { color: var(--red-600); }
.footer-col .current-menu-item > a { color: var(--navy-900); }
.footer-brand .socials { display: flex; gap: 10px; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy-800); display: grid; place-items: center; transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease); }
.footer-brand .socials a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; transform: translateY(-3px); }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); color: var(--ink-mute); margin-top: clamp(40px, 6vw, 60px); }
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--red-600); }

@media (max-width: 860px) {
  .footer-listen { flex-direction: column; text-align: center; }
  .footer-listen-text { margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ============================================================
   Radio bar — premium pass v4 (cover tile, live pill, seam fix)
   ============================================================ */
/* subtle inset top highlight on the glass surface */
.radio-bar { box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 -14px 46px rgba(0,0,0,.36); }

/* cover / "live art" tile — houses the equalizer, reads as station artwork */
.radio-bar-art {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1d386f, #0d1c37);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 12px 22px rgba(0,0,0,.28);
  display: grid; place-items: center;
}
.radio-bar-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 55% at 50% 118%, rgba(226,84,92,.4), transparent 72%);
  opacity: .5; transition: opacity var(--dur);
}
.radio-bar.is-playing .radio-bar-art::after { opacity: 1; }
.radio-bar-art .radio-bar-eq { position: relative; z-index: 1; height: 24px; gap: 2.5px; }
.radio-bar-art .radio-bar-eq span { width: 3px; }

/* refined LIVE pill + title — two clean lines: [● У ЕФІРІ  Title] / [Далі …] */
.radio-bar-meta { gap: 4px; }
.radio-bar-topline { display: flex; align-items: center; gap: 11px; min-width: 0; }
.radio-bar-live {
  flex: 0 0 auto;
  padding: 3px 10px 3px 9px; border-radius: var(--r-pill);
  background: rgba(226,84,92,.15); color: var(--red-500);
  font-size: .62rem; letter-spacing: .14em; font-weight: 800;
}
.radio-bar-live .dot { width: 6px; height: 6px; }
.radio-bar-title { flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 600; margin-top: 0; letter-spacing: .005em; }

/* thin vertical divider before the control cluster */
.radio-bar-sep {
  width: 1px; height: 30px; flex: 0 0 auto; margin: 0 var(--s-3) 0 var(--s-2);
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.16), rgba(255,255,255,0));
}

/* seam fix — schedule panel + bar read as one rounded surface when open */
.radio-panel {
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(14,28,52,.98), rgba(25,46,86,.97));
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.radio-bar.panel-open { border-radius: 0; }
.radio-bar.panel-open::before { opacity: 0; }

@media (max-width: 620px) {
  .radio-bar-art { display: none; }
  .radio-bar-sep { margin: 0 var(--s-2); }
}

/* ============================================================
   Support page — match the approved mockup
   (waveform motif, brand title line, big QR, 4-col footer)
   ============================================================ */
/* Static "audio waveform" motif */
.waveform { display: flex; align-items: center; gap: 3px; height: 46px; overflow: hidden; }
.waveform span { flex: 0 0 3px; width: 3px; border-radius: 3px; background: var(--navy-500); opacity: .34; }
.waveform span:nth-child(5n) { background: var(--red-500); opacity: .7; }

/* Hero: brand line + waveform under the verse */
.hero-brandline { display: block; font-size: .58em; line-height: 1.15; margin-top: .18em; letter-spacing: .01em; }
.hero-wave {
  margin-top: clamp(20px, 3vw, 34px); height: 52px; max-width: 540px;
  -webkit-mask-image: linear-gradient(to right, #000 68%, transparent);
  mask-image: linear-gradient(to right, #000 68%, transparent);
}

/* Donate card — balanced two columns, prominent QR (matches mockup) */
.donate-hero { text-align: left; }
.donate-flex { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 80px); align-items: center; justify-content: center; }
.donate-main { display: grid; gap: var(--s-5); justify-items: center; text-align: center; }
.donate-btn { min-width: 288px; padding: 18px 30px; font-size: 1.06rem; letter-spacing: .04em; }
.donate-qr-col { display: grid; gap: var(--s-4); justify-items: center; }
.qr { width: clamp(190px, 22vw, 240px); height: clamp(190px, 22vw, 240px); gap: 10px; }
.qr svg { width: 40px; height: 40px; color: var(--navy-500); opacity: .7; }
.donate-qr-note { display: flex; align-items: center; gap: 9px; color: var(--ink-mute); font-size: var(--fs-small); max-width: 240px; text-align: left; }
.donate-qr-note svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--red-600); }
@media (max-width: 760px) {
  .donate-flex { grid-template-columns: 1fr; }
  .donate-qr-note { justify-content: center; text-align: center; }
}

/* Footer — 4 columns (brand+wave / Навігація / Контакти / Підписуйтесь) */
.footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 52px); }
.footer-wave { height: 28px; max-width: 190px; margin: 12px 0 18px; opacity: .5; }
.site-footer .socials { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer .socials a {
  width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  color: var(--navy-800); display: grid; place-items: center;
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease);
}
.site-footer .socials a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; transform: translateY(-3px); }
.site-footer .socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   News / blog — listing cards + single article
   ============================================================ */
.news-card .news-card-cover {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.news-card:nth-child(3n+2) .news-card-cover { background: linear-gradient(135deg, #3a2340, #7a2b52); }
.news-card:nth-child(3n) .news-card-cover   { background: linear-gradient(135deg, #243b2f, #3c6b53); }
.news-card .news-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.news-card:hover .news-card-cover img { transform: scale(1.05); }
.news-card-eq { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 100%; padding: 26px; }
.news-card-eq span { width: 7px; border-radius: 4px; background: rgba(255,255,255,.5); }
.news-card-eq span:nth-child(1){height:38%} .news-card-eq span:nth-child(2){height:66%}
.news-card-eq span:nth-child(3){height:100%;background:var(--red-500)} .news-card-eq span:nth-child(4){height:58%} .news-card-eq span:nth-child(5){height:44%}
.news-card .pcard-body { display: flex; flex-direction: column; gap: 8px; }
.news-date { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-small); letter-spacing: .04em; text-transform: uppercase; color: var(--red-600); }
.news-card .pcard-body h3 { font-size: var(--fs-h3); color: var(--navy-900); line-height: 1.25; }
.news-card .pcard-body h3 a:hover { color: var(--red-600); }
.news-card .pcard-body p { color: var(--ink-mute); font-size: var(--fs-small); }
.news-card .link-arrow { margin-top: 4px; font-size: .92rem; }

.news-pagination { margin-top: var(--s-7); }
.news-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.news-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 700; color: var(--navy-800);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.news-pagination a.page-numbers:hover { border-color: var(--red-600); color: var(--red-600); }
.news-pagination .page-numbers.current { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.news-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* single article */
.article-title { font-size: var(--fs-h1); color: var(--heading); letter-spacing: -.01em; line-height: 1.12; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-4); color: var(--ink-mute); font-size: var(--fs-small); font-family: var(--font-head); font-weight: 600; }
.article-meta .article-cat a { color: var(--red-600); }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s-6); box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { max-width: 70ch; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.article-body > * + * { margin-top: var(--s-4); }
.article-body h2, .article-body h3 { color: var(--navy-800); margin-top: var(--s-6); }
.article-body a { color: var(--red-600); text-decoration: underline; text-underline-offset: 2px; }
.article-body img { border-radius: var(--r-md); }
.article-body ul, .article-body ol { padding-left: var(--s-5); }
.article-body li + li { margin-top: var(--s-2); }
.article-body blockquote { border-left: 3px solid var(--red-600); padding-left: var(--s-5); color: var(--navy-800); font-style: italic; }
.article-back { margin-top: var(--s-7); }

/* ============================================================
   Podcasts — clickable cards, featured, rubric filter, single, related
   ============================================================ */
.pcard { position: relative; }
.pcard-cover { background-size: cover; background-position: center; }
.pcard-cover::before { content: ""; position: absolute; inset: 0 0 auto; height: 48%; background: linear-gradient(180deg, rgba(10,20,40,.5), rgba(10,20,40,0)); z-index: 1; pointer-events: none; }
.pcard-cover .play-mini { z-index: 2; }
.pcard-cover .pcard-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; z-index: 3; pointer-events: none; }
.pcard-type, .pcard-dur {
  position: static; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .02em;
  background: rgba(13,25,46,.44); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pcard-type svg, .pcard-dur svg { width: 13px; height: 13px; flex: 0 0 auto; }
.pcard-cat { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); margin-bottom: 6px; }
.pcard-body h3 a { color: var(--navy-900); transition: color var(--dur); }
.pcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* stretch over the whole card */
.pcard:hover h3 a { color: var(--red-600); }

/* Section rhythm for the podcasts pages (kept in CSS, not inline).
   The grey "all episodes" band gets a WHITE margin above it — so it's separated
   from the intro (filtered view) OR from the featured card (unfiltered), same gap. */
.section.pod-featured-sec { padding-block: clamp(28px, 4vw, 44px) 0; }
.section.pod-list-sec     { margin-top: clamp(40px, 5vw, 60px); padding-block: clamp(34px, 4vw, 50px) clamp(28px, 4vw, 52px); }
.section.pod-media-sec    { padding-top: 0; padding-bottom: clamp(32px, 4vw, 48px); }

/* Featured episode (split) */
.pod-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.pod-featured-cover { position: relative; display: block; min-height: 330px; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); background-size: cover; background-position: center; }
.pod-featured-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,25,46,.4)); }
.pod-featured-play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 1; transition: background var(--dur), transform var(--dur) var(--ease); }
.pod-featured-cover:hover .pod-featured-play { background: var(--red-600); border-color: var(--red-600); transform: scale(1.06); }
.pod-featured-play svg { width: 30px; height: 30px; margin-left: 3px; }
.pod-featured-cover .pcard-dur { position: absolute; top: auto; right: auto; bottom: 14px; left: 14px; z-index: 1; }
.pod-featured-body { padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.pod-featured-kicker { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: var(--s-3); }
.pod-featured-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); animation: vf-blink 1.4s infinite; }
.pod-featured-body h2 { font-size: var(--fs-h2); text-transform: none; line-height: 1.14; }
.pod-featured-body h2 a { color: var(--navy-900); }
.pod-featured-body h2 a:hover { color: var(--red-600); }
.pod-featured-body p { color: var(--ink-soft); margin: var(--s-4) 0 var(--s-5); max-width: 52ch; }
.pod-featured-body .btn { align-self: flex-start; }

/* Rubric filter */
.podcasts .section-head { align-items: center; }
.pod-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pod-filter-pill { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy-800); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.pod-filter-pill:hover { border-color: var(--red-600); color: var(--red-600); }
.pod-filter-pill.is-active { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.pcard.is-hidden { display: none; }
.pod-empty { text-align: center; color: var(--ink-mute); margin-top: var(--s-6); }

/* Single podcast */
.pod-meta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-4); color: var(--ink-mute); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-small); }
.pod-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pod-meta svg { width: 16px; height: 16px; }
.pod-audio { display: grid; gap: var(--s-5); margin: var(--s-5) 0; }
.pod-audio-cover { aspect-ratio: 16/8; border-radius: var(--r-lg); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.pod-audio-player { width: 100%; }
.pod-single-body { margin-top: var(--s-6); }
.pod-share { display: flex; align-items: center; gap: 10px; margin-top: var(--s-6); }
.pod-share-label { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: var(--fs-small); }
.pod-share-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease); }
.pod-share-btn:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; transform: translateY(-2px); }
.pod-share-btn svg { width: 18px; height: 18px; }
.pod-back { margin-top: var(--s-5); }
.pod-related { border-top: 1px solid var(--line); margin-top: 0; padding-top: clamp(36px, 4vw, 52px); }

@media (max-width: 760px) {
  .pod-featured { grid-template-columns: 1fr; }
  .pod-featured-cover { min-height: 0; aspect-ratio: 16/10; }
}

/* ============================================================
   Schedule table — column sizing + mobile tidy
   ============================================================ */
.schedule .col-time { width: 110px; }
.schedule .col-rubric { width: 190px; }
.schedule .row-rubric { display: none; }              /* inline rubric — only when the column is hidden */
@media (max-width: 620px) {
  .schedule th, .schedule td { padding: 12px 12px; font-size: .92rem; }
  .schedule .col-time, .schedule td.time { width: 64px; white-space: nowrap; }
  .now-badge { display: block; margin: 4px 0 0; }
}
@media (max-width: 480px) {
  .schedule th.col-rubric, .schedule td.col-rubric { display: none; }   /* drop the secondary column */
  .schedule .row-rubric {
    display: inline-block; margin-left: 8px; color: var(--ink-mute);
    font-size: .8rem; font-family: var(--font-head); font-weight: 600;
  }
  .schedule th, .schedule td { padding: 11px 10px; }
}

/* ============================================================
   Mobile: radio player as a floating pill (rounded, inset, offset)
   ============================================================ */
@media (max-width: 640px) {
  .radio-bar {
    left: var(--gutter); right: var(--gutter);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    border-radius: var(--r-lg);                 /* rounded on ALL corners */
    padding-bottom: 0;                          /* it floats → no edge-hugging safe padding */
    box-shadow: 0 12px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .radio-bar::before { opacity: 0; }            /* drop the top glow line on the pill */
  .radio-bar.panel-open { border-radius: var(--r-lg); }  /* stay rounded when schedule is open */
  .radio-bar .container { max-width: none; padding-inline: 14px; }  /* pill's own inner padding */

  /* schedule panel = matching floating pill that sticks just above the bar */
  .radio-panel {
    left: 0; right: 0; bottom: calc(100% + 8px);
    border-radius: var(--r-lg); border-bottom: 0;
    box-shadow: 0 12px 34px rgba(0,0,0,.34);
  }
  .radio-panel .container { max-width: none; padding-inline: 14px; }

  /* content clearance = pill height + its offset */
  body.radio-open { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   Schedule page — "now" card, day tabs, grid  +  player next/progress
   ============================================================ */
.sched-now { position:relative; overflow:hidden; background:linear-gradient(135deg,var(--navy-800),var(--navy-600)); color:#fff; border-radius:var(--r-xl); padding:clamp(22px,3vw,34px); margin-bottom:var(--s-6); }
.sched-now-live { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:#ffd9dc; }
.sched-now-live .dot { width:8px; height:8px; border-radius:50%; background:#ff5a5f; animation:vf-blink 1.4s infinite; }
.sched-now-title { font-size:clamp(1.4rem,3vw,2rem); color:#fff; margin:10px 0 0; line-height:1.15; }
.sched-now-rubric { display:inline-block; margin-top:10px; font-family:var(--font-head); font-weight:700; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.16); padding:4px 12px; border-radius:999px; }
.sched-now-track { height:6px; border-radius:999px; background:rgba(255,255,255,.18); margin-top:18px; overflow:hidden; }
.sched-now-track i { display:block; height:100%; width:0; border-radius:999px; background:linear-gradient(90deg,#ff5a5f,#ffd9dc); transition:width 1s linear; }
.sched-now-next { margin-top:11px; font-size:.9rem; color:rgba(255,255,255,.8); }
.sched-now-next:empty { display:none; }
.sched-now-next b { color:#fff; }

.sched-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:var(--s-5); }
.sched-tab { padding:9px 16px; border-radius:999px; border:1px solid var(--line); background:#fff; font-family:var(--font-head); font-weight:700; font-size:.86rem; color:var(--navy-800); cursor:pointer; transition:background var(--dur),color var(--dur),border-color var(--dur); }
.sched-tab:hover { border-color:var(--red-600); color:var(--red-600); }
.sched-tab.is-active { background:var(--red-600); border-color:var(--red-600); color:#fff; }

.sched-day { display:none; }
.sched-day.is-active { display:block; }

.sched-grid { width:100%; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; border-collapse:separate; border-spacing:0; }
.sched-grid td { border-bottom:1px solid var(--line); padding:12px 16px; vertical-align:middle; }
.sched-grid tr:last-child td { border-bottom:0; }
.sched-grid tr:hover td { background:var(--bg-soft); }
.sched-grid .time { width:96px; }
.time-badge { display:inline-block; font-family:var(--font-head); font-weight:800; color:var(--navy-800); background:var(--bg-soft); border:1px solid var(--line); border-radius:8px; padding:5px 10px; font-size:.9rem; letter-spacing:.5px; white-space:nowrap; }
.sched-grid .prog-name { font-weight:600; color:var(--navy-900); }
.rubric-chip { display:inline-block; font-family:var(--font-head); font-weight:700; font-size:.66rem; letter-spacing:.06em; text-transform:uppercase; color:var(--red-600); background:rgba(193,18,31,.08); padding:3px 10px; border-radius:999px; }
.sched-grid .col-rubric { width:200px; text-align:right; }
.sched-grid tr.is-now td { background:rgba(193,18,31,.06); }
.sched-grid tr.is-now .time-badge { background:var(--red-600); border-color:var(--red-600); color:#fff; }
@media (max-width:640px){
  .sched-grid .col-rubric { display:none; }
  .sched-grid .time { width:66px; }
  .sched-grid td { padding:11px 12px; }
}

/* player: "next" line + progress */
.radio-bar-next { font-size:.8rem; color:rgba(255,255,255,.58); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:3px; }
.radio-bar-next:empty { display:none; }
.radio-bar-next b { color:rgba(255,255,255,.88); font-weight:600; }
@media (max-width:620px){ .radio-bar-next { display:none; } }  /* keep the mobile bar to one tidy line */
.radio-bar-progress { position:absolute; left:0; right:0; bottom:0; height:3px; background:rgba(255,255,255,.10); overflow:hidden; }
.radio-bar-progress i { display:block; height:100%; width:0; background:var(--red-500); transition:width 1s linear; }
.radio-panel-list li.next { box-shadow:inset 2px 0 0 rgba(226,105,108,.7); }

/* ============================================================
   APP MODE — active only inside the native Capacitor wrapper
   (html.is-app is set by an inline script in header.php)
   ============================================================ */
.appbar { display: none; }

.is-app .site-header { display: none !important; }
.is-app .site-footer { display: none !important; }

/* app-mode: stop iOS rubber-band bounce from detaching the fixed bars */
html.is-app, .is-app body { overscroll-behavior-y: none; }
.is-app .appbar, .is-app .appbar-top { transform: translateZ(0); }

/* clear space for the tab bar so content isn't hidden behind it */
.is-app #main { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

/* bottom tab bar */
.is-app .appbar {
  display: flex;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: linear-gradient(180deg, rgba(18,34,62,.98), rgba(10,20,38,.99));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0,0,0,.28);
}
.appbar-tab {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 4px 2px; text-decoration: none;
  color: rgba(255,255,255,.60);
  font-family: var(--font-head, inherit); font-weight: 600; font-size: 11px; line-height: 1;
  -webkit-tap-highlight-color: transparent; transition: color .18s ease;
}
.appbar-tab svg { width: 24px; height: 24px; display: block; transition: transform .18s ease; }
.appbar-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appbar-tab.is-active { color: #fff; }
.appbar-tab.is-active svg { color: var(--red-600, #e2545c); transform: translateY(-1px); }
.appbar-tab:active svg { transform: scale(.9); }

/* keep the mini-player docked ABOVE the tab bar in app mode */
.is-app .radio-bar { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

/* ---- app mode: status-bar strip, persistent mini-player, sleep control ---- */
.is-app body::before {          /* navy strip behind the (edge-to-edge) status bar */
  content: ""; position: fixed; top: 0; left: 0; right: 0;
  height: env(safe-area-inset-top, 0px); background: #16294a; z-index: 200;
}
.is-app #main {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px));   /* clear mini-player + tab bar */
}
.is-app .radio-bar {                 /* mini-player is always present in the app */
  transform: none !important;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0;
}
.is-app .radio-bar-close { display: none; }   /* a persistent player isn't dismissed */

.sleep-badge {                        /* remaining-minutes bubble on the sleep button */
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 9px; background: var(--red-600, #e2545c); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.radio-bar-sleep { position: relative; }
.radio-bar-sleep.is-on { color: #ffd7d3; }

/* ---- app mode: compact floating mini-player (overrides desktop bar) ---- */
.is-app .radio-bar {
  left: 10px; right: 10px;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));   /* float above the tab bar with a gap */
  border-radius: 18px;
  transform: none !important;
}
.is-app .radio-bar-inner {
  gap: 10px; height: 58px;
  padding-left: 12px; padding-right: 10px;   /* neutralise the desktop .container gutter */
}
.is-app .radio-bar-art,
.is-app .radio-bar-sep,
.is-app .radio-bar-vol,
.is-app .radio-bar-next { display: none !important; }
.is-app .radio-bar-play { width: 44px; height: 44px; flex: none; }
.is-app .radio-bar-meta { flex: 1 1 auto; min-width: 0; }
.is-app .radio-bar-topline { display: flex; align-items: center; gap: 8px; min-width: 0; }
.is-app .radio-bar-live { flex: none; }
.is-app .radio-bar-title {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.is-app .radio-bar-sleep,
.is-app .radio-bar-sched { flex: none; width: 40px; height: 40px; }

/* live stream has no meaningful progress — drop the stray progress line in the app */
.is-app .radio-bar-progress { display: none !important; }

/* ---- app mode: slim brand top bar (logo only) ---- */
.appbar-top { display: none; }
.is-app .appbar-top {
  display: flex; align-items: center; justify-content: center;
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: calc(48px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: #16294a;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(9,18,33,.28);
}
.is-app .appbar-logo { display: inline-flex; align-items: center; }
.is-app .appbar-logo img { height: 30px; width: auto; display: block; }
.is-app #main { padding-top: calc(48px + env(safe-area-inset-top, 0px)); }

/* language switcher inside the app top bar (over the navy strip) */
.lang-dd--app { display: none; }
.is-app .lang-dd--app {
  display: block; margin: 0; position: absolute; right: 12px;
  top: calc(env(safe-area-inset-top, 0px) + 24px); transform: translateY(-50%);
}
.is-app .lang-dd--app summary {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); color: #fff;
  padding: 5px 7px 5px 11px; font-size: .72rem;
}
.is-app .lang-dd--app summary:hover { border-color: rgba(255,255,255,.42); }
.is-app .lang-dd--app[open] summary { background: rgba(255,255,255,.2); box-shadow: none; }
.is-app .lang-dd--app .lang-dd-caret { color: rgba(255,255,255,.8); }
.is-app .lang-dd--app .lang-dd-menu { top: calc(100% + 7px); }

/* ---- sleep-timer popover + toast ---- */
.sleep-menu {
  position: absolute; bottom: calc(100% + 8px); right: 10px; z-index: 70;
  background: linear-gradient(180deg, #1a3058, #0c182c);
  border: 1px solid rgba(255,255,255,.10); border-radius: 14px; padding: 12px;
  box-shadow: 0 -14px 40px rgba(0,0,0,.42); min-width: 190px;
}
.sleep-menu-title {
  color: #aebccb; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 9px;
}
.sleep-menu-opts { display: flex; flex-direction: column; gap: 6px; }
.sleep-menu-opts button {
  text-align: left; background: rgba(255,255,255,.06); color: #fff; border: 0; cursor: pointer;
  border-radius: 10px; padding: 10px 13px; font-size: 14px; font-weight: 600; font-family: inherit;
}
.sleep-menu-opts button.is-active { background: var(--red-600, #e2545c); }
.sleep-menu-opts .sleep-off { color: #ffb3ad; background: transparent; }

.vf-toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(6px);
  bottom: calc(134px + env(safe-area-inset-bottom, 0px));
  background: rgba(12,24,44,.96); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 120; opacity: 0; pointer-events: none;
  border: 1px solid rgba(255,255,255,.12); transition: opacity .2s, transform .2s;
}
.vf-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Footer: mobile apps ---- */
.footer-apps{
  display:flex; align-items:center; justify-content:space-between; gap:var(--s-5); flex-wrap:wrap;
  margin-top:var(--s-6); padding:var(--s-5) var(--s-6);
  border-radius:var(--r-lg); color:#fff;
  background:linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, #24408a 100%);
  box-shadow:0 24px 55px -26px rgba(31,57,103,.65);
  position:relative; overflow:hidden;
}
.footer-apps::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 160% at 88% -20%, rgba(193,18,31,.28), transparent 45%); }
.footer-apps-text{ position:relative; z-index:1; }
.footer-apps-kicker{ display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-head); font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:#aebcd4; }
.footer-apps-kicker em{ font-style:normal; background:var(--red-600); color:#fff;
  padding:2px 9px; border-radius:var(--r-pill); font-size:.66rem; letter-spacing:.08em; }
.footer-apps-eq{ display:inline-flex; align-items:flex-end; gap:2px; height:14px; }
.footer-apps-eq span{ width:3px; height:100%; border-radius:3px; background:#fff; opacity:.55;
  transform:scaleY(.4); transform-origin:bottom; animation:eq 1.1s ease-in-out infinite; }
.footer-apps-eq span:nth-child(3n){ background:var(--red-500); opacity:.95; }
.footer-apps-eq span:nth-child(2){ animation-delay:-.25s } .footer-apps-eq span:nth-child(3){ animation-delay:-.5s } .footer-apps-eq span:nth-child(4){ animation-delay:-.35s }
.footer-apps-title{ font-family:var(--font-head); font-weight:800; font-size:1.18rem; margin-top:8px; color:#fff; }
.footer-apps-note{ color:#aebcd4; font-size:.86rem; margin-top:4px; }
.footer-apps-badges{ display:flex; gap:var(--s-3); flex-wrap:wrap; position:relative; z-index:1; }
.store-badge{ display:inline-flex; align-items:center; gap:11px; padding:9px 17px 9px 15px;
  border-radius:14px; background:#0b1220; color:#fff; text-decoration:none;
  border:1px solid rgba(255,255,255,.14); transition:transform var(--dur), background var(--dur), border-color var(--dur); }
.store-badge:hover{ transform:translateY(-2px); background:#000; border-color:rgba(255,255,255,.28); }
.store-badge svg{ width:25px; height:25px; flex:0 0 auto; }
.store-badge .sb-txt{ display:flex; flex-direction:column; line-height:1.12; }
.store-badge .sb-top{ font-size:.6rem; letter-spacing:.03em; color:#c6cee0; text-transform:uppercase; }
.store-badge .sb-name{ font-family:var(--font-head); font-weight:700; font-size:1.04rem; color:#fff; }
@media (max-width:720px){
  .footer-apps{ flex-direction:column; align-items:flex-start; gap:var(--s-4); }
  .footer-apps-badges{ width:100%; }
  .store-badge{ flex:1 1 0; justify-content:center; }
}

/* footer app badge — "coming soon" (non-interactive) */
.store-badge.soon{ cursor:default; opacity:.6; background:#0b1220; }
.store-badge.soon:hover{ transform:none; background:#0b1220; border-color:rgba(255,255,255,.14); }

/* page-transition progress bar (app feel) */
.vf-nav-progress{ position:fixed; top:0; left:0; height:3px; width:0; z-index:250;
  background:linear-gradient(90deg,var(--red-600),#ff6a5e); box-shadow:0 0 10px rgba(193,18,31,.55);
  opacity:0; pointer-events:none; border-radius:0 3px 3px 0; transition:opacity .15s; }
.vf-nav-progress.is-on{ opacity:1; width:80%; transition:width 1.4s cubic-bezier(.15,.85,.25,1), opacity .15s; }
.vf-nav-progress.is-on.is-done{ width:100%; opacity:0; transition:width .2s ease, opacity .3s ease .12s; }
.is-app .vf-nav-progress{ top:calc(48px + env(safe-area-inset-top,0px)); }

/* schedule: day pills as a single scrollable row on phones (tidier, app-like) */
@media (max-width: 640px){
  .sched-tabs{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
    padding:2px 2px 6px; margin:0 -2px; scroll-snap-type:x proximity; }
  .sched-tabs::-webkit-scrollbar{ display:none; }
  .sched-tab{ flex:0 0 auto; scroll-snap-align:start; }
}

/* ============================================================
   APP MODE — tighter, app-like density on every page
   ============================================================ */
.is-app .section { padding-block: clamp(16px, 4.5vw, 26px); }
.is-app .section.page-intro { padding-top: 24px; padding-bottom: 8px; }
.is-app .hero-title--page { font-size: clamp(1.6rem, 6.6vw, 2rem); line-height: 1.12; }
.is-app .intro { font-size: 1rem; margin-top: 12px; max-width: none; }
.is-app .prose { font-size: .98rem; line-height: 1.6; max-width: none; }
.is-app .eyebrow { font-size: .72rem; margin-bottom: 10px; }
.is-app .section-head { margin-bottom: 16px; }
.is-app .section-head h2 { font-size: 1.35rem; }
/* prayer / text pages: tighten the big lead paragraphs */
.is-app .mv-lead, .is-app .intro p { font-size: 1rem; line-height: 1.55; }

/* ============================================================
   APP MODE — PREMIUM (brand palette: navy / red / white)
   Depth, soft shadows, refined type — "expensive" light look
   ============================================================ */
:root{
  --app-bg:#eaeef6;                    /* soft navy-tinted canvas (not cold grey) */
  --app-card:#ffffff;
  --app-r:22px;
  --app-shadow:
    0 1px 2px rgba(22,41,74,.045),
    0 10px 26px -14px rgba(22,41,74,.20),
    0 34px 60px -34px rgba(22,41,74,.14);
  --app-line:rgba(22,41,74,.09);
}

/* subtle brand-tinted canvas behind floating cards */
html.is-app, .is-app body, .is-app #main{
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(35,62,152,.07), transparent 60%),
    var(--app-bg);
}

/* --- Large title header: sits directly on the canvas (iOS large title) --- */
.is-app .section.page-intro{
  background:transparent; box-shadow:none; margin:0;
  padding:20px 0 12px;
}
.is-app .section.page-intro > .container{ padding-inline:22px; }
.is-app .page-intro .eyebrow{
  color:var(--red-600); font-weight:800; font-size:.68rem; letter-spacing:.18em; margin-bottom:12px;
}
.is-app .hero-title--page{
  font-size:clamp(1.72rem, 6.6vw, 2.15rem); line-height:1.14;
  letter-spacing:-.021em; font-weight:700; text-transform:none;
}
.is-app .page-intro .intro{
  margin-top:12px; color:var(--ink-soft); font-size:1.02rem; line-height:1.55; max-width:34ch;
}

/* --- Content sections → floating white cards, no border, soft layered shadow --- */
.is-app .section:not(.page-intro):not(.hero){
  background:var(--app-card);
  border:0;
  margin:16px 14px 0;
  border-radius:var(--app-r);
  box-shadow:var(--app-shadow);
  padding-block:24px !important;   /* !important overrides per-page inline padding-top:0 that jams content to the card's edge */
}
.is-app .section:not(.page-intro):not(.hero) > .container{
  padding-inline:18px; max-width:none;
}
.is-app #main > .section:last-of-type{ margin-bottom:8px; }

/* section heading inside a card: refined, not shouty */
.is-app .section-head{ margin-bottom:16px; align-items:center; }
.is-app .section-head h2{ font-size:1.22rem; font-weight:800; letter-spacing:.005em; text-transform:none; color:var(--navy-900); }
.is-app .section .eyebrow{ color:var(--red-600); font-weight:800; letter-spacing:.16em; }
.is-app .link-arrow{ font-size:.9rem; font-weight:700; color:var(--navy-600); }

/* --- PREMIUM CENTREPIECE: "Зараз в ефірі" navy card with depth + glow --- */
.is-app .sched-now{
  border-radius:20px;
  background:
    radial-gradient(120% 130% at 85% -20%, rgba(193,18,31,.34), transparent 46%),
    radial-gradient(90% 120% at 8% 120%, rgba(70,110,220,.32), transparent 50%),
    linear-gradient(150deg, #23407a 0%, #16294a 100%);
  background-color:#16294a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 18px 40px -20px rgba(22,41,74,.55);
  overflow:hidden;
}
.is-app .sched-now::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.10), transparent 70%);
}
.is-app .sched-now-title{ letter-spacing:-.01em; }

/* --- Day pills: refined, active red pill gets a soft lift --- */
.is-app .sched-tabs{ margin-top:16px; gap:8px; }
.is-app .sched-tab{
  border:1px solid var(--app-line); background:#fff; color:var(--navy-800);
  box-shadow:0 1px 2px rgba(22,41,74,.04); transition:background var(--dur), color var(--dur), box-shadow var(--dur);
}
/* active day: clean solid red pill (higher specificity beats the white base above) + tight shadow, no smudge */
.is-app .sched-tab.is-active{
  background:var(--red-600); border-color:var(--red-600); color:#fff;
  box-shadow:0 5px 12px -5px rgba(193,18,31,.5);
}

/* --- Schedule rows: airy, soft navy dividers, elegant time badge --- */
.is-app .schedule.sched-grid{ margin-top:8px; }
.is-app .sched-grid tr{ border-color:var(--app-line) !important; }
.is-app .time-badge{
  background:rgba(22,41,74,.05); border:0; color:var(--navy-800);
  font-weight:800; padding:6px 11px;
}
.is-app .sched-grid tr.is-now .time-badge{ background:var(--red-600); color:#fff; }
.is-app .sched-grid .prog-name{ font-size:1rem; }

/* --- Home: feature blocks as premium list rows with tinted icon chips --- */
.is-app .features{ display:block; gap:0; margin:-4px 0; }
.is-app .feature{
  padding:15px 2px; border-radius:0; align-items:center; gap:14px;
  border-bottom:1px solid var(--app-line);
}
.is-app .feature:last-child{ border-bottom:0; }
.is-app .feature:hover{ background:transparent; }
.is-app .feature-icon{
  flex:0 0 auto; width:44px; height:44px; display:grid; place-items:center;
  border-radius:14px; background:rgba(35,62,152,.08); color:var(--navy-600);
}
.is-app .feature-icon svg{ width:22px; height:22px; }
.is-app .feature h3{ font-size:.95rem; letter-spacing:.02em; }
.is-app .feature p{ font-size:.9rem; max-width:none; color:var(--ink-soft); }

/* --- Podcast cards: premium soft shadow, no border --- */
.is-app .podcasts .cards{ gap:14px; }
.is-app .pcard{
  border:0; border-radius:18px; overflow:hidden;
  box-shadow:0 10px 26px -16px rgba(22,41,74,.42);
}
.is-app .pcard:hover{ transform:none; }
.is-app .pcard-body{ padding:16px; }

/* --- Hero (home): rounded base + subtle depth so it reads as an app header --- */
.is-app .hero{ border-radius:0 0 26px 26px; box-shadow:0 20px 40px -28px rgba(22,41,74,.5); }
/* calmer home hero title (brand colours kept, no shouty caps) */
.is-app .hero-title{ text-transform:none; letter-spacing:-.022em; font-weight:800; line-height:1.08; }
.is-app .hero-sub{ font-size:1.05rem; }

/* --- Empty-state note inside a card: centred, muted, premium --- */
.is-app .stub-note{ color:var(--ink-mute); font-size:.98rem; }

/* ============================================================
   APP MODE — mini-player DOCKED onto the tab bar (one bottom module)
   (replaces the detached floating pill that read as a glitch)
   ============================================================ */
.is-app .radio-bar{
  left:0; right:0; margin:0;
  bottom:calc(58px + env(safe-area-inset-bottom, 0px));   /* flush on top of the tab bar */
  border-radius:18px 18px 0 0;
  transform:none !important;
  background:linear-gradient(180deg, #1b3468 0%, #12233f 100%);
  border-top:0;
  box-shadow:0 -12px 30px -16px rgba(9,18,33,.6);
  z-index:82;
  padding-bottom:0;
}
.is-app .radio-bar-inner{ height:60px; padding-left:14px; padding-right:12px; }
.is-app .radio-bar-play{ width:46px; height:46px; }

/* tab bar: same navy family, connected seam, no floating shadow */
.is-app .appbar{
  background:linear-gradient(180deg, #14284b 0%, #0b1a30 100%);
  border-top:1px solid rgba(255,255,255,.05);
  box-shadow:0 -14px 34px -22px rgba(9,18,33,.5);
}

/* ============================================================
   APP MODE — forms: no card-in-card ("double form" fix)
   ============================================================ */
.is-app .form-wrap{
  background:none; border:0; box-shadow:none; padding:0; border-radius:0; max-width:none; margin:0;
}
.is-app .form-head{ align-items:center; padding-bottom:16px; margin-bottom:20px; gap:14px; }
.is-app .form-head .mv-ic{ width:48px; height:48px; flex:0 0 48px; }
.is-app .form-head .mv-ic svg{ width:24px; height:24px; }
.is-app .form-head h2{ text-transform:none; font-size:1.14rem; line-height:1.25; letter-spacing:.005em; }

/* even, tidy fields: uniform height, centred icon, consistent rhythm */
.is-app .field{ margin-bottom:16px; padding-bottom:0; }
.is-app .field label{ margin-bottom:8px; font-size:.9rem; }
.is-app .input{
  border:1.5px solid var(--app-line); border-radius:14px; background:#fff;
  align-items:center; min-height:54px;
}
.is-app .input svg + .wpcf7-form-control-wrap{ border-left:0; }
.is-app .input svg{ margin:0 12px; align-self:center; }
.is-app .input input{ padding:14px 14px 14px 0; }
.is-app .input--area{ align-items:flex-start; }
.is-app .input--area svg{ margin-top:16px; align-self:flex-start; }
.is-app .input textarea{ padding:14px 14px 14px 0; min-height:120px; }

/* ============================================================
   APP MODE — premium now-playing mini-player
   play (red, pulsing) on the left · live equaliser appears only ON AIR
   ============================================================ */
.is-app .radio-bar-inner{ gap:11px; align-items:center; }

/* prominent play button on the left, with a soft live pulse while on air */
.is-app .radio-bar-play{
  order:1; width:46px; height:46px; flex:0 0 46px;
  box-shadow:0 6px 16px -7px rgba(193,18,31,.65);
}
.is-app .radio-bar.is-playing .radio-bar-play{ animation:vf-livepulse 2.4s ease-in-out infinite; }
@keyframes vf-livepulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(226,84,92,.5), 0 6px 16px -7px rgba(193,18,31,.65); }
  55%{ box-shadow:0 0 0 8px rgba(226,84,92,0), 0 6px 16px -7px rgba(193,18,31,.65); }
}

/* meta (badge + title) */
.is-app .radio-bar-meta{ order:2; }
.is-app .radio-bar-live{
  background:rgba(226,84,92,.18); color:#ffd7d3;
  padding:3px 9px; border-radius:999px; font-size:.6rem; letter-spacing:.1em; font-weight:800;
}
.is-app .radio-bar-live .dot{ background:#ff6a5e; }
.is-app .radio-bar-title{ font-weight:700; font-size:.98rem; color:#fff; }

/* live equaliser — a slim "on air" indicator, shown only while playing */
.is-app .radio-bar-art{ display:none !important; }
.is-app .radio-bar.is-playing .radio-bar-art{
  display:grid !important; place-items:center; order:3;
  width:auto; height:auto; flex:0 0 auto; background:none; box-shadow:none; border-radius:0;
  padding:0 2px;
}
.is-app .radio-bar-eq{ height:20px; gap:2.5px; }
.is-app .radio-bar-eq span{ width:2.5px; border-radius:3px; background:linear-gradient(to top,var(--red-600),#ffd7d3 70%,#fff); }

.is-app .radio-bar-sleep{ order:4; }
.is-app .radio-bar-sched{ order:5; }

/* thin premium top accent on the docked player */
.is-app .radio-bar{ border-top:1px solid rgba(255,255,255,.08); }

/* ============================================================
   APP MODE — "wow" polish: card reveal-on-scroll + live aurora
   ============================================================ */
/* Cards ease in as they enter the viewport (JS adds .vf-reveal, then .vf-in).
   Gated on no-preference so reduced-motion users never see a hidden card. */
@media (prefers-reduced-motion: no-preference){
  .is-app .section.vf-reveal{ opacity:0; transform:translateY(18px); will-change:opacity, transform; }
  .is-app .section.vf-reveal.vf-in{
    opacity:1; transform:none;
    transition:opacity .5s ease, transform .6s cubic-bezier(.16,.84,.3,1);
  }
}

/* Living "aurora" behind the Зараз-в-ефірі card — a slow, breathing glow */
.is-app .sched-now > *{ position:relative; z-index:1; }
.is-app .sched-now::before{
  content:""; position:absolute; inset:-45%; z-index:0; pointer-events:none;
  background:
    radial-gradient(38% 46% at 28% 32%, rgba(74,124,240,.32), transparent 62%),
    radial-gradient(34% 42% at 74% 70%, rgba(193,18,31,.30), transparent 62%),
    radial-gradient(30% 30% at 60% 12%, rgba(120,160,255,.20), transparent 60%);
}
@media (prefers-reduced-motion: no-preference){
  .is-app .sched-now::before{ animation:vf-aurora 16s ease-in-out infinite alternate; }
}
@keyframes vf-aurora{
  0%{   transform:translate3d(-4%,-3%,0) rotate(0deg)  scale(1.06); }
  50%{  transform:translate3d(5%,3%,0)   rotate(9deg)  scale(1.16); }
  100%{ transform:translate3d(-2%,4%,0)  rotate(-6deg) scale(1.10); }
}

/* ============================================================
   FULL-SCREEN NOW-PLAYING SHEET (app mode)
   ============================================================ */
.vf-now{ display:none; }
.is-app .vf-now{
  display:block; position:fixed; inset:0; z-index:400;
  background:linear-gradient(175deg,#20386a 0%,#16294a 40%,#0c182e 100%);
  background-color:#122340;
  transform:translateY(100%); opacity:0; visibility:hidden;
  transition:transform .42s cubic-bezier(.22,.8,.28,1), opacity .3s ease, visibility 0s .42s;
  -webkit-tap-highlight-color:transparent; overscroll-behavior:contain; touch-action:none;
}
.is-app .vf-now.is-open{ transform:none; opacity:1; visibility:visible; transition:transform .46s cubic-bezier(.22,.9,.28,1), opacity .3s ease; }
html.vf-now-lock, .vf-now-lock body{ overflow:hidden; }

/* living aurora behind everything */
.vf-now-aura{ position:absolute; inset:-20%; pointer-events:none; z-index:0;
  background:
    radial-gradient(40% 34% at 26% 22%, rgba(74,124,240,.34), transparent 60%),
    radial-gradient(42% 38% at 78% 30%, rgba(193,18,31,.30), transparent 60%),
    radial-gradient(46% 40% at 50% 96%, rgba(90,140,255,.22), transparent 60%);
}
@media (prefers-reduced-motion:no-preference){ .vf-now-aura{ animation:vf-aurora 18s ease-in-out infinite alternate; } }

.vf-now-inner{
  position:relative; z-index:1; height:100%;
  display:flex; flex-direction:column; align-items:center;
  padding:calc(10px + env(safe-area-inset-top)) 24px calc(22px + env(safe-area-inset-bottom));
  color:#fff;
}

/* top row */
.vf-now-top{ width:100%; display:flex; align-items:center; justify-content:space-between; }
.vf-now-close, .vf-now-share{
  width:44px; height:44px; display:grid; place-items:center; border:0; cursor:pointer;
  background:rgba(255,255,255,.08); border-radius:50%; color:#fff;
}
.vf-now-close svg{ width:26px; height:26px; } .vf-now-share svg{ width:21px; height:21px; }
.vf-now-close:active, .vf-now-share:active{ transform:scale(.92); }
.vf-now-kicker{ font-family:var(--font-head); font-weight:800; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:#aebcd4; }

/* disc + equaliser "artwork" */
.vf-now-stage{ flex:1 1 auto; display:grid; place-items:center; width:100%; min-height:0; }
.vf-now-disc{
  position:relative; width:min(66vw,270px); aspect-ratio:1; border-radius:30px;
  background:linear-gradient(150deg,#2a4a86,#0f1e3a);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10), inset 0 30px 60px rgba(0,0,0,.35),
             0 40px 80px -30px rgba(0,0,0,.7), 0 0 60px -10px rgba(74,124,240,.4);
  display:grid; place-items:center; overflow:hidden;
}
.vf-now-disc::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  box-shadow:inset 0 0 40px 6px rgba(120,160,255,.10); }
.radio-playing .vf-now-disc{ animation:vf-discglow 3.4s ease-in-out infinite; }
@keyframes vf-discglow{ 0%,100%{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.10), inset 0 30px 60px rgba(0,0,0,.35), 0 40px 80px -30px rgba(0,0,0,.7), 0 0 55px -12px rgba(74,124,240,.35);} 50%{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.14), inset 0 30px 60px rgba(0,0,0,.35), 0 40px 90px -28px rgba(0,0,0,.75), 0 0 80px -6px rgba(226,84,92,.45);} }

.vf-now-eq{ display:flex; align-items:flex-end; gap:6px; height:44%; }
.vf-now-eq span{ width:8px; height:100%; border-radius:6px; transform-origin:bottom; opacity:.9;
  background:linear-gradient(to top,var(--red-600),#ff8a80 55%,#fff); transition:transform .3s var(--ease); }
/* frozen "waveform" when paused (each bar a different rest height) */
.vf-now-eq span:nth-child(1){ transform:scaleY(.34); } .vf-now-eq span:nth-child(2){ transform:scaleY(.62); }
.vf-now-eq span:nth-child(3){ transform:scaleY(.46); } .vf-now-eq span:nth-child(4){ transform:scaleY(.86); }
.vf-now-eq span:nth-child(5){ transform:scaleY(1);   } .vf-now-eq span:nth-child(6){ transform:scaleY(.8); }
.vf-now-eq span:nth-child(7){ transform:scaleY(.5);  } .vf-now-eq span:nth-child(8){ transform:scaleY(.64); }
.vf-now-eq span:nth-child(9){ transform:scaleY(.38); }
.radio-playing .vf-now-eq span{ animation:eqA 1s ease-in-out infinite; opacity:1; }
.radio-playing .vf-now-eq span:nth-child(3n+2){ animation-name:eqB; } .radio-playing .vf-now-eq span:nth-child(3n){ animation-name:eqC; }
.radio-playing .vf-now-eq span:nth-child(1){ animation-duration:.92s; animation-delay:-.20s; }
.radio-playing .vf-now-eq span:nth-child(2){ animation-duration:1.18s; animation-delay:-.55s; }
.radio-playing .vf-now-eq span:nth-child(3){ animation-duration:.82s; animation-delay:-.10s; }
.radio-playing .vf-now-eq span:nth-child(4){ animation-duration:1.30s; animation-delay:-.42s; }
.radio-playing .vf-now-eq span:nth-child(5){ animation-duration:.74s; animation-delay:-.66s; }
.radio-playing .vf-now-eq span:nth-child(6){ animation-duration:1.06s; animation-delay:-.15s; }
.radio-playing .vf-now-eq span:nth-child(7){ animation-duration:.88s; animation-delay:-.48s; }
.radio-playing .vf-now-eq span:nth-child(8){ animation-duration:1.22s; animation-delay:-.30s; }
.radio-playing .vf-now-eq span:nth-child(9){ animation-duration:.80s; animation-delay:-.60s; }

/* meta */
.vf-now-meta{ text-align:center; width:100%; margin-top:26px; }
.vf-now-live{ display:inline-flex; align-items:center; gap:7px; font-family:var(--font-head); font-weight:800;
  font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:#ffd7d3;
  background:rgba(226,84,92,.18); padding:5px 12px; border-radius:999px; }
.vf-now-live .dot{ width:7px; height:7px; border-radius:50%; background:#ff5a5f; animation:vf-blink 1.4s infinite; }
.vf-now-title{ font-family:var(--font-head); font-weight:800; font-size:clamp(1.5rem,6vw,2rem); line-height:1.15; margin:14px 0 0; color:#fff; }
.vf-now-rubric{ display:inline-block; margin-top:10px; font-family:var(--font-head); font-weight:700; font-size:.7rem;
  letter-spacing:.08em; text-transform:uppercase; color:#fff; background:rgba(255,255,255,.14); padding:4px 12px; border-radius:999px; }
.vf-now-rubric:empty{ display:none; }

/* progress + next */
.vf-now-track{ width:100%; max-width:520px; height:6px; border-radius:999px; background:rgba(255,255,255,.16); margin:24px 0 0; overflow:hidden; }
.vf-now-track i{ display:block; height:100%; width:0; border-radius:999px; background:linear-gradient(90deg,#ff5a5f,#ffd9dc); transition:width 1s linear; }
.vf-now-next{ margin-top:12px; font-size:.9rem; color:rgba(255,255,255,.8); text-align:center; min-height:1.1em; }
.vf-now-next:empty{ min-height:0; } .vf-now-next b{ color:#fff; }

/* big play */
.vf-now-play{ margin-top:24px; width:78px; height:78px; border-radius:50%; border:0; cursor:pointer;
  background:var(--red-600); color:#fff; display:grid; place-items:center;
  box-shadow:0 18px 40px -14px rgba(193,18,31,.75); transition:transform .15s ease; }
.vf-now-play:active{ transform:scale(.94); }
.vf-now-play svg{ width:34px; height:34px; grid-area:1/1; }
.vf-now-play .i-play{ margin-left:3px; }
.vf-now-play .i-pause, .vf-now-play .i-load{ display:none; }
.radio-playing .vf-now-play .i-play{ display:none; } .radio-playing .vf-now-play .i-pause{ display:block; }
.radio-loading .vf-now-play .i-play, .radio-loading .vf-now-play .i-pause{ display:none; }
.radio-loading .vf-now-play .i-load{ display:block; animation:vf-spin .9s linear infinite; }
@keyframes vf-spin{ to{ transform:rotate(360deg);} }

/* secondary controls */
.vf-now-ctrls{ display:flex; gap:12px; margin-top:22px; }
.vf-now-ctrl{ position:relative; display:inline-flex; align-items:center; gap:9px; text-decoration:none; cursor:pointer;
  background:rgba(255,255,255,.08); border:0; color:#eaf0fb; border-radius:14px; padding:11px 16px;
  font-family:var(--font-head); font-weight:700; font-size:.9rem; }
.vf-now-ctrl svg{ width:19px; height:19px; }
.vf-now-ctrl:active{ transform:scale(.96); }
.vf-now-ctrl.is-on{ background:rgba(226,84,92,.22); color:#ffd7d3; }
.vf-now-ctrl-badge{ min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:var(--red-600); color:#fff;
  font-size:11px; font-weight:800; line-height:18px; text-align:center; }

.vf-now-sleepopts{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
.vf-now-sleepopts[hidden]{ display:none; }
.vf-now-sleepopts button{ background:rgba(255,255,255,.08); color:#fff; border:0; cursor:pointer;
  border-radius:11px; padding:9px 14px; font-family:var(--font-head); font-weight:700; font-size:.86rem; }
.vf-now-sleepopts button.is-active{ background:var(--red-600); }
.vf-now-sleepopts .sleep-off{ color:#ffb3ad; background:transparent; }

/* the mini-player meta becomes tappable → opens the full screen */
.is-app .radio-bar-art, .is-app .radio-bar-meta{ cursor:pointer; }
