/*!
 * The AI Executive — theme-specific additions
 * Loads after style.css. Scoped to our className hooks so nothing bleeds
 * into TT5-inherited block defaults.
 */

/* ============================================================
   A11Y — GLOBAL FOUNDATIONS
   ============================================================ */

/* Offset anchor scrolls + focus-into-view past the 64px sticky nav (WCAG 2.4.11) */
html {
	scroll-padding-top: 80px;
}

/* Visually-hidden utility — present in DOM for assistive tech, off-screen for sighted users */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Skip-to-content link — WCAG 2.4.1 Bypass Blocks */
.skip-link {
	position: absolute;
	top: -48px;
	left: 0;
	z-index: 100;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 12px 20px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: none;
	border-radius: 0 0 4px 0;
	transition: top 160ms ease-out;
}
.skip-link:focus {
	top: 0;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: -2px;
}

/* Global keyboard focus — WCAG 2.4.7 Focus Visible.
   Applied via :focus-visible so mouse users don't see outlines on click.
   Overridable per component where a designed focus already exists. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ============================================================
   STICKY MASTHEAD
   ============================================================ */
header.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

/* ============================================================
   BRAND — Signal Mark link + wordmark
   ============================================================ */
.site-brand__mark {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none !important;
	border: 0;
}

.site-brand .wp-block-site-title {
	margin: 0;
	line-height: 1;
}
.site-brand .wp-block-site-title a {
	text-decoration: none;
	transition: color 160ms ease;
}
.site-brand .wp-block-site-title a:hover {
	color: var(--wp--preset--color--meta);
}

/* ============================================================
   NAVIGATION — operator mono labels + L→R underline on hover
   ============================================================ */
.site-nav .wp-block-navigation {
	--wp--preset--spacing--block-gap: 28px;
}

.site-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--meta);
	transition: color 160ms ease;
	position: relative;
	padding-top: 6px;
	padding-bottom: 6px;
	text-decoration: none;
}

.site-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 2px;
	height: 1px;
	background: var(--wp--preset--color--contrast);
	transition: right 260ms cubic-bezier(.2,.8,.2,1);
}

.site-nav .wp-block-navigation-item__content:hover,
.site-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	color: var(--wp--preset--color--contrast);
}

.site-nav .wp-block-navigation-item__content:hover::after {
	right: 0;
}

.site-nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after {
	right: 0;
	background: var(--wp--preset--color--accent);
}

/* ============================================================
   SUBSCRIBE PILL BUTTON — nav CTA
   ============================================================ */
.site-nav__cta .wp-block-button__link {
	transition: background-color 160ms ease, transform 160ms ease;
	line-height: 1;
}
.site-nav__cta .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--deep-ink) !important;
	transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer .site-footer__mark {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

footer.site-footer .site-footer__copy {
	margin: 0;
}

footer.site-footer .site-footer__links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
footer.site-footer .site-footer__links a {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--meta);
	text-decoration: none;
	transition: color 160ms ease;
	padding: 8px 4px;             /* WCAG 2.5.8 — target size ≥24×24 (was 4px 0, ~18px tall) */
	min-height: 24px;
	display: inline-flex;
	align-items: center;
}
footer.site-footer .site-footer__links a:hover {
	color: var(--wp--preset--color--contrast);
}

/* ============================================================
   HOMEPAGE — front-page.html
   ============================================================ */

/* Generic section framing */
.home-section { }

/* Section header (label + "View all" link) */
.home-section__header { gap: 16px; margin-bottom: 8px; }

.home-section__label { margin: 0; display: inline-flex; align-items: center; gap: 12px; }
.home-section__label .home-section__rule {
	display: inline-block;
	width: 28px; height: 1px;
	background: currentColor;
	opacity: 0.35;
}

