/*
Theme Name:        IUX24 Blog
Theme URI:         https://blog.iux24.com/
Author:            IUX24
Author URI:        https://www.iux24.com/
Description:       "Blade" — the IUX24 Blog reading experience. Poppins 300/500 and the IUX24 CI v10 colour system, a lead guide beside a large cropped IUX24 mark, an asymmetric "Latest guides" block, open rows with no boxes, and an article page with a sticky "On this page" column, a 680px reading column and a single "Read next" handoff. The iux24.com gradient title bar is the only marker.
Requires at least: 6.6
Tested up to:      7.1
Requires PHP:      7.4
Version:           1.0.2
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       blog-iux24-theme
Tags:              blog, news, one-column, two-columns, custom-menu, editor-style, featured-images, full-site-editing, block-patterns, threaded-comments, translation-ready, wide-blocks

IUX24 Blog is distributed under the terms of the GNU GPL v2 or later.
*/

/*
 * theme.json owns the palette, Poppins and element defaults. This file holds
 * the Blade layout, which theme.json cannot express (grids, sticky columns,
 * media queries, the gradient bar).
 */

:root {
	--b-head: var(--wp--preset--color--heading);
	--b-body: var(--wp--preset--color--body);
	--b-muted: var(--wp--preset--color--muted);
	--b-line: var(--wp--preset--color--line);
	--b-link: var(--wp--preset--color--primary);
	--b-link-hover: var(--wp--preset--color--primary-600);
	--b-surface: var(--wp--preset--color--surface);
	--b-surface-2: var(--wp--preset--color--surface-2);
	--b-rule-v: linear-gradient(180deg, #0474a7, #37a0c4 55%, #55c8ce);
	--b-rule-h: linear-gradient(90deg, #0474a7, #37a0c4 55%, #55c8ce);
	--b-btn: linear-gradient(-85deg, #55c8ce 0%, #37a0c4 50%, #0474a7 100%);
	--b-btn-hover: linear-gradient(-85deg, #37a0c4 0%, #0474a7 50%, #0a4e6f 100%);
	--b-shadow-btn: 0 2px 4px rgba(4, 116, 167, .2);
	--b-img-shadow: 0 28px 56px -24px rgba(8, 44, 63, .35), 0 12px 24px -16px rgba(19, 23, 27, .25);
	--b-radius-sm: 6px;
	--b-radius: 8px;
	--b-radius-lg: 12px;
	--b-ease: cubic-bezier(.16, 1, .3, 1);

	/* Type scale: every text size in the theme comes from these seven steps. */
	--fs-xs: 13px;  --lh-xs: 20px;
	--fs-sm: 14px;  --lh-sm: 22px;
	--fs-md: 16px;  --lh-md: 26px;
	--fs-lg: 18px;  --lh-lg: 30px;
	--fs-xl: 22px;  --lh-xl: 32px;
	--fs-2xl: 28px; --lh-2xl: 38px;
	--fs-3xl: 44px; --lh-3xl: 52px;
	--b-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
/* Contents links and the skip link glide to their target, unless the reader asked for less motion. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { overflow-wrap: anywhere; min-width: 0; margin: 0; }
p, figure { margin: 0; }
strong, b { font-weight: 500; }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--b-link); outline-offset: 3px; border-radius: 4px; }
::selection { background: #e2edf4; color: #093d56; }
.b-wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.skip-link.screen-reader-text:focus { background: var(--b-head); color: #fff; border-radius: var(--b-radius); font-size: var(--fs-sm); line-height: var(--lh-sm); }

/* The iux24.com signature: a gradient bar beside the headline. */
.bar { position: relative; padding-left: 22px; }
.bar::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 4px; border-radius: 4px; background: var(--b-rule-v); }

/* Kicker, meta */
.b-kicker { font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 500; color: var(--b-link); }
.b-kicker a { color: inherit; }
.b-kicker a:hover { color: var(--wp--preset--color--primary-700); }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--b-muted); }
.b-meta > * + *::before { content: ""; display: inline-block; vertical-align: middle; width: 3px; height: 3px; margin-right: 10px; border-radius: 50%; background: currentColor; opacity: .6; }
.b-meta p, .b-meta .wp-block-post-date { margin: 0; }

/* Buttons: CI primary gradient pill with an arrow. */
.b-btn,
.b-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--b-btn); color: #fff; font-size: var(--fs-sm); font-weight: 500; line-height: 1; box-shadow: var(--b-shadow-btn); transition: background .2s var(--b-ease); white-space: nowrap; text-decoration: none; }
.b-btn:hover, .b-btn .wp-block-button__link:hover { background: var(--b-btn-hover); color: #fff; }
.b-btn.wp-block-buttons, .b-btn.wp-block-button { display: flex; height: auto; padding: 0; background: none; box-shadow: none; }
.b-arrow::after,
.b-btn.wp-block-read-more::after,
.b-btn .wp-block-button__link::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--b-arrow) center / contain no-repeat; mask: var(--b-arrow) center / contain no-repeat; transition: transform .25s var(--b-ease); }
a:hover.b-arrow::after, .b-btn:hover::after, .b-btn .wp-block-button__link:hover::after { transform: translateX(3px); }

