:root {
  --bg-dark: #06231d;
  --bg-gradient: radial-gradient(circle at 80% 20%, #0d4a3e 0%, #051c17 65%, #03110e 100%);
  --bg-light: #f0fdf6;
  --bg-light-card: #dcfce7;
  --text-light: #ecfdf5;
  --text-light-muted: rgba(236, 253, 245, 0.76);
  --text-light-dim: rgba(236, 253, 245, 0.45);
  --text-dark: #0c131f;
  --text-dark-muted: #475569;
  --accent-gold: #2ee59d;
  --accent-secondary: #38bdf8;
  --accent-dark-text: #047857;
  --curtain-gradient: linear-gradient(135deg, #059669 0%, #0d9488 50%, #042f2e 100%);
  --border-dark: rgba(255, 255, 255, 0.16);
  --border-light: rgba(12, 19, 31, 0.12);
  --font-display: 'Manrope', 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Manrope', 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Onest', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-romans: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
}

html {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
  overflow-y: auto;
  transition: background-color 0.6s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Subtle Film Grain */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* =========================================================
   HORIZONTAL LANDSCAPE CURTAIN WIPE TRANSITION
   ========================================================= */
.transition-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9500;
  pointer-events: none;
  overflow: hidden;
}

.curtain-solid-band,
.curtain-layer-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--curtain-gradient);
  clip-path: inset(0 0 0 100%);
  will-change: clip-path;
}

.curtain-layer-primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #08121e;
  clip-path: inset(0 0 0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.curtain-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out-expo);
  filter: saturate(1.25) contrast(1.05);
}

.curtain-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.35) 0%, rgba(6, 12, 24, 0.65) 100%);
  opacity: 0.75;
}

.curtain-content-box {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 32px;
}

.curtain-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(48px);
}

.curtain-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-align: center;
  max-width: 85vw;
  line-height: 1.04;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateX(70px) skewX(-8deg);
}

/* Intro Splash Loader (Horizontal Wipe) */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: linear-gradient(135deg, #062c24 0%, #0b1536 50%, #2e1028 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: clip-path 1.1s var(--ease-romans);
  clip-path: inset(0 0 0 0);
}

.intro-loader.done {
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.intro-logo-wrap {
  width: clamp(135px, 16vw, 178px);
  height: clamp(135px, 16vw, 178px);
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  padding: 6px;
  margin-bottom: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 42px rgba(195, 150, 31, 0.35);
  border: 2px solid rgba(195, 150, 31, 0.55);
  animation: introLogoPulse 2.2s ease-in-out infinite alternate;
}

.intro-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 24px;
}

@keyframes introLogoPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 36px rgba(195, 150, 31, 0.3);
  }
  100% {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.65), 0 0 56px rgba(46, 229, 157, 0.42);
  }
}

.intro-counter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #2ee59d, #38bdf8, #fb7185, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.intro-brand-line {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   FLOATING LEFT & RIGHT HORIZONTAL EDGE PORTALS
   ========================================================= */
.edge-portal {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 450;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 15, 25, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.edge-portal:hover {
  border-color: var(--accent-gold);
  background: rgba(10, 15, 25, 0.92);
  transform: translateY(-50%) scale(1.05);
}

.edge-portal-prev {
  left: 18px;
}

.edge-portal-next {
  right: 18px;
}

.edge-portal-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.edge-portal-info {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.45s var(--ease-out-expo), opacity 0.3s ease;
  opacity: 0;
}

.edge-portal:hover .edge-portal-info {
  max-width: 190px;
  opacity: 1;
}

.edge-portal-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
}

.edge-portal-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.edge-portal-arrow {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-gold);
  padding: 0 4px;
}

/* =========================================================
   STICKY MAGAZINE HEADER (Vibrant Multi-Color Pills)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 24, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.theme-light {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-dark);
  border-bottom-color: var(--border-light);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(195, 150, 31, 0.55);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.brand-monogram-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 9px;
}

.brand-logo:hover .brand-monogram {
  transform: rotate(-8deg) scale(1.08);
}

.header-issue-switcher {
  position: relative;
}

.header-issue-trigger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 5px 12px;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: all 0.24s ease;
}

.header-issue-trigger:hover,
.header-issue-switcher.open .header-issue-trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
}

.site-header.theme-light .header-issue-trigger {
  background: rgba(12, 19, 31, 0.04);
  border-color: rgba(12, 19, 31, 0.14);
  color: var(--text-dark);
}

.site-header.theme-light .header-issue-trigger:hover,
.site-header.theme-light .header-issue-switcher.open .header-issue-trigger {
  background: rgba(12, 19, 31, 0.08);
  border-color: var(--accent-dark-text);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.header-issue-count-pill {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 184, 48, 0.18);
  border: 1px solid rgba(255, 184, 48, 0.45);
  color: #ffb830;
}

.site-header.theme-light .header-issue-count-pill {
  background: rgba(12, 19, 31, 0.08);
  border-color: rgba(12, 19, 31, 0.2);
  color: var(--accent-dark-text);
}

.brand-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 4px;
}

.site-header.theme-light .brand-subtitle {
  color: var(--accent-dark-text);
}

.header-issue-caret {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.header-issue-switcher.open .header-issue-caret {
  transform: rotate(180deg);
}

/* Header Issues Archive Dropdown Panel */
.header-issues-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(520px, 92vw);
  max-height: 76vh;
  overflow-y: auto;
  background: rgba(8, 16, 28, 0.97);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 260;
}

.header-issue-switcher.open .header-issues-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-header.theme-light .header-issues-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(12, 19, 31, 0.14);
  box-shadow: 0 24px 60px rgba(12, 19, 31, 0.2);
}

.header-issues-dd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-issue-dd-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.22s ease;
}

.header-issue-dd-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--issue-accent, #ffb830);
  transform: translateX(3px);
}

.header-issue-dd-card.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--issue-accent, #ffb830);
  box-shadow: inset 0 0 0 1px var(--issue-accent, #ffb830);
}

.site-header.theme-light .header-issue-dd-card {
  background: rgba(12, 19, 31, 0.03);
  border-color: rgba(12, 19, 31, 0.1);
  color: #0f172a;
}

.site-header.theme-light .header-issue-dd-card:hover,
.site-header.theme-light .header-issue-dd-card.active {
  background: rgba(12, 19, 31, 0.08);
  border-color: var(--issue-accent, #0284c7);
}

.header-issue-dd-cover {
  width: 54px;
  height: 70px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #061018;
  position: relative;
}

.header-issue-dd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-issue-dd-info {
  flex: 1;
  min-width: 0;
}

.header-issue-dd-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--issue-accent, #ffb830);
  margin-bottom: 4px;
}

.site-header.theme-light .header-issue-dd-kicker {
  color: #0f172a;
}

.header-issue-dd-title {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.header-issue-dd-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header.theme-light .header-issue-dd-meta {
  color: #475569;
}

/* Opening Showcase Slider — Multi-Issue Switcher Bar */
.showcase-issues-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(6, 13, 24, 0.62);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: fit-content;
  max-width: 100%;
}

.showcase-issues-bar-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 6px;
}

.showcase-issue-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.showcase-issue-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--tab-issue-accent, #ffb830);
  color: #fff;
  transform: translateY(-1px);
}

.showcase-issue-tab.active {
  background: var(--tab-issue-accent, #ffb830);
  border-color: var(--tab-issue-accent, #ffb830);
  color: #061018;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


/* Center Rubrics Navigation & Chapter Dropdown */
.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
  padding: 4px 2px;
}

.nav-chapter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: inherit;
  opacity: 0.9;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.site-header.theme-light .nav-chapter-btn {
  background: rgba(12, 19, 31, 0.05);
  border-color: rgba(12, 19, 31, 0.14);
}

.nav-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-chapter-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.nav-chapter-btn.active {
  opacity: 1;
  background: var(--accent-gold);
  color: #061018;
  border-color: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.nav-chapter-btn.active .nav-color-dot {
  background: #061018 !important;
}

/* Header Chapter Switcher & Dropdown Mega-Menu */
.header-chapter-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px;
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.theme-light .header-chapter-switcher {
  background: rgba(12, 19, 31, 0.05);
  border-color: rgba(12, 19, 31, 0.16);
}

.header-chapter-switcher:hover,
.header-chapter-switcher.open {
  border-color: var(--accent-gold);
}

.header-step-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.site-header.theme-light .header-step-arrow {
  background: rgba(12, 19, 31, 0.08);
}

.header-step-arrow:hover {
  background: var(--accent-gold);
  color: #061018;
}

.header-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: inherit;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.header-dropdown-trigger.active {
  background: var(--accent-gold);
  color: #061018;
}

.header-dropdown-trigger.active .nav-color-dot {
  background: #061018 !important;
}

.header-dd-counter {
  font-weight: 800;
  opacity: 0.92;
}

.header-dd-divider {
  opacity: 0.45;
}

.header-dd-current-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-dd-chevron {
  font-size: 0.72rem;
  transition: transform 0.28s ease;
}

.header-chapter-switcher.open .header-dd-chevron {
  transform: rotate(180deg);
}

.header-chapters-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  width: min(760px, 88vw);
  background: rgba(8, 13, 24, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  color: #f8fafc;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.28s var(--ease-out-expo), visibility 0.25s ease;
  z-index: 1200;
}

.header-chapter-switcher.open .header-chapters-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.header-dd-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-dd-top-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.header-dd-open-modal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-dd-open-modal-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.header-dd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 62vh;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}

.header-dd-grid::-webkit-scrollbar {
  display: none;
}

.header-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--dd-accent, var(--accent-gold));
  border-radius: 14px;
  padding: 10px 12px;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-dd-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--dd-accent, var(--accent-gold));
  transform: translateY(-2px);
}