.home-section__all { margin: 0; }
.home-section__all a {
	color: inherit;
	text-decoration: none;
	padding: 6px 0;
	position: relative;
	transition: color 160ms ease;
}
.home-section__all a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 2px;
	height: 1px;
	background: var(--wp--preset--color--contrast);
	transition: right 260ms cubic-bezier(.2,.8,.2,1);
}
.home-section__all a:hover { color: var(--wp--preset--color--contrast); }
.home-section__all a:hover::after { right: 0; }

/* --- § 1 HERO --- */
.home-hero .home-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.home-hero__kicker-dot {
	display: inline-block;
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.14);
	animation: home-pulse 2.6s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes home-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.home-hero__tagline { max-width: 16ch; }
.home-hero__tagline em {
	font-style: italic;
	color: var(--wp--preset--color--accent);
}

.home-hero__support { max-width: 52ch; }
.home-hero__support strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.home-hero__ctas .wp-block-button__link { line-height: 1; transition: background-color 160ms ease, transform 160ms ease, color 160ms ease, border-color 160ms ease; }
.home-hero__ctas .is-style-primary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--deep-ink) !important;
	transform: translateY(-1px);
}
.home-hero__ctas .is-style-ghost .wp-block-button__link:hover {
	color: var(--wp--preset--color--accent) !important;
	border-bottom-color: var(--wp--preset--color--accent) !important;
}

/* --- § 2 LATEST DAILY BRIEF — main + facts sidebar ---
 * Left-heavy asymmetric grid.
 * The rail is metadata infrastructure, not reading content — it must always
 * feel narrower, denser, and more secondary than the brief body.
 *   Wide desktop  (≥1240px): fluid 1fr + minmax(240px, 32%) — scales but capped
 *   Mid desktop   (900–1239px): fluid 1fr + fixed 260px rail — prevents cramping
 *   Below 900px:  stack to one column
 */
.home-latest-brief__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 72px;
	align-items: start;
	max-width: none;
}

@media (min-width: 1240px) {
	.home-latest-brief__card {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
		gap: 80px;
	}
}

@media (max-width: 900px) {
	.home-latest-brief__card {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.home-latest-brief__main { min-width: 0; }

/* Facts sidebar — compact, dry, not a widget */
.home-latest-brief__facts {
	min-width: 0;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--rule);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.home-latest-brief__fact {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.home-latest-brief__fact .home-latest-brief__fact-key {
	margin: 0;
	color: var(--wp--preset--color--contrast);
}

.home-latest-brief__facts .home-latest-brief__fact-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	color: var(--wp--preset--color--meta);
	line-height: 1.45;
	letter-spacing: -0.003em;
}

.home-latest-brief__facts .home-latest-brief__fact-value strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.home-latest-brief__facts .home-latest-brief__fact-value.wp-block-post-terms {
	color: var(--wp--preset--color--meta);
}
.home-latest-brief__facts .home-latest-brief__fact-value.wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}
.home-latest-brief__facts .home-latest-brief__fact-value.wp-block-post-terms a:hover {
	color: var(--wp--preset--color--accent);
}


.home-latest-brief__date.wp-block-post-date {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	font-weight: 500;
	margin-bottom: 20px;
}
.home-latest-brief__date.wp-block-post-date a { color: inherit; text-decoration: none; }

.home-latest-brief__title.wp-block-post-title {
	max-width: 22ch;
	margin-top: 0;
}
.home-latest-brief__title.wp-block-post-title em { font-style: italic; }
.home-latest-brief__title.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color 200ms ease;
}
.home-latest-brief__title.wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent);
}

.home-latest-brief__excerpt.wp-block-post-excerpt { max-width: 54ch; }
.home-latest-brief__excerpt.wp-block-post-excerpt p { font-family: inherit; font-size: inherit; line-height: inherit; }
.home-latest-brief__excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	padding-bottom: 2px;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}
.home-latest-brief__excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--accent);
	border-bottom-color: var(--wp--preset--color--accent);
}