/* Images: whole, 3:2, never overlaid (headlines are baked into them). Even CI radius. */
.blade-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--b-radius); box-shadow: var(--b-img-shadow); background: var(--b-surface-2); margin: 0; }
.blade-img a { display: block; height: 100%; }
.blade-img img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .7s var(--b-ease); }
.blade-img a:hover img, .wp-block-post:hover .blade-img img { transform: scale(1.035); }
.blade-img--xl { border-radius: var(--b-radius-lg); }
.blade-img--sm { border-radius: var(--b-radius-sm); }

/* ---------------- Header ---------------- */
/* Clean edge: white bar on the content grid, one hairline; the active link's gradient line sits on it. */
.b-header { position: sticky; top: 0; z-index: 30; background: #fff; box-shadow: inset 0 -1px 0 var(--b-line); }
.admin-bar .b-header { top: var(--wp-admin--admin-bar--height, 0px); }
/* WordPress wraps the header part in a div exactly as tall as the header, which would leave
   the sticky header no room to stick. Let the wrapper drop out of layout instead. */
.wp-block-template-part:has(> .b-header) { display: contents; }
.b-header__in { display: flex; align-items: center; gap: 32px; width: min(1200px, 100% - 48px); height: 72px; margin-inline: auto; }
.b-logo { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.b-logo img { display: block; height: 24px; width: auto; }
.b-logo__tag { font-size: var(--fs-sm); font-weight: 400; line-height: 1; color: var(--b-muted); padding-left: 12px; border-left: 1px solid var(--b-line); }
.b-nav { margin-left: auto; align-self: stretch; }
.b-nav .wp-block-navigation__container { gap: 28px; height: 100%; }
.b-nav .wp-block-navigation-item { height: 100%; }
.b-nav .wp-block-navigation-item__content { position: relative; display: flex; align-items: center; height: 100%; font-size: var(--fs-sm); line-height: 20px; font-weight: 400; color: var(--b-muted); transition: color .2s var(--b-ease); }
.b-nav .wp-block-navigation-item__content:hover,
.b-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--b-head); }
.b-nav .wp-block-navigation-item__content[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--b-rule-h); }
/* The www.iux24.com menu follows the blog's sections, after a hairline divider. */
.b-nav .b-nav__app--first { margin-left: 4px; padding-left: 28px; box-shadow: inset 1px 0 0 var(--b-line); background-clip: content-box; }
.b-nav .b-nav__app--first { height: 24px; align-self: center; }
.b-nav .b-nav__app--first .wp-block-navigation-item__content { height: auto; }
.b-badge { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--b-link); color: #fff; font-size: 10px; line-height: 1; font-weight: 400; }
.b-burger { display: none; position: relative; flex: none; margin-left: auto; margin-right: -8px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--b-head); cursor: pointer; }
.b-burger:hover { background: var(--b-surface-2); }
.b-burger__bars, .b-burger__bars::before, .b-burger__bars::after { position: absolute; left: 11px; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s var(--b-ease), background .2s; }
.b-burger__bars { top: 19.25px; }
.b-burger__bars::before, .b-burger__bars::after { content: ""; left: 0; }
.b-burger__bars::before { top: -5.25px; }
.b-burger__bars::after { top: 5.25px; }
.b-burger[aria-expanded="true"] .b-burger__bars { background: transparent; }
.b-burger[aria-expanded="true"] .b-burger__bars::before { background: var(--b-head); transform: translateY(5.25px) rotate(45deg); }
.b-burger[aria-expanded="true"] .b-burger__bars::after { background: var(--b-head); transform: translateY(-5.25px) rotate(-45deg); }
.b-menu { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 64px); overflow-y: auto; padding: 32px 16px; background: #fff; }
.b-menu[hidden] { display: none; }
.b-menu a { display: flex; align-items: center; padding: 8px 0; font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 500; letter-spacing: -.01em; color: #778c9c; }
.b-menu__h { margin: 24px 0 4px; font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 500; color: var(--b-muted); }
.b-menu__h:first-child { margin-top: 0; }
.b-menu .b-badge { height: 20px; margin-left: 10px; }
/* Explore's slot roll: as wide as its longest word, one word tall; menu.js rolls it. */
.b-roll { --b-roll-h: 18px; --b-roll-i: 1; display: inline-block; height: var(--b-roll-h); padding: 0 6px; overflow: hidden; vertical-align: middle; }
.b-menu .b-roll { --b-roll-h: 20px; }
.b-roll__track { display: block; transform: translateY(calc(var(--b-roll-i) * var(--b-roll-h) * -1)); transition: transform .5s var(--b-ease); }
.b-roll__track.is-jump { transition: none; }
.b-roll__word { display: block; height: var(--b-roll-h); line-height: var(--b-roll-h); text-align: center; white-space: nowrap; }
.b-menu a:hover, .b-menu a[aria-current="page"] { color: var(--b-head); }
html.b-menu-open { overflow: hidden; }

/* ---------------- Section titles ---------------- */
.b-section { font-size: var(--fs-md); line-height: var(--lh-md); font-weight: 500; letter-spacing: 0; color: var(--b-head); padding-left: 16px; margin-bottom: 24px; }
.b-section::before { width: 3px; }

/* ---------------- Lead ---------------- */
.lead { overflow-x: clip; padding: 40px 0 72px; }
.lead__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.lead .wp-block-post-title { font-size: var(--fs-3xl); line-height: var(--lh-3xl); letter-spacing: -0.03em; margin-top: 18px; }
.lead .wp-block-post-title a { color: inherit; }
.lead .wp-block-post-title a:hover { color: var(--wp--preset--color--primary-700); }
.lead .wp-block-post-excerpt { margin-top: 24px; font-size: var(--fs-lg); line-height: var(--lh-lg); max-width: 44ch; }
.lead .b-meta { margin-top: 20px; }
.lead .b-btn { margin-top: 28px; }
.lead__art { position: relative; }

/* ---------------- Latest (asymmetric) ---------------- */
.latest { padding-bottom: 72px; }
.latest__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
.card .b-kicker { margin-top: 18px; }
.card .wp-block-post-title { font-size: var(--fs-lg); line-height: var(--lh-lg); margin-top: 6px; }
.card .wp-block-post-title a, .stack__item .wp-block-post-title a, .next .wp-block-post-title a { color: var(--b-head); }
.card .wp-block-post-title a:hover, .stack__item .wp-block-post-title a:hover { color: var(--b-link-hover); }
.card .b-meta { margin-top: 12px; }
.card--big .wp-block-post-title { font-size: var(--fs-2xl); line-height: var(--lh-2xl); letter-spacing: -0.025em; }
.stack .wp-block-post { border-top: 1px solid var(--b-line); padding: 20px 0; }
.stack .wp-block-post:first-child { border-top: 0; padding-top: 0; }
.stack__item { display: grid; grid-template-columns: minmax(0, 1fr) 152px; gap: 24px; align-items: center; }
.stack__item .wp-block-post-title { font-size: var(--fs-lg); line-height: var(--lh-lg); margin-top: 6px; }
.stack__item .b-meta { margin-top: 10px; }
.latest:not(:has(.wp-block-post)), .more:not(:has(.wp-block-post)), .next:not(:has(.wp-block-post)) { display: none; }

/* ---------------- Grid ---------------- */
.more { padding-bottom: 80px; }
.grid3 .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.b-pager { margin-top: 56px; gap: 8px; font-size: var(--fs-sm); font-weight: 500; }
.b-pager a, .b-pager .page-numbers { color: var(--b-muted); padding: 6px 10px; border-radius: 999px; }
.b-pager a:hover { color: var(--b-head); background: var(--b-surface-2); }
.b-pager .current { color: var(--b-head); box-shadow: inset 0 0 0 1px var(--b-line); }

/* ---------------- Feed handoff ---------------- */
/* Dark graphite band (kept from 1.0.0 at the user's request), faint mark bottom-right. */
.feed { position: relative; overflow: hidden; background: var(--wp--preset--gradient--ink); color: #fff; }
.feed::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; background: url("assets/images/mark.svg") center / contain no-repeat; opacity: .08; transform: rotate(-12deg); pointer-events: none; }
.feed__in { position: relative; z-index: 1; padding-block: 64px; }
.feed__live { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--brand-b); }
.feed__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(85, 200, 206, .2); }
.feed h2 { margin-top: 8px; color: #fff; font-size: var(--fs-3xl); line-height: var(--lh-3xl); letter-spacing: -.035em; }
.feed p.feed__lede { margin-top: 8px; font-size: var(--fs-md); line-height: var(--lh-md); max-width: 52ch; color: rgba(255, 255, 255, .72); }
.feed .b-btn { margin-top: 24px; }

/* ---------------- Footer ---------------- */
.b-footer { padding: 64px 0 32px; font-size: var(--fs-sm); line-height: var(--lh-sm); }
.b-footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.b-footer__brand p { margin-top: 16px; color: var(--b-muted); max-width: 42ch; }
.b-footer__col h2 { font-size: var(--fs-sm); line-height: var(--lh-sm); letter-spacing: 0; margin-bottom: 14px; }
.b-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-footer a { color: var(--b-muted); }
.b-footer a:hover { color: var(--b-head); }
.b-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--b-line); font-size: var(--fs-xs); color: var(--b-muted); }