.header-dd-item.active {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--dd-accent, var(--accent-gold));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-dd-thumb {
  position: relative;
  width: 68px;
  height: 46px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.header-dd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-dd-num {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(6, 12, 22, 0.85);
  color: var(--dd-accent, #ffb830);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.header-dd-info {
  min-width: 0;
  flex: 1;
}

.header-dd-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.header-dd-vb {
  color: #ffe650;
}

.header-dd-pdf {
  color: #38bdf8;
}

.header-dd-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.romans-pill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, color 0.3s ease;
}

.romans-pill-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary));
  transform: translateX(-102%);
  transition: transform 0.35s var(--ease-romans);
  z-index: 0;
}

.romans-pill-btn:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: var(--accent-gold);
  color: #061018;
}

.romans-pill-btn:hover::before {
  transform: translateX(0%);
}

.romans-pill-btn > * {
  position: relative;
  z-index: 1;
}

/* Equalizer Animation */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bar {
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
}

.romans-pill-btn.playing .eq-bar:nth-child(1) { animation: eqBounce 0.7s infinite ease-in-out 0.1s; }
.romans-pill-btn.playing .eq-bar:nth-child(2) { animation: eqBounce 0.7s infinite ease-in-out 0.25s; }
.romans-pill-btn.playing .eq-bar:nth-child(3) { animation: eqBounce 0.7s infinite ease-in-out 0.15s; }
.romans-pill-btn.playing .eq-bar:nth-child(4) { animation: eqBounce 0.7s infinite ease-in-out 0.35s; }

@keyframes eqBounce {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* =========================================================
   HERO SECTION (Vibrant Landscape Backdrop + Colorful Accents)
   ========================================================= */
.romans-hero {
  position: relative;
  padding: 132px 64px 0;
  background: var(--bg-gradient);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: clip;
}

.hero-ambient-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-ambient-backdrop img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: saturate(1.3) contrast(1.05);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.hero-top-grid {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* Massive Kinetic Split Title */
.hero-giant-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 36px;
}

.hero-title-prefix {
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 1.2vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-title-prefix::before {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary));
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-title-main .skew-accent {
  display: inline-block;
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
}

/* Info Container */
.hero-info-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.office-info-dl {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}

.office-info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: baseline;
}

.office-info-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.office-info-value {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-light-muted);
}

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-gold-skew {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-secondary) 100%);
  color: #061018;
  border: none;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.btn-gold-skew:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.btn-outline-skew {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.btn-outline-skew:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Right Floating Parallax Preview Card */
.hero-floating-card-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-floating-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 16, 28, 0.68);
  backdrop-filter: blur(20px);
  cursor: pointer;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s var(--ease-out-expo), border-color 0.3s ease;
}

.hero-floating-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-6px) scale(1.02);
}

.floating-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.floating-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.hero-floating-card:hover .floating-card-media img {
  transform: scale(1.08);
}

.floating-play-badge {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.68) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 14, 24, 0.78);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--ease-out-expo);
}

.hero-floating-card:hover .play-circle-orb {
  background: var(--accent-gold);
  color: #061018;
  transform: scale(1.14);
}

.floating-card-caption {
  padding: 18px 22px;
}

.floating-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 5px;
}

.floating-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.32;
}

/* =========================================================
   EXPANDING INSET-TO-FULLBLEED MEDIA CONTAINER (100vw x 100vh)
   ========================================================= */
.hero-expanding-showcase {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 24px;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  clip-path: inset(0% 0% 0% 0% round 0px);
  will-change: clip-path;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-expanding-showcase video,
.hero-expanding-showcase img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.2);
}

.hero-expanding-yt-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  pointer-events: none;
}

.hero-expanding-yt-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  filter: saturate(1.15);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,18,0.12) 0%, rgba(6,10,18,0.78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 64px 80px;
}

.showcase-caption-left {
  max-width: 840px;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.showcase-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.showcase-pullquote {
  margin: 18px 0 0 0;
  padding: 20px 26px;
  background: rgba(8, 14, 26, 0.64);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--accent-gold);
  border-radius: 0 18px 18px 0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.showcase-pullquote p.pullquote-para {
  margin: 0 0 12px 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.12vw, 1.1rem);
  font-weight: 600;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.showcase-pullquote p.pullquote-para:last-child {
  margin-bottom: 0;
}

/* =========================================================
   STICKY HORIZONTAL SCROLLYTELLING LANDSCAPE PANORAMA (100vw x 100vh)
   ========================================================= */
.horizontal-panorama-outer {
  position: relative;
  width: 100vw;
  height: 300vh; /* Drives horizontal translation across 3 full-screen 100vw x 100vh slides */
  background: var(--bg-dark);
}

.horizontal-panorama-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panorama-top-hud {
  position: absolute;
  top: 104px;
  left: 64px;
  right: 64px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.panorama-top-hud > * {
  pointer-events: auto;
}

.panorama-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 14, 24, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.panorama-step-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 24, 0.78);
  backdrop-filter: blur(16px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.pano-dot-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pano-dot-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.pano-dot-btn.active {
  background: var(--accent-gold);
  color: #061018;
}

.horizontal-panorama-track {
  display: flex;
  width: 300vw; /* 3 full-viewport 100vw x 100vh landscape scenes */
  height: 100vh;
  min-height: 100vh;
  will-change: transform;
}

.horizontal-panorama-track.smooth-glide {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.panorama-slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 72px 80px;
}

.panorama-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.22) contrast(1.04);
  transform: scale(1);
}

.panorama-slide-yt-bg {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.panorama-slide-yt-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.06);
  border: 0;
  pointer-events: none;
  filter: saturate(1.18) contrast(1.05);
}

.panorama-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.28) 0%, rgba(5, 10, 20, 0.05) 45%, rgba(5, 10, 20, 0.78) 100%);
}

.panorama-slide-card {
  position: relative;
  z-index: 5;
  max-width: 760px;
  background: rgba(10, 15, 28, 0.74);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--slide-accent, var(--accent-gold));
  border-radius: 24px;
  padding: 36px 44px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.panorama-slide-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slide-accent, var(--accent-gold));
  margin-bottom: 12px;
}

.panorama-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 14px;
}

.panorama-slide-text {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   COLORFUL TINTED EDITORIAL MANIFESTO & LONG-READ SECTION
   ========================================================= */
.romans-light-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 110px 64px 96px;
  border-top: 1px solid var(--border-light);
  position: relative;
  transition: background-color 0.5s ease;
}

.light-section-inner {
  max-width: 1380px;
  margin: 0 auto;
}

.romans-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--bg-light-card);
  border: 1.5px solid var(--accent-dark-text);
  color: var(--accent-dark-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Word-by-Word Masked Statement */
.masked-statement-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 64px;
  max-width: 1220px;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-right: 0.24em;
}

.word-inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.75s var(--ease-out-expo);
  transition-delay: var(--word-delay, 0s);
}

.masked-statement-heading.is-revealed .word-inner {
  transform: translateY(0%);
}

.word-inner.skew-highlight {
  font-style: normal;
  font-weight: 800;
  color: var(--accent-dark-text);
  transform: translateY(112%) skewX(-10deg);
}

.masked-statement-heading.is-revealed .word-inner.skew-highlight {
  transform: translateY(0%) skewX(-10deg);
}

/* Two-Column Editorial Article Layout */
.editorial-article-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 64px;
  border-top: 1px solid var(--border-light);
  padding-top: 56px;
}

.editorial-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-quote-card {
  background: var(--bg-light-card);
  border-left: 5px solid var(--accent-dark-text);
  padding: 26px;
  border-radius: 0 18px 18px 0;
}

.sidebar-quote-text {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.58;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.sidebar-quote-text p.sidebar-quote-para {
  margin: 0 0 12px 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.sidebar-quote-text p.sidebar-quote-para:last-child {
  margin-bottom: 0;
}

.sidebar-quote-source {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark-text);
}

.sidebar-video-box {
  background: var(--bg-gradient);
  color: #fff;
  padding: 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.sidebar-video-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

/* Main Long-Read Text Body — Full Block Justification & Russian Hyphenation */
.editorial-prose {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.editorial-prose > p {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: -0.005em;
  color: #18202c;
  margin-bottom: 26px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.editorial-prose > p:not(.vb-section-heading):first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.1rem;
  line-height: 0.84;
  padding-top: 6px;
  padding-right: 16px;
  color: var(--accent-dark-text);
  font-weight: 800;
}

.editorial-prose > p.vb-section-heading {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.38;
  color: #0c131f;
  margin-top: 32px;
  margin-bottom: 14px;
  text-align: left;
}

.editorial-prose strong {
  font-weight: 800;
  color: #0c131f;
}

.editorial-pullquote {
  margin: 44px 0;
  padding: 34px 40px;
  background: var(--bg-light-card);
  border-left: 6px solid var(--accent-dark-text);
  border-radius: 0 22px 22px 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.editorial-pullquote p.pullquote-para {
  margin: 0 0 18px 0;
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: 800;
  letter-spacing: inherit;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.editorial-pullquote p.pullquote-para:last-child {
  margin-bottom: 0;
}

/* =========================================================
   INLINE FOOTNOTE SUPERSCRIPTS, TOOLTIPS & BOTTOM LIST
   ========================================================= */
.footnote-ref {
  position: relative;
  display: inline-block;
  vertical-align: super;
  font-size: 0.72em;
  line-height: 1;
  margin: 0 2px;
  cursor: pointer;
}

.footnote-ref-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(12, 19, 31, 0.08);
  color: var(--accent-dark-text);
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footnote-ref:hover .footnote-ref-badge,
.footnote-ref:focus-within .footnote-ref-badge {
  background: var(--accent-dark-text);
  color: #ffffff;
  transform: translateY(-1px);
}

.footnote-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 340px;
  padding: 12px 15px;
  border-radius: 12px;
  background: #0b1424;
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.footnote-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0b1424 transparent transparent transparent;
}

.footnote-tooltip-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-gold);
  margin-right: 4px;
}

.footnote-ref:hover .footnote-tooltip,
.footnote-ref:focus-within .footnote-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.editorial-footnotes {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 2px solid var(--border-light);
  font-size: 0.94rem;
  color: var(--text-dark-muted);
}

.footnotes-header-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark-text);
  margin-bottom: 14px;
}

