/* Spirituality Reflections — shared styles
   Palette, type, and component styles carried over from the approved
   gospel-challenge-prototype.html design reference. */

:root{
  --ink:#3A3220;
  --ink-soft:#FFFDF7;
  --parchment:#FFFFFF;
  --parchment-line:#EADFC0;
  --gold:#B8862E;
  --gold-deep:#8F6A1F;
  --ember:#A6543C;
  --ember-soft:#C97C63;
  --sage:#6B8F71;
  --cream-text:#4A4229;
  --sky-deep:#EADFB8;
  --shadow: 0 18px 44px rgba(150,120,40,0.18);
}
*{box-sizing:border-box;}
/* the hidden attribute must always win over component display rules (e.g. the
   preview-only Growth Paths menu link, which is a display:block .menu-item) */
[hidden]{ display:none !important; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -8%, rgba(255,244,214,0.95) 0%, rgba(250,232,178,0.55) 35%, rgba(244,238,222,0) 70%),
    linear-gradient(180deg, #FBF6E9 0%, #F3ECDB 45%, #EFE7D2 100%);
  background-attachment: fixed;
  color: var(--cream-text);
  font-family:'Inter', sans-serif;
  min-height:100vh;
  padding:32px 16px 64px;
  position:relative;
  overflow-x:hidden;
}
body::before{
  content:'';
  position:fixed; top:0; left:0; right:0; height:520px; pointer-events:none; z-index:0;
  background: repeating-conic-gradient(from 210deg at 50% -10%,
    rgba(255,229,150,0.16) 0deg 6deg, rgba(255,229,150,0) 6deg 16deg);
  mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black 0%, transparent 70%);
}
.orb{ position:fixed; border-radius:50%; pointer-events:none; z-index:0; filter: blur(50px); }
.orb-1{ width:340px; height:340px; top:-80px; right:-60px; background: radial-gradient(circle, rgba(255,220,140,0.65), rgba(255,220,140,0)); }
.orb-2{ width:280px; height:280px; bottom:8%; left:-90px; background: radial-gradient(circle, rgba(200,160,255,0.28), rgba(200,160,255,0)); }
.orb-3{ width:220px; height:220px; top:38%; right:12%; background: radial-gradient(circle, rgba(180,220,255,0.30), rgba(180,220,255,0)); }
.wrap{ max-width: 760px; margin: 0 auto; position:relative; z-index:1; }

/* dev-only banner for local/test-content preview */
.dev-banner{
  background:#F3E8C6; border:1px solid var(--parchment-line); border-radius:10px;
  padding:8px 14px; font-size:0.78rem; color:#6B5A2E; margin-bottom:18px;
}

