/* =========================
FILE: styles.css
(Full CSS + Bible book style + Fullscreen reader mode + ONE centered column update)
========================= */

:root{
  --bg: #05070c;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: #eaf2ff;
  --muted: rgba(234,242,255,0.72);
  --line: rgba(234,242,255,0.14);
  --sky: #3db7ff;
  --sky2: #67d1ff;
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(900px 500px at 20% 10%, rgba(61,183,255,0.20), transparent 60%),
              radial-gradient(700px 400px at 80% 20%, rgba(103,209,255,0.14), transparent 60%),
              var(--bg);
  color: var(--text);
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1100px, 92%); margin:0 auto; }

/* Progress bar */
.progress{
  position:fixed;
  top:0; left:0;
  height:3px;
  width:0%;
  background: linear-gradient(90deg, var(--sky), var(--sky2));
  z-index:9999;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(12px);
  background: rgba(5,7,12,0.65);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap:14px;
}

.logo{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
}
.logo span{ color: var(--sky); }
.logo-dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--sky);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.18);
}

/* Desktop nav */
.nav{
  display:flex; align-items:center; gap:16px;
}
.nav-link{
  opacity:0.9;
  padding:10px 10px;
  border-radius: 12px;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.nav-link:hover{
  background: rgba(61,183,255,0.10);
  transform: translateY(-1px);
  opacity:1;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(61,183,255,0.98), rgba(103,209,255,0.9));
  color: #00131f;
  font-weight: 800;
  border: 0;
  cursor:pointer;
  box-shadow: 0 12px 28px rgba(61,183,255,0.22);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn.small{ padding:10px 14px; border-radius: 12px; }
.btn.block{ width:100%; }
.btn.ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(61,183,255,0.35);
  box-shadow:none;
}
.btn.ghost:hover{ background: rgba(61,183,255,0.10); }

.icon-btn{
  border:1px solid rgba(234,242,255,0.16);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.icon-btn:hover{ border-color: rgba(61,183,255,0.55); }

/* Hamburger */
.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.hamburger span{
  display:block;
  width:18px;
  height:2px;
  background: var(--text);
  margin:5px auto;
  border-radius: 2px;
}

/* Hero */
.hero{ padding: 64px 0 34px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items:stretch;
}
.pill{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(61,183,255,0.35);
  background: rgba(61,183,255,0.09);
  color: var(--muted);
  margin: 0 0 14px;
}
.hero h1{
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.06;
  margin: 0 0 12px;
}
.sub{
  color: var(--muted);
  font-size: 1.05rem;
  line-height:1.55;
  margin: 0 0 18px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* Verse card */
.verse-card{
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(61,183,255,0.22);
  background: rgba(255,255,255,0.04);
}
.verse-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}
.tag{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(61,183,255,0.12);
  border: 1px solid rgba(61,183,255,0.26);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}
.verse-text{
  margin: 0;
  color: var(--text);
  font-weight: 750;
  line-height:1.5;
}
.verse-ref{
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.stat-num{
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--sky2);
}
.stat-label{ color: var(--muted); font-size: 0.95rem; }

/* Hero card */
.hero-card{
  position:relative;
  border-radius: 24px;
  border: 1px solid rgba(61,183,255,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  overflow:hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.glass{ position:relative; z-index:2; padding: 22px; }
.glass h3{ margin: 14px 0 6px; font-size: 1.2rem; }
.glass p{ margin: 0 0 16px; color: var(--muted); line-height:1.55; }
.chip{
  width:54px; height:54px;
  border-radius: 18px;
  background: rgba(61,183,255,0.12);
  border: 1px solid rgba(61,183,255,0.30);
  box-shadow: 0 0 0 10px rgba(61,183,255,0.08);
}
.mini-cards{ display:grid; gap:10px; margin-top: 10px; }
.mini{
  display:flex; align-items:center; gap:10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(234,242,255,0.10);
}
.mini span{
  width:10px; height:10px;
  border-radius:50%;
  background: var(--sky);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.12);
}
/* ✅ FIX mini-cards: only the FIRST span is the dot */
.mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(234,242,255,0.10);
}

/* dot */
.mini > span:first-child{
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.12);
}

/* text */
.mini > span:last-child{
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
  line-height: 1.2;
}

.orb{ position:absolute; border-radius: 999px; filter: blur(18px); opacity: 0.75; }
.orb1{ width:240px; height:240px; right:-80px; top:-90px; background: rgba(61,183,255,0.45); }
.orb2{ width:220px; height:220px; left:-110px; bottom:-120px; background: rgba(103,209,255,0.25); }

