/* Blog index and article pages. Loaded by the _blog.html and _article.html
   shells after core.css. Markup comes from lib/blog.js. */

/* ---------- Index ---------- */

.ht-blog-search { position: relative; max-width: 560px; margin-top: 30px; }
.ht-blog-search input { width: 100%; min-height: 58px; padding: 0 64px 0 20px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 1rem var(--sans); box-shadow: var(--shadow-sm); box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.ht-blog-search input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.ht-blog-search button { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 9px; background: var(--solid-bg); color: var(--solid-text); cursor: pointer; }
.ht-blog-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 26px 0 0; color: var(--slate); }
.ht-blog-stat { display: inline-flex; align-items: baseline; gap: 8px; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ht-blog-stat strong { color: var(--ink); font: 500 1.5rem/1 var(--serif); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums lining-nums; }
.ht-blog-byline { position: relative; padding-left: 25px; font-size: .875rem; line-height: 1.4; }
.ht-blog-byline::before { content: ""; position: absolute; top: 50%; left: 0; width: 1px; height: 20px; transform: translateY(-50%); background: var(--line-strong); }
@media (max-width: 519px) {
  /* Once it wraps, a rule at the start of a line reads as a stray mark. */
  .ht-blog-byline { padding-left: 0; }
  .ht-blog-byline::before { display: none; }
}

.ht-blog-topics { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); scroll-margin-top: var(--header-h); }
.ht-blog-topics .ht-chip-row { padding-block: 14px; }
@media (min-width: 1024px) { .ht-blog-topics .ht-chip-row { flex-wrap: wrap; overflow: visible; } }

.ht-blog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.ht-blog-head p { margin: 0; color: var(--slate); font-size: .875rem; }

.ht-blog-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ht-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1024px) { .ht-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.ht-blog-item { display: flex; }
.ht-blog-card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
@media (min-width: 640px) { .ht-blog-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; } }
@media (hover: hover) { .ht-blog-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); } }
.ht-blog-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.ht-blog-card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--paper-3); }
@media (min-width: 640px) { .ht-blog-card-media { aspect-ratio: 16 / 10; border-radius: 0; } }
/* .ht-body img in core.css sets height:auto and outranks a lone class, which
   left the thumbnail its own shape inside the square phone box. */
.ht-body .ht-blog-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .ht-blog-card:hover .ht-blog-img, .ht-blog-featured:hover .ht-blog-img { transform: scale(1.03); } }
.ht-blog-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; background: linear-gradient(var(--placeholder-veil), var(--placeholder-veil)), var(--guilloche) center / 150% no-repeat, var(--paper-2); color: var(--gold-ink); font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.ht-blog-card-body { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; }
@media (min-width: 640px) { .ht-blog-card-body { justify-content: flex-start; padding: 22px 24px 24px; } }
.ht-blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0; color: var(--slate); font: 600 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.ht-blog-cat { color: var(--gold-ink); }
.ht-body .ht-blog-card-title { margin: 6px 0 0; font-size: 1.1875rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .ht-body .ht-blog-card-title { margin-top: 12px; font-size: 1.4375rem; } }
.ht-blog-card-title a { color: var(--ink); text-decoration: none; outline: none; }
.ht-blog-card-title a::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) { .ht-blog-card:hover .ht-blog-card-title a { color: var(--gold-ink); } }
.ht-blog-card-excerpt { display: none; margin: 10px 0 0; color: var(--charcoal); font-size: .9375rem; line-height: 1.6; }
@media (min-width: 640px) { .ht-blog-card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }
.ht-blog-card-more { display: none; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: var(--ink); font-size: .875rem; font-weight: 600; }
@media (min-width: 640px) { .ht-blog-card-more { display: inline-flex; } }

