/* G2 blog templates (blocker B2). Only additions for imported post bodies and the blog
   list empty state; the article, cards, posts, featured, chips and CTA sections keep their
   own styles. Every rule is scoped to .sth-wp-post (single posts rendered by the article
   template, body class from parts/blog/helpers.php) or .gl-empty, so no existing page
   changes. Tokens only. */

/* ================================================================ Post body: basics */
.sth-wp-post .article__body > * { max-width: 100%; }
.sth-wp-post .article__body :is(h2, h3, h4, .wp-anchor) { scroll-margin-top: 96px; }
.sth-wp-post .article__body h3 { font: var(--fw-medium) 19px/25px var(--f-head); letter-spacing: -.3px; color: var(--c-ink); }
.sth-wp-post .article__body h4 { font: var(--fw-medium) 17px/24px var(--f-head); color: var(--c-ink); }
.sth-wp-post .article__body :is(div, article, details) > :is(h2, h3, h4, p, ul, ol) { margin: 0; }
.sth-wp-post .article__body img { max-width: 100%; height: auto; }
.sth-wp-post .article__body iframe, .sth-wp-post .article__body video { max-width: 100%; border: 0; border-radius: 16px; }
.sth-wp-post .article__body :is(pre) {
	overflow-x: auto; padding: 16px 18px; border-radius: 14px; background: var(--c-night); color: #E8EAFF;
	font: 14px/22px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sth-wp-post .article__body :not(pre) > code {
	padding: 1px 6px; border-radius: 6px; background: var(--c-lav-soft); color: var(--c-ink);
	font: .9em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.sth-wp-post .article__body blockquote:not(:where(.article__body > blockquote)) {
	margin: 0; padding: 14px 18px; border-left: 3px solid var(--c-blue); border-radius: 0 12px 12px 0; background: var(--c-lav-soft);
}
/* Nested lists keep the theme bullets. */
.sth-wp-post .article__body li > :is(ul, ol) { margin: 8px 0 0; padding-left: 20px; }
.sth-wp-post .article__body :is(div, details) ul:not(.sv-checks) { display: flex; flex-direction: column; gap: 8px; padding: 0; list-style: none; }
.sth-wp-post .article__body :is(div, details) ul:not(.sv-checks) > li { position: relative; padding-left: 24px; }
.sth-wp-post .article__body :is(div, details) ul:not(.sv-checks) > li::before {
	content: ""; position: absolute; left: 2px; top: calc(13.5px - 3px);
	width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue);
}

/* Buttons the old bodies carried (mapped onto .btn in the clean-up). */
.sth-wp-post .article__body a.btn { color: var(--btn-fg); text-decoration: none; align-self: flex-start; }
.sth-wp-post .article__body .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Eyebrow labels and the landing-page lead line. */
.sth-wp-post .article__body .eyebrow {
	font: var(--fw-medium) 12px/16px var(--f-head); letter-spacing: .8px; text-transform: uppercase; color: var(--c-blue);
	margin-bottom: -8px;
}
.sth-wp-post .article__body .eyebrow + :is(h2, .wp-lead) { margin-top: 0; }
.sth-wp-post .article__body .wp-lead {
	font: var(--fw-medium) 23px/29px var(--f-head); letter-spacing: -.6px; color: var(--c-ink);
}
.sth-wp-post .article__body p.lead { max-width: none; }

/* ================================================================ Post body: card groups */
/* "At a glance" cards (.st-glance / .st-card) and feature grids (.grid > .card). */
.sth-wp-post .article__body :is(.st-glance, .grid, .checks, .panel) {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
}
.sth-wp-post .article__body :is(.st-card, .grid > .card, .check, .cred) {
	display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r-card-s);
	background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.sth-wp-post .article__body :is(.st-card, .grid > .card, .check, .cred) p { font-size: 15px; line-height: 24px; }
.sth-wp-post .article__body .st-card .l {
	font: var(--fw-medium) 12px/16px var(--f-body); letter-spacing: .6px; text-transform: uppercase; color: var(--ink-60);
}
.sth-wp-post .article__body .st-card .k { font: var(--fw-medium) 17px/23px var(--f-head); color: var(--c-ink); }
.sth-wp-post .article__body :is(.ico, .tick, .ic) {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 10px; background: var(--c-lav-soft); color: var(--c-blue);
}
.sth-wp-post .article__body :is(.tick, .ic) { width: 28px; height: 28px; border-radius: 50%; }
.sth-wp-post .article__body :is(.ico, .tick, .ic) svg { width: 55%; height: 55%; }
.sth-wp-post .article__body :is(.check, .cred) { flex-direction: row; align-items: flex-start; gap: 12px; }
.sth-wp-post .article__body :is(.check, .cred) > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sth-wp-post .article__body :is(.check, .cred) > div > span { font-size: 14px; line-height: 21px; color: var(--ink-68); }
.sth-wp-post .article__body .panel > h3 { grid-column: 1 / -1; }

/* Pills: trust badges and audience chips (.chip here is the post's own pill). */
.sth-wp-post .article__body :is(.trust, .chips) { display: flex; flex-wrap: wrap; gap: 8px; }
.sth-wp-post .article__body :is(.trust > span, .chips > .chip) {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
	background: var(--c-lav-soft); box-shadow: none; color: var(--c-ink);
	font: var(--fw-medium) 13px/18px var(--f-body); letter-spacing: 0; text-transform: none;
}
.sth-wp-post .article__body .trust svg { width: 12px; height: 12px; color: var(--c-success); }
.sth-wp-post .article__body .chips .d { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }

/* Decorative status console from the old landing pages. */
.sth-wp-post .article__body .console {
	padding: 18px; border-radius: var(--r-card-s); background: var(--c-night); color: #E8EAFF;
}
.sth-wp-post .article__body .console .c-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; font-size: 14px; }
.sth-wp-post .article__body .console .c-top b { color: var(--c-white); }
.sth-wp-post .article__body .console .live { display: inline-flex; align-items: center; gap: 6px; color: #8DF0B6; }
.sth-wp-post .article__body .console .live i { width: 8px; height: 8px; border-radius: 50%; background: #34D27B; }
.sth-wp-post .article__body .console .term { display: flex; flex-direction: column; gap: 4px; font: 13px/20px ui-monospace, SFMono-Regular, Menlo, monospace; }
.sth-wp-post .article__body .console .k { color: #B9B9F5; }
.sth-wp-post .article__body .console .ok { color: #8DF0B6; }

/* ================================================================ Post body: figures */
.sth-wp-post .article__body .sv-fig {
	display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-card);
	background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.sth-wp-post .article__body .sv-ttl { font: var(--fw-medium) 15px/21px var(--f-head); color: var(--c-ink); }
.sth-wp-post .article__body .sv-frame { overflow-x: auto; border-radius: 12px; background: var(--c-white); padding: 8px; }
.sth-wp-post .article__body .sv-svg { display: block; width: 100%; height: auto; }
.sth-wp-post .article__body :is(.sv-cap, .sv-note) { font-size: 13px; line-height: 19px; color: var(--ink-60); }
.sth-wp-post .article__body .sv-vs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sth-wp-post .article__body .sv-vs > div {
	display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-card-s);
	background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.sth-wp-post .article__body .sv-vs > .on { background: var(--c-lav-soft); }
.sth-wp-post .article__body .sv-sub { font-size: 13px; line-height: 18px; color: var(--ink-60); }
.sth-wp-post .article__body :is(.sv-checks, .sv-steps) { display: flex; flex-direction: column; gap: 8px; padding: 0; list-style: none; }
.sth-wp-post .article__body .sv-checks > li { position: relative; padding-left: 26px; }
.sth-wp-post .article__body .sv-checks > li::before {
	content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--c-lav-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23010ED0' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ================================================================ Post body: boxes */
/* Inline CTA boxes (.sth-cta) and the landing-page closing box (.final). */
.sth-wp-post .article__body :is(.sth-cta, .final) {
	display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-card);
	background: var(--c-lav-soft);
}
.sth-wp-post .article__body .sth-cta > div { display: flex; flex-direction: column; gap: 12px; }
.sth-wp-post .article__body .sth-cta div:not(:has(> *)) { font-size: 15px; line-height: 23px; color: var(--ink-72); }
.sth-wp-post .article__body .sth-cta div:first-child > div:first-child > div:first-child {
	font: var(--fw-medium) 12px/16px var(--f-head); letter-spacing: .8px; text-transform: uppercase; color: var(--c-blue);
}
.sth-wp-post .article__body .wp-final__h { font: var(--fw-medium) 21px/28px var(--f-head); letter-spacing: -.4px; color: var(--c-ink); }
.sth-wp-post .article__body .sth-topic-links { font-size: 15px; line-height: 24px; color: var(--ink-68); }

/* FAQ blocks inside a post body (native details), in the FAQ section look. */
.sth-wp-post .article__body .faq { display: flex; flex-direction: column; gap: 12px; }
.sth-wp-post .article__body .faq details {
	padding: 16px 18px; border-radius: var(--r-card-s); background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.sth-wp-post .article__body .faq summary {
	display: flex; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none;
	font: var(--fw-medium) 16px/23px var(--f-head); color: var(--c-ink);
}
.sth-wp-post .article__body .faq summary::-webkit-details-marker { display: none; }
.sth-wp-post .article__body .faq summary .pl::before { content: "+"; color: var(--c-blue); font-size: 20px; line-height: 23px; }
.sth-wp-post .article__body .faq details[open] summary .pl::before { content: "\2212"; }
.sth-wp-post .article__body .faq details > p { margin-top: 10px; font-size: 15px; line-height: 24px; }
.sth-wp-post .article__body summary:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 4px; border-radius: 6px; }

@media (min-width: 768px) {
	.sth-wp-post .article__body h3 { font-size: 22px; line-height: 28px; }
	.sth-wp-post .article__body .wp-lead { font-size: 30px; line-height: 37px; }
	.sth-wp-post .article__body :is(.st-glance, .grid, .checks, .panel, .sv-vs) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sth-wp-post .article__body :is(.sth-cta, .final) { padding: 24px 28px; }
	.sth-wp-post .article__body .sth-cta > div { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.sth-wp-post .article__body .sth-cta > div > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
}

/* ================================================================ Post body: F2b clean-up */
/* Hero summary: a long unbroken string wraps instead of running off the page. */
.sth-wp-post .hero__sub { overflow-wrap: anywhere; }

/* Inline SVG icons, sized by role in the clean-up (wp-ico-t text size, wp-ico-s standalone
   icon, wp-ico-n own tiny size, wp-svg-fig illustration within the column). Low specificity,
   so the icon tiles (.ico, .tick, .ic, .trust) keep their own sizes. */
.sth-wp-post .article__body :where(svg.wp-ico-t) {
	display: inline-block; flex: none; width: 1em; height: 1em; max-width: 24px; max-height: 24px; vertical-align: -.125em;
}
.sth-wp-post .article__body :where(svg.wp-ico-s) { display: block; flex: none; width: 24px; height: 24px; }
.sth-wp-post .article__body :where(svg.wp-ico-n) { display: inline-block; flex: none; vertical-align: middle; }
.sth-wp-post .article__body :where(svg.wp-svg-fig) { display: block; max-width: 100%; height: auto; }

/* Tables: auto layout (fixed-layout tables cut columns), wider minimum for many long columns. */
.sth-wp-post .article__body table { table-layout: auto; }
.sth-wp-post .article__body figure.article__table { margin: 0; }
.sth-wp-post .article__body table.wp-tbl-c1 { min-width: 0; }
.sth-wp-post .article__body table.wp-tbl-c3 { min-width: 720px; }
.sth-wp-post .article__body table.wp-tbl-c4 { min-width: 800px; }
.sth-wp-post .article__body table.wp-tbl-c5 { min-width: 920px; }
.sth-wp-post .article__body :is(td, th) > :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 12px; }

/* Label rows from the post content components: a check beside a label and its line
   (.sv-matrix > .sv-m), layer cards (.sv-stack > .sv-layer), stat cards (.sv-stats > .sv-stat),
   pillar cards (.sv-pillars > .sv-pillar) and bar rows (.sv-bars). Same card look as .check. */
.sth-wp-post .article__body :is(.sv-matrix, .sv-stack, .sv-stats, .sv-pillars, .sv-bars) {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
}
.sth-wp-post .article__body :is(.sv-m, .sv-layer, .sv-stat, .sv-pillar) {
	display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 18px; border-radius: var(--r-card-s);
	background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.sth-wp-post .article__body .sv-layer.on { background: var(--c-lav-soft); }
.sth-wp-post .article__body .sv-m {
	display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: start;
}
.sth-wp-post .article__body .sv-m > svg { grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 4px; }
.sth-wp-post .article__body .sv-m > :not(svg) { grid-column: 2; }
.sth-wp-post .article__body :is(.sv-m, .sv-layer) > b { font-weight: var(--fw-semibold); color: var(--c-ink); }
.sth-wp-post .article__body :is(.sv-m, .sv-layer) > span,
.sth-wp-post .article__body .sv-flow > li > span { font-size: 15px; line-height: 24px; color: var(--ink-68); }
.sth-wp-post .article__body .sv-stat .sv-k { font: var(--fw-medium) 23px/29px var(--f-head); letter-spacing: -.6px; color: var(--c-ink); }
.sth-wp-post .article__body .sv-stat .sv-l { font-size: 15px; line-height: 23px; color: var(--c-ink); }
.sth-wp-post .article__body .sv-stat .sv-s { font-size: 13px; line-height: 19px; color: var(--ink-60); }
.sth-wp-post .article__body .sv-pillar > :is(p, ul) { margin: 0; }
.sth-wp-post .article__body .sv-ic {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 10px; background: var(--c-lav-soft); color: var(--c-blue);
}
.sth-wp-post .article__body .sv-ic svg { width: 55%; height: 55%; }
.sth-wp-post .article__body .sv-ic svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sth-wp-post .article__body .sv-bl { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; line-height: 23px; }
.sth-wp-post .article__body .sv-bv { font-weight: var(--fw-semibold); color: var(--c-ink); }
.sth-wp-post .article__body .sv-bar { display: flex; flex-direction: column; gap: 6px; }
.sth-wp-post .article__body .sv-track { height: 8px; border-radius: var(--r-pill); background: var(--c-white); overflow: hidden; }
.sth-wp-post .article__body .sv-fill { display: block; height: 100%; border-radius: inherit; background: var(--c-blue); }

/* Custom HTML closing banners (.banner, from two posts' own CTA blocks): the inline CTA box look. */
.sth-wp-post .article__body .banner {
	display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-card); background: var(--c-lav-soft);
}
.sth-wp-post .article__body .banner :is(.inner, .left, .right, .cta-box, .banner-left, .banner-right) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sth-wp-post .article__body .banner :is(.grid-bg, .eyebrow-dot) { display: none; }
.sth-wp-post .article__body .banner .eyebrow { margin-bottom: 0; }
.sth-wp-post .article__body .banner :is(h2, .banner-title) { margin: 0; font: var(--fw-medium) 21px/28px var(--f-head); letter-spacing: -.4px; color: var(--c-ink); }
.sth-wp-post .article__body .banner-tag {
	display: inline-flex; align-items: center; gap: 6px; color: var(--c-blue);
	font: var(--fw-medium) 12px/16px var(--f-head); letter-spacing: .8px; text-transform: uppercase;
}
.sth-wp-post .article__body .banner-tag svg:not([fill]) { fill: currentColor; }
.sth-wp-post .article__body :is(.trust-row, .banner-stats) { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sth-wp-post .article__body .trust-item { display: flex; align-items: center; gap: 8px; }
.sth-wp-post .article__body .trust-item > p { margin: 0; font-size: 15px; line-height: 23px; }
.sth-wp-post .article__body .trust-check svg { fill: none; stroke: var(--c-blue); stroke-width: 1.6; }
.sth-wp-post .article__body .stat-item { display: flex; flex-direction: column; }
.sth-wp-post .article__body .stat-val { font: var(--fw-medium) 19px/25px var(--f-head); color: var(--c-ink); }
.sth-wp-post .article__body :is(.stat-lbl, .btn-meta, .cta-sub, .corner-tag) { font-size: 13px; line-height: 19px; color: var(--ink-60); }
.sth-wp-post .article__body .wp-btn .wp-ico-t { margin-right: 6px; }

@media (min-width: 768px) {
	.sth-wp-post .article__body :is(.sv-matrix, .sv-pillars) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sth-wp-post .article__body .sv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================================================================ Mobile QA (FB4, 2026-11-23) */
/* M6-01 diagrams: below 1024 each diagram keeps the width at which its smallest label is 12px or
   more (sv-mw-<px>, measured in clean_body), so a narrow column scrolls the frame sideways; a
   wider column still scales it. The frame is a focusable, labelled region (clean_body). */
.sth-wp-post .article__body .sv-frame { overscroll-behavior-x: contain; }
.sth-wp-post .article__body .sv-frame:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
@media (max-width: 1023px) {
	.sth-wp-post .article__body .sv-mw-320 { min-width: 320px; }
	.sth-wp-post .article__body .sv-mw-360 { min-width: 360px; }
	.sth-wp-post .article__body .sv-mw-400 { min-width: 400px; }
	.sth-wp-post .article__body .sv-mw-440 { min-width: 440px; }
	.sth-wp-post .article__body .sv-mw-480 { min-width: 480px; }
	.sth-wp-post .article__body .sv-mw-520 { min-width: 520px; }
	.sth-wp-post .article__body .sv-mw-560 { min-width: 560px; }
	.sth-wp-post .article__body .sv-mw-600 { min-width: 600px; }
	.sth-wp-post .article__body .sv-mw-640 { min-width: 640px; }
	.sth-wp-post .article__body .sv-mw-680 { min-width: 680px; }
	.sth-wp-post .article__body .sv-mw-720 { min-width: 720px; }
	.sth-wp-post .article__body .sv-mw-760 { min-width: 760px; }
	.sth-wp-post .article__body .sv-mw-800 { min-width: 800px; }
	.sth-wp-post .article__body .sv-mw-840 { min-width: 840px; }
	.sth-wp-post .article__body .sv-mw-880 { min-width: 880px; }
	.sth-wp-post .article__body .sv-mw-920 { min-width: 920px; }
	.sth-wp-post .article__body .sv-mw-960 { min-width: 960px; }
	.sth-wp-post .article__body .sv-mw-1000 { min-width: 1000px; }
	.sth-wp-post .article__body .sv-mw-1040 { min-width: 1040px; }
	.sth-wp-post .article__body .sv-mw-1080 { min-width: 1080px; }
	.sth-wp-post .article__body .sv-mw-1120 { min-width: 1120px; }
	.sth-wp-post .article__body .sv-mw-1160 { min-width: 1160px; }
	.sth-wp-post .article__body .sv-mw-1200 { min-width: 1200px; }
}

/* M6-10 scroll cue for diagram frames and tables: a quiet fade on the edge that hides more
   (data-sx from the script in single.php: start, mid, end; none when nothing is hidden). */
@media (max-width: 1279px) {
	.sth-wp-post .wp-sx { position: relative; }
	.sth-wp-post .wp-sx::before, .sth-wp-post .wp-sx::after {
		content: ""; position: absolute; z-index: 1; top: 2px; bottom: 2px; width: 32px; pointer-events: none;
		opacity: 0; transition: opacity var(--dur-fast);
	}
	.sth-wp-post .wp-sx::before { left: 2px; border-radius: 14px 0 0 14px; background: linear-gradient(to right, var(--c-mist), rgba(255, 255, 255, 0)); }
	.sth-wp-post .wp-sx::after { right: 2px; border-radius: 0 14px 14px 0; background: linear-gradient(to left, var(--c-mist), rgba(255, 255, 255, 0)); }
	.sth-wp-post .sv-fig .wp-sx::before { left: 0; top: 0; bottom: 0; border-radius: 12px 0 0 12px; background: linear-gradient(to right, var(--c-white), rgba(255, 255, 255, 0)); }
	.sth-wp-post .sv-fig .wp-sx::after { right: 0; top: 0; bottom: 0; border-radius: 0 12px 12px 0; background: linear-gradient(to left, var(--c-white), rgba(255, 255, 255, 0)); }
	.sth-wp-post .wp-sx:is([data-sx="start"], [data-sx="mid"])::after,
	.sth-wp-post .wp-sx:is([data-sx="mid"], [data-sx="end"])::before { opacity: 1; }
}
/* Table cells meet the 15px body floor on phones. */
@media (max-width: 767px) {
	.sth-wp-post .article__body td { font-size: 15px; line-height: 23px; }
}

/* M6-06 "On this page" (phone card): every link a 44px row, same type and colour; the list
   keeps its 18px bottom space (7px plus the last row's 11px). The anchor landing offset is
   fixed once, globally, by FB2. */
.sth-wp-post .toc--drop .toc__list { gap: 0; padding-bottom: 7px; }
.sth-wp-post .toc--drop .toc__a { padding: 11px 0; }

/* M6-07 FAQ boxes in post bodies: the whole row is the summary (44px or taller), the answer
   is padded on its own; the question text is one span (clean_body), so it cannot split. */
.sth-wp-post .article__body .faq details { padding: 0; }
.sth-wp-post .article__body .faq summary { align-items: flex-start; min-height: 44px; padding: 16px 18px; border-radius: var(--r-card-s); }
.sth-wp-post .article__body .faq details[open] > summary { padding-bottom: 10px; }
.sth-wp-post .article__body .faq details > :not(summary) { margin: 0 18px; }
.sth-wp-post .article__body .faq details > :not(summary):last-child { margin-bottom: 16px; }
.sth-wp-post .article__body .faq details > p { margin-top: 0; }
.sth-wp-post .article__body .faq summary:focus-visible { outline-offset: 2px; border-radius: var(--r-card-s); }
.sth-wp-post .article__body .faq .wp-faq-q { flex: 1 1 auto; min-width: 0; }

/* M6-08 blog index and archives: topic chips are 44px targets with 8px between, same look. */
@media (max-width: 1023px) {
	.sth-blog-list .chipsg__list { gap: 8px; }
	.sth-blog-list .chipsg__chip--link a { display: flex; align-items: center; min-height: 44px; }
	.sth-blog-list .chipsg__chip--link a::after { content: none; }
}

/* M6-11 pager: 44px buttons below 1280; on narrow phones the page numbers take the first row
   and Previous and Next share the second row, half each. */
@media (max-width: 1279px) {
	.sth-blog-list .pager__btn { min-width: 44px; min-height: 44px; }
}
@media (max-width: 479px) {
	.sth-blog-list .pager > .pager__btn:is(:first-child, :last-child) { order: 1; flex: 1 1 calc(50% - 4px); }
}

/* M6-12 blog index and archives at 560 to 767: posts in two columns, as from 768. */
@media (min-width: 560px) and (max-width: 767px) {
	.sth-blog-list .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ================================================================ Empty list state */
.gl-empty {
	display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px;
}
.gl-empty__t { margin: 0; font: var(--fw-medium) 19px/26px var(--f-head); color: var(--c-ink); }
@media (min-width: 768px) {
	.gl-empty { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 36px; }
}

/* ================================================================ Featured images (real posts)
   Most featured images are title banners (1200 x 630 and the same shape at other sizes): text
   and badges run close to the left and right edges, so a frame of any other shape crops words.
   Where the frame holds a post's own featured image (an upload, not a kit image), it takes the
   banner shape; square and 3:2 photos are cropped top and bottom instead, which they tolerate.
   Cards (.post__media) already have a banner-shaped box and are left as they are. */
.sth-wp-post .hero .imgcard--hero:has(img[src*="/wp-content/uploads/"]) { aspect-ratio: 1200 / 630; height: auto; }
.feat__media:has(> img[src*="/wp-content/uploads/"]) { height: auto; aspect-ratio: 1200 / 630; align-self: center; }

/* ================================================================ Browse by topic, version 2 (parts/blog/topics.php)
   Figma 392:31149 (desktop) and 392:31233 (phone). The largest topics are tiles with an
   article count; the rest are a full-width chip row; "More resources" sits in the header on
   the right from 768 and last on phones. Replaces two chip columns whose right half was empty. */
.gl-topics__head { display: flex; flex-direction: column; gap: 14px; }
.gl-topics__res { order: 9; }
.gl-topics { display: flex; flex-direction: column; }
.gl-topics > .gl-topics__grid { order: 1; }
.gl-topics > .gl-topics__more { order: 2; }
.gl-topics > .gl-topics__head { display: contents; }
.gl-topics > .gl-topics__head > .head { order: 0; }
.gl-topics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gl-topics__grid > li { display: flex; min-width: 0; }
.gl-topic {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-content: start;
	flex: 1 1 auto; min-width: 0; min-height: 70px; padding: 14px 12px 14px 14px; border-radius: 16px;
	background: var(--c-white); box-shadow: inset 0 0 0 1px var(--ink-10), var(--sh-soft); color: var(--c-ink);
	transition: transform var(--dur-hover) var(--ease-out-quart), box-shadow var(--dur-hover) var(--ease-out-quart);
}
.gl-topic__t { grid-column: 1; font: var(--fw-medium) 15px/20px var(--f-head); letter-spacing: -.2px; text-wrap: balance; }
.gl-topic__n { grid-column: 1; font-size: 12px; line-height: 18px; color: var(--ink-60); }
.gl-topic > .ico { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 2px; color: var(--c-blue); }
.gl-topic:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.gl-topic:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--c-lav, var(--ink-14)), var(--sh-big); }
}
@media (min-width: 768px) {
	.gl-topics > .gl-topics__head { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; order: 0; }
	.gl-topics__res { order: 0; flex: none; flex-direction: row; align-items: center; gap: 14px; }
	.gl-topics__grid { gap: 14px; }
	.gl-topic { min-height: 76px; padding: 16px 16px 16px 20px; align-content: center; }
	.gl-topic__t { font-size: 17px; line-height: 22px; }
	.gl-topic__n { font-size: 13px; }
	.gl-topic > .ico { align-self: center; margin-top: 0; }
}
@media (min-width: 1024px) {
	.gl-topics__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