.footnotes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.footnote-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-light-card);
  border-left: 3px solid var(--accent-dark-text);
  line-height: 1.6;
  color: #1e293b;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.footnote-item-badge {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-dark-text);
  text-decoration: none;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(12, 19, 31, 0.06);
}

.footnote-item-badge:hover {
  background: var(--accent-dark-text);
  color: #ffffff;
}

.footnote-item-body {
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.footnote-backlink {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent-dark-text);
  font-weight: 800;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footnote-backlink:hover {
  opacity: 1;
  transform: translateX(-2px);
}

.footnotes-source-row.with-top-divider {
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}

@keyframes footnoteHighlightPulse {
  0% {
    background-color: rgba(255, 224, 71, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 224, 71, 0.35);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

.footnote-pulse {
  animation: footnoteHighlightPulse 1.8s ease-out;
}

/* =========================================================
   VELOCITY-SKEWED HORIZONTAL VIDEO & PHOTO CAROUSEL
   ========================================================= */
.romans-carousel-section {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 96px 0;
  border-top: 1px solid var(--border-dark);
  overflow: hidden;
}

.carousel-header {
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 0 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.carousel-title-wrap h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.carousel-track-outer {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  padding: 12px 64px 28px;
}

.carousel-track-outer::-webkit-scrollbar {
  display: none;
}

.carousel-track-outer:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 28px;
  width: max-content;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-video-card {
  width: 420px;
  flex-shrink: 0;
  background: rgba(12, 18, 30, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 4px solid var(--card-accent, var(--accent-gold));
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo), box-shadow 0.3s ease;
}

.carousel-video-card:hover {
  border-color: var(--card-accent, var(--accent-gold));
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.carousel-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.carousel-video-card:hover .carousel-card-thumb img {
  transform: scale(1.08);
}

.carousel-card-play {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.68) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card-body {
  padding: 20px 24px;
}

.carousel-card-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--card-accent, var(--accent-gold));
  margin-bottom: 6px;
}

.carousel-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: #fff;
}

/* =========================================================
   NEXT CHAPTER PORTAL FOOTER (Full-Screen 100vw x 100vh Transition Portal)
   ========================================================= */
.next-chapter-portal {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background: #070b14;
  color: #fff;
  padding: 96px 64px;
  border-top: 1px solid var(--border-dark);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-portal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(1.25);
  transform: scale(1.04);
  transition: transform 0.9s var(--ease-out-expo), opacity 0.5s ease;
}

.next-chapter-portal:hover .next-portal-bg {
  transform: scale(1);
  opacity: 0.88;
}

.next-portal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 20, 0.82) 0%, rgba(6, 10, 20, 0.35) 100%);
}

.next-portal-inner {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.next-portal-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.next-portal-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  transition: transform 0.4s var(--ease-out-expo);
}

.next-chapter-portal:hover .next-portal-title {
  transform: skewX(-6deg) translateX(14px);
}

.next-portal-arrow {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-secondary));
  color: #061018;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.next-chapter-portal:hover .next-portal-arrow {
  transform: scale(1.12) translateX(8px);
}

/* =========================================================
   ISSUES / CHAPTERS DIALOG DRAWER
   ========================================================= */
.chapters-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 8, 16, 0.86);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
}

.chapters-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.chapters-modal-box {
  width: 100%;
  max-width: 1380px;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 26px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72);
  transform: translateY(32px) scale(0.97);
  transition: transform 0.45s var(--ease-out-expo);
}

.chapters-modal-box > div:first-child {
  flex-shrink: 0;
}

.chapters-modal-backdrop.open .chapters-modal-box {
  transform: translateY(0) scale(1);
}

.chapters-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-bottom: 6px;
  flex: 1 1 auto;
  min-height: 0;
}

.chapters-modal-grid::-webkit-scrollbar {
  width: 6px;
}

.chapters-modal-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.chapters-modal-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.chapter-select-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: #141c2e;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
}

.chapter-select-card:hover,
.chapter-select-card.active {
  border-color: var(--card-theme-color, var(--accent-gold));
  transform: translateY(-4px);
}

.chapter-select-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  filter: saturate(1.2);
  transition: all 0.5s ease;
}

.chapter-select-card:hover img {
  transform: scale(1.06);
}

.chapter-select-body {
  padding: 13px 15px;
}

.chapter-select-num {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--card-theme-color, var(--accent-gold));
  margin-bottom: 5px;
}

.chapter-select-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}

/* =========================================================
   CUSTOM CINEMA VIDEO PLAYER MODAL (@bibliorus YouTube)
   ========================================================= */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 7, 14, 0.94);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s var(--ease-out-expo);
}

.cinema-modal.open {
  opacity: 1;
  visibility: visible;
}

.cinema-box {
  width: 100%;
  max-width: 1080px;
}

.cinema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cinema-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}

.cinema-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cinema-playlist {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cinema-pl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.25s ease;
}

.cinema-pl-item:hover,
.cinema-pl-item.active {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.14);
}

.cinema-pl-item img {
  width: 64px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cinema-pl-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   SYNCHRONIZED VIDEOBOOK (YOUTUBE AUDIO-TEXT SYNC)
   ========================================================= */
.videobook-grid {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 56px;
  border-top: 1px solid var(--border-light);
  padding-top: 48px;
  align-items: start;
}

.vb-sticky-column {
  position: sticky;
  top: 104px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vb-player-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(8, 27, 41, 0.14);
  border: 1px solid rgba(12, 19, 31, 0.1);
}

.vb-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vb-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffe650;
  color: #0c131f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.vb-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0c131f;
  animation: vbPulse 1.4s infinite ease-in-out;
}

@keyframes vbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.vb-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07111c;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.vb-video-frame iframe,
.vb-video-frame > div {
  width: 100%;
  height: 100%;
  border: 0;
}

.vb-controls-bar {
  margin-top: 16px;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vb-transport-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vb-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #081b29;
  color: #ffe650;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.vb-play-btn:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-1px);
}

.vb-progress-wrap {
  flex: 1;
  height: 8px;
  background: #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.vb-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7, #0d9488);
  border-radius: 999px;
  transition: width 0.1s linear;
}

.vb-time-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  min-width: 82px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vb-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.74rem;
  color: #475569;
}

.vb-autoscroll-btn {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vb-autoscroll-btn.active {
  background: #ffe650;
  border-color: #eab308;
  color: #0c131f;
}

.vb-hint-box {
  background: var(--bg-light-card);
  border-left: 4px solid #eab308;
  padding: 14px 18px;
  border-radius: 0 14px 14px 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #1e293b;
}

/* Synchronized Article Text Panel (Right Side - Matches Resim-1) */
.vb-article-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 52px;
  box-shadow: 0 20px 55px rgba(8, 27, 41, 0.08);
  border: 1px solid rgba(12, 19, 31, 0.08);
}

.vb-article-body p {
  font-family: var(--font-sans);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -0.005em;
  color: #18202c;
  margin-bottom: 26px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
}

.vb-article-body > p.vb-section-heading::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-weight: inherit;
}

.vb-article-body > p.vb-first-body-para::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.1rem;
  line-height: 0.84;
  padding-top: 6px;
  padding-right: 16px;
  color: var(--accent-dark-text);
  font-weight: 800;
}

.vb-article-body p.vb-section-heading {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: #0c131f;
  margin-top: 32px;
  margin-bottom: 18px;
  line-height: 1.35;
  text-align: left;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.vb-article-body p.vb-section-heading:first-child {
  font-size: 1.65rem;
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid #f1f5f9;
}

.text-segment {
  cursor: pointer;
  padding: 2px 4px;
  margin: 0 -1px;
  border-radius: 5px;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  font-style: normal;
}

.text-segment:hover {
  background-color: rgba(255, 230, 80, 0.35);
}

.text-segment.active {
  background-color: #ffe650;
  color: #0c131f;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255, 230, 80, 0.65);
}

.text-segment strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  color: #0f172a;
}

/* =========================================================
   TABLET & MOBILE NAVIGATION STRIP + FLOATING BOTTOM DOCK
   ========================================================= */
.mobile-chapter-strip {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 495;
  background: rgba(8, 14, 24, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 20px;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-chapter-strip::-webkit-scrollbar {
  display: none;
}

.mobile-chapter-strip.theme-light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border-light);
  color: var(--text-dark);
}

.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 820;
  background: rgba(8, 13, 23, 0.78);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.48);
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  width: calc(100vw - 32px);
  max-width: 410px;
}

.dock-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.dock-btn:active,
.dock-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.dock-btn-accent {
  background: rgba(255, 184, 48, 0.16);
  border-color: rgba(255, 184, 48, 0.38);
  color: #ffd166 !important;
  font-weight: 700;
  box-shadow: none;
}

.dock-btn.playing {
  background: rgba(46, 229, 157, 0.16);
  color: var(--accent-gold);
  border-color: rgba(255, 184, 48, 0.45);
}

.dock-icon {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
}

.dock-label {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.86;
}

/* =========================================================
   INTERACTIVE MOBILE & TABLET DEVICE PREVIEW STUDIO MODAL
   ========================================================= */
.device-studio-modal {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: radial-gradient(circle at 50% 20%, #13213a 0%, #060a12 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.device-studio-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.device-studio-topbar {
  height: 74px;
  padding: 0 28px;
  background: rgba(7, 12, 22, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.device-studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-studio-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
  border: 1.5px solid rgba(195, 150, 31, 0.6);
}

.device-studio-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.device-studio-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.device-studio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
}

.device-mode-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.device-mode-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.device-mode-btn.active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-secondary));
  color: #061018;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.device-studio-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 24px;
  overflow: auto;
}

