.story-layout {
	display: grid;
	grid-template-columns: minmax(0, 800px) minmax(0, 300px);
	column-gap: clamp(2rem, 5.55vw, 5rem);
	align-items: start;
	padding-block: 48px 72px;
}

.story-article, .story-sidebar { min-inline-size: 0; }
.story-article { display: grid; gap: 26px; }
.story-header { display: grid; gap: 18px; padding-block-end: 18px; border-block-end: 1px solid var(--border); }
.story-header h1 { font-size: 3rem; font-weight: 600; line-height: 1.1667; overflow-wrap: anywhere; }
.story-intro { color: var(--muted); font-size: 1.3125rem; line-height: 1.524; }
.story-breadcrumbs, .story-meta { color: var(--muted); font-weight: 500; font-size: 0.8125rem; line-height: 1.5; }
.story-breadcrumbs a, .story-meta a { color: inherit; }
.story-breadcrumbs a:hover, .story-toc a:hover { text-decoration: underline; text-underline-offset: .2em; }
.story-breadcrumbs ol, .story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.story-breadcrumbs li { display: inline-flex; gap: 12px; }
.story-meta li + li::before { content: "·"; margin-inline-end: 12px; }
.story-kicker { color: var(--forest); font-size: 0.75rem; font-weight: 600; line-height: 1.42; text-transform: uppercase; }

.story-featured { display: grid; gap: 24px; }
.story-featured img {
	inline-size: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: var(--radius-card);
}
.story-featured figcaption { color: var(--muted); font-size: 0.75rem; line-height: 1.42; }
.story-content { font-size: 1.125rem; line-height: 1.667; overflow-wrap: anywhere; }
.story-content > * { margin-block: 0 13px; }
.story-content > :last-child { margin-block-end: 0; }
.story-content :is(h2, h3, h4) { font-weight: 600; line-height: 1.25; }
.story-content h2 { font-size: 1.75rem; margin-block-start: 30px; }
.story-content h3 { font-size: 1.375rem; margin-block-start: 24px; }
.story-content h4 { font-size: 1.125rem; margin-block-start: 18px; }
.story-content > :first-child { margin-block-start: 0; }
.story-content [id] { scroll-margin-block-start: calc(var(--admin-offset) + 4px); }
.story-content :is(ul, ol) { padding-inline-start: 1.25em; }
.story-content a:not(.wp-block-button__link), .story-sources a, .story-credit a { text-decoration: underline; text-underline-offset: .2em; }
.story-content blockquote {
	margin-inline: 0;
	padding: 0.65em 1em;
	border-inline-start: 3px solid var(--forest);
	background: var(--sage);
}
.story-content img, .story-content video { max-inline-size: 100%; block-size: auto; }
.story-content figcaption { color: var(--muted); font-size: 0.8125rem; }
.story-content .wp-block-table { max-inline-size: 100%; overflow-x: auto; }
.story-content table { border-collapse: collapse; inline-size: 100%; font-size: .9em; }
.story-content :is(td, th) { padding: .45em .6em; border: 1px solid var(--border); }
.story-content iframe { max-inline-size: 100%; }
.story-content pre { max-inline-size: 100%; overflow-x: auto; }
.story-content .wp-block-button__link {
	background: var(--forest);
	color: var(--surface);
	border-radius: var(--radius-button);
}

.story-takeaways, .story-toc, .story-cta { display: grid; gap: 12px; border-radius: var(--radius-card); }
.story-takeaways { padding: 22px 20px; background: var(--sage); font-size: 1rem; line-height: 1.6; }
.story-takeaways h2 { font-size: 1.1875rem; line-height: 1.37; font-weight: 600; }
.story-takeaways ul, .story-sources ul { margin: 0; padding-inline-start: 1.1em; }
.story-toc {
	padding: 20px;
	gap: 15px;
	border: 1px solid var(--border);
	background: var(--surface);
}
.story-toc-title, .story-toc summary { color: var(--forest); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.story-toc summary { cursor: pointer; }
.story-toc details > ol { margin-block-start: 15px; }
.story-toc ol { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.story-toc li a {
	display: inline-flex;
	align-items: center;
	min-block-size: 24px;
	color: var(--muted);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.4;
}
.story-toc li.story-toc-sub { margin-inline-start: 1em; }
.story-toc a[aria-current="location"] { color: var(--forest); font-weight: 600; }

.story-sidebar { align-self: stretch; padding-block-start: 150px; }
.story-sidebar-inner {
	position: sticky;
	inset-block-start: calc(var(--header-height) + var(--admin-offset) + 24px);
	display: grid;
	gap: 24px;
	max-block-size: calc(100dvh - var(--header-height) - var(--admin-offset) - 48px);
	overflow-y: auto;
	scrollbar-width: thin;
}
.story-cta { padding: 24px 20px; color: var(--surface); background: var(--forest); font-size: .9375rem; line-height: 1.53; }
.story-cta h2 { color: inherit; font-size: 1.5rem; font-weight: 600; line-height: 1.21; }
.story-cta .story-kicker { color: var(--lime); font-size: .6875rem; }
.story-cta .inline-link { color: inherit; min-block-size: 24px; }
.story-cta :focus-visible { outline-color: var(--surface); }
.story-note { display: grid; gap: 8px; color: var(--muted); font-size: .875rem; line-height: 1.57; }
.story-note .story-kicker { color: inherit; font-size: .6875rem; }
.story-sources, .story-related { display: grid; gap: 12px; padding-block-start: 24px; border-block-start: 1px solid var(--border); }
.story-sources { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.story-sources h2, .story-related h2 { font-size: 1.75rem; font-weight: 600; line-height: 1.25; }
.story-credit { display: grid; gap: 8px; padding-block: 16px; color: var(--muted); font-size: .875rem; line-height: 1.57; }
.story-credit-name { color: var(--forest); font-weight: 600; }
.story-related { gap: 20px; }
.story-related .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 0; }
.story-related .insight-card { min-block-size: 270px; }
.story-mobile { display: none; }

@media (max-width: 959px) {
	.story-layout { grid-template-columns: minmax(0, 800px); }
	.story-sidebar { display: none; }
	.story-mobile { display: grid; }
}
@media (max-width: 767px) {
	.story-layout { padding-block: 24px 40px; }
	.story-article { gap: 24px; }
	.story-header { gap: 14px; padding-block-end: 14px; }
	.story-header h1 { font-size: 2rem; line-height: 1.15625; }
	.story-intro { font-size: 1.0625rem; line-height: 1.53; }
	.story-featured { gap: 20px; }
	.story-featured img { aspect-ratio: 350 / 208; }
	.story-content { font-size: 1rem; line-height: 1.625; }
	.story-content h2, .story-sources h2, .story-related h2 { font-size: 1.4375rem; }
	.story-content h3 { font-size: 1.1875rem; }
	.story-cta h2 { font-size: 1.375rem; }
	.story-related .insight-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.story-related .insight-card { min-block-size: 108px; }
}