.ht-blog-featured { position: relative; display: grid; margin-bottom: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-md); transition: box-shadow .35s var(--ease), border-color .3s; }
@media (min-width: 1024px) { .ht-blog-featured { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
@media (hover: hover) { .ht-blog-featured:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); } }
.ht-blog-featured:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.ht-blog-featured-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
@media (min-width: 1024px) { .ht-blog-featured-media { aspect-ratio: auto; min-height: 420px; } }
.ht-blog-featured-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.ht-body .ht-blog-featured-title { margin: 16px 0 0; font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.1; }
.ht-blog-featured-title a { color: var(--ink); text-decoration: none; outline: none; }
.ht-blog-featured-title a::after { content: ""; position: absolute; inset: 0; }
.ht-blog-featured-excerpt { margin: 14px 0 0; color: var(--charcoal); line-height: 1.65; }
.ht-blog-byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.ht-blog-byline p { margin: 0; line-height: 1.3; }
.ht-blog-byline strong { display: block; color: var(--ink); font-weight: 600; }
.ht-blog-byline time, .ht-blog-byline span { color: var(--slate); font-size: .8125rem; }

.ht-avatar { display: block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: var(--paper-3); }
.ht-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ht-avatar-sm { width: 40px; height: 40px; }
.ht-avatar-md { width: 48px; height: 48px; }
.ht-avatar-lg { width: 72px; height: 72px; }

.ht-blog-strip-item { grid-column: 1 / -1; }
.ht-blog-strip { display: grid; gap: 20px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--contrast-bg); color: var(--contrast-text); }
@media (min-width: 900px) { .ht-blog-strip { grid-template-columns: 1fr auto; align-items: center; } }
.ht-blog-strip .ht-eyebrow { color: var(--gold-soft); }
.ht-blog-strip-title { margin: 10px 0 0; color: var(--contrast-heading); font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--serif); }
.ht-blog-strip-copy { margin: 8px 0 0; font-size: .9375rem; }

.ht-blog-more { display: grid; justify-items: center; gap: 8px; margin-top: 36px; }
.ht-blog-more p { margin: 0; color: var(--slate); font-size: .8125rem; font-variant-numeric: tabular-nums; }

.ht-blog-empty { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.ht-blog-empty p { max-width: 30rem; margin: 10px auto 0; }
.ht-blog-empty .ht-actions { justify-content: center; margin-top: 22px; }

.ht-blog-diaspora { display: grid; gap: 18px; }
@media (min-width: 900px) { .ht-blog-diaspora { grid-template-columns: 1fr auto; align-items: center; } }
/* Held to the prose measure; the card itself is far wider than a line wants. */
.ht-blog-diaspora p { max-width: 44rem; margin: 8px 0 0; }

.ht-blog-newsletter { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .ht-blog-newsletter { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.ht-blog-newsletter h2 { margin-top: 10px; }
.ht-blog-newsletter p { margin: 10px 0 0; }
.ht-blog-newsletter-row { display: grid; gap: 10px; }
@media (min-width: 520px) { .ht-blog-newsletter-row { grid-template-columns: 1fr auto; } }
.ht-blog-newsletter-row input { min-height: 54px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 1rem var(--sans); box-sizing: border-box; }
.ht-blog-newsletter-row input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.ht-blog-newsletter .text-rose { color: var(--danger); }
.ht-blog-newsletter .text-emerald-700 { color: var(--ok); }

/* ---------- Article ---------- */


.ht-article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; color: var(--slate); font-size: .875rem; }
.ht-article-byline a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ht-article-byline strong { display: block; color: var(--ink); font-weight: 600; }
.ht-article-byline p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-variant-numeric: tabular-nums; }

/* The cover belongs to the masthead: beside the title from the large
   breakpoint up, so the article itself starts within the first screen, and
   edge to edge under the byline on phones, where a framed box would cost
   width the picture needs. */
.ht-article-hero { display: grid; gap: 30px; align-items: center; }
@media (min-width: 1024px) { .ht-article-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; } }
.ht-article-hero-text { min-width: 0; }
.ht-article-cover { margin: 0 calc(var(--gutter) * -1); }
.ht-article-cover div { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
@media (min-width: 640px) {
  .ht-article-cover { margin-inline: 0; }
  .ht-article-cover div { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
}
@media (max-width: 639px) { .ht-hero-cover { padding-bottom: 0; } }
@media (min-width: 1024px) { .ht-article-cover div { aspect-ratio: 4 / 3; } }
.ht-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.ht-article-layout { display: grid; gap: 48px; max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 96px); box-sizing: border-box; }
@media (min-width: 1024px) { .ht-article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; } }
.ht-article-main { min-width: 0; }
.ht-article-measure { max-width: 70ch; }