.device-bezel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.device-bezel-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.device-bezel {
  position: relative;
  background: #0b0f18;
  border: 10px solid #1e2638;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo);
}

.device-bezel.bezel-mobile {
  border-radius: 44px;
  border-width: 11px;
}

.device-bezel.bezel-tablet {
  border-radius: 32px;
  border-width: 12px;
}

.device-bezel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #07111e;
  display: block;
}

/* Hide studio trigger when inside a preview iframe */
body.in-device-preview #openDeviceStudioBtn,
body.in-device-preview .intro-loader {
  display: none !important;
}

/* =========================================================
   TABLET VERSION (<= 1180px : iPad Pro / iPad Air / Android Tablet)
   ========================================================= */
@media (max-width: 1180px) {
  .header-nav {
    display: none !important;
  }

  .site-header {
    height: 64px;
    padding: 0 22px;
    background: rgba(7, 13, 24, 0.72);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-issue-trigger {
    background: transparent !important;
    border-color: transparent !important;
    padding: 2px 4px;
  }

  .header-issue-count-pill {
    display: none !important;
  }

  #headerIssueLabelText {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }

  #ambientBtn,
  #openTvBtn,
  #fullscreenToggleBtn {
    display: none !important;
  }

  .mobile-chapter-strip {
    display: flex;
    top: 64px;
    height: 40px;
    background: rgba(7, 13, 24, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  body.at-showcase-top .mobile-chapter-strip {
    display: none !important;
  }

  .romans-hero {
    padding: 116px 28px 0;
  }

  .hero-title-main {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
  }

  .hero-info-split {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }

  .hero-floating-card-wrap {
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px;
  }

  .hero-floating-card {
    max-width: none;
    flex: 1;
  }

  .showcase-overlay {
    padding: 40px 36px;
  }

  .romans-light-section {
    padding: 76px 32px 72px;
  }

  .masked-statement-heading {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    margin-bottom: 40px;
  }

  .editorial-article-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 28px;
  }

  .editorial-sidebar {
    display: contents !important;
    position: static !important;
  }

  .editorial-sidebar > .vb-player-card {
    order: 1;
    width: 100%;
  }

  .editorial-article-grid > article.editorial-prose {
    order: 2;
    width: 100%;
  }

  .editorial-sidebar > .sidebar-quote-card,
  .editorial-sidebar > .sidebar-video-box {
    order: 3;
    width: 100%;
  }

  /* Videobook Tablet & Mobile Layout: Top Video Player -> Full-Width Article Text -> Bottom Quote/Extras */
  .videobook-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 24px;
  }

  .vb-sticky-column {
    display: contents !important;
    position: static !important;
    top: auto !important;
  }

  .vb-sticky-column > .vb-player-card {
    order: 1;
    position: relative !important;
    top: auto !important;
    width: 100%;
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(8, 27, 41, 0.14);
  }

  .vb-article-card {
    order: 2;
    position: relative;
    width: 100%;
    padding: 32px 36px;
  }

  .vb-sticky-column > .sidebar-quote-card,
  .vb-sticky-column > .sidebar-video-box {
    order: 3;
    position: relative !important;
    top: auto !important;
    width: 100%;
  }

  .vb-video-frame {
    max-height: 280px;
  }

  .vb-hint-box {
    display: none !important;
  }

  .panorama-top-hud {
    top: 128px;
    left: 28px;
    right: 28px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .panorama-slide {
    padding: 48px 36px 96px;
  }

  .carousel-header {
    padding: 0 32px;
  }

  .carousel-track-outer {
    padding: 12px 32px 28px;
    -webkit-overflow-scrolling: touch;
  }

  .next-chapter-portal {
    padding: 72px 36px 110px;
  }

  .chapters-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cinema-playlist {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   PORTRAIT TABLET & MOBILE TOUCH DOCK (<= 920px)
   ========================================================= */
@media (max-width: 920px) {
  .edge-portal {
    display: none !important;
  }

  .mobile-bottom-dock {
    display: flex;
  }

  /* Bottom dock handles Chapters & 3D PDF, so keep top bar ultra-clean */
  .mobile-chapter-strip,
  #openPdfModalBtn,
  #openChaptersBtn {
    display: none !important;
  }

  .hero-floating-card-wrap {
    flex-direction: column !important;
  }

  .editorial-sidebar {
    grid-template-columns: 1fr;
  }

  #pdfReaderModal #pdfLibraryShelf,
  #pdfReaderModal #pdfArticleBridgeBar,
  #pdfReaderModal .cinema-header > div:first-child > div:first-child {
    display: none !important;
  }
}

/* =========================================================
   MOBILE SMARTPHONE VERSION (<= 768px : iPhone / Android)
   ========================================================= */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .site-header {
    height: 58px;
    padding: 0 16px;
  }

  .brand-logo-wrap {
    gap: 10px;
    min-width: 0;
  }

  .brand-monogram {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 0.96rem;
    letter-spacing: 0.14em;
  }

  .brand-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    margin-top: 2px;
    opacity: 0.85;
  }

  #headerIssueLabelText {
    max-width: 155px;
  }

  .header-controls {
    gap: 6px;
  }

  .header-controls .romans-pill-btn {
    padding: 7px 11px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
  }

  .header-controls .btn-label-text {
    display: none;
  }

  /* Hero Mobile — Minimalist Editorial */
  .romans-hero {
    padding: 82px 18px 0;
    min-height: auto;
  }

  .hero-giant-title {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .hero-title-prefix {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
  }

  .hero-title-prefix::before {
    width: 20px;
  }

  .hero-title-main {
    font-size: clamp(1.7rem, 7.2vw, 2.35rem);
    line-height: 1.08;
  }

  .office-info-row {
    grid-template-columns: 96px 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .office-info-row:nth-child(n+3) {
    display: none;
  }

  .office-info-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .office-info-value {
    font-size: 0.88rem;
    line-height: 1.46;
  }

  .hero-action-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 16px;
    width: 100%;
  }

  .hero-action-buttons > button:nth-child(n+2) {
    display: none;
  }

  .btn-gold-skew,
  .btn-outline-skew {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 0.72rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-card-caption {
    padding: 14px 16px;
  }

  .floating-card-title {
    font-size: 0.94rem;
  }

  /* Expanding Showcase Mobile */
  .hero-expanding-showcase {
    height: 68vh;
    min-height: 400px;
    margin-top: 16px;
  }

  .hero-expanding-showcase video,
  .hero-expanding-showcase img {
    height: 100%;
  }

  .showcase-overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    padding: 24px 16px 32px;
  }

  .showcase-headline {
    font-size: clamp(1.55rem, 6.2vw, 2.1rem);
  }

  .showcase-pullquote {
    margin-top: 12px;
    padding: 14px 16px;
  }

  .showcase-pullquote p.pullquote-para {
    font-size: 0.88rem;
    line-height: 1.48;
    margin-bottom: 8px;
  }

  .showcase-overlay .btn-gold-skew {
    width: 100%;
  }

  /* Editorial & Videobook Mobile */
  .romans-light-section {
    padding: 48px 14px 56px;
  }

  .romans-tag-badge {
    font-size: 0.64rem;
    padding: 6px 12px;
    margin-bottom: 18px;
  }

  .masked-statement-heading {
    font-size: clamp(1.38rem, 5.6vw, 1.85rem);
    line-height: 1.22;
    margin-bottom: 26px;
  }

  .vb-sticky-column {
    display: contents !important;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
  }

  .vb-player-card,
  .vb-sticky-column > .vb-player-card {
    order: 1;
    position: relative !important;
    top: auto !important;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(8, 27, 41, 0.12);
  }

  .vb-badge-top {
    margin-bottom: 8px;
  }

  .vb-live-pill {
    font-size: 0.58rem;
    padding: 4px 9px;
  }

  .vb-video-frame {
    max-height: 185px;
    border-radius: 10px;
  }

  .vb-controls-bar {
    margin-top: 8px;
    padding: 9px 10px;
    gap: 6px;
    border-radius: 10px;
  }

  .vb-transport-row {
    gap: 8px;
  }

  .vb-play-btn {
    padding: 7px 12px;
    font-size: 0.66rem;
  }

  .vb-time-label {
    font-size: 0.66rem;
    min-width: 68px;
  }

  .vb-options-row {
    font-size: 0.65rem;
  }

  .vb-options-row > span {
    display: none;
  }

  .vb-autoscroll-btn {
    width: 100%;
    text-align: center;
  }

  .vb-article-card {
    padding: 20px 15px;
    border-radius: 18px;
  }

  .vb-article-body p {
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 16px;
  }

  .vb-article-body p.vb-section-heading {
    font-size: 1.18rem;
    margin-top: 22px;
  }

  .vb-article-body p.vb-section-heading:first-child {
    font-size: 1.32rem;
  }

  .editorial-prose > p {
    font-size: 1.02rem;
    line-height: 1.72;
    margin-bottom: 18px;
  }

  .editorial-prose > p:first-of-type::first-letter {
    font-size: 3.1rem;
    padding-right: 12px;
  }

  .editorial-pullquote {
    margin: 26px 0;
    padding: 20px 18px;
    font-size: 1.12rem;
  }

  /* Horizontal Panorama Mobile */
  .panorama-top-hud {
    top: 68px;
    left: 10px;
    right: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .panorama-badge {
    display: none !important;
  }

  .panorama-step-controls {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 3px;
    padding: 4px 5px;
    box-sizing: border-box;
  }

  .pano-dot-btn {
    padding: 5px 4px;
    font-size: 0.61rem;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #panoPrevBtn,
  #panoNextBtn,
  #panoPlayPauseBtn {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
  }

  .panorama-slide {
    padding: 16px 10px 84px;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .panorama-slide-card {
    padding: 16px 14px;
    border-radius: 18px;
    width: 100%;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .panorama-slide-tag {
    font-size: 0.6rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .panorama-slide-title {
    font-size: 1.24rem;
    line-height: 1.16;
    margin-bottom: 6px;
  }

  .panorama-slide-text {
    font-size: 0.84rem;
    line-height: 1.44;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panorama-slide-card .btn-gold-skew,
  .panorama-slide-card .btn-outline-skew {
    white-space: normal !important;
    line-height: 1.26;
    padding: 10px 12px;
    font-size: 0.65rem;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .panorama-slide-card .btn-gold-skew > span,
  .panorama-slide-card .btn-outline-skew > span {
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
  }

  /* Video Carousel Mobile */
  .romans-carousel-section {
    padding: 52px 0;
  }

  .carousel-header {
    padding: 0 16px;
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .carousel-title-wrap h3 {
    font-size: 1.5rem;
  }

  .carousel-track-outer {
    padding: 8px 16px 22px;
    scroll-snap-type: x mandatory;
  }

  .carousel-track {
    gap: 16px;
  }

  .carousel-video-card {
    width: 80vw;
    max-width: 310px;
    scroll-snap-align: start;
  }

  .carousel-card-body {
    padding: 14px 16px;
  }

  .carousel-card-title {
    font-size: 0.96rem;
  }

  /* Next Chapter Portal Mobile */
  .next-chapter-portal {
    min-height: 68vh;
    padding: 56px 16px 108px;
  }

  .next-portal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .next-portal-label {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .next-portal-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .next-portal-arrow {
    width: 58px;
    height: 58px;
    font-size: 1.35rem;
  }

  /* Modals on Mobile (Chapters, Cinema, 3D Flipbook PDF) */
  .chapters-modal-backdrop {
    padding: 12px 10px 84px;
    align-items: flex-end;
  }

  .chapters-modal-box {
    padding: 20px 16px;
    border-radius: 20px;
    max-height: 82dvh;
    overflow-y: auto;
  }

  .chapters-modal-box h2 {
    font-size: 1.25rem !important;
  }

  .chapters-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .chapter-select-card img {
    height: 120px;
  }

  .cinema-modal {
    padding: 12px 10px 84px;
  }

  .cinema-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cinema-playlist {
    grid-template-columns: 1fr;
    max-height: 32vh;
    overflow-y: auto;
  }

  /* Full-Screen 3D Flipbook PDF Modal on Mobile: Hide top banners/shelves so Flipbook fills the screen */
  #pdfReaderModal {
    padding: 6px 6px 76px !important;
  }

  #pdfReaderModal .cinema-box {
    height: calc(100dvh - 82px) !important;
    padding: 10px 8px !important;
    border-radius: 18px !important;
  }

  #pdfReaderModal #pdfLibraryShelf,
  #pdfReaderModal #pdfArticleBridgeBar,
  #pdfReaderModal .cinema-header > div:first-child > div:first-child {
    display: none !important;
  }

  #pdfReaderModal .cinema-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  #pdfReaderModal .cinema-header > div:first-child {
    min-width: 0;
    flex: 1;
  }

  #pdfReaderModal #pdfReaderTitle {
    font-size: 0.92rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #pdfReaderModal #closePdfModalBtn {
    padding: 6px 12px !important;
    font-size: 0.68rem !important;
    flex-shrink: 0;
  }

  .curtain-title {
    font-size: clamp(1.75rem, 6.8vw, 2.6rem);
  }
}

@media (max-width: 420px) {
  .office-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dock-label {
    font-size: 0.54rem;
  }
}

/* =========================================================
   INTERACTIVE OPENING ISSUE SHOWCASE & COVER SLIDER
   ========================================================= */
body.at-showcase-top .edge-portal {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-50%) scale(0.92);
}

.issue-showcase-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background: var(--slider-bg-color, #163a5f);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 90px 64px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  user-select: none;
}

.showcase-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.showcase-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-bg-layer.active {
  opacity: 1;
}

.showcase-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.24) contrast(1.04) brightness(var(--slider-img-brightness, 0.94));
  transform: scale(1.09);
  transition: transform 6.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.showcase-bg-layer.active img {
  transform: scale(1.0);
}

.showcase-bg-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 36%, rgba(var(--slider-glow-rgb, 56, 189, 248), 0.38) 0%, transparent 58%),
    linear-gradient(
      95deg,
      rgba(var(--slider-bg-rgb, 22, 58, 95), var(--slider-overlay-opacity, 0.42)) 0%,
      rgba(var(--slider-bg-rgb, 22, 58, 95), var(--slider-overlay-mid, 0.26)) 54%,
      rgba(var(--slider-bg-rgb, 22, 58, 95), var(--slider-overlay-light, 0.14)) 100%
    ),
    linear-gradient(
      180deg,
      rgba(var(--slider-bg-rgb, 22, 58, 95), var(--slider-overlay-mid, 0.26)) 0%,
      transparent 34%,
      rgba(var(--slider-bg-rgb, 22, 58, 95), var(--slider-overlay-opacity, 0.42)) 100%
    );
}

