:root {
  --gold: #D6AC5C;
  --gold-soft: rgba(214, 172, 92, 0.28);
  --charcoal: #17181B;
  --deep: #0E0F12;
  --ivory: #F5F1E8;
  --red: #B3121B;
  --red-hover: #8C0E15;
  --slate-text: #3D4149;
  --muted-text: #5A5F69;
  --border: #E6E8EC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HERO: ORBITAL MINISTRY HUB (tdjakes.org architecture)
   ========================================================= */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(ellipse at 50% 44%, #1A3342 0%, #111D28 44%, #0B0D11 100%);
  color: var(--ivory);
  overflow: hidden;
}

/* Atmospheric bokeh layer */
.hero-bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.26;
  background: radial-gradient(circle, #3C7A94 0%, transparent 70%);
}

.orb-1 { width: 420px; height: 420px; top: -60px; left: 8%; }
.orb-2 { width: 360px; height: 360px; top: 18%; right: 10%; background: radial-gradient(circle, #D6AC5C 0%, transparent 72%); opacity: 0.14; }
.orb-3 { width: 320px; height: 320px; bottom: 14%; left: 16%; }
.orb-4 { width: 280px; height: 280px; bottom: 20%; right: 20%; }

@media (prefers-reduced-motion: no-preference) {
  .orb-1 { animation: bokeh-drift 18s ease-in-out infinite alternate; }
  .orb-2 { animation: bokeh-drift 22s ease-in-out infinite alternate-reverse; }
  .orb-3 { animation: bokeh-drift 20s ease-in-out infinite alternate; }
}

@keyframes bokeh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

/* Top minimal brand bar */
.hero-topbar {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  height: 54px;
  width: auto;
}

.topbar-cta {
  background: var(--red);
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.topbar-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* Main orbital stage */
.hub-stage {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 0;
}

.hub-portrait {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 24vw, 360px);
  max-height: 62%;
  height: auto;
  max-width: 78vw;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 18px 46px rgba(0, 0, 0, 0.72));
}

.hub-badges {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hub-badge {
  position: absolute;
  display: block;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.3s ease;
  will-change: transform;
}

.hub-badge:hover,
.hub-badge:focus-visible {
  z-index: 6;
  outline: none;
}

.hub-badge:hover .hub-core,
.hub-badge:focus-visible .hub-core {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 172, 92, 0.25), 0 14px 36px rgba(0, 0, 0, 0.6);
}

.hub-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hub-ring {
    animation: hub-spin 42s linear infinite;
  }
  .hub-badge:nth-child(even) .hub-ring {
    animation-direction: reverse;
    animation-duration: 56s;
  }
  .hub-badge:hover .hub-ring {
    animation-play-state: paused;
  }
}

@keyframes hub-spin {
  to { transform: rotate(360deg); }
}

.hub-core {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 35%, #24384A 0%, #15212D 72%);
  border: 1px solid rgba(214, 172, 92, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hub-title {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-transform: uppercase;
}

.hub-sub {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Bottom Quick-Links Scrim Nav */
.hub-nav {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, rgba(11, 13, 17, 0.72) 0%, rgba(11, 13, 17, 0.94) 100%);
  border-top: 1px solid var(--gold-soft);
  backdrop-filter: blur(8px);
}

.hub-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 48px;
  font-family: Oswald, sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.hub-nav a {
  color: var(--ivory);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.hub-nav a:hover,
.hub-nav a:focus-visible {
  color: var(--gold);
}

.hub-nav a.nav-accent {
  color: var(--gold);
}

/* Bottom Audio Welcome Bar */
.audio-bar {
  position: relative;
  z-index: 4;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.audio-prompt {
  font-family: 'Crimson Text', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ivory);
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.audio-btn:hover,
.audio-btn:focus-visible {
  background: rgba(214, 172, 92, 0.16);
  outline: none;
}

.audio-btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--charcoal);
}

.audio-btn .icon-pause { display: none; }
.audio-btn[aria-pressed="true"] .icon-play { display: none; }
.audio-btn[aria-pressed="true"] .icon-pause { display: block; }

.audio-status {
  font-size: 13px;
  color: #9CA3AF;
}

/* =========================================================
   RESPONSIVE HERO (prevent mid-viewport & mobile collisions)
   ========================================================= */
@media (max-width: 1220px) {
  .hub-badge {
    transform: scale(0.86);
  }
}

@media (max-height: 780px) and (min-width: 961px) {
  .hub-badge {
    transform: scale(0.84);
  }
}

@media (max-width: 960px) {
  .hero {
    height: auto;
    min-height: auto;
  }
  .hero-topbar {
    padding: 14px 18px 0;
  }
  .brand-lockup img {
    height: 36px;
  }
  .hub-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
  }
  .hub-portrait {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 220px;
    height: auto;
    margin: 12px auto 4px;
  }
  .hub-badges {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 560px;
    padding: 20px 18px 28px;
  }
  .hub-badge {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    transform: none !important;
  }
  .hub-nav-inner {
    gap: 8px 24px;
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .hub-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 380px;
  }
}

/* =========================================================
   BELOW-THE-FOLD SECTIONS (from Home.dc.html)
   ========================================================= */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 42px);
  text-transform: uppercase;
  line-height: 1.06;
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-text);
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary,
.btn-dark {
  display: inline-block;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
}

