/* ─── Guide pages (books list, Orthodox Study Bible guide) ───
   Loaded after /bible/bible-pages.css, which supplies the nav, breadcrumbs,
   footer and colors. Apple HIG: system font, 17px body, 15px minimum,
   44px tap targets, sentence case, grouped lists, capsule buttons. */

.guide {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247, 240, 232, 0.9);
}
.guide a { text-decoration: underline; text-underline-offset: 3px; }
.guide strong { color: var(--ivory); }

.guide-header { text-align: center; margin-bottom: 32px; }
.guide-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 14px;
}
.guide-lead { font-size: 19px; line-height: 1.55; color: var(--cream); }

.guide-section { margin-top: 40px; }
.guide-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 12px;
}
.guide-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  margin: 24px 0 8px 4px;
}
.guide-section > p { margin: 12px 0; }

/* Grouped list (iOS inset grouped table) */
.grouped-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 251, 245, 0.05);
  border: 1px solid rgba(197, 148, 74, 0.18);
}
.grouped-list li + li { border-top: 1px solid rgba(197, 148, 74, 0.14); }
.grouped-list li > a,
.compare-list li,
.plain-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 11px 16px;
  color: inherit;
  text-decoration: none;
}
.grouped-list li > a:hover { background: rgba(197, 148, 74, 0.08); }
.grouped-list li > a::after {
  content: "\203A";
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  margin-left: 4px;
}
.row-num {
  flex-shrink: 0;
  width: 28px;
  text-align: right;
  font-size: 15px;
  color: rgba(247, 240, 232, 0.6);
  font-variant-numeric: tabular-nums;
}
.row-main { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; text-align: left; }
.row-title { color: var(--ivory); font-size: 17px; }
.row-sub { font-size: 15px; line-height: 1.4; color: rgba(247, 240, 232, 0.68); }
.row-detail {
  flex-shrink: 0;
  font-size: 15px;
  color: rgba(247, 240, 232, 0.68);
  font-variant-numeric: tabular-nums;
}
.row-detail.strong { font-size: 20px; font-weight: 700; color: var(--gold-light); }
.compare-list .row-detail { font-size: 20px; }
.plain-list .row-sub a { color: var(--gold); }

/* Facts list */
.guide .quick-facts {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 251, 245, 0.05);
  border: 1px solid rgba(197, 148, 74, 0.18);
}
.guide .quick-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 11px 16px;
}
.guide .quick-facts > div + div { border-top: 1px solid rgba(197, 148, 74, 0.14); }
.guide .quick-facts dt { color: rgba(247, 240, 232, 0.7); flex-shrink: 0; }
.guide .quick-facts dd { color: var(--ivory); text-align: right; }

/* Capsule button (secondary action inside a section) */
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #E2C28E;
  color: #110E0A !important;
  font-weight: 600;
  text-decoration: none !important;
}
.guide-button:hover { background: #F0DFC0; }

/* Steps */
.guide-steps { padding-left: 24px; }
.guide-steps li { margin: 10px 0; }

/* FAQ disclosure rows */
.guide-row {
  border-radius: 14px;
  background: rgba(255, 251, 245, 0.05);
  border: 1px solid rgba(197, 148, 74, 0.18);
  margin-bottom: 10px;
}
.guide-row > summary {
  min-height: 44px;
  padding: 12px 44px 12px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 600;
  color: var(--ivory);
}
.guide-row > summary::-webkit-details-marker { display: none; }
.guide-row > summary::after {
  content: "\203A";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.2s;
}
.guide-row[open] > summary::after { transform: translateY(-50%) rotate(90deg); }
.guide-row > p { padding: 0 16px 16px; }

.guide-next { margin-top: 32px; }
.guide-note { margin-top: 32px; font-size: 15px; color: rgba(247, 240, 232, 0.65); }

/* App CTA (keeps the site-wide .app-cta-section / .cta-primary markup) */
.guide .guide-cta { margin-top: 48px; text-align: center; }
.guide .guide-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 10px;
}
.guide .guide-cta p { font-size: 17px; margin-bottom: 20px; color: rgba(247, 240, 232, 0.85); }
.guide .guide-cta .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

@media (max-width: 480px) {
  .guide { padding: 24px 16px 40px; }
  .guide .quick-facts > div { flex-direction: column; gap: 2px; }
  .guide .quick-facts dd { text-align: left; }
}