/* --- § 3 RECENT BRIEFS --- */
.brief-list.wp-block-query { margin-top: 36px; }
.brief-list .wp-block-post { padding: 0; }
.brief-item { transition: background 180ms ease; }
.brief-item__date.wp-block-post-date {
	display: block;
	letter-spacing: 0.08em;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 4px;
	transition: color 200ms ease;
}
.brief-item__date.wp-block-post-date a { color: inherit; text-decoration: none; }
.brief-item__title.wp-block-post-title {
	max-width: 56ch;
	margin-top: 4px;
	transition: transform 240ms cubic-bezier(.2,.8,.2,1);
	transform-origin: left;
}
.brief-item__title.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.brief-item:hover .brief-item__date.wp-block-post-date { color: var(--wp--preset--color--accent); }
.brief-item:hover .brief-item__title.wp-block-post-title { transform: translateX(3px); }

/* --- § 4 FEATURED ARTICLE --- */
.featured-article__card {
	padding-left: 40px;
	border-left: 3px solid var(--wp--preset--color--accent);
}
@media (max-width: 720px) { .featured-article__card { padding-left: 24px; } }
.featured-article__pillar.wp-block-post-terms {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.featured-article__pillar.wp-block-post-terms a { color: var(--wp--preset--color--accent); text-decoration: none; }
.featured-article__title.wp-block-post-title { max-width: 26ch; margin-top: 0; }
.featured-article__title.wp-block-post-title em { font-style: italic; }
.featured-article__title.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color 200ms ease;
}
.featured-article__title.wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }
.featured-article__excerpt.wp-block-post-excerpt { max-width: 62ch; }
.featured-article__excerpt.wp-block-post-excerpt p { font-family: inherit; font-size: inherit; line-height: inherit; }
.featured-article__excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	padding-bottom: 2px;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}
.featured-article__excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--accent);
	border-bottom-color: var(--wp--preset--color--accent);
}

/* --- § 5 RECENT ARTICLES --- */
.article-list.wp-block-query { margin-top: 36px; }
.article-list .wp-block-post { padding: 0; }
.article-item__pillar.wp-block-post-terms {
	display: block;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 8px;
	transition: color 200ms ease;
}
.article-item__pillar.wp-block-post-terms a { color: inherit; text-decoration: none; }
.article-item__title.wp-block-post-title {
	max-width: 48ch;
	margin-top: 0;
	transition: transform 240ms cubic-bezier(.2,.8,.2,1);
	transform-origin: left;
}
.article-item__title.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.article-item__excerpt.wp-block-post-excerpt { max-width: 64ch; }
.article-item__excerpt.wp-block-post-excerpt p { font-family: inherit; font-size: inherit; line-height: inherit; }
.article-item:hover .article-item__pillar.wp-block-post-terms { color: var(--wp--preset--color--accent); }
.article-item:hover .article-item__title.wp-block-post-title { transform: translateX(3px); }

/* --- § 6 THE EXPERT TEASER (deep-ink) --- */
.home-expert {
	color: rgba(255, 255, 255, 0.78);
}
.home-expert__grid {
	gap: 64px;
}
@media (max-width: 900px) { .home-expert__grid { gap: 40px; } }

