/* ═══════════════════════════════════════════════════
   THE BALTIMORE CATECHISM AS PAGES — /catechism/baltimore-no-1 … -4
   ═══════════════════════════════════════════════════
   Page sheet for the four edition pages scripts/build-catechism-text.mjs
   writes. The head, contents list and lesson cards are the shared Prayers-style
   components from styles.css (.pagehead, .prayer-toc, .prayer-card); every
   rule here is under bct- and styles only the questions and answers. Nothing
   here touches the header. */

.bct-intro{padding-top:30px;}
.bct-intro .prayer-card{margin-bottom:0;padding-bottom:30px;border-bottom:none;}
.bct-toc{padding:10px 0 20px;}
.bct-toc .orn{margin:10px 0 28px;}
.bct-text{padding:30px 0 60px;}
.bct-text .orn{margin:8px 0 36px;}
.bct-text .prayer-section-heading + .orn{margin-top:8px;}

/* The editions, named in a line above the contents and again at the foot. */
.bct-editions{font-family:var(--head);font-size:19px;text-align:center;color:var(--muted);margin:6px 0 0;}
.bct-editions-label{font-style:italic;margin-right:.3em;}
.bct-editions a{color:var(--gold-deep);}
.bct-editions a[aria-current]{color:var(--ink);font-weight:600;text-decoration:none;}

/* A lesson: its title left-aligned over the list of questions. */
.bct-lesson .prayer-title{text-align:left;}
.bct-qa{margin:0;}
.bct-item{margin:0 0 24px;}
.bct-item:last-child{margin-bottom:0;}
.bct-q{font-family:var(--head);font-weight:600;font-size:21px;line-height:1.45;color:var(--ink);margin:0 0 6px;}
.bct-a{margin:0 0 8px;font-size:20px;line-height:1.7;}
.bct-n{color:var(--gold-deep);font-weight:600;margin-right:.3em;white-space:nowrap;}
.bct-ex{margin:0 0 8px;font-size:18px;line-height:1.65;color:var(--ink);}
.bct-ref{margin:0;font-family:var(--head);font-style:italic;font-size:17px;color:var(--gold-deep);}
.bct-item:target{scroll-margin-top:96px;}
.bct-item:target .bct-q{box-shadow:inset 3px 0 0 var(--gold-deep);padding-left:12px;}
.bct-lesson:target{scroll-margin-top:84px;}
.bct-colophon{margin-top:40px;}

@media(max-width:560px){
  .bct-q{font-size:19px;}
  .bct-a{font-size:18px;}
  .bct-editions{font-size:17px;}
}

/* ── The lesson pages (/catechism/baltimore/lesson-<n>) ──────────────────
   Written by scripts/build-catechism-lessons.mjs: the same question list,
   with a previous/next bar above and below, a badge on a question that only
   some editions carry, and Kinkead's explanation labelled. */
.bct-lessonpage{padding-top:26px;}
.bct-lessonpage .bct-lesson{margin-top:28px;}
.bct-lessonnav{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:start;font-family:var(--head);}
.bct-lessonnav a{text-decoration:none;color:var(--gold-deep);}
.bct-lessonnav a:hover .bct-dir,.bct-lessonnav a:focus-visible .bct-dir{text-decoration:underline;text-underline-offset:3px;}
.bct-lessonnav a:focus-visible{outline:2px solid rgba(154,122,46,.32);outline-offset:3px;}
.bct-prev,.bct-next{display:flex;flex-direction:column;gap:2px;font-size:18px;}
.bct-next{text-align:right;align-items:flex-end;}
.bct-dir{font-weight:600;}
.bct-navtitle{font-style:italic;color:var(--muted);font-size:16px;}
.bct-all{align-self:center;font-size:15px;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;border:1px solid var(--rule);border-radius:3px;}
.bct-lessonnav-bottom{margin-top:36px;}
.bct-badge{display:inline-block;vertical-align:middle;font-family:var(--body);font-weight:400;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-deep);border:1px solid var(--rule);border-radius:3px;padding:1px 7px;margin-left:8px;}
.bct-ex-label{font-family:var(--head);font-style:italic;font-weight:600;color:var(--gold-deep);margin-right:.25em;}
.bct-about{margin-top:34px;padding-top:24px;border-top:1px solid var(--rule);}
.bct-about .prayer-note{margin-bottom:10px;}
@media(max-width:560px){
  .bct-lessonnav{grid-template-columns:1fr 1fr;}
  .bct-all{grid-column:1 / -1;justify-self:center;order:3;}
  .bct-navtitle{display:none;}
}