.ht-toc-mobile { margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
@media (min-width: 1024px) { .ht-toc-mobile { display: none; } }
.ht-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 18px; color: var(--ink); font-weight: 600; list-style: none; cursor: pointer; }
.ht-toc-mobile summary::-webkit-details-marker { display: none; }
.ht-toc-mobile[open]:not(.is-closing) summary svg { transform: rotate(180deg); }
.ht-toc-mobile ol { margin: 0; padding: 8px 10px 12px; list-style: none; border-top: 1px solid var(--line); }
.ht-toc-list { margin: 12px 0 0; padding: 0; list-style: none; }
.ht-toc-link { display: block; padding: 7px 10px 7px 14px; border-left: 2px solid transparent; color: var(--slate); font-size: .9rem; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.ht-toc-l3 { padding-left: 28px; font-size: .84rem; }
@media (hover: hover) { .ht-toc-link:hover { color: var(--ink); border-color: var(--line-strong); } }
.ht-toc-link[aria-current="true"] { border-color: var(--gold); color: var(--ink); font-weight: 600; }

.ht-article-aside { display: none; }
@media (min-width: 1024px) { .ht-article-aside { display: block; } }
.ht-article-aside-inner { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.ht-article-aside nav { max-height: calc(100vh - 26rem); overflow-y: auto; }

.ht-article-cta-mid { margin: 2.5em 0; padding: 24px 26px; border: 1px solid var(--tint-line); border-radius: var(--radius); background: var(--tint); }
.ht-article-cta-title { margin: 8px 0 0 !important; color: var(--ink); font: 500 1.5rem/1.25 var(--serif) !important; }
.ht-article-cta-copy { margin: 8px 0 0 !important; color: var(--charcoal); font-size: .9375rem !important; line-height: 1.6 !important; }
.ht-article-cta-mid .ht-actions { margin-top: 18px; }

/* ---------------------------------------------------------------------------
   Free tools in articles. Three placements, one look: the tool cards used in
   the site menu. Tokens only, so both themes come from core.css.
   ------------------------------------------------------------------------ */
.ht-tool-inline { margin: 2em 0; }
.ht-tool-inline a { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border: 1px solid var(--tint-line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--tint); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease-enter); }
.ht-tool-inline-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--card); color: var(--gold-ink); }
.ht-tool-inline-icon .ht-ico { width: 22px; height: 22px; }
.ht-tool-inline-text { display: grid; gap: 2px; min-width: 0; flex: 1; font-family: var(--sans); line-height: 1.4; }
.ht-tool-inline-eyebrow { color: var(--gold-ink); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ht-tool-inline-text strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.ht-tool-inline-text > span:last-child { color: var(--charcoal); font-size: .875rem; }
.ht-tool-inline-go { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--solid-bg); color: var(--solid-text); transition: transform .25s var(--ease-enter); }
.ht-tool-inline a:active { transform: scale(.99); }
.ht-tool-inline a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) {
  .ht-tool-inline a:hover { border-color: var(--gold); }
  .ht-tool-inline a:hover .ht-tool-inline-go { transform: translateX(3px); }
}
@media (max-width: 420px) {
  .ht-tool-inline a { gap: 12px; padding: 12px; }
  .ht-tool-inline-icon { width: 40px; height: 40px; }
  .ht-tool-inline-go { width: 32px; height: 32px; }
  .ht-tool-inline-practice, .ht-tool-inline-text > span:last-child { display: none; }
}