/* Main Slide Stage */
.showcase-slides-viewport {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 20px 0 24px;
}

.showcase-slide {
  display: none;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 54px;
  align-items: center;
}

.showcase-slide.active {
  display: grid;
  animation: showcaseSlideFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes showcaseSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.showcase-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.72);
  border: 1px solid var(--slide-accent, #ffb830);
  color: var(--slide-accent, #ffb830);
  backdrop-filter: blur(12px);
}

.showcase-pill-badge.badge-solid {
  background: var(--slide-accent, #ffb830);
  color: var(--slider-skew-text-color, #061018);
  border-color: transparent;
}

.showcase-slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.6vw, 4.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--slider-title-color, #ffffff);
  margin-bottom: 20px;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
}

.showcase-slide-skew {
  display: inline-block;
  background: var(--slide-accent, #ffb830);
  color: var(--slider-skew-text-color, #061018);
  padding: 2px 14px 5px;
  border-radius: 10px;
  transform: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.showcase-slide-lead {
  font-size: 1.12rem;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.92);
  max-width: 650px;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.showcase-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.showcase-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(10px);
}

.showcase-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.showcase-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  background: var(--slide-accent, #ffb830);
  color: var(--slider-skew-text-color, #061018);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transform: none;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.25s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.showcase-btn-primary > span {
  display: inline-block;
  transform: none;
}

.showcase-btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.showcase-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.52);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transform: none;
  transition: all 0.3s var(--ease-out-expo);
}

.showcase-btn-secondary > span {
  display: inline-block;
  transform: none;
}

.showcase-btn-secondary:hover {
  border-color: var(--slide-accent, #ffb830);
  color: var(--slide-accent, #ffb830);
  transform: translateY(-2px);
}

/* Right Column: 3D Cover Stack (Slide 0) & Chapter Showcase Card (Slides 1..N) */
.showcase-right-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.cover-stack-container {
  position: relative;
  width: 390px;
  height: 490px;
  perspective: 1200px;
  cursor: pointer;
}

.cover-stack-backcard {
  position: absolute;
  inset: 14px 0 14px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-stack-backcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(1.2);
}

.cover-stack-backcard.back-1 {
  transform: translate3d(34px, -16px, -40px) rotate(6deg);
  border-color: #2ee59d;
}

.cover-stack-backcard.back-2 {
  transform: translate3d(-32px, 16px, -70px) rotate(-6deg);
  border-color: #ff5e8e;
}

.cover-stack-container:hover .cover-stack-backcard.back-1 {
  transform: translate3d(58px, -24px, -20px) rotate(10deg);
}

.cover-stack-container:hover .cover-stack-backcard.back-2 {
  transform: translate3d(-54px, 24px, -40px) rotate(-10deg);
}

.cover-main-magazine-card {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--slide-accent, #ffb830);
  background: var(--slider-bg-color, #163a5f);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-stack-container:hover .cover-main-magazine-card {
  transform: translateY(-8px) rotateY(-5deg);
}

.cover-main-magazine-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.04) brightness(1.02);
  transition: transform 0.7s var(--ease-out-expo);
}

.cover-stack-container:hover .cover-main-magazine-bg {
  transform: scale(1.06);
}

.cover-main-magazine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--slider-bg-rgb, 22, 58, 95), 0.45) 0%,
    rgba(var(--slider-bg-rgb, 22, 58, 95), 0.08) 44%,
    rgba(var(--slider-bg-rgb, 22, 58, 95), 0.82) 100%
  );
}

.cover-main-top,
.cover-main-bottom {
  position: relative;
  z-index: 2;
}

.cover-main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 14px;
}

.cover-main-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.cover-issue-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 48, 0.2);
  border: 1px solid #ffb830;
  color: #ffb830;
}

/* Chapter Spotlight Card (Slides 1..N) */
.showcase-chapter-card {
  width: 100%;
  max-width: 470px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.72);
  border: 2px solid var(--slide-accent, #ffb830);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.48);
  transition: transform 0.4s var(--ease-out-expo);
}

.showcase-chapter-card:hover {
  transform: translateY(-6px);
}

.showcase-chapter-media {
  position: relative;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  cursor: pointer;
}

.showcase-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.showcase-chapter-card:hover .showcase-chapter-media img {
  transform: scale(1.06);
}

.showcase-chapter-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--slider-bg-rgb, 22, 58, 95), 0.08) 0%,
    rgba(var(--slider-bg-rgb, 22, 58, 95), 0.58) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-chapter-body {
  padding: 20px 24px 22px;
}

.showcase-chapter-quote {
  font-size: 0.92rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 12px;
  border-left: 3px solid var(--slide-accent, #ffb830);
  margin: 12px 0 14px;
}

/* Bottom Filmstrip & Controls Dock */
.showcase-bottom-dock {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.showcase-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.65);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.showcase-circle-btn:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #061018;
  transform: scale(1.06);
}

.showcase-counter-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-left: 6px;
}