/* ---------------- Article ---------------- */
/* Article on the 1200 grid: text column left (same edge as the logo), "On this page" on the right. */
.a-grid { width: min(1200px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 96px; }
.a-toc { padding-top: 92px; }
.a-toc__in { position: sticky; top: 108px; }
.admin-bar .a-toc__in { top: calc(108px + var(--wp-admin--admin-bar--height, 0px)); }
.a-toc:not(.is-ready) .a-toc__in { visibility: hidden; }
.a-toc__h { font-size: var(--fs-xs); font-weight: 500; color: var(--b-head); margin-bottom: 12px; }
.a-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; box-shadow: inset 1px 0 0 var(--b-line); }
.a-toc a { display: block; position: relative; padding: 7px 0 7px 14px; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--b-muted); }
.a-toc a:hover { color: var(--b-head); }
.a-toc a.is-active { color: var(--b-head); font-weight: 500; }
.a-toc a.is-active::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--b-rule-v); }
.a-head { padding-top: 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--fs-sm); font-weight: 500; color: #9aaab6; }
.crumbs a { color: var(--b-link); }
.crumbs a:hover { color: var(--wp--preset--color--primary-700); }
.crumbs .wp-block-post-terms__prefix { color: #9aaab6; margin-right: 10px; }
.a-head h1 { font-size: var(--fs-3xl); line-height: var(--lh-3xl); letter-spacing: -0.03em; margin-top: 20px; text-wrap: balance; }
.a-by { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.a-by__av { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--b-line); background: url("assets/images/mark.svg") center / 60% no-repeat; }
.a-by__who { font-size: var(--fs-sm); line-height: var(--lh-sm); }
.a-by .wp-block-post-author-name { font-weight: 500; color: var(--b-head); }
.a-by .b-meta { gap: 6px; }
.a-by .b-meta > * + *::before { width: auto; height: auto; margin-right: 6px; border-radius: 0; background: none; opacity: 1; content: "·"; }
.a-hero { padding-top: 40px; }
.a-body { padding-top: 56px; }

/* Long-form content */
.prose { max-width: 680px; font-size: var(--fs-lg); line-height: 32px; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 24px; }
.prose > p:first-child { font-size: var(--fs-xl); line-height: var(--lh-xl); color: var(--b-head); }
.prose h2 { font-size: var(--fs-2xl); line-height: var(--lh-2xl); margin-top: 64px; scroll-margin-top: 100px; }
.prose h3 { font-size: var(--fs-xl); line-height: var(--lh-xl); margin-top: 40px; scroll-margin-top: 100px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--b-link); }
.prose strong, .prose b { color: var(--b-head); }
.prose a { color: var(--b-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--b-link-hover); }
.prose hr { border: 0; height: 1px; background: var(--b-line); margin: 56px 0; }
.prose img { border-radius: var(--b-radius); }
.prose figure, .prose .wp-caption { max-width: 100%; }
/* Posts pasted from another editor carry inline font styles in their headings. */
.prose [style*="font"] { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
/* Pasted empty spacer paragraphs. */
.prose > p:empty, .prose > p:has(> br:only-child) { display: none; }
.b-disclaimer { max-width: 680px; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--b-line); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--b-muted); }