.home-expert__main {
	flex: 1 1 60%;
	min-width: 0;
}
.home-expert__label {
	color: var(--wp--preset--color--accent) !important;
}
.home-expert__label .home-expert__rule {
	display: inline-block; width: 32px; height: 1px;
	background: var(--wp--preset--color--accent); opacity: 0.55;
	margin-right: 12px;
	vertical-align: middle;
}
.home-expert__title { max-width: 14ch; }
.home-expert__title em { font-style: italic; color: var(--wp--preset--color--accent); font-weight: 500; }
.home-expert__body { max-width: 56ch; }
.home-expert__body strong { color: #F5F3EF; font-weight: 500; }

.home-expert__link-wrap { margin: 0; }
.home-expert__link {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	color: #F5F3EF;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--accent);
	padding-bottom: 4px;
	transition: color 200ms ease;
}
.home-expert__link:hover { color: var(--wp--preset--color--accent); }

.home-expert__portrait {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
}
.home-expert__signal { opacity: 0.88; }
@media (max-width: 900px) { .home-expert__portrait { justify-content: flex-start; } }

/* --- § 7 SUBSCRIBE --- */
.home-subscribe__grid { gap: 64px; }
@media (max-width: 900px) { .home-subscribe__grid { gap: 24px; } }

.home-subscribe__text { flex: 1 1 50%; min-width: 0; }
.home-subscribe__label { display: inline-flex; align-items: center; gap: 12px; }
.home-subscribe__label .home-subscribe__rule {
	display: inline-block; width: 24px; height: 1px;
	background: var(--wp--preset--color--accent); opacity: 0.55;
}
.home-subscribe__title em { font-style: italic; font-weight: 500; }
.home-subscribe__body { max-width: 44ch; }

.home-subscribe__form { flex: 1 1 50%; min-width: 0; }
.home-subscribe__field {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	padding-bottom: 4px;
	align-items: center;
	flex-wrap: wrap;
	min-width: 0;
}
.home-subscribe__input {
	flex: 1 1 220px;
	border: 0;
	background: transparent;
	padding: 14px 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 17px;
	color: var(--wp--preset--color--contrast);
	outline: none;
	min-width: 0;
}

/* Designed focus for the subscribe form — the outer form border goes gold on focus,
   no default outline needed. Replaces the removed outline, satisfies WCAG 2.4.7. */
.home-subscribe__form:focus-within .home-subscribe__field {
	border-bottom-color: var(--wp--preset--color--accent);
}
.home-subscribe__field {
	transition: border-bottom-color 160ms ease;
}
.home-subscribe__status:not(:empty) {
	margin-top: 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	color: var(--wp--preset--color--contrast);
}
.home-subscribe__input::placeholder { color: var(--wp--preset--color--meta); opacity: 0.7; }
.home-subscribe__submit {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	background: transparent;
	border: 0;
	padding: 14px 0 14px 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color 160ms ease;
}
.home-subscribe__submit:hover { color: var(--wp--preset--color--accent); }
.home-subscribe__note {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--meta);
	margin-top: 14px;
	text-transform: uppercase;
}

/* ============================================================
   ARCHIVE — /category/daily-brief/, /category/article/
   ============================================================ */
.archive__kicker,
.archive__item-meta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.archive__rule {
	display: inline-block;
	width: 32px; height: 1px;
	background: var(--wp--preset--color--accent);
	opacity: 0.55;
}

.archive__title.wp-block-query-title { max-width: 14ch; margin: 0 0 20px 0; }

.archive__description.wp-block-term-description {
	max-width: 60ch;
	color: var(--wp--preset--color--meta);
	margin: 0;
}
.archive__description.wp-block-term-description p { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }

.archive__item { transition: background 180ms ease; }
.archive__item-meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.archive__item-date.wp-block-post-date,
.archive__item-pillar.wp-block-post-terms {
	display: inline-flex;
	align-items: center;
}
.archive__item-pillar.wp-block-post-terms a { color: var(--wp--preset--color--accent); text-decoration: none; }
.archive__item-date.wp-block-post-date a { color: inherit; text-decoration: none; }

.archive__item-title.wp-block-post-title {
	max-width: 52ch;
	margin-top: 6px;
	transition: transform 240ms cubic-bezier(.2,.8,.2,1);
	transform-origin: left;
}
.archive__item-title.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color 200ms ease;
}
.archive__item-title.wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }
.archive__item:hover .archive__item-title.wp-block-post-title { transform: translateX(3px); }

.archive__item-excerpt.wp-block-post-excerpt { max-width: 64ch; }
.archive__item-excerpt.wp-block-post-excerpt p { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.archive__item-excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	padding-bottom: 2px;
	text-decoration: none;
	transition: color 160ms ease, border-color 160ms ease;
}
.archive__item-excerpt.wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--accent);
	border-bottom-color: var(--wp--preset--color--accent);
}