.ht-tool-aside { display: grid; gap: 4px; padding: 14px 18px; border-color: var(--tint-line); background: var(--tint); color: var(--ink); text-decoration: none; }
.ht-tool-aside-head { display: flex; align-items: center; gap: 8px; color: var(--gold-ink); }
.ht-tool-aside-head .ht-ico { width: 20px; height: 20px; }
.ht-tool-aside strong { margin-top: 2px; font: 500 1.1875rem/1.25 var(--serif); }
/* Kept short: the sidebar is sticky, and the advice card below it must stay on screen. */
.ht-article-aside-inner:has(.ht-tool-aside) { gap: 16px; }
.ht-article-aside-inner:has(.ht-tool-aside) nav { max-height: max(120px, calc(100vh - 36rem)); }
@media (max-height: 700px) { .ht-tool-aside { display: none; } }
.ht-tool-aside-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--ink); font: 600 .875rem var(--sans); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ht-tool-aside:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) { .ht-tool-aside:hover { border-color: var(--gold); } }

.ht-tool-end { margin-top: 44px; }
.ht-tool-end-grid { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .ht-tool-end-grid:has(> :nth-child(2)) { grid-template-columns: 1fr 1fr; } }
.ht-tool-tile { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease-enter); }
.ht-tool-tile-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--gold-ink); }
.ht-tool-tile-icon .ht-ico { width: 20px; height: 20px; }
.ht-tool-tile-text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.ht-tool-tile-text strong { font: 600 .9375rem/1.3 var(--sans); }
.ht-tool-tile-text span { color: var(--slate); font-size: .8125rem; line-height: 1.45; }
.ht-tool-tile-go { flex: 0 0 auto; margin-top: 2px; color: var(--gold-ink); transition: transform .25s var(--ease-enter); }
.ht-tool-tile:active { transform: scale(.985); }
.ht-tool-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) { .ht-tool-tile:hover { border-color: var(--gold); } .ht-tool-tile:hover .ht-tool-tile-go { transform: translateX(3px); } }

.ht-article-disclaimer { margin-top: 44px; }
.ht-article-disclaimer button { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }

.ht-article-end { margin-top: 36px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--contrast-bg); color: var(--contrast-text); }
.ht-article-end .ht-eyebrow { color: var(--gold-soft); }
.ht-body .ht-article-end h2 { margin: 12px 0 0; color: var(--contrast-heading); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; }
.ht-article-end p { margin: 12px 0 0; }
.ht-article-end .ht-actions { margin-top: 24px; }

.ht-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ht-share p { margin: 0 8px 0 0; color: var(--slate); font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ht-share a, .ht-share button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--charcoal); cursor: pointer; transition: border-color .2s, color .2s; }
@media (hover: hover) { .ht-share a:hover, .ht-share button:hover { border-color: var(--gold); color: var(--ink); } }

.ht-author { display: grid; gap: 18px; margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
@media (min-width: 640px) { .ht-author { grid-template-columns: auto 1fr; } }
.ht-author p { margin: 6px 0 0; }
.ht-author-name { color: var(--ink); font: 500 1.5rem/1.1 var(--serif) !important; margin: 0 !important; }
.ht-author-name a { color: inherit; text-decoration: none; }
.ht-author-name a:hover { color: var(--gold-ink); }
.ht-author-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px !important; }

/* Article typography. Each rule weighs one element (0,0,1): enough to beat
   Tailwind's reset, still losing to classes WordPress widgets carry. */