/* Read next */
.next { width: min(1200px, 100% - 48px); margin-inline: auto; padding: 80px 336px 0 0; }
.next__in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; padding-top: 40px; border-top: 1px solid var(--b-line); }
.next__text { display: grid; gap: 10px; justify-items: start; }
.next .wp-block-post-title { font-size: var(--fs-2xl); line-height: var(--lh-2xl); letter-spacing: -0.025em; }
.next .wp-block-post-title a:hover { color: var(--b-link-hover); }
.next .wp-block-post-excerpt { font-size: var(--fs-lg); line-height: var(--lh-lg); }
.next .b-btn { margin-top: 12px; }
.single .more { padding-top: 80px; }

/* Pages, archives, 404 */
.b-page { width: min(760px, 100% - 48px); margin-inline: auto; padding: 56px 0 120px; }
.b-page .wp-block-post-title, .b-page > h1 { font-size: var(--fs-3xl); line-height: var(--lh-3xl); letter-spacing: -0.03em; text-wrap: balance; }
.b-page .prose { margin-top: 40px; }
.b-page .b-btn { margin-top: 32px; }
.b-archive-head { padding: 56px 0 56px; }
.b-archive-head h1 { font-size: var(--fs-3xl); line-height: var(--lh-3xl); letter-spacing: -0.03em; }
.b-archive-head .wp-block-term-description { margin-top: 16px; font-size: var(--fs-lg); line-height: var(--lh-lg); max-width: 56ch; }
.b-archive-head .wp-block-term-description p { margin: 0; }

