/* ---------- Post pages & section listings (used by pages built with build.py) ---------- */
.post { max-width: var(--page-post); margin: 0 auto; padding: 6vh var(--gutter) 60px; }
.post-head .crumb { font-size: 13px; font-weight: 600; color: var(--blue); }
.post-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin-top: 10px; text-wrap: balance; }
.post-head .meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.player { margin: 26px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.player iframe, .player audio { display: block; width: 100%; }
.player audio { padding: 12px; }
.listen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.listen a { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.listen a.ghost { background: transparent; color: var(--navy); }
.post-thumb { margin: 32px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); }
.post-thumb img { width: 100%; height: auto; display: block; }

.post-body { margin-top: 36px; font-size: 17px; line-height: 1.7; }
.post-body p { margin: 0 0 1.1em; }
.post-body h2, .post-body h3, .post-body h4 { letter-spacing: -.02em; line-height: 1.2; margin: 1.8em 0 .6em; }
.post-body h2, .post-body h3, .post-body h4 { font-size: 22px; }   /* one heading size inside posts (Squarespace mixed h3/h4) */
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.3em; }
.post-body li { margin-bottom: .35em; }
.post-body li > p { margin: 0; }
.post-body a { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2em 0; }
.post-body blockquote { border-left: 3px solid var(--light); padding-left: 18px; color: var(--muted); margin: 1.4em 0; }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.post-body iframe { max-width: 100%; }
/* accordions (transcripts etc.) */
details.acc { margin: 1.4em 0; border: 1px solid var(--rule); border-radius: 12px; background: rgba(255,255,255,.7); }
details.acc summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-weight: 500; color: var(--blue); }
details.acc[open] summary::after { content: '–'; }
details.acc .acc-body { padding: 0 18px 8px; font-size: 15px; line-height: 1.6; max-height: 60vh; overflow: auto; }
/* poems: keep lines tight, generous stanza gaps */
.post-body.verse { font-size: 17px; line-height: 1.6; }
.post-body.verse p { margin: 0; }
.post-body.verse p:empty, .post-body.verse p.gap { height: 1.4em; }

.tags { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--cloud); }