.showcase-scroll-cue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.65);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.showcase-scroll-cue-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(2px);
}

/* Interactive Filmstrip Thumbnails */
.showcase-filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}

.showcase-filmstrip::-webkit-scrollbar {
  display: none;
}

.showcase-thumb-card {
  position: relative;
  flex: 1 0 190px;
  max-width: 240px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.68);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out-expo);
}

.showcase-thumb-card:hover {
  border-color: var(--thumb-accent, #ffb830);
  transform: translateY(-3px);
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.85);
}

.showcase-thumb-card.active {
  border-color: var(--thumb-accent, #ffb830);
  background: rgba(var(--slider-bg-rgb, 22, 58, 95), 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.showcase-thumb-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--thumb-accent, #ffb830);
  transition: width 0.12s linear;
}

.showcase-thumb-card.active .showcase-thumb-progress {
  width: var(--slide-progress, 100%);
}

.showcase-thumb-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.showcase-thumb-meta {
  min-width: 0;
  flex: 1;
}

.showcase-thumb-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--thumb-accent, #ffb830);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-thumb-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1180px) {
  .issue-showcase-slider {
    padding: 78px 28px 88px;
    height: 100dvh;
    min-height: 100dvh;
  }

  /* Minimalist Editorial Cleanup: remove redundant bars, chips & extra buttons */
  .showcase-issues-bar,
  .showcase-highlights-row,
  .showcase-kicker-row .showcase-pill-badge:not(:first-child),
  .showcase-actions-row > button:nth-child(n+3),
  .showcase-filmstrip,
  .showcase-scroll-cue-btn,
  .showcase-chapter-quote {
    display: none !important;
  }

  .showcase-kicker-row {
    margin-bottom: 12px;
  }

  .showcase-pill-badge {
    padding: 5px 12px;
    font-size: 0.63rem;
    letter-spacing: 0.14em;
  }

  .showcase-slide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 26px;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .showcase-left-copy,
  .showcase-right-visual {
    min-width: 0;
    max-width: 100%;
  }

  .showcase-slide-title {
    font-size: clamp(1.82rem, 3.2vw, 2.55rem);
    line-height: 1.14;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .showcase-slide-skew {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 2px 11px 4px;
    border-radius: 8px;
  }

  .showcase-slide-lead {
    font-size: 0.95rem;
    line-height: 1.56;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.88);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .showcase-actions-row {
    gap: 10px;
  }

  .showcase-btn-primary,
  .showcase-btn-secondary {
    padding: 12px 18px;
    font-size: 0.72rem;
  }

  .showcase-right-visual {
    justify-content: center;
    padding: 0 14px;
  }

  .cover-stack-container {
    width: 100%;
    max-width: 265px;
    height: 345px;
  }

  .cover-stack-backcard.back-1 {
    transform: translate3d(18px, -10px, -40px) rotate(5deg);
  }

  .cover-stack-backcard.back-2 {
    transform: translate3d(-18px, 10px, -60px) rotate(-5deg);
  }

  .cover-main-magazine-card {
    padding: 16px;
    border-radius: 20px;
    border-width: 1.5px;
  }

  .cover-main-bottom > div:nth-child(2) {
    font-size: 1.08rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .showcase-chapter-card {
    max-width: 320px;
    border-radius: 20px;
    border-width: 1.5px;
  }

  .showcase-chapter-body {
    padding: 14px 16px 15px;
  }

  .showcase-controls-bar {
    justify-content: center;
  }

  .showcase-nav-arrows {
    background: rgba(8, 13, 23, 0.56);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 12px 4px 6px;
    border-radius: 999px;
  }

  .showcase-circle-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .issue-showcase-slider {
    padding: 64px 16px 80px;
    height: 100dvh;
    min-height: 100dvh;
  }

  .showcase-slides-viewport {
    padding: 2px 0;
    margin: auto 0 16px 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .showcase-slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 100%;
  }

  /* Hide floating video/cover visual card on mobile so background slider image is unobstructed */
  .showcase-right-visual,
  .showcase-chapter-card,
  .cover-stack-container {
    display: none !important;
  }

  .showcase-kicker-row {
    margin-bottom: 6px;
  }

  .showcase-pill-badge {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-slide-title {
    font-size: clamp(1.32rem, 5.4vw, 1.72rem);
    line-height: 1.18;
    margin-bottom: 8px;
    word-break: break-word;
  }

  .showcase-slide-skew {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 1px 8px 3px;
    border-radius: 6px;
  }

  .showcase-slide-lead {
    font-size: 0.84rem;
    line-height: 1.46;
    margin-bottom: 14px;
    -webkit-line-clamp: 2;
  }

  /* Bottom dock already has 3D PDF & Video buttons, so show 1 clean full-width primary CTA */
  .showcase-actions-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .showcase-actions-row > button:nth-child(n+2) {
    display: none !important;
  }

  .showcase-btn-primary,
  .showcase-btn-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    transform: none;
    padding: 12px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-btn-primary > span,
  .showcase-btn-secondary > span {
    transform: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



/* =========================================================
   READER COMFORT TOOLBAR (FONT SCALE, SEPIA/NIGHT MODES, READING TIME & BOOKMARK)
   ========================================================= */
:root {
  --reader-font-scale: 1;
}

.reader-comfort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 18px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 19, 31, 0.11);
  box-shadow: 0 10px 30px rgba(8, 27, 41, 0.06);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.rcb-left,
.rcb-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rcb-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rcb-progress-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 800;
}

.rcb-mini-bar {
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.15);
  overflow: hidden;
}

.rcb-mini-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-secondary));
  border-radius: 999px;
  transition: width 0.15s ease;
}

.rcb-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.rcb-btn {
  border: none;
  background: transparent;
  color: #334155;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rcb-btn:hover {
  background: rgba(15, 23, 42, 0.09);
  color: #0f172a;
}

.rcb-btn.active {
  background: #0c131f;
  color: #ffe650;
  box-shadow: 0 4px 12px rgba(12, 19, 31, 0.2);
}