/* Comments: quiet, same rules as the rest of the page. */
.b-comments { max-width: 680px; margin-top: 64px; font-size: var(--fs-md); }
.b-comments .wp-block-comments { margin: 0; }
.b-comments h2, .b-comments .comment-reply-title { font-size: var(--fs-xl); line-height: var(--lh-xl); margin-bottom: 8px; }
.b-comments .comment-notes, .b-comments .logged-in-as, .b-comments label { color: var(--b-muted); font-size: var(--fs-sm); }
.b-comments .comment-form > p { margin-top: 16px; }
.b-comments label { display: block; margin-bottom: 6px; font-weight: 400; }
.b-comments .comment-form-cookies-consent label { display: inline; margin: 0 0 0 6px; }
.b-comments input:not([type="checkbox"]):not([type="submit"]), .b-comments textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--b-line); border-radius: var(--b-radius); font: inherit; color: var(--b-head); background: #fff; }
.b-comments input:focus, .b-comments textarea:focus { outline: 2px solid var(--b-link); outline-offset: 1px; border-color: transparent; }
.b-comments textarea { min-height: 140px; resize: vertical; }
.b-comments .wp-block-button__link, .b-comments input[type="submit"] { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--b-btn); color: #fff; font: 500 14px/1 var(--wp--preset--font-family--body); cursor: pointer; }

/* ---------------- Responsive ---------------- */
/* The header links need room: below 960px they move into the hamburger menu. */
@media (max-width: 960px) {
	.b-header .b-nav.wp-block-navigation { display: none; }
	.b-burger { display: block; }
	.b-header__in { gap: 12px; }
	.b-menu { height: calc(100dvh - 72px); padding-inline: max(24px, (100% - 1200px) / 2); }
}
@media (max-width: 1080px) {
	.lead__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.lead__art { order: -1; max-width: 720px; }
	.latest__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.grid3 .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a-grid { grid-template-columns: minmax(0, 1fr); }
	.a-toc { display: none; }
	.prose { max-width: none; }
	.next { padding-right: 0; }
}
@media (max-width: 720px) {
	:root { --fs-3xl: 32px; --lh-3xl: 40px; }
	.b-wrap, .a-grid, .next, .b-page { width: calc(100% - 32px); }
	.b-header__in { width: calc(100% - 32px); height: 64px; gap: 12px; }
	.b-logo img { height: 22px; }
	.b-menu { height: calc(100dvh - 64px); padding-inline: 16px; }
	.lead { padding: 24px 0 48px; }
	.lead .wp-block-post-excerpt { font-size: var(--fs-md); line-height: var(--lh-md); }
	.latest, .more { padding-bottom: 56px; }
	.card--big .wp-block-post-title { font-size: var(--fs-xl); line-height: var(--lh-xl); }
	.stack__item { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; }
	.stack__item .wp-block-post-title { font-size: var(--fs-md); line-height: var(--lh-md); }
	.grid3 .wp-block-post-template { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.feed__in { padding-block: 48px; }
	.b-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.b-footer__brand { grid-column: 1 / -1; }
	.a-head { padding-top: 28px; }
	.a-hero { padding-top: 28px; }
	.a-body { padding-top: 36px; }
	.prose { line-height: 30px; }
	.prose > p:first-child { font-size: var(--fs-lg); line-height: var(--lh-lg); }
	.next { padding-top: 72px; }
	.next__in { grid-template-columns: minmax(0, 1fr); }
	.next__in .blade-img { order: -1; }
	.next .wp-block-post-title { font-size: var(--fs-xl); line-height: var(--lh-xl); }
	.single .more { padding-top: 72px; }
	.b-page, .b-archive-head { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