.archive__pagination.wp-block-query-pagination a,
.archive__pagination.wp-block-query-pagination .page-numbers {
	color: var(--wp--preset--color--meta);
	text-decoration: none;
	padding: 4px 8px;
	transition: color 160ms ease;
}
.archive__pagination.wp-block-query-pagination a:hover {
	color: var(--wp--preset--color--contrast);
}
.archive__pagination.wp-block-query-pagination .current {
	color: var(--wp--preset--color--contrast);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single__meta {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}
.single__category.wp-block-post-terms a { color: var(--wp--preset--color--accent); text-decoration: none; }
.single__date.wp-block-post-date a,
.single__pillar.wp-block-post-terms a { color: inherit; text-decoration: none; }

.single__title.wp-block-post-title {
	max-width: 22ch;
	margin-top: 0;
}
.single__title.wp-block-post-title em { font-style: italic; }

.single__lede.wp-block-post-excerpt { max-width: 62ch; }
.single__lede.wp-block-post-excerpt p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: var(--wp--preset--color--meta);
	margin: 0;
}

/* Reading column body */
.single__body-wrap { max-width: 100%; }
.single__content {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	line-height: 1.7;
	color: var(--wp--preset--color--contrast);
}
.single__content > * { margin-top: 0; margin-bottom: 1.35em; }
.single__content > *:first-child { margin-top: 0; }
.single__content > *:last-child { margin-bottom: 0; }
.single__content p { font-size: 18px; line-height: 1.7; }
.single__content strong { color: var(--wp--preset--color--contrast); font-weight: 600; }
.single__content em { font-style: italic; }
.single__content a {
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--wp--preset--color--accent);
	padding-bottom: 1px;
	text-decoration: none;
	transition: color 160ms ease;
}
.single__content a:hover { color: var(--wp--preset--color--accent); }
.single__content h2 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin-top: 2.4em;
	margin-bottom: 0.6em;
}
.single__content h3 {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin-top: 2em;
	margin-bottom: 0.5em;
}
.single__content blockquote {
	margin: 2em 0;
	padding: 0 0 0 24px;
	border-left: 3px solid var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--serif);
	font-style: italic;
	font-size: clamp(19px, 1.8vw, 22px);
	line-height: 1.5;
	color: var(--wp--preset--color--contrast);
	font-weight: 400;
}
.single__content ul,
.single__content ol {
	padding-left: 1.5em;
}
.single__content li {
	margin-bottom: 0.4em;
}
.single__content code {
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 0.92em;
	background: rgba(26, 26, 26, 0.06);
	padding: 2px 6px;
	border-radius: 3px;
}
.single__content pre {
	background: var(--wp--preset--color--deep-ink);
	color: #F5F3EF;
	padding: 24px;
	border-radius: 4px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}
.single__content pre code { background: transparent; padding: 0; color: inherit; }

/* Post nav (prev/next) */
.single__post-nav { gap: 48px; }
.single__post-nav-item {
	display: inline-flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: var(--wp--preset--color--meta);
	transition: color 160ms ease;
	max-width: 44ch;
}
.single__post-nav-item:hover { color: var(--wp--preset--color--contrast); }
.single__post-nav-item--next { text-align: right; }
.single__post-nav-item .post-navigation-link-arrow-previous,
.single__post-nav-item .post-navigation-link-arrow-next { font-weight: 500; }
.single__post-nav-item .wp-block-post-navigation-link__label {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.single__post-nav-item .wp-block-post-navigation-link__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
	text-transform: none;
}

/* ============================================================
   404
   ============================================================ */