.prevnext { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prevnext a { display: block; }
.prevnext a.next { text-align: right; }
.prevnext small { display: block; font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.prevnext span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.prevnext a:hover span { color: var(--blue); }

.related { max-width: var(--page-post); margin: 0 auto; padding: 0 var(--gutter) 90px; }
.related h2 { font-size: 14px; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }

.hero-sm { padding: 6vh var(--gutter) 2vh; }
.hero-sm h1 { font-size: clamp(32px, 4vw, 44px); }
.hero-sm p { font-size: 17px; }
.feed .year { font-size: 13px; font-weight: 700; color: var(--blue); margin: 34px 0 -6px; }
@media (max-width: 640px) { .prevnext { grid-template-columns: 1fr; } .prevnext a.next { text-align: left; } }

/* YouTube video at the top of a reflection (build.py youtube_video): full width, 16:9 */
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 28px; border-radius: 6px; overflow: hidden; background: var(--navy); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Journal prompt sets (build.py prompt_layout), Oct 2026 ----------
   Same words, easier to write from: Cloud top, intro line in a box, section headings,
   every prompt numbered with its question in bold and the guidance under it. */
.page-resource .post { padding-top: 0; max-width: calc(760px + var(--gutter) * 2); }   /* a little wider than a blog post */
.page-resource .post-head { margin-bottom: 32px; background: var(--cloud); box-shadow: 0 0 0 100vmax var(--cloud); clip-path: inset(0 -100vmax); padding: 36px 0 30px; }
.pp-tools { margin-top: 16px; }
.pp-tools button { font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 4px; border: 1px solid var(--navy);
  background: #fff; color: var(--navy); cursor: pointer; }
.pp-tools button:hover { background: var(--navy); color: #fff; }
.post-body.prompts { counter-reset: prompt; }
.prompts .pp-intro { background: var(--cloud); border-radius: 8px; padding: 14px 16px; margin: 0 0 8px; }
.prompts .pp-intro p { margin: 0; font-size: 16px; line-height: 1.55; }
.prompts .pp-h, .prompts h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 36px 0 4px; }
.prompts h4 strong { font-weight: inherit; }
.prompts ul.pp-list, .prompts ol.pp-list { list-style: none; padding: 0; margin: 0; }
.prompts .pp-list > li { counter-increment: prompt; position: relative; padding: 20px 0 20px 46px; border-bottom: 1px solid var(--rule); margin: 0; }
.prompts .pp-list > li::before { content: counter(prompt); position: absolute; left: 0; top: 17px; font-size: 26px; font-weight: 300;
  color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.1; }
.prompts .pp-list > li > p { margin: 0; color: var(--muted); }
.prompts .pp-q { display: block; font-weight: 600; color: var(--navy); font-size: 1.12em; line-height: 1.4; margin-bottom: 6px; }
.prompts .pp-note { list-style: none; margin: 10px 0 0; padding: 10px 14px; background: var(--cloud); border-radius: 6px; font-size: 15px; }
.prompts .pp-note li { margin: 4px 0; }
.prompts .pp-note li::before { content: none; }
.prompts .pp-note ol { padding-left: 18px; list-style: decimal; }
@media (max-width: 860px) { .prompts .pp-list > li { padding-left: 34px; } .prompts .pp-list > li::before { font-size: 22px; } }

/* printing a prompt set: just the prompts */
@media print {
  .ribbon, header, footer, .pp-tools, .prevnext, .related, .author-more { display: none !important; }
  .page-resource .post-head { background: none; box-shadow: none; padding: 0; }
  .prompts .pp-intro, .prompts .pp-note { background: none; border: 1px solid #ccc; }
  .prompts .pp-list > li { break-inside: avoid; }
}

/* meditation pages: video first, full width (build.py youtube_video) */
.page-meditation .video { margin-bottom: 28px; }
.page-meditation .post-body { font-size: 17px; }
/* prompt sets and meditations: no "Older / Newer" (those step through the whole blog); "More like this" stays */
.page-resource .prevnext { display: none; }
/* prompt sets: smaller, calmer text (Oct 2026 - 19px blog size was too big here) */
.post-body.prompts { font-size: 16px; line-height: 1.6; }   /* prompt pages: details 16, questions 18 (Amanda chose B, Oct 16) */
.prompts .pp-q { font-size: 18px; line-height: 1.4; margin-bottom: 4px; }
.prompts .pp-list > li { padding-top: 18px; padding-bottom: 18px; }
.prompts .pp-list > li::before { font-size: 18px; font-weight: 600; top: 18px; }
.page-resource .post-head h1 { font-size: clamp(28px, 3.4vw, 38px); }
@media (max-width: 860px) {
  .post-body.prompts { font-size: 16px; }
  .prompts .pp-q { font-size: 18px; }
  .prompts .pp-list > li::before { font-size: 18px; }
}

/* ---- prompt sets: New View Advice note at the end ---- */
.prompts .nva-note { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.prompts .nva-note a { color: var(--blue); font-weight: 600; }

/* ---- prompt sets: "Get a Printable Copy" box (js/prompts.js) ---- */
.pp-gate { margin: auto; border: 0; border-radius: 10px; padding: 28px; width: min(420px, calc(100vw - 32px)); color: var(--navy); }
.pp-gate::backdrop { background: rgba(7, 8, 79, .45); }
.pp-gate h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pp-gate p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.pp-gate input[type=email] { width: 100%; font: inherit; font-size: 16px; color: var(--navy); margin-top: 16px; padding: 11px 12px;
  border: 1px solid rgba(7,8,79,.25); border-radius: 4px; }
.pp-gate input[type=email]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,155,195,.18); }
.pp-gate .hp { position: absolute; left: -9999px; }
.pp-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.pp-check input { margin-top: 3px; }
.pp-actions { display: flex; gap: 10px; margin-top: 20px; }
.pp-go { font: inherit; font-size: 14px; font-weight: 600; background: var(--navy); color: #fff; border: 0; border-radius: 4px; padding: 11px 18px; cursor: pointer; }
.pp-go:hover { background: var(--blue); }
.pp-cancel { font: inherit; font-size: 14px; font-weight: 600; background: none; color: var(--navy); border: 0; padding: 11px 8px; cursor: pointer; }

/* ---- printing a prompt set: a tidy worksheet, prompts first ---- */
@media print {
  @page { margin: 16mm 16mm 18mm; }
  body { background: #fff; }
  .post { padding: 0 !important; max-width: none !important; }
  .page-resource .post-head { margin: 0 0 10px; }
  .page-resource .post-head h1 { font-size: 22pt; margin-top: 2px; }
  .page-resource .post-head .crumb { font-size: 9pt; }
  .page-resource .post-head .meta { font-size: 9pt; margin-top: 4px; }
  .post-body.prompts { font-size: 10pt; line-height: 1.45; margin-top: 8px; }
  .prompts .pp-intro { border: 0; padding: 0; margin: 0 0 4px; background: none; }
  .prompts .pp-intro p, .prompts > p { font-size: 9.5pt; color: #444; margin: 0 0 4px; }
  .prompts a { color: inherit; text-decoration: none; }
  .prompts .pp-h { font-size: 8.5pt; margin: 12px 0 0; }
  .prompts .pp-list > li { padding: 8px 0 8px 26px; border-bottom: 1px solid #ddd; }
  .prompts .pp-list > li::before { font-size: 13pt; top: 7px; }
  .prompts .pp-q { font-size: 11pt; margin-bottom: 1px; }
  .prompts .pp-note { padding: 4px 8px; margin-top: 4px; border: 1px solid #ddd; font-size: 9pt; }
  .prompts .nva-note { font-size: 9pt; margin-top: 14px; padding-top: 8px; color: #555; }
  .prompts .nva-note a { color: #555; font-weight: 600; }
  .pp-gate, .video { display: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pp-gate .pp-fine { font-size: 13px; margin-top: 10px; }

/* ---------- end of every post: Keep Reading + Ask a Question (build.py keep_reading) ---------- */
.prevnext { display: none; }   /* Older / Newer replaced by Keep Reading */
.kr { border-top: 1px solid var(--rule); margin-top: 48px; padding: 40px var(--gutter) 64px; }
.kr-in { max-width: var(--wrap); margin: 0 auto; }
.kr h2 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.kr-grid { display: grid; gap: 24px; margin-top: 18px; }
.kr-img { aspect-ratio: 2 / 1; border-radius: 6px; overflow: hidden; background: var(--cloud); }
.kr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kr-k { display: block; font-size: 12px; font-weight: 600; color: var(--blue); }
.kr-card .kr-k { margin-top: 12px; }
.kr-card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.kr-card:hover h3 { color: var(--blue); }
/* prompts / meditations: a simple list, same width as the page above */
.kr-simple .kr-in { max-width: 760px; }
.kr-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.kr-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kr-list .kr-t { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.35; }
.kr-list .kr-ar { grid-column: 2; align-self: center; color: var(--blue); font-weight: 600; }
.kr-list a:hover .kr-t { color: var(--blue); }
/* Ask a Question box (same words as the home page) */
.kr-ask { margin-top: 36px; background: var(--navy); color: #fff; border-radius: 8px; padding: 24px 26px;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.kr-ask h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.kr-ask p { font-size: 14px; color: var(--light); margin-top: 6px; }
.kr-askb { background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 4px; white-space: nowrap; }
.kr-askb:hover { background: var(--cloud); }
@media (min-width: 861px) {
  .kr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .kr-ask { flex-direction: row; justify-content: space-between; align-items: center; padding: 28px 32px; }
}
@media print { .kr { display: none !important; } }

/* ---------- Post page format A (approved Oct 16): Cloud top like the prompt pages, 760px, square buttons ---------- */
.post { max-width: 760px; padding-top: 0; }
.post-head { background: var(--cloud); box-shadow: 0 0 0 100vmax var(--cloud); clip-path: inset(0 -100vmax); padding: 36px 0 30px; }
.post-head h1 { font-size: clamp(28px, 3.4vw, 38px); }
.listen a { border-radius: 4px; padding: 10px 16px; }
.listen a:not(.ghost):hover { background: var(--blue); border-color: var(--blue); }
.post-thumb, .player { border-radius: 8px; }
.post-thumb img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { margin-top: 32px; }
/* Poems: thin banner photo on desktop (Amanda, Oct 16 — option B); phones keep the 16:9 photo */
@media (min-width: 861px) { .page-poem .post-thumb img { aspect-ratio: 4 / 1; } }

/* ---------- Type scale (Oct 16, 2026 — Amanda: 17px body, two title sizes) ----------
   Section page titles (Podcast, Blog, Poems, Reflections, Journal Prompts, Meditations, Hubs, Ask, Store, 404): clamp(32px, 4vw, 44px)
   Post titles (episodes, blog, poems, reflections, prompt sets, meditations, Privacy, Terms): clamp(28px, 3.4vw, 38px)
   Body text 17px everywhere · headings inside posts 22px · section headings 22px · prompt questions 18px · small text 14px.
   Home page hero keeps its own design. */
