/* The guides library: /guides/, topics, guide lists and Ash's page. Started as
   the blog (approved 24 Sep 2026); Blog became Guides on 14 Oct 2026. */

.bl-hero .pg-copy { max-width: 860px; }
.bl-cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bl-cats a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ash-400); background: var(--parchment-50); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color var(--t-hover) var(--ease); }
.bl-cats a:hover { border-color: var(--forest); }
.bl-cats a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--parchment-50); }
@container site (max-width: 560px) {
  .bl-cats ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--g) * -1); padding: 2px var(--g) 8px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--g), #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--g), #000 calc(100% - 28px), transparent 100%); }
  .bl-cats ul::-webkit-scrollbar { display: none; }
  .bl-cats li { flex: none; }
}
.bl { max-width: 1180px; margin-inline: auto; padding: 0 var(--g) clamp(56px, 9cqi, 104px); display: grid; gap: 24px; }
.bl-feat { display: grid; gap: 20px; text-decoration: none; color: var(--ink); max-width: 1040px; }
@container site (min-width: 820px) { .bl-feat { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; } }
.bl-feat-art, .po-art { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-panel); border: 1.5px solid var(--forest); overflow: hidden; box-shadow: var(--shadow-panel); }
.bl-feat-art svg, .po-art svg, .bl-thumb svg, .sh-art svg { width: 100%; height: 100%; display: block; }
.bl-feat-txt { display: grid; gap: 10px; }
.bl-feat b { font-family: var(--serif); font-weight: 560; font-size: clamp(1.75rem, 1.35rem + 1.8cqi, 2.625rem); line-height: 1.08; letter-spacing: -0.012em; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.bl-feat:hover b { text-decoration: underline wavy var(--clay); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bl-cat { font-size: 13px; font-weight: 600; color: var(--clay-ink); }
.bl-x { font-size: 16px; color: var(--ash-600); line-height: 1.55; }
.bl-when { font-size: 14px; color: var(--ash-600); }
.bl-h { font-family: var(--serif); font-weight: 560; font-size: clamp(1.5rem, 1.25rem + 1cqi, 2rem); color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; margin-top: clamp(20px, 3cqi, 36px); }
.bl-list { list-style: none; display: grid; gap: 0 40px; border-top: 1.5px dashed var(--stone); }
@container site (min-width: 900px) { .bl-list:not(.bl-list-1) { grid-template-columns: 1fr 1fr; } }
.bl-list > li { border-bottom: 1.5px dashed var(--stone); }
.bl-row { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; padding-block: 18px; text-decoration: none; color: var(--ink); }
@container site (max-width: 520px) { .bl-row { grid-template-columns: 88px 1fr; gap: 12px; } }
.bl-thumb { display: block; aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--forest); overflow: hidden; }
.bl-txt { display: grid; gap: 6px; }
.bl-row b { font-family: var(--serif); font-weight: 540; font-size: clamp(1.1875rem, 1.1rem + 0.4cqi, 1.375rem); line-height: 1.22; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.bl-row:hover b { text-decoration: underline wavy var(--clay); text-underline-offset: 5px; }
.bl-row .bl-x { font-size: 15px; }
.bl-row .bl-when { font-size: 13px; }
.bl-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ash-600); }
.bl-count { font-size: 15px; color: var(--ash-600); }
.bl-empty { justify-self: start; }

.po-hero .po-copy { max-width: 760px; }
.po { max-width: 760px; margin-inline: auto; padding: 0 var(--g) clamp(56px, 9cqi, 104px); display: grid; gap: 32px; box-sizing: content-box; }
.po-art { margin: 0; }
.po-body { display: grid; gap: 16px; }
.po-body > p { font-size: clamp(1.0625rem, 1rem + 0.25cqi, 1.1875rem); line-height: 1.72; }
.po-first { font-family: var(--serif); font-weight: 440; font-size: clamp(1.3rem, 1.1rem + 0.8cqi, 1.625rem) !important; line-height: 1.5 !important; font-variation-settings: "SOFT" 100, "WONK" 1; }
.po-body > h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.5rem, 1.25rem + 1cqi, 2rem); line-height: 1.15; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; margin-top: 16px; }
.po-quote { margin: 12px 0; padding: 4px 0 4px 0; font-family: var(--serif); font-weight: 480; font-size: clamp(1.5rem, 1.2rem + 1.2cqi, 2.125rem); line-height: 1.25; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; max-width: 26ch; }
.po-quote p { margin: 0; font: inherit; }
.po-quote::before { content: "\201C"; display: block; height: 0.5em; font-size: 2em; line-height: 1; color: var(--clay); }
.po-rel h2 { font-size: 13px; font-weight: 600; color: var(--clay-ink); margin-bottom: 4px; }