/* Sections */
.section{ padding: 62px 0; }
.section.alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(234,242,255,0.08);
  border-bottom: 1px solid rgba(234,242,255,0.08);
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom: 22px;
}
.section-head h2{ margin:0; font-size: 1.9rem; }
.section-head p{ margin:0; color: var(--muted); max-width: 560px; line-height:1.5; }

/* Grids */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Cards */
.card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0; color: var(--muted); line-height:1.55; }

/* Steps */
.steps{ display:grid; gap: 12px; }
.step{
  display:grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(61,183,255,0.16);
  background: rgba(0,0,0,0.18);
}
.step-num{
  width:46px; height:46px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(61,183,255,0.14);
  border: 1px solid rgba(61,183,255,0.28);
  font-weight: 900;
  color: var(--text);
}
.step h3{ margin: 0 0 4px; }
.step p{ margin: 0; color: var(--muted); line-height:1.55; }

/* CTA */
.cta{
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(61,183,255,0.22);
  background: linear-gradient(180deg, rgba(61,183,255,0.09), rgba(0,0,0,0.22));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

/* Quotes */
.quote{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.quote p{ margin:0 0 10px; color: var(--text); line-height:1.55; font-weight: 700; }
.quote span{ color: var(--muted); }

/* Resources */
.resource{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(61,183,255,0.16);
  background: rgba(0,0,0,0.18);
}
.resource h3{ margin:0 0 8px; }
.resource p{ margin:0 0 12px; color: var(--muted); line-height:1.55; }

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,0.62);
  padding: 18px;
  z-index: 3000;
}
.modal.open{ display:grid; }
.modal-box{
  width:min(720px, 96%);
  border-radius: 22px;
  border: 1px solid rgba(61,183,255,0.22);
  background: rgba(5,7,12,0.92);
  box-shadow: var(--shadow);
  padding: 16px;
}
.modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(234,242,255,0.10);
}
.modal-content{ padding: 12px 0; }
.modal-actions{ display:flex; gap: 10px; justify-content:flex-end; }

.bible-card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(61,183,255,0.16);
  background: rgba(0,0,0,0.18);
}

.muted{ color: var(--muted); line-height: 1.55; }

.mini-label{
  display:block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.bible-input, .bible-textarea{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}

.bible-input:focus, .bible-textarea:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

.bible-actions{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}
.bible-reader{
  display:grid;
  gap: 14px;
}

.bible-controls{
  display:grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items:end;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

select{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}

select:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

.bible-box{
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(61,183,255,0.22);
  background: rgba(255,255,255,0.04);
}

.bible-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(234,242,255,0.10);
}

/* Default verse card fallback (editor preview or empty states) */
.bible-verses{
  padding-top: 12px;
  display:grid;
  gap: 10px;
}

.verse{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(234,242,255,0.10);
  background: rgba(0,0,0,0.20);
}

.verse small{
  color: var(--sky2);
  font-weight: 900;
  margin-right: 8px;
}

/* Forms */
.form{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label{
  display:block;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}
input, textarea{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

/* Lists */
.list{ margin: 0; padding-left: 18px; color: var(--muted); }
.list li{ margin: 8px 0; }

/* Footer (same style as your preference) */
.footer{
  background:#222;
  color:#eee;
  text-align:center;
  padding:2rem;
}
.footer a{ color:inherit; text-decoration:none; }
.footer a:hover{ text-decoration:underline; }
.footer-links{ opacity:0.85; }

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0px);
}

/* ===== Bible Shell Layout ===== */
.bible-layout{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items:start;
}

.bible-sidebar{
  position: sticky;
  top: 86px;
  border-radius: 22px;
  border: 1px solid rgba(61,183,255,0.22);
  background: rgba(255,255,255,0.03);
  overflow:hidden;
}

.sidebar-top{
  padding: 14px;
  border-bottom: 1px solid rgba(234,242,255,0.10);
  display:grid;
  gap: 10px;
}

.sidebar-search{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}

.sidebar-search:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

.book-list{
  max-height: calc(100vh - 160px);
  overflow:auto;
  padding: 10px;
}

.book-btn{
  width:100%;
  text-align:left;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.08);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
  transition: transform .15s ease, border .15s ease, background .15s ease;
}

.book-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(61,183,255,0.26);
  background: rgba(61,183,255,0.06);
}

.book-btn.active{
  border-color: rgba(61,183,255,0.40);
  background: rgba(61,183,255,0.10);
}

.book-chip{
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid rgba(234,242,255,0.12);
  padding: 4px 8px;
  border-radius: 999px;
}

.bible-main{
  display:grid;
  gap: 14px;
}

.bible-toolbar{
  border-radius: 22px;
  border: 1px solid rgba(61,183,255,0.22);
  background: rgba(255,255,255,0.03);
  padding: 14px;
  display:grid;
  gap: 12px;
}