.error404__code,
.error404__rule {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.error404__rule {
	display: inline-block;
	width: 32px; height: 1px;
	background: var(--wp--preset--color--accent);
	opacity: 0.55;
}
.error404__title { max-width: 14ch; }
.error404__title em { font-style: italic; color: var(--wp--preset--color--accent); font-weight: 500; }
.error404__body { max-width: 52ch; }
.error404__ctas .wp-block-button__link { line-height: 1; transition: background-color 160ms ease, transform 160ms ease, color 160ms ease, border-color 160ms ease; }
.error404__ctas .is-style-ghost .wp-block-button__link:hover {
	color: var(--wp--preset--color--accent) !important;
	border-bottom-color: var(--wp--preset--color--accent) !important;
}

/* Empty state text for Query Loops with no posts */
.home-empty {
	margin: 0;
	font-family: var(--wp--preset--font-family--jetbrains-mono);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--meta);
}

/* ============================================================
   PRIMITIVES — registered block patterns + style variations
   Every page built in the editor reaches for these, not hardcoded markup.
   ============================================================ */

/* Kicker — small uppercase gold mono label with optional leading rule.
   Pattern: theaiexecutive/kicker. Class: .is-style-kicker. */
.is-style-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.is-style-kicker__rule {
	display: inline-block;
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.55;
}

/* Hairline separator — 1px ink-tinted rule, no shadow, no bulk.
   Pattern: theaiexecutive/hairline. Class: .is-style-hairline. */
.wp-block-separator.is-style-hairline {
	border: 0;
	height: 1px;
	opacity: 1;
	max-width: none;
	width: 100%;
}

/* Through-line callout — gold-left-border italic serif set-piece.
   Pattern: theaiexecutive/throughline. Class: .is-style-throughline. */
.is-style-throughline {
	max-width: 64ch;
}
.is-style-throughline__label {
	display: inline-flex;
	align-items: center;
	margin-bottom: 8px;
}
.is-style-throughline__body {
	font-family: var(--wp--preset--font-family--serif);
	color: var(--wp--preset--color--contrast);
	margin: 0;
}
.is-style-throughline__body em {
	color: var(--wp--preset--color--accent);
	font-weight: 500;
}

/* Section header — flex row: small uppercase label left, "View all →" right.
   Pattern: theaiexecutive/section-header. Class: .is-style-section-header. */
.is-style-section-header {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: 16px;
	margin-bottom: 24px;
}
.is-style-section-header__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.is-style-section-header__rule {
	display: inline-block;
	width: 32px;
	height: 1px;
	background: var(--wp--preset--color--accent);
	opacity: 0.55;
}
.is-style-section-header__all { margin: 0; }
.is-style-section-header__all a {
	color: inherit;
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
	transition: color 160ms ease;
}
.is-style-section-header__all a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transition: right 260ms cubic-bezier(.2,.8,.2,1);
}
.is-style-section-header__all a:hover { color: var(--wp--preset--color--contrast); }
.is-style-section-header__all a:hover::after { right: 0; }

/* GLOBAL ACCENT RULE — any display/section heading gets gold italic <em>,
   so content authors can use plain wp:heading blocks with `is-style-display`
   or `is-style-section` and just type <em>word</em> to accent a word. */
.is-style-display em,
.is-style-section em,
.is-style-list em {
	font-style: italic;
	color: var(--wp--preset--color--accent);
	font-weight: 500;
}

/* ============================================================
   EDITORIAL PAGE — template: page-editorial
   Generic long-form page wrapper. Authors compose content using primitives
   (kicker / hairline / throughline / section-header) + heading variations
   (is-style-display / section / list) + lede paragraph variation. No bespoke
   per-page CSS — every editorial page renders with the same rhythm.

   Column width is driven by theme.json contentSize (720px ≈ 72ch body).
   Authors structure pages as a series of UNALIGNED wp:group blocks (default
   layout) — each group inherits contentSize, dividers align with content.
   Use align:wide only for blocks that intentionally break the column
   (image-and-caption, gallery, wide pullquote).
   ============================================================ */
.editorial-page {
	padding-top: 0;
	padding-bottom: 0;
}