@container site (min-width: 820px) { .pg-in.au-in { grid-template-columns: 260px 1fr; gap: 48px; } }
.au-photo { width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--parchment); border: 2px dashed var(--stone); font-size: 14px; font-weight: 600; color: var(--ash-600); justify-self: center; box-shadow: 5px 5px 0 var(--parchment-100); }
.au-photo:has(img) { border: 0; background: var(--parchment-100); }
.au-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.au-photo svg { display: block; width: 28px; height: 28px; margin: 0 auto 8px; color: var(--ash-400); }
.au-role { font-size: 16px; font-weight: 600; color: var(--clay-ink); margin-top: -6px; }

/* Post bodies written in the editor: lists, links and headings in the same voice. */
.po-body > ul, .po-body > ol { display: grid; gap: 8px; padding-left: 22px; max-width: 66ch; }
.po-body > ul li, .po-body > ol li { font-size: clamp(1rem, 0.95rem + 0.25cqi, 1.125rem); line-height: 1.65; }
.po-body a { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.po-body a:hover { text-decoration-style: wavy; }
.po-body > blockquote { margin: 12px 0; font-family: var(--serif); font-weight: 480; font-size: clamp(1.5rem, 1.2rem + 1.2cqi, 2.125rem); line-height: 1.25; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; max-width: 26ch; }
.po-body > blockquote::before { content: "\201C"; display: block; height: 0.5em; font-size: 2em; line-height: 1; color: var(--clay); }
.po-body > p.lead { font-size: clamp(1.125rem, 1.05rem + 0.3cqi, 1.3125rem); color: var(--ash-600); }

/* /guides/: a card for every topic. */
.tp-grid { list-style: none; display: grid; gap: 18px; }
@container site (min-width: 640px) { .tp-grid { grid-template-columns: 1fr 1fr; } }
@container site (min-width: 1000px) { .tp-grid { grid-template-columns: 1fr 1fr 1fr; } }
.tp-card { display: grid; align-content: start; gap: 10px; padding: 20px 20px 16px; border-radius: var(--r-panel); background: var(--parchment-50); border: 1.5px solid var(--forest); box-shadow: 5px 5px 0 var(--cb); }
.tp-card h3 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.3125rem, 1.2rem + 0.4cqi, 1.5rem); line-height: 1.15; font-variation-settings: "SOFT" 100, "WONK" 1; }
.tp-card h3 a { color: var(--forest); text-decoration: none; }
.tp-card h3 a:hover { text-decoration: underline wavy var(--clay); text-underline-offset: 5px; }
.tp-line { font-size: 15px; line-height: 1.5; color: var(--ash-600); }
.tp-list { list-style: none; border-top: 1.5px dashed var(--stone); }
.tp-list li { border-bottom: 1.5px dashed var(--stone); }
.tp-list a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; }
.tp-list a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 4px; }
.tp-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; justify-self: start; font-size: 14px; font-weight: 600; color: var(--clay-ink); text-decoration: none; }
.tp-all svg { width: 16px; height: 16px; }
.tp-all:hover { text-decoration: underline wavy; text-underline-offset: 4px; }
.tp-soon { font-size: 14px; font-weight: 600; color: var(--ash-600); padding-block: 4px 6px; }
.bl-kind { font-size: 12px; font-weight: 600; color: var(--forest); padding: 3px 8px; border-radius: 999px; border: 1.5px solid var(--forest); line-height: 1.2; }

/* A topic with nothing in it yet. */
.bl-empty { max-width: 520px; }
.bl-empty h2 { font-family: var(--serif); font-weight: 560; font-size: 22px; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tp-soon-list { list-style: none; display: grid; gap: 6px; }
.tp-soon-list li { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.bl-empty .row { justify-content: center; flex-wrap: wrap; }
.bl-h-first { margin-top: 0; }
/* "Start here" at the top of /guides/, beside the intro: the drawing above
   the words, and a little smaller than it is in a list. */
.bl-hero .bl-feat { max-width: 520px; gap: 14px; }
.bl-hero .bl-feat-art { aspect-ratio: 16 / 8; }
.bl-hero .bl-feat b { font-size: clamp(1.5rem, 1.3rem + 0.9cqi, 2rem); }
@container site (min-width: 820px) { .bl-hero .bl-feat { grid-template-columns: 1fr; gap: 16px; } }