.rcb-bookmark-btn {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #ffffff;
  color: #0f172a;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rcb-bookmark-btn:hover,
.rcb-bookmark-btn.saved {
  background: #ffe650;
  border-color: #eab308;
  color: #0c131f;
}

/* Dynamic Font Scaling for Article & Videobook Paragraphs */
.editorial-prose p,
.vb-article-body p {
  font-size: calc(1.16rem * var(--reader-font-scale, 1)) !important;
}

.vb-article-body p.vb-section-heading {
  font-size: calc(1.38rem * var(--reader-font-scale, 1)) !important;
}

.vb-article-body p.vb-section-heading:first-child {
  font-size: calc(1.62rem * var(--reader-font-scale, 1)) !important;
}

.editorial-pullquote {
  font-size: calc(1.22rem * var(--reader-font-scale, 1)) !important;
}

/* SEPIA READING MODE OVERRIDES */
.romans-light-section.reader-theme-sepia {
  background: #f3ead6 !important;
  color: #2b2115 !important;
}

.romans-light-section.reader-theme-sepia .vb-article-card,
.romans-light-section.reader-theme-sepia .vb-player-card,
.romans-light-section.reader-theme-sepia .reader-comfort-bar,
.romans-light-section.reader-theme-sepia .editorial-gallery-card {
  background: #faf3e3 !important;
  border-color: rgba(104, 77, 40, 0.18) !important;
  color: #2b2115 !important;
}

.romans-light-section.reader-theme-sepia .editorial-prose p,
.romans-light-section.reader-theme-sepia .vb-article-body p,
.romans-light-section.reader-theme-sepia .vb-article-body p.vb-section-heading,
.romans-light-section.reader-theme-sepia .masked-statement-heading,
.romans-light-section.reader-theme-sepia .editorial-prose h3 {
  color: #261c10 !important;
}

.romans-light-section.reader-theme-sepia .editorial-pullquote,
.romans-light-section.reader-theme-sepia .vb-hint-box {
  background: #efe2c6 !important;
  color: #2b2115 !important;
}

/* NIGHT READING MODE OVERRIDES */
.romans-light-section.reader-theme-night {
  background: #0a101d !important;
  color: #e2e8f0 !important;
}

.romans-light-section.reader-theme-night .vb-article-card,
.romans-light-section.reader-theme-night .vb-player-card,
.romans-light-section.reader-theme-night .reader-comfort-bar,
.romans-light-section.reader-theme-night .editorial-gallery-card {
  background: #111a2e !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}

.romans-light-section.reader-theme-night .editorial-prose p,
.romans-light-section.reader-theme-night .vb-article-body p {
  color: #dbe4f0 !important;
}

.romans-light-section.reader-theme-night .vb-article-body p.vb-section-heading,
.romans-light-section.reader-theme-night .masked-statement-heading,
.romans-light-section.reader-theme-night .editorial-prose h3,
.romans-light-section.reader-theme-night .text-segment strong {
  color: #ffffff !important;
}

.romans-light-section.reader-theme-night .text-segment.active {
  background-color: #ffe650 !important;
  color: #0c131f !important;
}

.romans-light-section.reader-theme-night .text-segment.active strong {
  color: #0c131f !important;
}

.romans-light-section.reader-theme-night .editorial-pullquote,
.romans-light-section.reader-theme-night .vb-hint-box,
.romans-light-section.reader-theme-night .vb-controls-bar {
  background: #17233b !important;
  color: #f1f5f9 !important;
  border-color: var(--accent-gold) !important;
}

.romans-light-section.reader-theme-night .rcb-stat-pill,
.romans-light-section.reader-theme-night .rcb-progress-wrap,
.romans-light-section.reader-theme-night .rcb-group {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

.romans-light-section.reader-theme-night .rcb-btn {
  color: #cbd5e1 !important;
}

.romans-light-section.reader-theme-night .rcb-btn.active {
  background: #ffe650 !important;
  color: #0c131f !important;
}

.romans-light-section.reader-theme-night .editorial-footnotes,
.romans-light-section.reader-theme-night .footnote-item-body {
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* =========================================================
   FLOATING VIDEOBOOK MINI-PLAYER & LIVE SUBTITLE DOCK
   ========================================================= */
.floating-mini-player {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8600 !important;
  width: min(430px, calc(100vw - 32px));
  background: rgba(9, 15, 28, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.5px solid rgba(255, 230, 80, 0.55);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 28px rgba(255, 230, 80, 0.18);
  color: #ffffff;
  transform: translateY(130%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.42s var(--ease-out-expo), opacity 0.32s ease, visibility 0.32s ease;
}

.floating-mini-player.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#openRadioBtn.active {
  background: rgba(255, 230, 80, 0.16);
  border-color: #ffe650;
  color: #ffe650;
  box-shadow: 0 0 18px rgba(255, 230, 80, 0.25);
}

.fmp-mode-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(4, 9, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 10px;
}

.fmp-mode-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  border-radius: 9px;
  padding: 6px 10px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.fmp-mode-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.fmp-mode-tab.active {
  background: #ffe650;
  border-color: #ffe650;
  color: #090f1c;
  box-shadow: 0 4px 12px rgba(255, 230, 80, 0.28);
}

.fmp-playlist-drawer {
  background: rgba(4, 9, 18, 0.94);
  border: 1px solid rgba(255, 230, 80, 0.35);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 12px;
  max-height: 255px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fmp-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fmp-playlist-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe650;
}

.fmp-playlist-count {
  background: rgba(255, 230, 80, 0.2);
  color: #ffe650;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
}

.fmp-playlist-modes {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fmp-mode-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 3px 8px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fmp-mode-pill.active,
.fmp-mode-pill:hover {
  background: rgba(255, 230, 80, 0.22);
  border-color: #ffe650;
  color: #ffe650;
}

/* Custom Styled Dark & Gold Podcast Category Dropdown */
.fmp-custom-filter-wrap {
  position: relative;
  padding: 2px 0 4px 0;
  z-index: 30;
}

.fmp-custom-filter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(135deg, #0d1628 0%, #132038 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 230, 80, 0.48);
  border-radius: 10px;
  padding: 7px 11px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.fmp-custom-filter-btn:hover,
.fmp-custom-filter-wrap.open .fmp-custom-filter-btn {
  border-color: #ffe650;
  background: #152440;
  box-shadow: 0 0 14px rgba(255, 230, 80, 0.2);
}

.fmp-custom-filter-label {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.fmp-custom-filter-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fmp-custom-filter-badge {
  background: rgba(255, 230, 80, 0.2);
  color: #ffe650;
  border: 1px solid rgba(255, 230, 80, 0.4);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.fmp-custom-filter-arrow {
  color: #ffe650;
  font-size: 0.78rem;
  transition: transform 0.22s ease;
}

.fmp-custom-filter-wrap.open .fmp-custom-filter-arrow {
  transform: rotate(180deg);
}

.fmp-custom-filter-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  max-height: 200px;
  overflow-y: auto;
  background: #080d18;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 230, 80, 0.72);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.92), 0 0 24px rgba(255, 230, 80, 0.18);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  scrollbar-width: none;
}

.fmp-custom-filter-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.fmp-custom-filter-wrap.open .fmp-custom-filter-menu {
  display: flex;
}

.fmp-custom-filter-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.fmp-custom-filter-option:hover {
  background: rgba(255, 230, 80, 0.14);
  border-color: rgba(255, 230, 80, 0.45);
  color: #ffffff;
}

.fmp-custom-filter-option.active {
  background: rgba(255, 230, 80, 0.22);
  border-color: #ffe650;
  color: #ffe650;
  font-weight: 800;
}

.fmp-custom-filter-opt-name {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-custom-filter-opt-count {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
}

.fmp-custom-filter-option.active .fmp-custom-filter-opt-count,
.fmp-custom-filter-option:hover .fmp-custom-filter-opt-count {
  background: #ffe650;
  color: #090f1c;
}

#fmpPodcastFilterSelect,
#fmpPodcastFilterSelect option {
  background-color: #0b1322 !important;
  color: #f8fafc !important;
  color-scheme: dark;
}

.fmp-playlist-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  max-height: 195px;
}

.fmp-playlist-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  color: #f1f5f9;
  font-family: var(--font-sans);
}

.fmp-playlist-item:hover {
  background: rgba(255, 230, 80, 0.12);
  border-color: rgba(255, 230, 80, 0.45);
}

.fmp-playlist-item.active {
  background: rgba(255, 230, 80, 0.18);
  border-color: #ffe650;
}

.fmp-playlist-item-idx {
  font-size: 0.66rem;
  font-weight: 800;
  color: #ffe650;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.fmp-playlist-item-thumb {
  width: 38px;
  height: 26px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.fmp-playlist-item-info {
  min-width: 0;
  flex: 1;
}

.fmp-playlist-item-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-playlist-item-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-playlist-item.active .fmp-playlist-item-sub {
  color: #ffe650;
}

.fmp-embedded-video-stage {
  width: 200px;
  height: 200px;
  opacity: 0.001;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
  background: #050912;
  transition: height 0.3s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
}

.fmp-embedded-video-stage.video-expanded {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  margin-bottom: 10px;
  border: 1.5px solid rgba(255, 230, 80, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

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

.fmp-top-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 10px;
}

.fmp-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.fmp-thumb {
  width: 44px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 230, 80, 0.5);
  flex-shrink: 0;
}

.fmp-header-text {
  min-width: 0;
  flex: 1;
}

.fmp-chapter-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe650;
}

.fmp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe650;
  box-shadow: 0 0 10px #ffe650;
  animation: vbPulse 1.4s infinite ease-in-out;
}

.fmp-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

#fmpCloseBtn {
  margin-left: auto;
}

.fmp-icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 4px 9px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fmp-icon-btn:hover,
.fmp-icon-btn.active {
  background: #ffe650;
  border-color: #ffe650;
  color: #0c131f;
}

/* Picture-in-Picture Docked Live Video Window right above the Floating Mini-Player */
.romans-light-section.has-pip-docked {
  z-index: 8620 !important;
}

.vb-video-frame.pip-docked {
  position: fixed !important;
  right: 24px !important;
  bottom: var(--fmp-dynamic-bottom, 224px) !important;
  width: min(360px, calc(100vw - 32px)) !important;
  aspect-ratio: 16 / 9 !important;
  z-index: 8650 !important;
  border: 2px solid #ffe650 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 24px rgba(255, 230, 80, 0.32) !important;
  transition: bottom 0.24s ease !important;
}

.fmp-subtitle-box {
  background: rgba(255, 230, 80, 0.14);
  border-left: 3.5px solid #ffe650;
  border-radius: 0 12px 12px 0;
  padding: 9px 12px;
  margin-bottom: 11px;
  cursor: pointer;
  transition: background 0.2s ease;
  max-height: 76px;
  overflow-y: auto;
  scrollbar-width: none;
}

.fmp-subtitle-box:hover {
  background: rgba(255, 230, 80, 0.24);
}

.fmp-subtitle-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.42;
  color: #fef08a;
  font-style: normal;
  display: block;
}

.fmp-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fmp-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ffe650;
  color: #0c131f;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.fmp-play-btn:hover {
  transform: scale(1.08);
}

.fmp-skip-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 4px 8px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.fmp-skip-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.fmp-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
}

.fmp-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffe650, #10b981);
  border-radius: 999px;
  transition: width 0.12s linear;
}

.fmp-time {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* =========================================================
   IN-ARTICLE INTERACTIVE VISUAL / ART GALLERY & LIGHTBOX ZOOM
   ========================================================= */
.editorial-gallery-section {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.editorial-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.editorial-gallery-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark-text);
  margin-bottom: 4px;
}

.editorial-gallery-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.editorial-gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(12, 19, 31, 0.1);
  box-shadow: 0 14px 34px rgba(8, 27, 41, 0.08);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.editorial-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(8, 27, 41, 0.16);
}

.editorial-gallery-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1322;
}

.editorial-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.editorial-gallery-card:hover .editorial-gallery-thumb img {
  transform: scale(1.07);
}

.editorial-gallery-zoom-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(8, 14, 26, 0.82);
  backdrop-filter: blur(8px);
  color: #ffe650;
  border: 1px solid rgba(255, 230, 80, 0.45);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-gallery-caption {
  padding: 13px 16px;
}

.editorial-gallery-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark-text);
  margin-bottom: 4px;
}

.editorial-gallery-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

/* Full-screen Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lightbox-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lightbox-zoom-Indicator {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffe650;
  min-width: 48px;
  text-align: center;
}

.lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.lightbox-img-Viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
}

.lightbox-img-Viewport.dragging {
  cursor: grabbing;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  transition: transform 0.18s ease-out;
  transform-origin: center center;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 16, 30, 0.8);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #061018;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-caption-bar {
  padding: 14px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 10, 20, 0.85);
  flex-shrink: 0;
}

/* =========================================================
   GLOBAL INSTANT SEARCH (CTRL+K) & AUTO-RESUME BOOKMARKS MODAL
   ========================================================= */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(5, 8, 16, 0.88);
  backdrop-filter: blur(22px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s var(--ease-out-expo);
}

.search-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-box {
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 96px);
  background: #0d1424;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.8);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.search-input-icon {
  position: absolute;
  left: 18px;
  font-size: 1.1rem;
  pointer-events: none;
}

.search-modal-input {
  width: 100%;
  padding: 15px 46px 15px 48px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-modal-input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.78rem;
}

.search-bookmarks-area {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resume-reading-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 184, 48, 0.16), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(255, 184, 48, 0.45);
}

.saved-bookmarks-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.saved-bookmark-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.saved-bookmark-chip:hover {
  border-color: #ffe650;
  background: rgba(255, 230, 80, 0.16);
  color: #ffe650;
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
  max-height: 52vh;
}