/* Section rhythm — direct-child wp:group (or <section>) gets 72/72 vertical
   padding plus a 1px hairline between. First group carries the hero's extra
   104px top pad; last group drops its bottom border. */
.editorial-page > .wp-block-post-content > .wp-block-group {
	padding-top: 72px;
	padding-bottom: 72px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.editorial-page > .wp-block-post-content > .wp-block-group:first-child {
	padding-top: 104px;
}
.editorial-page > .wp-block-post-content > .wp-block-group:last-child {
	padding-bottom: 96px;
	border-bottom: 0;
}

/* Heading tier full typography — size + family + line-height + letter-spacing + max-width.
   theme.json already sets weight/letter-spacing/line-height per tier; we add the rest
   so variations stand on their own without inline per-instance style attrs. */
.editorial-page .is-style-display {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.02;
	font-size: clamp(48px, 7vw, 96px);
	max-width: 14ch;
	margin: 0 0 32px;
}
.editorial-page .is-style-section {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	letter-spacing: -0.022em;
	line-height: 1.1;
	font-size: clamp(30px, 3.4vw, 44px);
	max-width: 22ch;
	margin: 0 0 28px;
}
.editorial-page .is-style-list {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 500;
	letter-spacing: -0.012em;
	line-height: 1.22;
	font-size: clamp(20px, 1.6vw, 24px);
	margin: 0 0 12px;
}

/* Lede — subtitle paragraph under a display heading. */
.editorial-page .is-style-lede {
	font-size: clamp(18px, 1.4vw, 21px);
	line-height: 1.55;
	color: var(--wp--preset--color--meta);
	max-width: 62ch;
	margin: 0;
}
.editorial-page .is-style-lede strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

/* Body paragraphs — default treatment inside any section group. */
.editorial-page .wp-block-post-content p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--wp--preset--color--meta);
}
.editorial-page .wp-block-post-content p strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}
.editorial-page .wp-block-post-content p em {
	font-style: italic;
	color: var(--wp--preset--color--accent);
}
.editorial-page .wp-block-post-content a {
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--wp--preset--color--accent);
	padding-bottom: 1px;
	text-decoration: none;
	transition: color 160ms ease;
}
.editorial-page .wp-block-post-content a:hover { color: var(--wp--preset--color--accent); }

/* ============================================================
   EDITORIAL PAGE — responsive breakpoints
   Four tested widths: 1440 (desktop large), 1024 (tablet landscape),
   768 (tablet portrait), 375 (phone). Below 1024 we compress vertical
   rhythm; below 768 we release heading max-widths and drop hero size
   so display/section copy no longer cramps into narrow columns.
   ============================================================ */
@media (max-width: 1024px) {
	.editorial-page > .wp-block-post-content > .wp-block-group {
		padding-top: 56px;
		padding-bottom: 56px;
	}
	.editorial-page > .wp-block-post-content > .wp-block-group:first-child {
		padding-top: 72px;
	}
	.editorial-page > .wp-block-post-content > .wp-block-group:last-child {
		padding-bottom: 72px;
	}
}

@media (max-width: 768px) {
	.editorial-page > .wp-block-post-content > .wp-block-group {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.editorial-page > .wp-block-post-content > .wp-block-group:first-child {
		padding-top: 48px;
	}
	.editorial-page > .wp-block-post-content > .wp-block-group:last-child {
		padding-bottom: 64px;
	}
	.editorial-page .is-style-display {
		max-width: none;
		font-size: clamp(32px, 8vw, 48px);
		margin-bottom: 20px;
	}
	.editorial-page .is-style-section {
		max-width: none;
		font-size: clamp(22px, 5.2vw, 30px);
		margin-bottom: 18px;
	}
	.editorial-page .is-style-lede {
		font-size: clamp(16px, 4vw, 19px);
		line-height: 1.5;
	}
	.editorial-page .wp-block-post-content p {
		font-size: 16px;
		line-height: 1.65;
	}
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
