/* ==========================================================
   Pure Worship Radio — public site styles
   Brand: red #e45753 · blue #5073b4 · sky #2bade5
   ========================================================== */
:root {
  --red: #e45753;
  --blue: #5073b4;
  --sky: #2bade5;
  --navy: #1d2b4a;
  --ink: #23272f;
  --muted: #6b7280;
  --line: #e6e8ee;
  --bg: #f5f7fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 43, 74, .08);
  --shadow-lg: 0 18px 50px rgba(29, 43, 74, .16);
  --grad: linear-gradient(135deg, var(--blue), var(--sky));
  --grad-warm: linear-gradient(135deg, var(--red), var(--blue));
  --font-h: 'Montserrat', system-ui, sans-serif;
  --font-b: 'Open Sans', system-ui, sans-serif;
  --player-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-b); color: var(--ink); background: var(--white); line-height: 1.6; padding-bottom: var(--player-h); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 { font-family: var(--font-h); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-h); font-weight: 700; font-size: .95rem; padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; text-transform: none; line-height: 1; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.btn-sm { padding: .6em 1.2em; font-size: .82rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1.05rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #d1433f; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #3f5f9c; color: #fff; }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: #1797cf; color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--red); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.link-arrow { font-family: var(--font-h); font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8em; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 14px rgba(29,43,74,.06); }
.header-top { background: var(--navy); color: #fff; font-size: .85rem; }
.header-top-inner { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-height: 44px; }
.util-nav { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.util-nav a { color: #dbe4f7; font-family: var(--font-h); font-weight: 600; }
.util-nav a:hover { color: #fff; }
.util-nav .fa-chevron-down { font-size: .65em; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.lang-switch a { padding: 2px 9px; border-radius: 999px; color: #dbe4f7; font-family: var(--font-h); font-weight: 700; font-size: .75rem; letter-spacing: .04em; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: #fff; color: var(--navy); }
.main-nav .lang-item .lang-switch { margin: 12px 0 4px; background: rgba(80,115,180,.12); }
.main-nav .lang-item .lang-switch a { display: inline-block; padding: 6px 16px; color: var(--ink); font-size: .9rem; border: 0; }
.main-nav .lang-item .lang-switch a.active { background: var(--blue, #5073b4); color: #fff; }
.has-sub { position: relative; }
.has-sub .sub { position: absolute; top: 100%; left: -12px; background: #fff; list-style: none; padding: 8px 0; margin: 0; min-width: 190px; border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 5; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub .sub a { display: block; padding: 8px 18px; color: var(--ink); }
.has-sub .sub a:hover { background: var(--bg); color: var(--red); }
.search-form { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.search-form input { background: transparent; border: 0; color: #fff; padding: 6px 14px; width: 230px; font: inherit; outline: none; }
.search-form input::placeholder { color: #aab7d3; }
.search-form button { background: none; border: 0; color: #fff; padding: 6px 14px; cursor: pointer; }

.header-main-inner { display: flex; align-items: center; gap: 30px; min-height: 84px; }
.logo img { height: 62px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: block; padding: 28px 16px; font-family: var(--font-h); font-weight: 700; font-size: 1.02rem; color: var(--navy); position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); }
.main-nav .fa-chevron-down { font-size: .65em; margin-left: 2px; }
.has-mega { position: relative; }
.mega { position: absolute; top: 100%; left: 0; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 26px; display: flex; gap: 40px; min-width: 560px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; border-top: 3px solid var(--red); }
.mega-sm { min-width: 260px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.mega-col h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mega-col a { color: var(--ink); padding: 6px 0; font-weight: 600; }
.mega-col a:hover { color: var(--red); }
.mega-col a i { color: var(--sky); width: 20px; }
.btn-listen { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-only { display: none; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--bg); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--font-h); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 50px; background: linear-gradient(180deg, var(--bg), #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: stretch; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 500px; box-shadow: var(--shadow-lg); background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: flex-end; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,40,.85) 0%, rgba(14,22,40,.35) 45%, rgba(14,22,40,0) 75%); }
.slide-content { position: relative; z-index: 2; padding: 48px; max-width: 720px; color: #fff; }
.slide-content h1, .slide-content h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: .35em; }
.slide-content p { font-size: 1.1rem; opacity: .92; }
.slider-dots { position: absolute; right: 26px; bottom: 26px; z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; padding: 0; }
.slider-dots button.active { width: 34px; background: var(--red); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: .2s; }
.slider-arrow:hover { background: var(--red); }
.slider-arrow.prev { left: 18px; } .slider-arrow.next { right: 18px; }

/* On-air card */
.onair { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.onair-top { position: relative; padding: 22px; color: #fff; background: var(--grad); }
.onair-top .eyebrow { color: #fff; opacity: .85; }
.onair-prog { display: flex; gap: 16px; align-items: center; }
.onair-prog img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.25); flex-shrink: 0; }
.onair-prog img.is-logo { object-fit: contain; padding: 10px; }
.onair-prog h3 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; }
.onair-prog h3 a { color: #fff; }
.onair-prog p { margin: 0; opacity: .9; font-size: .92rem; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-family: var(--font-h); font-weight: 800; font-size: .7rem; letter-spacing: .1em; padding: 4px 10px; border-radius: 99px; }
.live-badge .dot, .player-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.onair-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.onair-song { margin-top: 14px; font-size: .88rem; background: rgba(255,255,255,.15); border-radius: 10px; padding: 8px 12px; display: flex; gap: 8px; align-items: center; }
.onair-song i { color: #fff; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; padding: 14px 10px; font-family: var(--font-h); font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; font-size: .9rem; }
.tabs button.active { color: var(--navy); border-color: var(--red); }
.tab-panel { padding: 8px 22px 18px; flex: 1; display: none; }
.tab-panel.active { display: block; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mini-list li:last-child { border: 0; }
.mini-list img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mini-list .time { font-family: var(--font-h); font-size: .72rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.mini-list strong { display: block; font-family: var(--font-h); color: var(--navy); font-size: .92rem; line-height: 1.3; }
.mini-list small { color: var(--muted); }
.mini-list .play-sm { margin-left: auto; }
.play-sm { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sky); color: #fff; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.play-sm:hover { background: var(--red); transform: scale(1.08); }
.onair-foot { padding: 0 22px 20px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .2s; }
.carousel-nav button:hover { border-color: var(--red); background: var(--red); color: #fff; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: inherit; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--grad); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img.square { aspect-ratio: 1; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.card-body .link-arrow { margin-top: auto; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--navy); font-family: var(--font-h); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.tag-listen { background: var(--sky); color: #fff; }
.tag-watch { background: var(--red); color: #fff; }
.tag-study { background: var(--blue); color: #fff; }
.tag-pray { background: var(--navy); color: #fff; }
.card-play { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; box-shadow: 0 6px 14px rgba(0,0,0,.25); transition: .2s; font-size: 1rem; }
.card-play:hover { transform: scale(1.1); background: var(--sky); }
.card-meta { font-size: .8rem; color: var(--muted); font-family: var(--font-h); font-weight: 600; margin-bottom: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature (promo) */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.feature-body { padding: 50px; display: flex; flex-direction: column; justify-content: center; }

/* Filter tabs */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button, .filters a { border: 2px solid var(--line); background: #fff; color: var(--navy); font-family: var(--font-h); font-weight: 700; font-size: .88rem; padding: 8px 18px; border-radius: 99px; cursor: pointer; transition: .2s; }
.filters button:hover, .filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters .active { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.latest-item.is-hidden { display: none; }

/* Verse */
.verse { display: grid; grid-template-columns: 420px 1fr; gap: 0; background: var(--navy); border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); }
.verse-img { position: relative; background: var(--grad); min-height: 320px; }
.verse-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.verse-img .ref-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 800; font-size: 2rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.35); text-align: center; padding: 20px; }
.verse-body { padding: 50px; position: relative; }
.verse-body::before { content: "\201C"; position: absolute; top: -10px; right: 40px; font-size: 12rem; font-family: Georgia, serif; color: rgba(255,255,255,.07); line-height: 1; }
.verse-body .eyebrow { color: var(--sky); }
.verse-body h3 { color: #fff; font-size: 1.6rem; }
.verse-body blockquote { margin: 0 0 26px; font-size: 1.2rem; line-height: 1.7; font-style: italic; opacity: .95; }
.verse-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Program cards */
.program-card { text-align: center; padding: 34px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; align-items: center; height: 100%; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--sky); }
.program-card h3 { margin-bottom: 4px; }
.program-card .host { color: var(--muted); margin-bottom: 16px; }
.program-card .btn { margin-top: auto; }

/* Donate banner */
.donate-banner { position: relative; border-radius: var(--radius); overflow: hidden; padding: 70px 50px; color: #fff; background: var(--grad-warm); text-align: center; }
.donate-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.donate-banner > * { position: relative; }
.donate-banner h2 { color: #fff; max-width: 760px; margin: 0 auto 24px; }

/* Page hero */
.page-hero { background: var(--grad); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.page-hero.warm { background: var(--grad-warm); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: 10px 0 0; opacity: .9; max-width: 700px; font-size: 1.08rem; }
.breadcrumbs { font-size: .85rem; margin-bottom: 10px; opacity: .85; }
.breadcrumbs a { color: #fff; }

/* Content */
.prose { max-width: 780px; font-size: 1.06rem; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose blockquote { border-left: 4px solid var(--red); margin: 1.5em 0; padding: .5em 1.2em; background: var(--bg); border-radius: 0 10px 10px 0; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; }
.sidebar .widget { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar .widget h4 { font-size: 1rem; }
.share { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--navy); }
.share a:hover { background: var(--blue); color: #fff; }

/* Episodes list */
.episode { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; transition: .2s; }
.episode:hover { box-shadow: var(--shadow-lg); }
.episode img { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; }
.episode h3 { margin-bottom: 6px; font-size: 1.12rem; }
.episode h3 a { color: var(--navy); }
.episode h3 a:hover { color: var(--red); }
.episode p { margin: 0; color: var(--muted); font-size: .93rem; }
.episode .play-lg { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.2rem; cursor: pointer; transition: .2s; box-shadow: 0 8px 18px rgba(228,87,83,.35); }
.episode .play-lg:hover { transform: scale(1.08); background: var(--blue); }
.podcast-head { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; }
.podcast-head img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.podcast-head h1 { color: #fff; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 2px solid var(--line); font-family: var(--font-h); font-weight: 700; color: var(--navy); padding: 0 10px; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Schedule */
.day-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.day-tabs button { border: 2px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 10px; font-family: var(--font-h); font-weight: 700; color: var(--navy); cursor: pointer; }
.day-tabs button.active { background: var(--red); border-color: var(--red); color: #fff; }
.day-panel { display: none; }
.day-panel.active { display: block; }
.sched-row { display: grid; grid-template-columns: 170px 70px 1fr auto; gap: 20px; align-items: center; padding: 16px 20px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; border-left: 5px solid transparent; }
.sched-row.now { border-left-color: var(--red); }
.sched-row .t { font-family: var(--font-h); font-weight: 700; color: var(--blue); }
.sched-row img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.sched-row h4 { margin: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-family: var(--font-h); font-weight: 600; font-size: .9rem; color: var(--navy); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { width: 100%; margin-top: 6px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: #fff; transition: border-color .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--sky); }
.form textarea { min-height: 150px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e8f7ee; color: #1c7a43; }
.alert-error { background: #fde8e7; color: #b3302c; }
.box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
/* Donate */
.donate-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.donate-form legend { font-family: var(--font-h); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.seg, .amounts { display: grid; gap: 12px; }
.seg { grid-template-columns: 1fr 1fr; }
.amounts { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); margin-bottom: 14px; }
.seg input, .amounts input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .amounts span { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 10px; border: 2px solid var(--line); border-radius: 10px; font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: var(--navy); cursor: pointer; transition: .2s; }
.seg label:hover span, .amounts label:hover span { border-color: var(--sky); }
.seg input:checked + span, .amounts input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.seg input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.donate-note { color: var(--muted); font-size: .88rem; margin: 0; }
.subscribe-box { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.subscribe-box h2 { color: #fff; }
.subscribe-form { display: flex; gap: 10px; background: #fff; padding: 6px; border-radius: 999px; }
.subscribe-form input { flex: 1; border: 0; padding: 0 18px; font: inherit; border-radius: 999px; outline: none; min-width: 0; }
.icon-box { text-align: center; padding: 34px 24px; }
.icon-box .ic { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; background: var(--grad); }
.icon-box:nth-child(3n+2) .ic { background: var(--grad-warm); }
.icon-box:nth-child(3n) .ic { background: linear-gradient(135deg, var(--sky), var(--red)); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty i { font-size: 2.6rem; color: var(--line); margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9d3ea; padding: 60px 0 30px; position: relative; }
.footer-top { display: flex; gap: 50px; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-logo img { height: 90px; width: auto; background: #fff; border-radius: 14px; padding: 8px 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 24px; }
.footer-links a { color: #c9d3ea; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 0; flex-wrap: wrap; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.social a:hover { background: var(--red); }
.site-footer address { font-style: normal; text-align: center; }
.site-footer address a { color: #fff; }
.copyright { text-align: center; font-size: .85rem; margin: 0; opacity: .7; }
.scroll-top { position: fixed; right: 20px; bottom: calc(var(--player-h) + 20px); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { color: #fff; background: var(--blue); }

/* ---------- Player (bottom bar + expanded panel) ---------- */
.player { --pp-bg: #16203a; position: fixed; inset: auto 0 0 0; z-index: 300; font-family: var(--font-h); color: #fff; }
.player .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1.4s infinite; }
.player input[type=range] { accent-color: #fff; cursor: pointer; }
.tap-listen { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px); transform: translateX(-50%); z-index: 299; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--grad-warm); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 1rem; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 10px 30px rgba(13,20,40,.35); cursor: pointer; animation: tapPulse 2s ease-in-out infinite; }
.tap-listen[hidden] { display: none; }
.tap-listen:hover, .tap-listen:focus-visible { filter: brightness(1.08); }
@keyframes tapPulse { 0%,100% { box-shadow: 0 10px 30px rgba(13,20,40,.35), 0 0 0 0 rgba(228,87,83,.55); } 50% { box-shadow: 0 10px 30px rgba(13,20,40,.35), 0 0 0 14px rgba(228,87,83,0); } }
@media (prefers-reduced-motion: reduce) { .tap-listen { animation: none; } }
.player.loading .pb-play i, .player.loading .pp-play i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bar */
.player-bar { height: var(--player-h); background: #0d1428; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 3px solid; border-image: linear-gradient(90deg, var(--red), var(--blue), var(--sky)) 1; position: relative; z-index: 2; }
.pb-clock { padding: 0 26px; height: 100%; display: flex; align-items: center; gap: 6px; border-right: 1px solid rgba(255,255,255,.12); width: max-content; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pb-clock strong { font-size: 1.15rem; letter-spacing: 0; }
.pb-sep { opacity: .5; margin: 0 6px; }
.pb-center { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 560px; }
.pb-chevron, .pb-icon { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; font-size: .95rem; opacity: .85; transition: .2s; }
.pb-chevron:hover, .pb-icon:hover { opacity: 1; color: var(--sky); }
.pb-now { display: flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; cursor: pointer; min-width: 0; text-align: left; font: inherit; padding: 0; }
.pb-art { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; flex-shrink: 0; border: 2px solid rgba(255,255,255,.15); }
.pb-art.is-logo { object-fit: contain; padding: 4px; }
.pb-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pb-meta small { font-size: .72rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-meta strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.pb-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border-radius: 99px; padding: 4px 10px; font-size: .66rem; font-weight: 800; letter-spacing: .1em; flex-shrink: 0; }
.pb-badge.podcast { background: var(--sky); }
.pb-badge.podcast .dot { display: none; }
.pb-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; flex-shrink: 0; transition: .2s; }
.pb-play:hover, .player.is-on .pb-play { background: var(--red); }
.pb-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-right: 14px; }
.pb-donate { background: #fff; color: var(--navy); font-weight: 700; font-size: .82rem; padding: 9px 18px; border-radius: 8px; display: inline-flex; gap: 8px; align-items: center; }
.pb-donate:hover { background: var(--red); color: #fff; }
.pb-expand { border-left: 1px solid rgba(255,255,255,.12); padding: 0 22px; height: var(--player-h); font-size: 1.1rem; }
.pb-expand i, .pb-chevron i { transition: transform .3s; }
.panel-open .pb-expand i, .panel-open .pb-chevron i { transform: rotate(180deg); }

/* Panel */
.player-panel { position: fixed; inset: 0 0 var(--player-h) 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; background: radial-gradient(circle at 20% 30%, rgba(80,115,180,.55), transparent 55%), linear-gradient(135deg, #1d2b4a 0%, #24386a 55%, #1d2b4a 100%); transform: translateY(100%); visibility: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; z-index: 1; overflow: hidden; }
.panel-open .player-panel { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.pp-close { position: absolute; top: 14px; left: 16px; z-index: 3; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; transition: .2s; }
.pp-close:hover { background: rgba(255,255,255,.1); }
.pp-main { display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(24px, 8vw, 100px) 30px; overflow-y: auto; }
.pp-now { display: flex; gap: 26px; align-items: center; max-width: 620px; }
.pp-art { width: 200px; height: 200px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.pp-art.is-logo { object-fit: contain; padding: 18px; }
.pp-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pp-info h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 6px 0 6px; }
.pp-info p { margin: 0; opacity: .85; }
.pp-song { margin-top: 12px !important; font-family: var(--font-b); font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.pp-song i { color: var(--sky); }
.pp-progress { max-width: 620px; margin-top: 30px; }
.pp-progress input { width: 100%; height: 3px; display: block; }
.pp-progress input:disabled { cursor: default; }
.pp-times { display: flex; justify-content: space-between; font-size: .75rem; opacity: .75; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pp-controls { max-width: 620px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 14px; }
.pp-vol { display: flex; align-items: center; gap: 8px; }
.pp-vol input { width: 110px; }
.pp-icon { background: none; border: 0; color: #fff; cursor: pointer; font-size: 1rem; padding: 4px; }
.pp-buttons { display: flex; align-items: center; gap: 18px; }
.pp-play { width: 64px; height: 64px; border-radius: 50%; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 10px 30px rgba(43,173,229,.45); transition: transform .2s; }
.pp-play:hover { transform: scale(1.07); }
.pp-play .fa-play { margin-left: 4px; }
.pp-skip { position: relative; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; opacity: .85; }
.pp-skip small { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .5rem; font-weight: 800; }
.pp-live { justify-self: end; background: none; border: 0; color: #fff; font: 800 .72rem var(--font-h); letter-spacing: .1em; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 99px; }
.pp-live.off { background: var(--red); }
.pp-live.off .dot { background: #fff; animation: none; }
.pp-live.off::before { content: "GO "; }
.pp-recent { margin-top: 40px; max-width: 760px; }
.pp-recent h3 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.pp-recent-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.pp-recent-item { display: flex; align-items: center; gap: 10px; padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255,255,255,.15); min-width: 0; }
.pp-recent-item:last-child { border: 0; margin: 0; }
.pp-recent-item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.pp-recent-play { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.25); color: #fff; cursor: pointer; flex-shrink: 0; font-size: .75rem; transition: .2s; }
.pp-recent-play:hover { background: var(--red); }
.pp-recent-item div { min-width: 0; line-height: 1.3; }
.pp-date { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; opacity: .75; }
.pp-recent-item a { color: #fff; font-size: .78rem; font-family: var(--font-b); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-recent-item a:hover { color: var(--sky); }

.pp-side { background: rgba(9,14,30,.35); border-left: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; min-height: 0; position: relative; }
.pp-side::before { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 70%; background: linear-gradient(160deg, transparent 40%, rgba(43,173,229,.18) 40%, rgba(80,115,180,.35)); pointer-events: none; }
.pp-side-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.15); position: relative; }
.pp-side-head h3 { color: #fff; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.pp-sched-btn { background: rgba(255,255,255,.12); color: #fff; font-size: .75rem; font-weight: 700; padding: 8px 14px; border-radius: 8px; display: inline-flex; gap: 8px; align-items: center; }
.pp-sched-btn:hover { background: #fff; color: var(--navy); }
.pp-upcoming { list-style: none; margin: 0; padding: 8px 12px; overflow-y: auto; flex: 1; position: relative; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.pp-upcoming li { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; transition: background .2s; }
.pp-upcoming li:hover { background: rgba(255,255,255,.06); }
.pp-upcoming img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #fff; }
.pp-up-info { flex: 1; min-width: 0; line-height: 1.3; }
.pp-up-info strong { display: block; font-size: .85rem; }
.pp-up-info span { font-size: .75rem; opacity: .75; font-family: var(--font-b); }
.pp-up-time { font-size: 1.05rem; font-weight: 800; text-align: right; white-space: nowrap; line-height: 1.1; }
.pp-up-time small { font-size: .55rem; margin-left: 3px; }
.pp-up-time em { display: block; font-style: normal; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.pp-empty { opacity: .7; font-family: var(--font-b); font-size: .9rem; }
.panel-open-body { overflow: hidden; }

/* ---------- Page transitions ---------- */
#app { transition: opacity .2s; }
#app.loading { opacity: .4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .verse { grid-template-columns: 1fr; }
  .search-form input { width: 160px; }
}
@media (max-width: 960px) {
  .header-top { display: none; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .btn-listen { order: 2; }
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 10px 20px calc(var(--player-h) + 30px); transform: translateX(100%); transition: transform .3s; }
  .nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 10px 4px 16px 14px; flex-direction: column; gap: 14px; min-width: 0; display: none; }
  .has-mega.open .mega { display: flex; }
  .mobile-only { display: block; }
  .layout-side { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-body { padding: 34px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .subscribe-box { grid-template-columns: 1fr; }
  .player-panel { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
  .pp-main { overflow: visible; }
  .pp-side { min-height: 420px; }
  .pb-clock { display: none; }
  .player-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .pb-center { padding-left: 14px; }
}
@media (max-width: 680px) {
  :root { --player-h: 70px; }
  .section { padding: 50px 0; }
  .logo img { height: 50px; }
  .btn-listen span { display: none; }
  .btn-listen { padding: .8em; width: 44px; height: 44px; }
  .slider { min-height: 420px; }
  .slide-content { padding: 28px 24px 60px; }
  .slider-arrow { display: none; }
  .carousel-track { grid-auto-columns: 80%; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .episode { grid-template-columns: 70px 1fr; gap: 14px; padding: 14px; }
  .episode img { width: 70px; height: 70px; }
  .episode .play-lg { grid-column: 1 / -1; width: 100%; border-radius: 10px; height: 44px; }
  .podcast-head { grid-template-columns: 1fr; }
  .podcast-head img { max-width: 180px; }
  .sched-row { grid-template-columns: 1fr auto; }
  .sched-row img { display: none; }
  .verse-body, .box, .subscribe-box, .donate-banner { padding: 30px 22px; }
  .pb-donate, #pbFull, .pb-chevron { display: none; }
  .pb-meta strong { max-width: 46vw; }
  .pb-expand { padding: 0 16px; }
  .pp-main { padding: 70px 22px 24px; justify-content: flex-start; }
  .pp-now { flex-direction: column; text-align: center; gap: 16px; }
  .pp-art { width: 170px; height: 170px; }
  .pp-song { justify-content: center; }
  .pp-vol input { width: 70px; }
  .pp-recent-list { grid-template-columns: 1fr; gap: 12px; }
  .pp-recent-item { border: 0; margin: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