/* Toolbar rows */
.toolbar-row{
  display:flex;
  gap: 10px;
  align-items:end;
  flex-wrap: wrap;
  justify-content: space-between;
}

.toolbar-title{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-actions{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.tiny{
  display:grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.tiny-input{
  min-width: 160px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}

.tiny-input:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

.tiny.grow{ flex: 1; min-width: 220px; }

/* Paste Area / Help (admin page) */
.paste-area{
  width:100%;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline:none;
}
.paste-area:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}

.paste-help{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.card-mini{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(234,242,255,0.10);
  background: rgba(0,0,0,0.18);
}
.card-mini p{ margin: 6px 0 0; color: var(--muted); line-height:1.55; }
.card-mini pre{
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.10);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  overflow:auto;
}

.render-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  margin-top: 14px;
}

/* ===== Bible Reader "Book style" (override card verses) ===== */
.bible-box.bible-book{
  padding: 18px;
}

/* Reader typography (base) */
.bible-reading{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(234,242,255,0.92);
}

/* NOTE: We will override to ONE column at the bottom with !important */
/* (Keeping this block is safe; override below will win) */
@media (min-width: 980px){
  .bible-reading{
    column-count: 2;
    column-gap: 42px;
  }
}

.bible-para{
  break-inside: avoid;
  margin: 0 0 10px;
}

/* Inline verse number */
.vnum{
  display:inline-block;
  min-width: 1.6em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(103,209,255,0.95);
  transform: translateY(-2px);
  margin-right: 6px;
}

/* remove the "card" styling for verses in reader mode */
.bible-book .bible-verses{
  display:block;
  padding-top: 12px;
}

.bible-book .verse{
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

/* subtle verse hover highlight (optional) */
.bible-book .verse:hover{
  background: rgba(61,183,255,0.06);
  border-radius: 10px;
  padding: 2px 6px;
  margin-left: -6px;
  margin-right: -6px;
}

/* Verse anchor highlight (jump/search) */
.bible-book .verse.flash{
  outline: 2px solid rgba(61,183,255,0.55);
  border-radius: 12px;
  padding: 2px 6px;
  margin-left: -6px;
  margin-right: -6px;
}

/* ===== Fullscreen Reader Mode (ONE class name only) ===== */
.fs-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* This class should be applied to BODY in JS */
.reading-fullscreen{
  overflow:hidden;
}

.reading-fullscreen .header,
.reading-fullscreen .footer,
.reading-fullscreen .bible-sidebar,
.reading-fullscreen .section-head,
.reading-fullscreen .bible-toolbar,
.reading-fullscreen .progress{
  display:none !important;
}

.reading-fullscreen .section{
  padding:0 !important;
}

.reading-fullscreen .container{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

.reading-fullscreen .bible-layout{
  grid-template-columns: 1fr !important;
  gap:0 !important;
}

.reading-fullscreen .bible-box{
  position:fixed;
  inset:0;
  border-radius:0 !important;
  border:0 !important;
  background: rgba(5,7,12,0.98);
  z-index:99999;
  padding: 18px 18px 22px;
  overflow:auto;
}

.reading-fullscreen .bible-top{
  position: sticky;
  top: 0;
  background: rgba(5,7,12,0.95);
  backdrop-filter: blur(10px);
  z-index: 2;
  padding: 12px 0;
  border-bottom: 1px solid rgba(234,242,255,0.10);
}

.reading-fullscreen .bible-reading{
  font-size: 1.18rem;
  line-height: 1.95;
}
/* ===== Mid-title (<mt>...</mt>) styling ===== */
.mid-title-block{
  /* text style */
  font-size: 1.4rem;        /* change size here */
  font-weight: 900;         /* strong look */
  color: var(--sky2);       /* change color here (or use any color) */
  letter-spacing: 0.3px;
  text-transform: none;     /* you can set uppercase if you want */

  /* spacing */
  margin: 22px 0 14px;      /* space above/below */
  text-align: center;       /* center it (optional) */

  /* nice separation line (optional) */
  padding: 8px 0;
  border-top: 1px solid rgba(234,242,255,0.12);
  border-bottom: 1px solid rgba(234,242,255,0.12);

  /* avoid breaking in columns */
  break-inside: avoid;
}
.lang-select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(234,242,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}
.lang-select:focus{
  border-color: rgba(61,183,255,0.55);
  box-shadow: 0 0 0 6px rgba(61,183,255,0.10);
}
/* Mid-title block (line between verses) */
.mid-title-block{
  margin: 18px 0;          /* space above/below */
  font-size: 22px;         /* size */
  font-weight: 800;        /* bold */
  text-align: center;
  color: #d6b56a;          /* gold (change to what you want) */
  letter-spacing: .5px;
}

/* Inline mid-title if you ever use <mt> inside text */
.mid-title{
  font-weight: 800;
  color: #d6b56a;
}
/* ✅ IMPORTANT FIX: don't hide content if JS fails */
.reveal { opacity: 1; transform: none; }

/* Optional: Only animate when JS adds .js to <html> */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: 0.6s ease; }
html.js .reveal.show { opacity: 1; transform: none; }

/* <mt> block styling (you can change color/size here) */
:root{
  --mt-size: 20px;
  --mt-weight: 700;
  --mt-margin: 12px;
  --mt-color: #c21b1b; /* change color here */
}

.mid-title-block{
  margin: var(--mt-margin) 0;
  font-size: var(--mt-size);
  font-weight: var(--mt-weight);
  color: var(--mt-color);
  text-align: center;
  letter-spacing: .3px;
}

/* inline <mt> inside verse text (if used) */
.mid-title{
  color: var(--mt-color);
  font-weight: var(--mt-weight);
}

/* NOTE: will also be overridden to ONE column at bottom */
@media (min-width: 1100px){
  .reading-fullscreen .bible-reading{
    column-count: 2;
    column-gap: 54px;
  }
}

.fs-hint{
  font-size: 0.9rem;
  color: rgba(234,242,255,0.60);
  margin-left: 10px;
}
.inline-title{
  display:block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 1.2em;
  letter-spacing: 0.5px;
}
.mid-heading{
  text-align:center;
  letter-spacing: .4px;
  color: rgba(234,242,255,0.92);
}

.mid-title{
  display:block;
  text-align:center;
  font-weight: 800;
  letter-spacing: .4px;
  color: rgba(234,242,255,0.92);

  /* ✅ CHANGE THESE to control spacing */
  margin: 14px 0 14px; /* top right/left bottom */
}
/* ===== Mid-title (<mt>...</mt>) styling ===== */
.mid-title-block{
  /* text style */
  font-size: 1.4rem;        /* change size here */
  font-weight: 900;         /* strong look */
  color: var(--sky2);       /* change color here (or use any color) */
  letter-spacing: 0.3px;
  text-transform: none;     /* you can set uppercase if you want */

  /* spacing */
  margin: 22px 0 14px;      /* space above/below */
  text-align: center;       /* center it (optional) */

  /* nice separation line (optional) */
  padding: 8px 0;
  border-top: 1px solid rgba(234,242,255,0.12);
  border-bottom: 1px solid rgba(234,242,255,0.12);

  /* avoid breaking in columns */
  break-inside: avoid;
}

/* Mobile layout */
@media (max-width: 960px){
  .bible-layout{ grid-template-columns: 1fr; }
  .bible-sidebar{ position: static; }
  .paste-help{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .cta{ flex-direction:column; align-items:flex-start; }

  .hamburger{ display:inline-block; }

  .nav{
    position: fixed;
    top: 64px;
    right: 4%;
    left: 4%;
    display:grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(61,183,255,0.22);
    background: rgba(5,7,12,0.92);
    backdrop-filter: blur(12px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open{
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
  }
}

/* ===== Admin Formatting Panel ===== */
.format-card{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(234,242,255,0.12);
  background: rgba(0,0,0,0.18);
}
.format-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}

.format-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr 0.7fr;
  gap: 12px;
}
@media (max-width: 960px){
  .format-grid{ grid-template-columns: 1fr; }
}

/* Optional: pretty chapter heading */
.chapter-heading{
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

/* =========================
UPDATE: ONE centered column + consistent verse styling
(keeps everything readable + fixes missing styles)
========================= */

/* Force single column reading (no CSS columns) */
.bible-reading{
  column-count: 1 !important;
  column-gap: 0 !important;
  max-width: 780px;          /* center column width */
  margin: 0 auto;            /* center */
}

/* Make sure the new verse paragraphs look right */
.bible-para{
  margin: 0 0 12px;
}

/* Flash highlight should work on new verse elements */
.bible-para.flash{
  outline: 2px solid rgba(61,183,255,0.55);
  border-radius: 12px;
  padding: 2px 6px;
  margin-left: -6px;
  margin-right: -6px;
}

/* If any old .verse blocks are still rendered, keep them readable */
.bible-book .verse{
  padding: 0;
  border: 0;
  background: transparent;
}

/* If old verse number <small> appears, style it like .vnum */
.bible-book .verse small{
  display:inline-block;
  min-width: 1.6em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(103,209,255,0.95);
  transform: translateY(-2px);
  margin-right: 6px;
}

