/* Statiske sider (seobuild.js): lektioner, forløb og kapitler. --acc sættes pr. udgave på <body>. */
:root { --bg: #fbf8f3; --paper: #ffffff; --ink: #1f1a2e; --soft: #5b556b; --rule: #e6e0d6; --chip: #f3eee6; }
@media (prefers-color-scheme: dark) { :root { --bg: #16131f; --paper: #1f1b2b; --ink: #ece8f4; --soft: #b3acc4; --rule: #36304a; --chip: #2a2539; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
a { color: var(--acc); }
.sp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.8rem 16px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.sp-brand { font-weight: 800; text-decoration: none; color: var(--ink); }
.sp-brand::before { content: '✚'; color: var(--acc); margin-right: 0.35rem; }
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.85rem; color: var(--soft); min-width: 0; }
.sp-crumbs a { color: var(--soft); text-decoration: none; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.sp-main { max-width: 760px; margin: 0 auto; padding: 1.5rem 16px 3rem; }
.sp-kicker { margin: 0 0 0.3rem; font-size: 0.9rem; font-weight: 600; color: var(--acc); }
h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.15; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
h2 small, h3 small { font-weight: 400; font-size: 0.8rem; color: var(--soft); }
h3 { font-size: 1.05rem; margin: 1.3rem 0 0.4rem; }
.sp-lead { color: var(--soft); margin: 0 0 1rem; }
.sp-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0.5rem; }
.sp-btn { display: inline-block; background: var(--acc); color: #fff; text-decoration: none; font-weight: 700; padding: 0.65rem 1.1rem; border-radius: 999px; }
.sp-btn:hover { filter: brightness(1.08); }
.sp-btn2 { background: var(--chip); color: var(--ink); }
blockquote { margin: 0.8rem 0; padding: 0.7rem 1rem; background: var(--paper); border-left: 4px solid var(--acc); border-radius: 0 10px 10px 0; font-size: 1.05rem; }
blockquote cite { display: block; margin-top: 0.3rem; font-style: normal; font-size: 0.85rem; color: var(--soft); }
dl dt { font-weight: 700; margin-top: 0.6rem; }
dl dd { margin: 0.1rem 0 0; }
.sp-plan li span, .sp-secs li span { color: var(--soft); font-size: 0.9rem; }
.sp-more a { font-weight: 600; }
.sp-src, .sp-ai { font-size: 0.85rem; color: var(--soft); }
.sp-ai { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.sp-toc, .sp-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.sp-toc a, .sp-chips a { background: var(--chip); color: var(--ink); text-decoration: none; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.9rem; }
.sp-chips a { min-width: 2.4rem; text-align: center; }
.sp-list { padding-left: 1.4rem; }
.sp-list li { margin: 0.2rem 0; }
.sp-list small { color: var(--soft); }
.sp-pn { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-weight: 600; }
.sp-pn a { text-decoration: none; }
.sp-next { text-align: right; margin-left: auto; }
/* Studiebibliotekets tekster */
h1 small { font-size: 0.55em; font-weight: 500; color: var(--soft); }
.sp-text { font-family: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif; font-size: 1.08rem; line-height: 1.7; }
.sp-text h2 { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1.1rem; border-top: 0; padding-top: 0; margin-top: 1.8rem; }
.sp-text .sp-gl { font-size: 0.88rem; font-style: italic; color: var(--soft); margin: 0.2rem 0 0.2rem 1rem; padding-left: 0.6rem; border-left: 2px solid var(--rule); }
.sp-text .sp-mr { font-size: 0.85rem; color: var(--soft); margin: 0.2rem 0 0.2rem 1rem; }
.sp-text .on { font-size: 0.85em; color: var(--soft); }
.sp-text .on.ln { display: block; margin: .5em 0; padding: .45em .7em; border-left: 3px solid #b5651d; background: rgba(181,101,29,.09); border-radius: 0 6px 6px 0; color: inherit; }
.sp-text .on.ln b { color: #b5651d; }
.sp-text b { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.sp-foot { border-top: 1px solid var(--rule); padding: 1rem 16px 2rem; text-align: center; font-size: 0.85rem; color: var(--soft); }
.sp-foot a { color: var(--soft); }

/* Prædikenværkstedets kirkeårstabel */
.sp-tbl { width: 100%; border-collapse: collapse; font-size: .95em; }
.sp-tbl th, .sp-tbl td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e4ddd0; vertical-align: top; }
.sp-tbl th { font-size: .8em; text-transform: uppercase; letter-spacing: .05em; color: #807a70; }

/* GT-kapitler: vers fra 1871, hvor Den Frie Bibel mangler */
.sp-1871 { font-style: italic; color: #555; }
.sp-main h3 + p sup, .sp-main p sup { color: var(--acc); font-weight: 600; margin-right: .15em; }
.sp-nuda { font-style: italic; }

/* Bibelsk arkæologi (moderne/arkaeologi/) */
.sp-fig { margin: 1.2rem 0; }
.sp-fig img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; background: rgba(128, 128, 128, .08); border-radius: 6px; }
.sp-fig figcaption { font-size: .9rem; margin-top: .4rem; line-height: 1.45; }
.sp-dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 1rem 0 1.4rem; font-size: .95rem; }
.sp-dl dt { opacity: .7; }
.sp-dl dd { margin: 0; }