.search-result-card {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.22s ease;
}

.search-result-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.search-result-meta {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.search-result-snippet {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.search-result-snippet mark {
  background: #ffe650;
  color: #0c131f;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

@keyframes searchTargetPulse {
  0% { background-color: rgba(255, 230, 80, 0.75); box-shadow: 0 0 0 6px rgba(255, 230, 80, 0.35); }
  100% { background-color: transparent; box-shadow: 0 0 0 0 rgba(255, 230, 80, 0); }
}

.search-target-pulse {
  border-radius: 8px;
  animation: searchTargetPulse 2.4s ease-out;
}

/* In-Page Search Term Highlights & Floating Navigator */
mark.in-page-search-mark {
  background: #ffe650;
  color: #090f1c !important;
  font-weight: 800;
  font-style: normal;
  padding: 2px 5px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 230, 80, 0.45);
  transition: all 0.22s ease;
}

mark.in-page-search-mark.active-match {
  background: #ff9f1c;
  color: #060b14 !important;
  outline: 3px solid #ffe650;
  box-shadow: 0 0 0 6px rgba(255, 159, 28, 0.38), 0 6px 20px rgba(0, 0, 0, 0.45);
}

.in-page-search-bar {
  position: fixed;
  top: 86px;
  right: 24px;
  z-index: 8700;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 15, 28, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid #ffe650;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 230, 80, 0.25);
}

.ips-label {
  color: #cbd5e1;
  font-weight: 600;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ips-label strong {
  color: #ffe650;
  font-weight: 800;
}

.ips-counter {
  background: rgba(255, 230, 80, 0.18);
  color: #ffe650;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.ips-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ips-btn:hover {
  background: #ffe650;
  border-color: #ffe650;
  color: #090f1c;
}

.ips-btn.ips-close {
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af;
}

.ips-btn.ips-close:hover {
  background: #f43f5e;
  border-color: #f43f5e;
  color: #ffffff;
}

/* =========================================================
   IDLE / RADIO FULL-SCREEN AMBIENT VIDEO SLIDER OVERLAY
   ========================================================= */
.radio-screensaver-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 8450;
  background: #040812;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.radio-screensaver-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fmp-minimized-pill-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 8600;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(9, 15, 28, 0.92);
  border: 1.5px solid #ffe650;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fmp-minimized-pill-btn:hover {
  transform: translateY(-2px);
  background: #ffe650;
  color: #0c131f;
}

body.rss-radio-pill-mode .floating-mini-player {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.rss-radio-pill-mode .fmp-minimized-pill-btn {
  display: inline-flex;
}

.rss-video-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #040812;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.rss-slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  -webkit-transform: scale(1.04) translateZ(0);
  transform: scale(1.04) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: opacity 0.9s ease, transform 8s ease-out;
  pointer-events: none;
  border: 0;
}

.rss-slide-media.active {
  opacity: 1;
  -webkit-transform: scale(1) translateZ(0);
  transform: scale(1) translateZ(0);
}

.rss-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(4, 8, 18, var(--rss-dim, 0.55));
  box-shadow: inset 0 0 140px rgba(0, 0, 0, calc(var(--rss-dim, 0.55) * 0.85));
  transition: background 0.15s ease, box-shadow 0.15s ease;
  pointer-events: none;
}

.rss-dim-control-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 15, 28, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 230, 80, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  color: #f8fafc;
}

.rss-dim-control-pill input[type="range"] {
  width: 74px;
  height: 5px;
  accent-color: #ffe650;
  cursor: pointer;
}

.rss-topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 42px;
  flex-wrap: wrap;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

body.rss-ui-idle .rss-topbar,
.radio-screensaver-overlay.rss-ui-idle .rss-topbar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-14px) !important;
}

body.rss-ui-idle .fmp-minimized-pill-btn,
.fmp-minimized-pill-btn.rss-ui-idle {
  opacity: 0.16 !important;
  background: rgba(9, 15, 28, 0.15) !important;
  border-color: rgba(255, 230, 80, 0.22) !important;
  box-shadow: none !important;
}

body.rss-ui-idle .floating-mini-player {
  opacity: 0.16 !important;
}

.rss-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(9, 15, 28, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 230, 80, 0.45);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffe650;
}

.rss-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rss-top-actions .romans-pill-btn,
.rss-dim-control-pill,
.rss-dim-control-pill span {
  white-space: nowrap;
  flex-shrink: 0;
}

.rss-caption-card {
  position: relative;
  z-index: 4;
  margin: auto auto 36px 42px;
  width: min(860px, calc(100vw - 490px));
  max-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
  background: rgba(7, 13, 25, var(--rss-card-dim, 0.78));
  backdrop-filter: blur(var(--rss-card-blur, 22px));
  -webkit-backdrop-filter: blur(var(--rss-card-blur, 22px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid #ffe650;
  border-radius: 22px;
  padding: 26px 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, calc(var(--rss-card-dim, 0.78) * 0.85));
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.15s ease;
}

.rss-card-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rss-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffe650;
  margin-bottom: 0;
}

.rss-article-counter {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 230, 80, 0.95);
  background: rgba(255, 230, 80, 0.14);
  border: 1px solid rgba(255, 230, 80, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}

.rss-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  font-style: normal;
  margin-bottom: 14px;
}

.rss-article-scroll-box {
  position: relative;
  flex: 1;
  min-height: 180px;
  max-height: clamp(220px, 46vh, 440px);
  overflow-y: auto;
  padding-right: 0;
  margin-bottom: 16px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%);
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.rss-article-scroll-box::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.rss-article-scroll-inner {
  padding: 12px 0 38px 0;
}

.rss-text,
.rss-article-para {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 500;
  line-height: 1.72;
  color: #e2e8f0;
  font-style: normal;
  margin: 0 0 16px 0;
}

.rss-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rss-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rss-dot {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.rss-dot.active {
  width: 48px;
  background: #ffe650;
  box-shadow: 0 0 12px rgba(255, 230, 80, 0.5);
}

@media (max-width: 1024px) {
  .rss-topbar {
    padding: 16px 20px;
    gap: 10px;
  }

  .rss-top-actions {
    gap: 6px;
  }

  .rss-caption-card {
    margin: auto 20px 80px 20px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    padding: 20px 22px;
  }
}

@media (max-width: 768px) {
  .rss-topbar {
    padding: 10px 10px 4px 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .rss-brand-badge {
    justify-content: center;
    font-size: 0.62rem;
    padding: 6px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rss-top-actions {
    justify-content: center;
    gap: 5px;
  }

  .rss-dim-control-pill {
    flex: 1 1 calc(50% - 4px);
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 0.65rem;
  }

  .rss-dim-control-pill input[type="range"] {
    flex: 1;
    width: 48px;
    min-width: 40px;
  }

  .rss-top-actions .romans-pill-btn {
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  .rss-caption-card {
    margin: 6px 10px 62px 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    flex: 1 1 auto;
    min-height: 0;
    padding: 15px 16px;
    border-radius: 16px;
  }

  .rss-title {
    font-size: clamp(1.1rem, 4.6vw, 1.45rem);
    margin-bottom: 8px;
  }

  .rss-article-scroll-box {
    flex: 1 1 auto;
    min-height: 110px;
    max-height: none;
    margin-bottom: 10px;
  }

  .rss-text,
  .rss-article-para {
    font-size: clamp(0.86rem, 3.6vw, 0.98rem);
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .rss-dot {
    width: 14px;
    height: 4px;
  }

  .rss-dot.active {
    width: 24px;
  }

  .fmp-minimized-pill-btn {
    right: 12px;
    bottom: 12px;
    padding: 9px 16px;
    font-size: 0.76rem;
  }

  .floating-mini-player {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
  }

  .reader-comfort-bar {
    padding: 10px 12px;
    gap: 10px;
  }
}

/* ============================================================================
   CHAPTER AUDIO SWITCH PROMPT (ON-SCREEN RADIO / ARTICLE LISTEN QUESTION)
   ============================================================================ */
.chapter-audio-switch-prompt {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translate3d(-50%, -24px, 0) scale(0.96);
  z-index: 9850;
  width: min(560px, calc(100vw - 24px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter-audio-switch-prompt.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.casp-card {
  background: linear-gradient(145deg, rgba(11, 18, 32, 0.97) 0%, rgba(18, 29, 51, 0.97) 100%);
  border: 1.5px solid rgba(255, 230, 80, 0.55);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 28px rgba(255, 230, 80, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.casp-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.casp-thumb-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 230, 80, 0.45);
  background: #090f1c;
}

.casp-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casp-thumb-icon {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(9, 15, 28, 0.88);
  border: 1px solid rgba(255, 230, 80, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.casp-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.casp-kicker {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe650;
}

.casp-article-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
  color: #ffffff;
  font-style: normal;
}

.casp-question {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  font-style: normal;
}

.casp-close-x {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.casp-close-x:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffffff;
}

.casp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.casp-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.casp-btn-yes {
  background: linear-gradient(135deg, #ffe650 0%, #f59e0b 100%);
  border: 1px solid #ffe650;
  color: #090f1c;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.32);
}

.casp-btn-yes:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.45);
}

.casp-btn-no {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
}

.casp-btn-no:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffffff;
}

@media (max-width: 640px) {
  .chapter-audio-switch-prompt {
    top: 64px;
    width: calc(100vw - 20px);
  }
  .casp-card {
    padding: 13px 14px;
    gap: 11px;
  }
  .casp-thumb-wrap {
    width: 52px;
    height: 52px;
  }
  .casp-article-title {
    font-size: 0.9rem;
  }
  .casp-question {
    font-size: 0.8rem;
  }
  .casp-actions {
    flex-direction: column;
    gap: 8px;
  }
  .casp-btn {
    width: 100%;
    padding: 10px 14px;
  }
}
