/* Ministry cluster compact lane — daily, weekly, sermons, chronology, prayer, give */

:root {
  --mc-bg: #020507;
  --mc-surface: #09100d;
  --mc-gold: #f0c963;
  --mc-gold-soft: rgba(240, 201, 99, 0.18);
  --mc-ink: #e8e0d0;
  --mc-muted: #8a9a90;
  --mc-line: rgba(240, 201, 99, 0.14);
  --mc-serif: Georgia, "Times New Roman", serif;
  --mc-ui: system-ui, -apple-system, sans-serif;
  --mc-nav-height: 3.35rem;
  --mc-hero-min: clamp(280px, 42vh, 400px);
  --mc-hero-pad-x: clamp(1rem, 4vw, 2rem);
  --mc-hero-pad-y: clamp(2rem, 4.5vw, 3rem);
  --mc-hero-title: clamp(2rem, 4.2vw, 2.85rem);
  --mc-hero-kicker: 0.68rem;
  --mc-section-y: clamp(2.25rem, 3.5vw, 3rem);
}

body.mc-lane-dedicated {
  background: var(--mc-bg);
  color: var(--mc-ink);
}

body.mc-lane-dedicated #masthead,
body.mc-lane-dedicated #colophon,
body.mc-lane-dedicated .dm-site-header,
body.mc-lane-dedicated .dm-route-atlas,
body.mc-lane-dedicated .dm-pathfinder,
body.mc-lane-dedicated .ps-portal-lanes,
body.mc-lane-dedicated .ps-witness-rail,
body.mc-lane-dedicated .ps-route-dock,
body.mc-lane-dedicated #ps-cosmos-lite,
body.mc-lane-dedicated .ps-nebula-wash,
body.mc-lane-dedicated .ps-film-grain,
body.mc-lane-dedicated .ps-light-pillar,
body.mc-lane-dedicated .ps-jawdrop-frame > .ps-portal-lanes,
body.mc-lane-dedicated .ps-route-hero {
  display: none !important;
}

body.mc-lane-dedicated .site-content,
body.mc-lane-dedicated .ast-container,
body.mc-lane-dedicated .content-area.primary,
body.mc-lane-dedicated .entry-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

body.mc-lane-dedicated .ast-separate-container .ast-article-single,
body.mc-lane-dedicated .ast-separate-container .ast-article-post {
  padding: 0 !important;
  background: transparent !important;
}

/* ── Shared cluster nav ── */
.mc-cluster-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1.25rem;
  min-height: var(--mc-nav-height);
  padding: 0.55rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(2, 5, 7, 0.98), rgba(2, 5, 7, 0.88));
  border-bottom: 1px solid var(--mc-line);
  backdrop-filter: blur(12px);
}

.mc-cluster-links-wrap {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.mc-cluster-links-wrap::-webkit-scrollbar {
  display: none;
}

.mc-cluster-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mc-gold);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.mc-cluster-brand-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mc-gold);
  box-shadow: 0 0 12px rgba(240, 201, 99, 0.75);
}

.mc-cluster-brand-text {
  white-space: nowrap;
}

.mc-cluster-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  padding: 0.1rem 0;
}

.mc-cluster-links a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(240, 201, 99, 0.18);
  border-radius: 999px;
  color: var(--mc-muted);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mc-cluster-links a:hover,
.mc-cluster-links a:focus-visible {
  color: var(--mc-gold);
  border-color: rgba(240, 201, 99, 0.38);
  transform: translateY(-1px);
}

.mc-cluster-links a.is-active {
  color: var(--mc-ink);
  background: rgba(240, 201, 99, 0.12);
  border-color: rgba(240, 201, 99, 0.42);
}

.mc-cluster-shell {
  background: var(--mc-bg);
  color: var(--mc-ink);
  min-height: 100vh;
}

/* ── Weekly updates wrapper ── */
.dm-wu-home {
  background: var(--mc-bg);
  color: var(--mc-ink);
}

/* ── Hub gateway (prayer / give) warm compact hero ── */
body.mc-lane-dedicated .dm-hub-gateway {
  position: relative;
  min-height: var(--mc-hero-min) !important;
  padding: var(--mc-hero-pad-y) var(--mc-hero-pad-x);
  scroll-margin-top: var(--mc-nav-height);
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(240, 201, 99, 0.12), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(141, 231, 237, 0.08), transparent 52%),
    linear-gradient(180deg, #03080a 0%, #020507 100%) !important;
  border-bottom: 1px solid var(--mc-line);
  color: var(--mc-ink);
}

body.mc-lane-dedicated .dm-hub-gateway::before,
body.mc-lane-dedicated .dm-hub-gateway::after {
  opacity: 0.35 !important;
}