.ht-prose { color: var(--charcoal); font-size: 1.0625rem; line-height: 1.8; overflow-wrap: break-word; }
@media (min-width: 640px) { .ht-prose { font-size: 1.1875rem; } }
:where(.ht-prose) :is(p, ul, ol, figure, table, pre, blockquote):where(:not(.ht-cta *)) { margin: 0 0 1.25em; }
:where(.ht-prose) > p:first-child::first-letter { float: left; margin: 0.08em 0.1em 0 0; color: var(--gold-ink); font: 500 3.9em/0.8 var(--serif); }
:where(.ht-prose) :is(h2, h3, h4) { color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; scroll-margin-top: calc(var(--header-h) + 24px); text-wrap: balance; }
:where(.ht-prose) h2 { margin: 2em 0 0.6em; font-size: 1.85em; line-height: 1.15; }
:where(.ht-prose) h3 { margin: 1.7em 0 0.5em; font-size: 1.4em; line-height: 1.25; }
:where(.ht-prose) h4 { margin: 1.5em 0 0.5em; font-family: var(--sans); font-size: 1.05em; font-weight: 600; }
:where(.ht-prose) a:where(:not(.ht-cta *)) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { :where(.ht-prose) a:where(:not(.ht-cta *)):hover { color: var(--gold-ink); } }
:where(.ht-prose) strong { color: var(--ink); font-weight: 600; }
:where(.ht-prose) ul { list-style: disc; padding-left: 1.4em; }
:where(.ht-prose) ol { list-style: decimal; padding-left: 1.4em; }
:where(.ht-prose) li:where(li + li) { margin-top: 0.4em; }
:where(.ht-prose) li::marker { color: var(--gold-ink); }
:where(.ht-prose) img { max-width: 100%; height: auto; border-radius: var(--radius); margin-inline: auto; }
:where(.ht-prose) figcaption { margin-top: 0.6em; color: var(--slate); font-size: 0.85em; text-align: center; }
:where(.ht-prose) table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.88em; font-variant-numeric: tabular-nums; }
:where(.ht-prose) :is(th, td) { padding: 0.65em 0.85em; border: 1px solid var(--line); text-align: left; vertical-align: top; }
:where(.ht-prose) th { background: var(--paper-2); color: var(--ink); }
:where(.ht-prose) hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
:where(.ht-prose) code { padding: 0.1em 0.35em; border-radius: 0.3em; background: var(--paper-2); font-size: 0.9em; }
:where(.ht-prose) :is(iframe, video) { max-width: 100%; }
/* Statutory callouts: WordPress blockquotes become key-point panels. */
:where(.ht-prose) blockquote:where(.ht-takeaway) { position: relative; margin: 2em 0; padding: 1.4em 1.5em 1.3em; border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--paper-2); color: var(--ink); font-size: 0.97em; }
:where(.ht-prose) blockquote:where(.ht-takeaway)::before { content: "Key point"; display: block; margin-bottom: 0.4em; color: var(--gold-ink); font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
:where(.ht-prose .ht-takeaway) p { margin: 0; }
:where(.ht-prose) :where(.is-layout-flex) { display: flex; flex-wrap: wrap; gap: 0.75em; }
:where(.ht-prose) :where(.is-vertical) { flex-direction: column; }
:where(.ht-prose) :where(.has-very-light-gray-background-color) { background-color: var(--paper-2); }
:where(.ht-prose) :where(.has-background) { border-radius: var(--radius); }
:where(.ht-prose) div:where(.wp-block-buttons) { margin: 0.4em 0 1.4em; }
:where(.ht-prose) a:where(.wp-block-button__link) { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.7em 1.3em; border-radius: 10px; background: var(--solid-bg); color: var(--solid-text); font-size: 0.9em; font-weight: 600; text-decoration: none; }
@media (hover: hover) { :where(.ht-prose) a:where(.wp-block-button__link):hover { background: var(--solid-bg-hover); color: var(--solid-text); } }
:where(.ht-prose .wp-block-button__link) :is(strong, b, em, span) { color: inherit; }
.ht-quote-actions { margin-top: 0.9rem; }
.ht-quote-actions button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--charcoal); font: 600 .78rem var(--sans); cursor: pointer; }
@media (hover: hover) { .ht-quote-actions button:hover { border-color: var(--gold); color: var(--ink); } }

.ht-related { padding-block: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line); background: var(--paper-2); }
.ht-related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 28px; }