.btn-dark {
  background: var(--charcoal);
}
.btn-dark:hover {
  background: #2A2D34;
}

.btn-ghost {
  color: var(--charcoal);
  text-decoration: none;
  padding: 14px 8px;
  font-weight: 600;
  font-size: 16px;
}
.btn-ghost:hover {
  color: var(--red);
}

/* Book Offer */
.book-section {
  background: #F3F5F8;
  padding: 80px 0;
}

.book-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.book-cover-wrap {
  flex: 0 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.book-cover {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 302 / 425;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 24px 48px rgba(23, 24, 27, 0.22);
}

.cover-toggle-btn {
  background: transparent;
  border: 1px solid #CFD4DC;
  color: var(--charcoal);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cover-toggle-btn:hover {
  border-color: var(--charcoal);
}

.book-copy {
  flex: 999 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-byline {
  margin: 0;
  font-size: 14px;
  color: var(--muted-text);
  font-weight: 500;
}

.author-link {
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.author-link:hover {
  color: var(--red);
}

.price-line {
  margin: 0;
  font-size: 16px;
  color: var(--slate-text);
}

.price-line strong {
  font-family: Oswald, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--charcoal);
}

/* Sermons */
.sermons-section {
  padding: 80px 0;
}

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

.section-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--red);
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sermon-card {
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sermon-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: transform 0.25s ease;
}

.sermon-card:hover .sermon-thumb {
  transform: translateY(-3px);
}

.thumb-charcoal { background: linear-gradient(135deg, #22262E 0%, #111318 100%); }
.thumb-crimson { background: linear-gradient(135deg, #3D171B 0%, #1B0B0D 100%); }
.thumb-slate { background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); }

.sermon-thumb-title {
  font-family: Oswald, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
}

.sermon-duration {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.sermon-name {
  font-size: 18px;
  font-weight: 600;
}

.sermon-meta {
  font-size: 14px;
  color: var(--muted-text);
}

/* Ministries */
.ministries-section {
  background: var(--charcoal);
  color: #FFFFFF;
  padding: 80px 0;
}

.ministries-section .section-title {
  margin-bottom: 32px;
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.ministry-card {
  border: 1px solid #2E3138;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ministry-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.ministry-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #C9CCD2;
}

/* Speaking CTA */
.speaking-section {
  padding: 80px 0;
}

.speaking-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.speaking-crest-card {
  flex: 1 1 360px;
  background: radial-gradient(circle at 50% 45%, #232730 0%, #121419 100%);
  border-radius: 14px;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaking-crest {
  width: min(260px, 70%);
  height: auto;
}

.speaking-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #A9AEB8;
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-crest {
  width: 96px;
  height: auto;
  display: block;
}

.footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col {
  flex: 0 1 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer-heading {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-col a {
  color: #A9AEB8;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-newsletter {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter label {
  font-size: 14px;
}

.newsletter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-row input {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #3D4149;
  background: var(--deep);
  color: #FFFFFF;
  font: inherit;
}

.newsletter-row button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: none;
  background: var(--red);
  color: #FFFFFF;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-row button:hover {
  background: var(--red-hover);
}

.newsletter-feedback {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid #2A2D33;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

/* =========================================================
   MINIMALIST RB-BRANDED VIDEO PLAYER MODAL
   ========================================================= */
.rb-modal[hidden] {
  display: none;
}

.rb-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(12px);
}

.rb-player-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(19, 23, 30, 0.96) 0%, rgba(11, 13, 17, 0.98) 100%);
  border: 1px solid rgba(214, 172, 92, 0.28);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  color: var(--ivory);
}

.rb-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rb-player-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rb-player-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.rb-player-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.rb-player-title {
  margin: 2px 0 0;
  font-family: Oswald, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-player-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.rb-icon-btn:hover,
.rb-icon-btn:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.rb-icon-btn[aria-pressed="true"] {
  background: rgba(214, 172, 92, 0.18);
  border-color: var(--gold);
  color: var(--gold);
}

.rb-player-stage {
  display: grid;
  grid-template-columns: 1fr 310px;
  min-height: 0;
  flex: 1 1 auto;
}

.rb-player-stage.cc-hidden {
  grid-template-columns: 1fr;
}

.rb-player-stage.cc-hidden .rb-transcript-panel {
  display: none;
}

.rb-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.rb-video-frame iframe,
#rb-yt-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rb-video-click-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.rb-video-watermark {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.72;
  z-index: 3;
  pointer-events: none;
  background: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

.rb-live-caption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  max-width: 86%;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(11, 13, 17, 0.78);
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

.rb-live-caption:empty {
  display: none;
}

.rb-transcript-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 17, 0.65);
  min-height: 0;
  max-height: 440px;
}

.rb-transcript-head {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rb-transcript-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rb-cue {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: #B4BAC4;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rb-cue:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ivory);
}

.rb-cue.is-active {
  background: rgba(214, 172, 92, 0.14);
  border-color: rgba(214, 172, 92, 0.35);
  color: var(--ivory);
}

.rb-cue-time {
  font-family: Oswald, sans-serif;
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.rb-controls {
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rb-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rb-time {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #C9CCD2;
  min-width: 42px;
}

.rb-progress-row input[type="range"],
.rb-volume-wrap input[type="range"] {
  accent-color: var(--gold);
  cursor: pointer;
}

#rb-seek {
  flex: 1 1 auto;
  height: 4px;
}

.rb-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rb-controls-left,
.rb-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rb-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.rb-ctrl-btn:hover,
.rb-ctrl-btn:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.rb-ctrl-primary {
  width: 40px;
  padding: 0;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.rb-ctrl-primary:hover {
  background: #E2BD75;
}

.rb-ctrl-primary .rb-ic-pause { display: none; }
.rb-ctrl-primary.is-playing .rb-ic-play { display: none; }
.rb-ctrl-primary.is-playing .rb-ic-pause { display: block; }

.rb-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

#rb-mute .rb-ic-muted { display: none; }
#rb-mute[aria-pressed="true"] .rb-ic-vol { display: none; }
#rb-mute[aria-pressed="true"] .rb-ic-muted { display: block; }

#rb-volume {
  width: 78px;
}

@media (max-width: 860px) {
  .rb-player-stage {
    grid-template-columns: 1fr;
  }
  .rb-transcript-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 180px;
  }
}