body.mc-lane-dedicated .dm-hub-kicker {
  color: var(--mc-gold);
  font-family: "Courier New", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

body.mc-lane-dedicated .dm-hub-title {
  font-family: var(--mc-serif);
  font-size: var(--mc-hero-title);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 18ch;
  margin: 0 0 0.85rem;
}

body.mc-lane-dedicated .dm-hub-copy,
body.mc-lane-dedicated .dm-hub-note {
  color: var(--mc-muted);
  max-width: 52ch;
  line-height: 1.65;
}

body.mc-lane-dedicated .dm-hub-note {
  color: rgba(240, 201, 99, 0.82);
  font-style: italic;
}

body.mc-lane-dedicated .dm-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.mc-lane-dedicated .dm-hub-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid rgba(240, 201, 99, 0.28);
  border-radius: 2px;
  color: var(--mc-gold) !important;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.mc-lane-dedicated .dm-hub-action-primary {
  background: var(--mc-gold);
  color: #020507 !important;
  border-color: var(--mc-gold);
}

body.mc-lane-dedicated .dm-hub-console {
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: rgba(4, 9, 14, 0.78);
  padding: 1.1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

body.mc-lane-dedicated .dm-hub-console-label {
  color: var(--mc-gold);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.mc-lane-dedicated .dm-public-order-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--mc-muted);
  line-height: 1.6;
}

/* ── Prayer / give lower sections on dark lane ── */
body.mc-lane-dedicated .dm-section-white,
body.mc-lane-dedicated .dm-section-cream {
  background: var(--mc-bg) !important;
  color: var(--mc-ink);
  border-top: 1px solid var(--mc-line);
}

body.mc-lane-dedicated .dm-section-title,
body.mc-lane-dedicated .dm-card-header-title {
  color: #fff !important;
  font-family: var(--mc-serif);
}

body.mc-lane-dedicated .dm-section-desc,
body.mc-lane-dedicated .dm-card-desc,
body.mc-lane-dedicated .dm-card-header-label,
body.mc-lane-dedicated .dm-eyebrow {
  color: var(--mc-muted) !important;
}

body.mc-lane-dedicated .dm-note-panel {
  background: rgba(4, 9, 14, 0.82);
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  color: var(--mc-ink);
}

body.mc-lane-dedicated .dm-note-panel h3 {
  color: #fff;
  font-family: var(--mc-serif);
}

body.mc-lane-dedicated .dm-note-panel p,
body.mc-lane-dedicated .dm-note-panel li {
  color: var(--mc-muted);
}

body.mc-lane-dedicated .dm-card {
  background: rgba(4, 9, 14, 0.72);
  border: 1px solid var(--mc-line);
}

body.mc-lane-dedicated .dm-card-link,
body.mc-lane-dedicated .dm-btn-primary {
  color: #020507 !important;
  background: var(--mc-gold);
}

body.mc-lane-dedicated .dm-btn-outline {
  border-color: rgba(240, 201, 99, 0.32);
  color: var(--mc-gold) !important;
}

body.mc-lane-dedicated .dm-trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

body.mc-lane-dedicated .dm-trust-badge {
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  background: rgba(4, 9, 14, 0.72);
  padding: 0.85rem;
  text-align: center;
}

body.mc-lane-dedicated .dm-trust-label {
  color: var(--mc-muted);
  font-size: 0.82rem;
}

body.mc-lane-dedicated .dm-lane-orientation {
  display: none;
}

body.mc-lane-dedicated .dm-form-shell input,
body.mc-lane-dedicated .dm-form-shell textarea,
body.mc-lane-dedicated .dm-form-shell select {
  background: rgba(4, 9, 14, 0.88) !important;
  border-color: rgba(240, 201, 99, 0.22) !important;
  color: var(--mc-ink) !important;
}

body.mc-lane-dedicated .dm-form-shell label {
  color: var(--mc-muted) !important;
}

/* ── Daily / sermons / chronology / weekly compact heroes ── */
body.mc-lane-dedicated .dm-dy-hero,
body.mc-lane-dedicated .dm-sr-hero,
body.mc-lane-dedicated .dm-ch-hero,
body.mc-lane-dedicated .dm-wu-hero {
  min-height: var(--mc-hero-min) !important;
  scroll-margin-top: var(--mc-nav-height);
}

body.mc-lane-dedicated .dm-dy-hero,
body.mc-lane-dedicated .dm-sr-hero,
body.mc-lane-dedicated .dm-ch-hero {
  justify-content: flex-end;
  padding: 0 var(--mc-hero-pad-x) var(--mc-hero-pad-y) !important;
}

body.mc-lane-dedicated .dm-dy-hero-inner,
body.mc-lane-dedicated .dm-sr-hero-inner,
body.mc-lane-dedicated .dm-ch-hero-inner {
  max-width: min(680px, 100%);
}

body.mc-lane-dedicated .dm-dy-title,
body.mc-lane-dedicated .dm-sr-title,
body.mc-lane-dedicated .dm-ch-title,
body.mc-lane-dedicated .dm-wu-hero h1 {
  font-size: var(--mc-hero-title) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem !important;
}

body.mc-lane-dedicated .dm-dy-kicker,
body.mc-lane-dedicated .dm-sr-kicker,
body.mc-lane-dedicated .dm-ch-kicker,
body.mc-lane-dedicated .dm-wu-badge {
  font-size: var(--mc-hero-kicker) !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 0.85rem !important;
}

body.mc-lane-dedicated .dm-dy-subtitle,
body.mc-lane-dedicated .dm-sr-subtitle,
body.mc-lane-dedicated .dm-ch-subtitle,
body.mc-lane-dedicated .dm-wu-subtitle,
body.mc-lane-dedicated .dm-hub-copy {
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.62;
  max-width: 48ch;
  margin-bottom: 0.85rem;
}

body.mc-lane-dedicated .dm-dy-verse,
body.mc-lane-dedicated .dm-sr-verse,
body.mc-lane-dedicated .dm-ch-verse,
body.mc-lane-dedicated .dm-wu-verse,
body.mc-lane-dedicated .dm-hub-note {
  margin: 0 0 1.15rem !important;
  font-size: 0.86rem !important;
}

body.mc-lane-dedicated .dm-dy-actions,
body.mc-lane-dedicated .dm-sr-actions,
body.mc-lane-dedicated .dm-ch-actions,
body.mc-lane-dedicated .dm-wu-hero-links,
body.mc-lane-dedicated .dm-hub-actions {
  gap: 0.55rem;
}

body.mc-lane-dedicated .dm-dy-btn-primary,
body.mc-lane-dedicated .dm-dy-btn-outline,
body.mc-lane-dedicated .dm-sr-btn-primary,
body.mc-lane-dedicated .dm-sr-btn-outline,
body.mc-lane-dedicated .dm-ch-btn-primary,
body.mc-lane-dedicated .dm-ch-btn-outline,
body.mc-lane-dedicated .dm-wu-btn-primary,
body.mc-lane-dedicated .dm-wu-btn-outline {
  min-height: 2.65rem;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* WAVE20_07 — compact hub stage grid + section rhythm */
body.mc-lane-dedicated .dm-hub-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: min(1080px, calc(100% - 1rem));
  margin: 0 auto;
}

body.mc-lane-dedicated .dm-hub-stage:has(.dm-hub-console-simple:only-child) {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
}

body.mc-lane-dedicated .dm-wu-hero-inner {
  padding: var(--mc-hero-pad-y) var(--mc-hero-pad-x) !important;
  max-width: min(760px, 100%);
  text-align: left;
}

body.mc-lane-dedicated .dm-wu-hero-links,
body.mc-lane-dedicated .dm-wu-subtitle {
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
}

body.mc-lane-dedicated .dm-wu-badge {
  display: inline-flex;
}

body.mc-lane-dedicated .dm-dy-home .dm-dy-rhythm,
body.mc-lane-dedicated .dm-sr-home section:not(.dm-sr-hero),
body.mc-lane-dedicated .dm-ch-home .dm-ch-section,
body.mc-lane-dedicated .dm-wu-read-section,
body.mc-lane-dedicated .dm-wu-signup-section,
body.mc-lane-dedicated .dm-wu-routes-section,
body.mc-lane-dedicated .dm-section {
  padding-top: var(--mc-section-y) !important;
  padding-bottom: var(--mc-section-y) !important;
  scroll-margin-top: calc(var(--mc-nav-height) + 0.5rem);
}

body.mc-lane-dedicated [id] {
  scroll-margin-top: calc(var(--mc-nav-height) + 0.75rem);
}

body.mc-lane-dedicated .dm-section,
body.mc-lane-dedicated .dm-container {
  max-width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (max-width: 900px) {
  body.mc-lane-dedicated .dm-hub-stage {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 900px) {
  .mc-cluster-links-wrap {
    mask-image: none;
  }

  .mc-cluster-links {
    flex-wrap: wrap;
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .mc-cluster-nav {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .mc-cluster-links-wrap {
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
  }

  body.mc-lane-dedicated .dm-hub-stage {
    grid-template-columns: 1fr !important;
  }

  body.mc-lane-dedicated .dm-wu-hero-inner {
    text-align: left;
  }
}
