/* ═══════════════════════════════════════════════════
   LECTIO DIVINA PAGE — lectio.css
   Mirrors rosary.css patterns exactly.
   Dark sections: var(--navy) bg, white text.
   Light sections: var(--ivory) bg, var(--text) / var(--text-soft) text.
═══════════════════════════════════════════════════ */

/* ── HERO ── mirrors .rosary-hero ── */
.lectio-hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.lectio-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(42,60,120,0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(184,150,62,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 10%, rgba(123,29,29,0.35) 0%, transparent 40%);
  z-index: 0;
}

.lectio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.lectio-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.lectio-hero-content .btn-primary {
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

/* ── INTRO ── mirrors .rosary-intro-section ── */
.lectio-intro-section {
  padding: 5rem 2rem;
  background: var(--ivory);
}
.lectio-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 769px) {
  .lectio-intro-grid { grid-template-columns: 3fr 2fr; gap: 4rem; }
}
.lectio-intro-section p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.75;
}
/* section-eyebrow, section-title, section-divider inherit from style.css
   — on ivory background they use var(--text) / var(--gold) which is correct */

/* Tradition card — mirrors .rosary-day-guide */
.lectio-tradition-card {
  background: var(--navy);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}
.lectio-tradition-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.lectio-tradition-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lectio-tradition-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(184,150,62,0.15);
}
.lectio-tradition-list li:last-child { border-bottom: none; }
.ltl-name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 400;
}
.ltl-desc {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}

/* ── TODAY'S READING ── dark section via .prayers-section in style.css ── */
.lectio-today-section {
  padding: 5rem 2rem;
}
.lectio-today-card {
  max-width: 640px;
  margin: 2rem auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.2);
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
}
.ltc-loading {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
}
.ltc-spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(184,150,62,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ltc-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}
.ltc-feast {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.ltc-readings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ltc-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.ltc-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  min-width: 5.5rem;
}
.ltc-ref {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}
.ltc-link {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,150,62,0.3);
  padding-bottom: 0.1rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.ltc-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.ltc-prompt {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── LECTIO GUIDE ── light section ── */
.lectio-guide-section {
  padding: 5rem 2rem;
  background: var(--ivory);
}
/* Override section-eyebrow / section-title for ivory bg — already dark by default ✓ */

/* Stage tabs */
.lectio-stage-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(184,150,62,0.2);
  overflow-x: auto;
}
.lectio-tab-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.75rem 1.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.lectio-tab-btn .ltb-num {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: rgba(184,150,62,0.4);
}
.lectio-tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.lectio-tab-btn.active .ltb-num { color: var(--gold); }
.lectio-tab-btn:hover:not(.active) { color: var(--text); }

/* Stage display grid */
.lectio-stage-display {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  min-height: 320px;
  margin-bottom: 2.5rem;
}
@media (min-width: 769px) {
  .lectio-stage-display { grid-template-columns: 3fr 2fr; gap: 3.5rem; }
}

/* Main panel — mirrors prayer-text-block */
.lectio-stage-main {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(184,150,62,0.2);
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
}
.lsm-latin {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.lsm-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.lsm-subtitle {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.lsm-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
}
.lsm-body p { margin-bottom: 1rem; }
.lsm-body p:last-child { margin-bottom: 0; }
.lsm-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(184,150,62,0.07);
  border-left: 2px solid var(--gold);
}
.lsm-note-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.lsm-note p {
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* Sidebar panel */
.lectio-stage-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.lsa-card {
  background: var(--navy);
  padding: 1.5rem;
  border-top: 3px solid var(--gold);
}
.lsa-card-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 0.75rem;
}
.lsa-quote {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin: 0 0 0.6rem;
}
.lsa-cite {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  display: block;
}
.lsa-scripture {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.7;
  margin: 0 0 0.4rem;
}
.lsa-ref {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

/* Stage nav */
.lectio-stage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,150,62,0.15);
}
.lectio-nav-btn {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid rgba(184,150,62,0.3);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lectio-nav-btn:hover:not(:disabled) {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(184,150,62,0.08);
}
.lectio-nav-btn:disabled { opacity: 0.3; cursor: default; }
.lectio-nav-btn.lectio-nav-next {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(184,150,62,0.1);
}
.lectio-nav-count {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  min-width: 4rem;
  text-align: center;
}

/* ── IGNATIAN EXAMEN ── dark section ── */
.lectio-examen-section {
  padding: 5rem 2rem;
  background: var(--navy);
  color: white;
}
.lectio-examen-section .section-title { color: var(--gold-light); }
.lectio-examen-section .section-lead  { color: rgba(255,255,255,0.6); }
.lectio-examen-section .section-divider {
  background: linear-gradient(to right, var(--gold), transparent);
}
.lectio-examen-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
}

/* Examen steps grid */
.lectio-examen-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

/* Each step: plain block — no flex, no columns, just top-to-bottom flow */
.examen-step {
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,150,62,0.15);
  border-top: 3px solid var(--gold);
}

/* Header row: circled number + English title side by side */
.examen-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(184,150,62,0.1);
}
.examen-step-num {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: rgba(184,150,62,0.35);
  line-height: 1;
  flex-shrink: 0;
}
.examen-step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  font-weight: 400;
}

/* Body wrap: Latin eyebrow → explanation → prayer — plain block, no flex */
.examen-step-body-wrap {
  padding: 1.1rem 1.5rem 1.25rem;
  display: block;
}

/* Latin title as eyebrow */
.examen-step-latin {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.65rem;
}

/* Explanation — full card width */
.examen-step-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  display: block;
  margin-bottom: 0.9rem;
}

/* Prayer prompt — delineated block */
.examen-step-prompt {
  padding: 0.85rem 1.1rem;
  background: rgba(184,150,62,0.07);
  border-left: 3px solid rgba(184,150,62,0.4);
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.97rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* Closing quote */
.lectio-examen-quote {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(184,150,62,0.2);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}
.lectio-examen-quote cite {
  display: block;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
}
