.nst-blog {
	--nst-blog-ink: var(--wp--preset--color--ink, #17171d);
	--nst-blog-paper: #fff;
	--nst-blog-muted: #60616a;
	--nst-blog-line: #d8d8dd;
	--nst-blog-signal: var(--nst-brand-yellow, #dcff59);
	--nst-blog-gutter: clamp(1.25rem, 4.2vw, 4.75rem);
	background: var(--nst-blog-paper);
	color: var(--nst-blog-ink);
	font-family: var(--nst-font-sans);
	max-width: none;
	padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 7rem);
}
.nst-blog *, .nst-blog *::before, .nst-blog *::after { box-sizing: border-box; }
.nst-blog ::selection { background: var(--nst-blog-signal); color: var(--nst-blog-ink); }
.nst-blog__shell { max-width: 90rem; margin-inline: auto; padding-inline: var(--nst-blog-gutter); }
.nst-blog a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.nst-blog a:focus-visible { outline: 2px solid var(--nst-blog-ink); outline-offset: 5px; }
.nst-blog a:hover { text-decoration-thickness: 2px; }
.nst-blog h1, .nst-blog h2, .nst-blog h3, .nst-blog p, .nst-blog figure { margin: 0; }
.nst-blog h1, .nst-blog h2, .nst-blog h3 { font-family: var(--nst-font-sans); }
.nst-blog-index__intro { display: grid; grid-template-columns: 1fr minmax(16rem, 27rem); align-items: end; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--nst-blog-line); }
.nst-blog-index__intro h1 { font-size: var(--nst-type-h1-size); font-weight: var(--nst-type-h1-weight); line-height: 1; letter-spacing: var(--nst-type-h1-track); }
.nst-blog-title-mark { color: var(--nst-blog-ink); text-decoration: underline; text-decoration-color: var(--nst-blog-signal); text-decoration-thickness: .12em; text-underline-offset: .02em; }
.nst-blog-index__intro p { font-size: var(--nst-type-body-size); line-height: var(--nst-type-body-line); color: var(--nst-blog-muted); max-width: 36ch; }
.nst-blog-empty { padding-block: clamp(4rem, 8vw, 8rem); max-width: 48rem; }
.nst-blog-empty h2 { font-size: var(--nst-type-h2-size); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 2rem; }
.nst-blog-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 1.25rem; min-height: 3.5rem; background: var(--nst-blog-ink); color: var(--nst-blog-paper) !important; border: 1px solid var(--nst-blog-ink); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.nst-blog-button:hover, .nst-blog-button:focus-visible { background: var(--nst-blog-signal); color: var(--nst-blog-ink) !important; }
.nst-blog-button svg { flex: 0 0 24px; }
.nst-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; padding-top: 3rem; }
.nst-blog-card { min-width: 0; border-bottom: 1px solid var(--nst-blog-line); padding-bottom: 2rem; }
.nst-blog-card__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.25rem; }
.nst-blog-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nst-blog-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--nst-blog-muted); font-size: .8125rem; line-height: 1.5; }
.nst-blog-card__title { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; margin-block: .75rem 1rem !important; overflow-wrap: anywhere; }
.nst-blog-card__title a { text-decoration: none; }
.nst-blog-card__title a:hover { text-decoration: underline; text-decoration-color: var(--nst-blog-signal); text-decoration-thickness: 3px; }
.nst-blog-card p { color: var(--nst-blog-muted); font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.nst-blog-pagination { margin-top: 3rem; }
.nst-blog-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.nst-blog-pagination a, .nst-blog-pagination span { display: flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .5rem .75rem; }
.nst-blog-pagination .current { background: var(--nst-blog-signal); font-weight: 700; }
.nst-blog-breadcrumb { font-size: .8125rem; color: var(--nst-blog-muted); margin-bottom: 2.5rem; }
.nst-blog-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.nst-blog-breadcrumb li { overflow-wrap: anywhere; }
.nst-blog-breadcrumb li + li::before { content: "/"; margin-right: .5rem; }
.nst-blog-article-head { max-width: 65rem; margin-bottom: 3rem; }
.nst-blog-article-head h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; overflow-wrap: anywhere; }
.nst-blog-deck { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.6; color: var(--nst-blog-muted); max-width: 65ch; margin-top: 1.5rem !important; }
.nst-blog-article-head .nst-blog-meta { margin-top: 1.5rem; }
.nst-blog-cover { margin-bottom: 3.5rem !important; }
.nst-blog-cover img { display: block; width: 100%; height: auto; max-height: 45rem; object-fit: contain; object-position: left; }
.nst-blog-reading { display: grid; grid-template-columns: minmax(0, 72ch); justify-content: center; gap: 3rem; align-items: start; }
.nst-blog-reading.has-toc { grid-template-columns: minmax(12rem, 17rem) minmax(0, 72ch); justify-content: start; gap: clamp(2rem, 5vw, 5rem); }
.nst-blog-toc { position: sticky; top: calc(var(--nst-header-height-scrolled, 68px) + var(--nst-announcement-height, 2.25rem) + 2rem); border-top: 1px solid var(--nst-blog-line); padding-top: 1.25rem; }
.nst-blog-toc h2 { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nst-blog-toc ol { list-style: none; padding: 0; margin: 1rem 0 0; }
.nst-blog-toc a { display: block; padding-block: .625rem; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; text-decoration: none; }
.nst-blog-toc a:hover { text-decoration: underline; text-decoration-color: var(--nst-blog-signal); text-decoration-thickness: 3px; }
.nst-blog-toc__level-3 { padding-left: 1rem; }
.nst-blog-prose { min-width: 0; font-size: 1.125rem; line-height: 1.75; overflow-wrap: anywhere; }
.nst-blog-prose > * + * { margin-top: 1.5rem; }
.nst-blog-prose h2, .nst-blog-prose h3 { scroll-margin-top: calc(var(--nst-header-height-scrolled, 68px) + var(--nst-announcement-height, 2.25rem) + 2rem); }
.nst-blog-prose h2 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; margin-top: 3rem; margin-bottom: 1rem; }
.nst-blog-prose h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; margin-top: 2rem; margin-bottom: .75rem; }
.nst-blog-prose > :first-child { margin-top: 0; }
.nst-blog-prose img, .nst-blog-prose video { max-width: 100%; height: auto; }
.nst-blog-prose iframe { max-width: 100%; }
.nst-blog-prose figure { margin-block: 2rem; }
.nst-blog-prose figcaption { font-size: .8125rem; line-height: 1.6; color: var(--nst-blog-muted); margin-top: .75rem; }
.nst-blog-prose li + li { margin-top: .5rem; }
.nst-blog-prose blockquote { border-left: 1px solid var(--nst-blog-ink); margin-inline: 0; padding-left: 1.5rem; font-size: 1.25rem; }
.nst-blog-prose .wp-block-table { max-width: 100%; overflow-x: auto; }
.nst-blog-prose table { border-collapse: collapse; min-width: 100%; font-size: .9375rem; }
.nst-blog-prose th, .nst-blog-prose td { border: 1px solid var(--nst-blog-line); padding: .75rem; text-align: left; }
.nst-blog-prose pre { max-width: 100%; overflow-x: auto; padding: 1rem; background: var(--wp--preset--color--surface, #f5f5f7); font-size: .9375rem; }
.nst-blog-related { border-top: 1px solid var(--nst-blog-line); margin-top: 5rem; padding-top: 2.5rem; }
.nst-blog-related > h2 { font-size: var(--nst-type-h2-size); letter-spacing: -.035em; line-height: 1.08; }
.nst-blog-back { margin-top: 3rem; }
.nst-blog-back a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
/* Desktop articles share the product content edges; mobile reading stays stacked. */
@media (min-width: 1024px) {
	.nst-blog-single .nst-blog__shell { max-width: 1440px; width: 100%; padding-inline: clamp(1.25rem, 4vw, 4.5rem); }
	.nst-blog-hero { margin-bottom: 3.5rem; }
	.nst-blog-hero.has-cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
	.nst-blog-hero .nst-blog-article-head { min-width: 0; max-width: none; margin-bottom: 0; }
	.nst-blog-hero .nst-blog-article-head h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
	.nst-blog-hero .nst-blog-cover { min-width: 0; margin-bottom: 0 !important; }
	.nst-blog-hero .nst-blog-cover img { max-height: 36rem; object-position: center; }
	.nst-blog-single .nst-blog-reading { grid-template-columns: minmax(0, 1fr); }
	.nst-blog-single .nst-blog-reading.has-toc { grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); }
	.nst-blog-single .nst-blog-prose .wp-block-image img { display: block; width: 100%; height: auto; }
}
@media (min-width: 1024px) and (max-width: 1024px) {
	.nst-blog-single .nst-blog__shell { padding-inline: clamp(1.25rem, 3.2vw, 2.5rem); }
}
@media (max-width: 1023px) {
	.nst-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nst-blog-reading.has-toc { grid-template-columns: minmax(0, 72ch); justify-content: center; }
	.nst-blog-toc { position: static; }
}
@media (max-width: 599px) {
	.nst-blog-index__intro { grid-template-columns: 1fr; padding-bottom: 2rem; }
	.nst-blog-grid { grid-template-columns: minmax(0, 1fr); }
	.nst-blog-empty { padding-block: 3.5rem; }
	.nst-blog-prose { font-size: 1rem; }
	.nst-blog-button { gap: 1rem; font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) { .nst-blog-button { transition: none; } }