/* header */
.site-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:36px; flex-wrap:wrap; gap:8px; }
.site-name{ font-family:'Fraunces', serif; font-weight:600; font-size:1.4rem; letter-spacing:0.01em; color:#5B4A22; text-decoration:none; }
.head-right{ display:flex; align-items:center; gap:16px; }
.site-date{ font-size:0.85rem; color:#9C8A5E; }

.menu-btn{
  width:42px; height:42px; border-radius:12px; border:1px solid var(--parchment-line);
  background:#FFFEF9; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; cursor:pointer; box-shadow: 0 4px 14px rgba(160,125,40,0.08);
}
.menu-btn span{ width:18px; height:2px; background:#6B5A2E; border-radius:2px; }

.menu-overlay{
  display:none; position:fixed; inset:0; background:rgba(58,50,32,0.35);
  z-index:40;
}
.menu-overlay.open{ display:block; }

.menu-panel{
  position:fixed; top:0; left:0; bottom:0; width:280px; max-width:82vw;
  background:#FFFDF7; z-index:50; padding:28px 20px;
  display:flex; flex-direction:column; gap:4px;
  transform:translateX(-100%); transition: transform .28s ease;
  box-shadow: 12px 0 40px rgba(90,70,20,0.18);
}
.menu-panel.open{ transform:translateX(0); }
.menu-close{
  align-self:flex-end; background:none; border:none; font-size:1.6rem; color:#9C8A5E;
  cursor:pointer; margin-bottom:14px; line-height:1;
}
.menu-item{
  display:block; width:100%; text-align:left; text-decoration:none;
  font-family:'Fraunces', serif; font-size:1.15rem; color:#4A3D1F;
  padding:14px 10px; border-radius:10px; border:none; background:none;
  cursor:pointer; transition: background .15s ease;
}
.menu-item:hover{ background:#F3E8C6; }
.menu-item-btn{ font-family:'Fraunces', serif; color: var(--gold-deep); }
.menu-item.active{ background:#F3E8C6; color:#5B4A22; font-weight:600; }

.view{ display:none; }
.view.active{ display:block; animation: rise .45s ease; }
@keyframes rise{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }

/* landing */
.lede{ font-family:'Fraunces', serif; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height:1.25; font-weight:500; max-width: 20ch; margin: 0 0 12px; color:#4A3D1F; }
.lede-sub{ color:#7A6B45; max-width:48ch; line-height:1.6; margin-bottom:36px; font-size:0.98rem;}

.reading-strip{
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line); border-radius:16px;
  padding:20px 24px; margin-bottom:28px;
  box-shadow: 0 8px 24px rgba(160,125,40,0.10);
}
.reading-strip-date{ font-family:'Fraunces', serif; font-size:0.95rem; color:#8A7A50; margin-bottom:12px; text-align:center; }
.reading-strip-haiku{
  font-family:'Fraunces', serif; font-style:italic; font-size:0.92rem; color:#9C8657;
  text-align:center; white-space:pre-line; line-height:1.5; margin-bottom:14px;
}
.reading-strip-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; justify-content:center; }
.reading-chip{
  display:flex; flex-direction:column; gap:2px; text-decoration:none;
  background:#FFFFFF; border:1px solid var(--parchment-line); border-radius:10px;
  padding:9px 14px; transition: border-color .15s ease, background .15s ease;
  font-family:inherit; text-align:left; cursor:pointer;
}
.reading-chip:hover{ border-color: var(--gold); }
.reading-chip[aria-expanded="true"]{ border-color: var(--gold); background:#FBF3DE; }
.chip-label{ font-size:0.72rem; color:#9C8A5E; }
.chip-cite{ font-family:'Fraunces', serif; font-size:0.95rem; color:#4A3D1F; font-weight:500; }
.chip-caret{ font-size:0.65rem; color:#B8A97C; margin-left:4px; }
.reading-strip-link{ font-size:0.85rem; color: var(--gold-deep); text-decoration:underline; text-underline-offset:3px; }

.reading-expand{
  margin-top:10px;
  padding:16px 18px;
  background:#FFFFFF;
  border:1px solid var(--parchment-line);
  border-radius:12px;
  animation: rise .25s ease;
}
.reading-expand p{
  margin:0; font-family:'Fraunces', serif; font-size:0.98rem; line-height:1.75; color:#2A2618;
  white-space:pre-line;  /* keep the feed's line breaks (poetry, psalm refrains) */
}
.reading-expand p.reading-expand-placeholder, .gospel-text p.reading-expand-placeholder{
  font-family:'Inter', sans-serif; font-style:italic; font-size:0.85rem; color:#9C8F6C;
}

.attribution{
  margin-top:40px; font-size:0.76rem; line-height:1.6; color:#A99B72;
  border-top:1px solid var(--parchment-line); padding-top:16px; max-width:60ch;
}

.paths{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .paths{ grid-template-columns:1fr; } }

.path-card{
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line);
  border-radius:18px;
  padding:26px 22px;
  text-align:left;
  cursor:pointer;
  color:inherit;
  font-family:inherit;
  box-shadow: 0 10px 30px rgba(160,125,40,0.10);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  display:flex; flex-direction:column; gap:10px; min-height:190px;
  text-decoration:none;
}
.path-card:hover{ transform:translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(160,125,40,0.20); }
.path-card .mark{ font-family:'Fraunces', serif; font-size:1.9rem; color:var(--gold-deep); }
.path-card h3{ font-family:'Fraunces', serif; font-weight:600; font-size:1.2rem; margin:0; color:#4A3D1F; }
.path-card p{ margin:0; color:#7A6B45; font-size:0.9rem; line-height:1.5; flex-grow:1; }
.path-card .go{ color:var(--gold-deep); font-size:0.85rem; }

.peek-link{
  display:inline-block; margin-top:26px; color:#9C8A5E; font-size:0.85rem;
  text-decoration: underline; text-underline-offset:3px; cursor:pointer; background:none; border:none; font-family:inherit;
}
.peek-link:hover{ color: var(--gold-deep); }

/* hero images — contained, never full-bleed */
.hero-image{
  display:block; width:100%; border-radius:18px;
  border:1px solid var(--parchment-line);
  box-shadow: 0 14px 34px rgba(160,125,40,0.14);
  object-fit:cover;
}
.hero-image--banner{ height:260px; margin-bottom:24px; }
.hero-image--reflection{ height:300px; margin-bottom:22px; object-position: center top; }
@media (max-width:600px){
  .hero-image--banner{ height:180px; }
  .hero-image--reflection{ height:220px; }
}

/* prayer request: image beside the form on wider screens, stacked above on narrow */
.pr-layout{ display:flex; gap:24px; align-items:flex-start; }
.pr-layout .hero-image{ flex:0 0 260px; width:260px; height:360px; margin-bottom:0; }
.pr-layout .card{ flex:1; min-width:0; }
@media (max-width:700px){
  .pr-layout{ flex-direction:column; }
  .pr-layout .hero-image{ flex:none; width:100%; height:200px; }
}

/* card shell used across game steps */
.card{
  background: #FFFDF7;
  color: var(--ink);
  border-radius:20px;
  border: 1px solid var(--parchment-line);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
@media (max-width:600px){ .card{ padding:24px 20px; } }

.eyebrow-row{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.step-dot{ width:7px; height:7px; border-radius:50%; background: rgba(180,160,110,0.4); }
.step-dot.done{ background: var(--sage); }
.step-dot.current{ background: var(--ember); }
.step-label{ font-size:0.8rem; color:#7A7461; margin-left:auto; }

.citation{ font-family:'Fraunces', serif; font-size:1rem; color:var(--ember); margin-bottom: 6px; }
.gospel-title{ font-family:'Fraunces', serif; font-weight:600; font-size:1.5rem; margin:0 0 18px; line-height:1.3; }
.gospel-text{
  font-family:'Fraunces', serif; font-size:1.15rem; line-height:1.75; color:#2A2618;
  border-left: 3px solid var(--parchment-line); padding-left:20px; margin-bottom: 26px;
}
.gospel-text p{ margin:0 0 14px; }
.sample-note{ font-size:0.78rem; color:#9C8F6C; margin-bottom:22px; font-style:italic; }

button.primary{
  background: linear-gradient(180deg, rgba(74,61,31,0.95), rgba(58,50,32,0.98));
  color: #FBF3DE; border:none; border-radius:11px;
  padding: 13px 24px; font-family:'Inter'; font-weight:600; font-size:0.95rem; cursor:pointer;
  box-shadow: 0 8px 20px rgba(90,70,20,0.25);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration:none; display:inline-block;
}
button.primary:hover{ transform: translateY(-1px); box-shadow: 0 12px 26px rgba(90,70,20,0.32); }
button.primary:disabled{ opacity:0.4; cursor:not-allowed; transform:none; }
button.ghost{
  background: #FFFEF9;
  border:1px solid rgba(200,180,130,0.6); color:#5B5540; border-radius:11px;
  padding:12px 22px; font-family:'Inter'; font-weight:500; font-size:0.9rem; cursor:pointer;
  text-decoration:none; display:inline-block;
}
.btn-row{ display:flex; gap:12px; align-items:center; margin-top:8px; flex-wrap:wrap; }

/* quiz */
.q-count{ font-size:0.85rem; color:#7A7461; margin-bottom:8px; }
.q-prompt{ font-family:'Fraunces', serif; font-size:1.3rem; font-weight:500; margin:0 0 20px; line-height:1.4; }
.opt{
  display:block; width:100%; text-align:left;
  background: #FFFFFF;
  border: 1px solid rgba(222,210,174,0.9);
  border-radius:12px; padding:14px 16px; margin-bottom:10px; font-family:'Inter'; font-size:0.95rem;
  color:#2A2618; cursor:pointer; transition: border-color .15s ease, background .15s ease;
}
.opt:hover{ border-color: var(--gold-deep); }
.opt.correct{ background:#EAF2EA; border-color: var(--sage); }
.opt.wrong{ background:#F6E8E3; border-color: var(--ember); }
.opt:disabled{ cursor:default; }
.feedback{ font-size:0.9rem; margin-top:6px; margin-bottom:18px; line-height:1.5; }
.feedback.good{ color:#3E6B44; } .feedback.bad{ color:#8A4230; }

/* score */
.score-num{ font-family:'Fraunces', serif; font-size:3.2rem; font-weight:600; margin:0; color:var(--ink); }
.score-tier{ color:var(--ember); font-weight:600; margin-bottom: 6px; }
.score-line{ color:#5B5540; margin-bottom:26px; line-height:1.6; }

/* reflection */
.reflection-body{ font-size:1rem; line-height:1.8; color:#2A2618; margin-bottom:24px; }
.reflection-body p{ margin:0 0 14px; }
.signoff{ font-family:'Fraunces', serif; font-style:italic; color:#7A7461; }
.promise-label{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--gold-deep); font-weight:600; margin:0 0 4px; }
.lessons-list{ margin:0 0 24px; padding-left:20px; color:#2A2618; line-height:1.7; }
.lessons-list li{ margin-bottom:8px; }
.prayer-block{
  white-space:pre-line; font-family:'Fraunces', serif; font-style:italic; color:#5B4A22;
  background:#FBF3DE; border:1px solid var(--parchment-line); border-radius:14px;
  padding:18px 20px; margin-bottom:24px; line-height:1.7; font-size:0.98rem;
}
.audio-player{
  background:#FBF3DE; border:1px solid var(--parchment-line); border-radius:14px;
  padding:14px 18px; margin-bottom:20px;
}
.audio-player-label{
  font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--gold-deep); font-weight:600; margin-bottom:8px;
}
.audio-player audio{ width:100%; accent-color:var(--gold); }

/* thoughts form */
textarea{
  width:100%; min-height:110px; border-radius:12px; border:1px solid rgba(222,210,174,0.9);
  background: #FFFFFF;
  padding:14px;
  font-family:'Inter'; font-size:0.95rem; color:#2A2618; resize:vertical; margin-bottom:12px;
}
input[type=text], input[type=email]{
  width:100%; border-radius:12px; border:1px solid rgba(222,210,174,0.9);
  background: #FFFFFF;
  padding:12px 14px;
  font-family:'Inter'; font-size:0.9rem; color:#2A2618; margin-bottom:14px;
}
label{ font-size:0.82rem; color:#7A7461; display:block; margin-bottom:5px;}
.char-count{ font-size:0.78rem; color:#9C8F6C; margin-top:-6px; margin-bottom:14px;}

/* community wall */
.wall-head{ margin-bottom:24px; }
.wall-count{ color:var(--gold-deep); font-weight:600; }
.thought{
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line); border-radius:14px;
  padding:18px 20px; margin-bottom:12px;
  box-shadow: 0 8px 22px rgba(160,125,40,0.08);
}
.thought p{ margin:0 0 8px; line-height:1.6; color:#4A3D1F; font-size:0.95rem; }
.thought .who{ font-size:0.78rem; color:#9C8A5E; }
.thought-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.thought .report{
  font-size:0.72rem; color:#B8A97C; text-decoration:underline; text-underline-offset:2px;
  background:none; border:none; padding:0; font-family:'Inter'; cursor:pointer;
}
.thought .report:hover:not(:disabled){ color:var(--gold-deep); }
.thought .report:disabled{ color:#D8CFAE; text-decoration:none; cursor:default; }
.empty-state{ color:#9C8A5E; font-size:0.9rem; padding: 20px 0; }
.loading{ color:#9C8A5E; font-size:0.9rem; }

/* generic content pages (prayer request, articles, novena, about authors) */
.prose{ font-size:1rem; line-height:1.8; color:#2A2618; }
.prose p{ margin:0 0 16px; }
.prose strong{ color:#3A3220; }
.prose ul, .prose ol{ margin:0 0 16px; padding-left:22px; }
.prose li{ margin-bottom:6px; }
.prose a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.placeholder-note{
  font-size:0.8rem; color:#9C8F6C; font-style:italic; margin-top:28px;
  border-top:1px solid var(--parchment-line); padding-top:14px;
}

/* articles list */
.article-count{ font-size:0.85rem; color:#9C8A5E; margin-bottom:18px; }
.article-item{
  display:block; text-decoration:none; color:inherit;
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line); border-radius:14px;
  padding:18px 20px; margin-bottom:12px;
  box-shadow: 0 8px 22px rgba(160,125,40,0.08);
  transition: border-color .15s ease, transform .15s ease;
}
.article-item:hover{ border-color: var(--gold); transform:translateY(-2px); }
.article-item h3{ font-family:'Fraunces', serif; font-weight:600; font-size:1.08rem; margin:0; color:#4A3D1F; line-height:1.4; }
.article-date{ font-size:0.85rem; color:#9C8A5E; margin-bottom:6px; }

.pagination{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin-top:24px; }
.page-btn{
  background:#FFFEF9; border:1px solid var(--parchment-line); color:#7A6B45;
  border-radius:10px; padding:8px 14px; font-family:'Inter'; font-size:0.88rem; cursor:pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.page-btn:hover:not(:disabled){ border-color: var(--gold); }
.page-btn.active{ background:#F3E8C6; color:#5B4A22; font-weight:600; border-color: var(--gold); }
.page-btn:disabled{ opacity:0.4; cursor:not-allowed; }

/* local preview switch (site.js initPreview) — only ever shown on localhost */
.preview-bar{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:60;
  background:#4A3D1F; color:#FBF3DE; border-radius:12px; padding:10px 16px;
  font-size:0.82rem; box-shadow:0 10px 30px rgba(58,50,32,0.35); text-align:center;
}
body.has-preview-bar{ padding-bottom:110px; }
.preview-bar a{ color:#F3D68A; margin-left:8px; }
.draft-badge, .ask-badge{
  display:inline-block; align-self:flex-start; font-size:0.7rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase;
  color:#8A4230; background:#F6E8E3; border:1px solid #E3BBAE; border-radius:999px; padding:3px 10px; margin-bottom:8px;
}
.placeholder-text{
  font-style:italic; color:#8A4230; background:#FBF1EC; border:1px dashed #E3BBAE;
  border-radius:12px; padding:14px 16px; margin-bottom:18px; font-size:0.92rem;
}

/* research bot (ask/) */
.ask-form{ padding:26px 28px; margin-bottom:26px; }
.ask-form textarea{ min-height:74px; }
.ask-examples{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:16px; font-size:0.8rem; color:#9C8A5E; }
.ask-example{
  background:#FFFEF9; border:1px solid var(--parchment-line); color:#7A6B45; border-radius:999px;
  padding:6px 12px; font-family:'Inter'; font-size:0.8rem; cursor:pointer;
}
.ask-example:hover{ border-color:var(--gold); }
.ask-status{ margin-top:14px; font-size:0.85rem; }
.ask-results .loading{ margin-bottom:20px; }
.ask-section{ margin-bottom:28px; }
.ask-section-title{ font-family:'Fraunces', serif; font-weight:600; font-size:1.2rem; color:#4A3D1F; margin:0 0 6px; }
.ask-section-note{ font-size:0.8rem; color:#9C8F6C; margin:0 0 14px; }
.ask-topic{
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line); border-radius:14px; padding:18px 20px; margin-bottom:12px;
  box-shadow: 0 8px 22px rgba(160,125,40,0.08);
}
.ask-topic.unverified{ border-style:dashed; border-color:#E3BBAE; }
.ask-topic h3{ font-family:'Fraunces', serif; font-weight:600; font-size:1.08rem; margin:0 0 6px; color:#4A3D1F; }
.ask-topic-desc{ margin:0 0 10px; font-size:0.9rem; line-height:1.55; color:#7A6B45; }
.ask-verses{ margin:0; padding-left:18px; line-height:1.7; font-size:0.92rem; }
.ask-verses a{ color:var(--gold-deep); font-weight:600; text-underline-offset:2px; }
.ask-why{ color:#7A6B45; }
.ask-trusted{
  display:block; text-decoration:none; color:#4A3D1F; background:#FFFEF9;
  border:1px solid var(--parchment-line); border-radius:14px; padding:14px 18px; margin-bottom:6px;
  font-size:0.92rem; line-height:1.5; overflow-wrap:anywhere;
}
.ask-trusted:hover{ border-color:var(--gold); }
.ask-none{
  background:#FFFDF7; border:1px solid var(--parchment-line); border-radius:14px; padding:16px 20px; margin-bottom:26px;
  font-size:0.95rem; line-height:1.6; color:#4A3D1F;
}
.ask-none p{ margin:0 0 8px; } .ask-none a{ color:var(--gold-deep); }
.ask-crisis{
  background:#FFF6EE; border:2px solid var(--ember-soft); border-radius:16px; padding:20px 22px; margin-bottom:26px;
  color:#3A3220; line-height:1.6; font-size:0.95rem;
}
.ask-crisis h2{ font-family:'Fraunces', serif; font-size:1.25rem; margin:0 0 8px; color:#7A3A26; }
.ask-crisis p{ margin:0 0 10px; }
.ask-crisis ul{ margin:0 0 12px; padding-left:20px; }
.ask-crisis li{ margin-bottom:6px; }
.ask-crisis a{ color:#8A4230; font-weight:600; }
.ask-debug{ font-size:0.75rem; color:#7A6B45; margin-top:10px; }
.ask-debug pre{ white-space:pre-wrap; background:#FFFEF9; border:1px solid var(--parchment-line); border-radius:10px; padding:10px; }

/* testimonies */
.consent-row{ display:flex; gap:10px; align-items:flex-start; margin:4px 0 16px; font-size:0.88rem; color:#4A3D1F; line-height:1.5; }
.consent-row input{ margin-top:4px; width:18px; height:18px; flex:none; accent-color:var(--gold-deep); }
.consent-row label{ font-size:0.88rem; color:#4A3D1F; margin:0; }
.testimony{ white-space:pre-line; }
.review-queue{ border:2px dashed #E3BBAE; border-radius:16px; padding:18px 20px; margin:28px 0; background:#FFFDF7; }
.review-queue h2{ font-family:'Fraunces', serif; font-size:1.15rem; margin:0 0 6px; color:#7A3A26; }
.review-actions{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.review-actions button{ font-size:0.8rem; padding:8px 14px; }

/* growth paths */
.gp-progress{ font-size:0.8rem; color:var(--sage); font-weight:600; }
.gp-days{ list-style:none; margin:0; padding:0; }
.gp-day-link{
  display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; text-align:left;
  background:#FFFEF9; border:1px solid var(--parchment-line); border-radius:12px; padding:12px 16px; margin-bottom:8px;
  font-family:'Inter'; font-size:0.92rem; color:#4A3D1F; cursor:pointer;
}
.gp-day-link:hover{ border-color:var(--gold); }
.gp-day-link .done{ color:var(--sage); font-size:0.8rem; white-space:nowrap; }
.gp-passage-label{ font-size:0.75rem; color:#9C8A5E; margin:-14px 0 18px; }

/* research bot: sensitive subjects (answered by Ed only) */
.ask-sensitive-intro{ font-size:0.95rem; line-height:1.6; color:#4A3D1F; margin:0 0 12px; }
.ask-private-btn{
  display:inline-block; margin-top:6px; text-decoration:none; color:#FBF3DE;
  background: linear-gradient(180deg, rgba(74,61,31,0.95), rgba(58,50,32,0.98));
  border-radius:11px; padding:12px 20px; font-weight:600; font-size:0.9rem;
  box-shadow: 0 8px 20px rgba(90,70,20,0.2);
}
.ask-private-btn:hover{ transform: translateY(-1px); }

/* about authors */
.authors-figure{ margin:0 0 28px; text-align:center; }
.authors-figure img{ display:block; width:100%; max-width:420px; height:auto; margin:0 auto; border-radius:20px; border:1px solid var(--parchment-line); box-shadow: var(--shadow); }
.authors-figure figcaption{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; color:#4A3D1F; margin-top:12px; font-size:1rem; }
.authors-heading{ font-family:'Fraunces', serif; font-weight:600; font-size:1.3rem; color:#4A3D1F; margin:0 0 14px; }
body[data-page="about-authors"] .card + .card{ margin-top:22px; }

/* site footer */
.site-footer{ margin:48px 0 8px; padding-top:18px; border-top:1px solid var(--parchment-line); text-align:center; font-size:0.85rem; color:#7A6B45; overflow-wrap:anywhere; }
.site-footer a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }

/* novenas: library */
.nv-group{ margin-bottom:34px; }
.nv-group-title{ font-family:'Fraunces', serif; font-weight:600; font-size:1.25rem; color:#4A3D1F; margin:0 0 14px; }
.nv-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:14px; }
.nv-card{
  display:flex; flex-direction:column; gap:10px; text-decoration:none; color:inherit;
  background: linear-gradient(180deg, #FFFEFA 0%, #FBF3DE 100%);
  border:1px solid var(--parchment-line); border-radius:16px; padding:18px;
  box-shadow: 0 8px 22px rgba(160,125,40,0.08);
  transition: border-color .15s ease, transform .15s ease;
}
a.nv-card:hover{ border-color:var(--gold); transform:translateY(-2px); }
.nv-card h3{ font-family:'Fraunces', serif; font-weight:600; font-size:1.05rem; line-height:1.35; margin:0; color:#4A3D1F; }
.nv-meta{ margin:0; font-size:0.8rem; color:#7A6B45; line-height:1.5; }
.nv-editions{ display:flex; flex-direction:column; gap:8px; }
.nv-edition{
  display:flex; flex-direction:column; gap:2px; text-decoration:none; color:#4A3D1F;
  background:#FFFEF9; border:1px solid var(--parchment-line); border-radius:10px; padding:9px 12px;
}
.nv-edition:hover{ border-color:var(--gold); }
.nv-edition span{ font-weight:600; font-size:0.9rem; }
.nv-edition small{ font-size:0.75rem; color:#7A6B45; }
/* placeholder art (until the PDF cover images are approved) */
.nv-art{
  display:flex; align-items:center; justify-content:center; height:84px; border-radius:12px;
  color:rgba(255,253,247,0.92);
  background: radial-gradient(circle at 50% 30%, rgba(255,240,200,0.55), rgba(255,240,200,0) 60%), linear-gradient(160deg, #C9A45A, #8F6A1F);
}
.nv-art[data-group="our-lady"]{ background: radial-gradient(circle at 50% 30%, rgba(230,240,255,0.55), rgba(230,240,255,0) 60%), linear-gradient(160deg, #7FA0C8, #4A6890); }
.nv-art[data-group="saints"]{ background: radial-gradient(circle at 50% 30%, rgba(235,250,235,0.5), rgba(235,250,235,0) 60%), linear-gradient(160deg, #8DAF92, #56785C); }
.nv-art[data-group="other"]{ background: radial-gradient(circle at 50% 30%, rgba(255,232,220,0.5), rgba(255,232,220,0) 60%), linear-gradient(160deg, #C98B73, #8E4F3A); }

/* novenas: reader */
.nv-head{ display:flex; gap:16px; align-items:center; margin-bottom:18px; }
.nv-head .nv-art{ width:72px; height:72px; flex:none; }
.nv-title{ margin:0; }
.nv-edition-label{ font-size:0.85rem; color:#7A6B45; margin-top:4px; }
.nv-front, .nv-back{ border-bottom:1px solid var(--parchment-line); padding-bottom:12px; margin-bottom:18px; }
.nv-back{ border-bottom:0; border-top:1px solid var(--parchment-line); padding-top:18px; margin:24px 0 0; }
.nv-langs{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.nv-lang{
  font-family:'Inter'; font-size:0.85rem; padding:7px 14px; border-radius:999px; cursor:pointer;
  border:1px solid var(--parchment-line); background:#FFFEF9; color:#4A3D1F;
}
.nv-lang.active{ background:#4A3D1F; border-color:#4A3D1F; color:#FBF3DE; }
.nv-daybar{
  position:sticky; top:0; z-index:5; display:flex; flex-wrap:wrap; align-items:center; gap:6px;
  margin:0 -8px 20px; padding:10px 8px;
  background:rgba(255,253,247,0.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom:1px solid var(--parchment-line);
}
.nv-daybar-label{ font-size:0.75rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:#9C8A5E; margin-right:4px; }
.nv-day{
  min-width:34px; height:34px; padding:0 8px; border-radius:999px; cursor:pointer;
  font-family:'Inter'; font-size:0.85rem; font-weight:600;
  border:1px solid var(--parchment-line); background:#FFFEF9; color:#4A3D1F;
}
.nv-day:hover{ border-color:var(--gold); }
.nv-day.active{ background:var(--gold-deep); border-color:var(--gold-deep); color:#FFFDF7; }
.nv-day-wide{ font-weight:500; }
.nv-version, .nv-shared, .nv-front, .nv-back{ font-size:1rem; line-height:1.75; color:#2A2618; overflow-wrap:break-word; }
.nv-p{ margin:0 0 14px; }
.nv-h{ font-family:'Fraunces', serif; font-weight:600; font-size:1.2rem; line-height:1.35; color:#4A3D1F; margin:26px 0 12px; scroll-margin-top:70px; }
.nv-center{ text-align:center; }
.nv-red{ color:#B0302A; }
.nv-tab{ display:inline-block; width:1.6em; }
.nv-version a, .nv-shared a, .nv-front a, .nv-back a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.nv-shared{ margin-top:32px; padding-top:18px; border-top:1px solid var(--parchment-line); }
.nv-shared-label{ font-size:0.75rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:#9C8A5E; margin-bottom:8px; }
.nv-table-wrap{ overflow-x:auto; margin:0 0 16px; }
.nv-table{ border-collapse:collapse; margin:0 auto; }
.nv-table td{ border:1px solid var(--parchment-line); padding:6px 12px; text-align:center; vertical-align:middle; line-height:1.45; }
@media (max-width:600px){
  .nv-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .nv-card{ padding:14px; }
  .nv-art{ height:64px; }
  .nv-tab{ width:1em; }
}
@media (max-width:380px){ .nv-grid{ grid-template-columns:1fr; } }
.nv-table td.nv-th{ font-weight:600; letter-spacing:0.04em; }
.nv-draft{ display:inline-block; margin-left:8px; padding:1px 7px; border-radius:6px; font-family:"Inter"; font-size:0.65rem; font-weight:600; letter-spacing:0.05em; text-transform:uppercase; vertical-align:middle; color:#8A2A12; background:#F8E3DA; }

/* daily readings: World English Bible text, its source line and the link fallback */
.reading-range{ margin-top:6px; font-size:0.75rem; letter-spacing:0.04em; color:#7A7461; }
.reading-gap{ text-align:center; color:#A99B72; margin:4px 0; }
.reading-source{ margin-top:12px; font-size:0.78rem; line-height:1.5; color:#7A7461; }
.reading-source a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.reading-strip-link-row{ text-align:center; font-size:0.9rem; }
.reading-strip-link-row a, .reading-expand-placeholder a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.coming-soon{ text-align:center; font-family:'Fraunces', serif; font-size:1.15rem; color:#4A3D1F; margin:8px 0 28px; }

/* research bot: gentle intro, Ed line, "was this helpful" */
.ask-intro{ font-size:0.95rem; line-height:1.6; color:#4A3D1F; margin:0 0 16px; font-style:italic; }
.ask-ed-line{ font-size:0.95rem; line-height:1.6; color:#4A3D1F; margin:4px 0 18px; }
.ask-ed-line a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.ask-feedback{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 24px; padding:12px 14px; border:1px solid var(--parchment-line); border-radius:12px; background:#FFFEF9; }
.ask-feedback-q{ font-size:0.9rem; color:#4A3D1F; margin-right:4px; }
.ask-feedback-btn{ display:inline-block; font-family:'Inter'; font-size:0.85rem; padding:6px 14px; border-radius:999px; cursor:pointer; text-decoration:none; border:1px solid var(--parchment-line); background:#FFFDF7; color:#4A3D1F; }
.ask-feedback-btn:hover{ border-color:var(--gold); }

/* quiet ending on live pages: one optional next step, then rest */
.quiet-ending{ margin:36px 0 8px; text-align:center; }
.quiet-next{ font-size:0.92rem; color:#7A6B45; margin:0 0 10px; }
.quiet-next a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }
.quiet-peace{ font-family:'Fraunces', serif; font-style:italic; font-size:1.1rem; color:#4A3D1F; margin:0; }
.card .quiet-ending{ margin-top:28px; padding-top:20px; border-top:1px solid var(--parchment-line); }
.byline{ font-size:0.8rem; color:#7A7461; margin:-12px 0 18px; }
