/* ============================================================
   Blog — listing, archives, search and single post
   Uses theme tokens: --nb-ink, --nb-yellow, --nb-copy, --nb-line, --nb-soft
   ============================================================ */

.nb-blog { background: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nb-blog .btn--full { width: 100%; }

/* ---------- Hero ---------- */
.nb-hero {
	position: relative;
	overflow: hidden;
	background: var(--nb-ink);
	color: #fff;
	padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 88px);
	isolation: isolate;
}
.nb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(600px 300px at 88% -10%, rgba(255,198,39,.22), transparent 70%),
		radial-gradient(500px 260px at -5% 110%, rgba(255,198,39,.12), transparent 70%),
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px;
}
.nb-hero__inner > * { max-width: 860px; }
.nb-hero__inner > .breadcrumb { max-width: 100%; }
.nb-hero .breadcrumb, .nb-hero .breadcrumb a, .nb-hero .breadcrumb span { color: rgba(255,255,255,.72); }
.nb-hero .breadcrumb a:hover { color: var(--nb-yellow); }
.nb-hero .breadcrumb li:last-child span { color: #fff; }
.nb-hero .eyebrow { color: var(--nb-yellow); }
.nb-hero .breadcrumb li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; margin: 6px 0 18px; overflow-wrap: anywhere; }
.nb-hero__sub { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 640px; margin: 0 0 30px; }

/* Search */
.nb-search {
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: 560px;
	padding: 6px 6px 6px 18px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.nb-search > svg { width: 20px; height: 20px; flex: none; color: #8a8f98; }
.nb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--nb-ink);
	font: inherit;
	font-size: 1rem;
}
.nb-search input::placeholder { color: #8a8f98; }
.nb-search .btn { min-height: 48px; padding: 10px 22px; box-shadow: none; flex: none; }
.nb-search:focus-within { box-shadow: 0 0 0 3px rgba(255,198,39,.55), 0 18px 45px rgba(0,0,0,.28); }

/* ---------- Category chips ---------- */
.nb-cats { border-bottom: 1px solid var(--nb-line); background: #fff; }
.nb-cats__list {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 18px 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.nb-cats__list::-webkit-scrollbar { display: none; }
.nb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	padding: 9px 16px;
	border: 1px solid var(--nb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--nb-ink);
	font-size: .88rem;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .18s, background .18s, color .18s;
}
.nb-chip span { font-size: .75rem; font-weight: 700; color: var(--nb-copy); background: var(--nb-soft); border-radius: 999px; padding: 1px 8px; }
.nb-chip:hover, .nb-chip:focus-visible { border-color: var(--nb-yellow); background: #fffaeb; outline: none; }
.nb-chip.is-active { background: var(--nb-ink); border-color: var(--nb-ink); color: #fff; }
.nb-chip.is-active span { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Listing ---------- */
.nb-list { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--nb-soft); }
.nb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.nb-grid:empty { display: none; }

.nb-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff4cc;
	color: #6b5000;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .18s;
}
.nb-pill:hover { background: var(--nb-yellow); color: var(--nb-ink); }
.nb-pill--light { background: rgba(255,198,39,.16); color: var(--nb-yellow); margin-bottom: 14px; }
.nb-pill--light:hover { background: var(--nb-yellow); color: var(--nb-ink); }

/* Card */
.nb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--nb-line);
	border-radius: 20px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nb-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(17,18,20,.10); border-color: transparent; }
.nb-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nb-ink); }
.nb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nb-card:hover .nb-card__media img { transform: scale(1.04); }
.nb-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(240px 160px at 85% 10%, rgba(255,198,39,.28), transparent 70%),
		linear-gradient(135deg, #1b1d21, #111214);
}
.nb-card__placeholder svg { width: 54px; height: 54px; color: var(--nb-yellow); opacity: .9; }
.nb-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.nb-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: .82rem; color: var(--nb-copy); }
.nb-card__title { margin: 0 0 10px; font-size: 1.22rem; line-height: 1.3; letter-spacing: -.01em; }
.nb-card__title a { color: var(--nb-ink); text-decoration: none; background-image: linear-gradient(var(--nb-yellow), var(--nb-yellow)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.nb-card__title a:hover { background-size: 100% 2px; }
.nb-card__excerpt { margin: 0 0 18px; color: var(--nb-copy); font-size: .95rem; line-height: 1.65; }
.nb-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: "Raleway", sans-serif; font-weight: 800; font-size: .9rem; color: var(--nb-ink); text-decoration: none; }
.nb-card__more span[aria-hidden] { transition: transform .2s; color: #b88a00; }
.nb-card:hover .nb-card__more span[aria-hidden] { transform: translateX(4px); }

/* Featured */
.nb-card--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 36px; border-radius: 24px; }
.nb-card--featured .nb-card__media { aspect-ratio: auto; min-height: 340px; }
.nb-card--featured .nb-card__body { padding: clamp(26px, 4vw, 48px); justify-content: center; }
.nb-card--featured .nb-card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.18; margin-bottom: 14px; }
.nb-card--featured .nb-card__excerpt { font-size: 1.02rem; }
.nb-card--featured .nb-card__more { margin-top: 6px; }
.nb-card--featured::after {
	content: "Latest";
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--nb-yellow);
	color: var(--nb-ink);
	font-family: "Raleway", sans-serif;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	pointer-events: none;
}

/* Pagination */
.nb-pagination { margin-top: 48px; }
.nb-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-pagination a, .nb-pagination span {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--nb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--nb-ink);
	font-weight: 700;
	text-decoration: none;
}
.nb-pagination a:hover { border-color: var(--nb-yellow); background: #fffaeb; }
.nb-pagination .current { background: var(--nb-ink); border-color: var(--nb-ink); color: #fff; }
.nb-pagination .dots { border: 0; background: none; }

/* Empty state */
.nb-empty {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(36px, 6vw, 56px) clamp(22px, 5vw, 48px);
	text-align: center;
	background: #fff;
	border: 1px solid var(--nb-line);
	border-radius: 24px;
	box-shadow: var(--nb-shadow);
}
.nb-empty__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%; background: var(--nb-yellow); }
.nb-empty__icon svg { width: 30px; height: 30px; color: var(--nb-ink); }
.nb-empty h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.nb-empty p { color: var(--nb-copy); margin: 0 auto 24px; max-width: 460px; }
.nb-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- CTA band ---------- */
.nb-cta { padding: 0 0 clamp(56px, 8vw, 96px); background: var(--nb-soft); }
.nb-single .nb-cta, .nb-related + .nb-cta { background: #fff; padding-top: 0; }
.nb-cta__box {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: clamp(28px, 5vw, 52px);
	border-radius: 26px;
	background: var(--nb-yellow);
}
.nb-cta__box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.22); pointer-events: none; }
.nb-cta__text { position: relative; z-index: 1; max-width: 640px; }
.nb-cta__text .eyebrow { color: rgba(17,18,20,.65); }
.nb-cta__text .eyebrow::before { background: var(--nb-ink); opacity: .35; }
.nb-cta__text p { position: relative; margin: 12px 0 0; color: rgba(17,18,20,.75); font-size: 1rem; max-width: 560px; }
.nb-cta__text h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.2; color: var(--nb-ink); }
.nb-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.nb-cta__ghost { background: transparent; border-color: rgba(17,18,20,.35); box-shadow: none; }
.nb-cta__ghost:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   Single post
   ============================================================ */
.nb-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 3px; background: transparent; pointer-events: none; }
.nb-progress span { display: block; height: 100%; background: var(--nb-yellow); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .nb-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .nb-progress { top: 46px; } }

.nb-hero--post { padding-bottom: clamp(88px, 11vw, 140px); }
.nb-hero__inner--post h1 { font-size: clamp(1.9rem, 4.6vw, 3.25rem); }
.nb-byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.nb-byline__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nb-yellow); }
.nb-byline strong em { font-style: normal; font-weight: 500; color: rgba(255,255,255,.7); }
.nb-byline strong { display: block; color: #fff; font-size: .98rem; }
.nb-byline span { display: block; color: rgba(255,255,255,.7); font-size: .86rem; }

.nb-cover { position: relative; z-index: 2; margin: clamp(-120px, -9vw, -64px) auto 0; }
.nb-cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 70px rgba(17,18,20,.22); }
.nb-cover figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--nb-copy); }

.nb-article-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 80px);
}
.nb-single .nb-cover + .nb-article-wrap { padding-top: clamp(36px, 5vw, 56px); }
.nb-single .nb-hero--post + .nb-article-wrap { margin-top: clamp(-80px, -7vw, -48px); position: relative; z-index: 2; }
.nb-single .nb-hero--post + .nb-article-wrap .nb-article { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--nb-shadow); }
.nb-article { min-width: 0; max-width: 760px; }

/* Prose */
.nb-prose { color: #2b2f35; font-size: clamp(1.02rem, 1.2vw, 1.1rem); line-height: 1.82; overflow-wrap: break-word; }
.nb-prose > * + * { margin-top: 1.15em; }
.nb-prose p { margin: 0; }
.nb-prose > p:first-child { font-size: 1.12em; color: var(--nb-ink); }
.nb-prose h2 { margin: 2.1em 0 .55em; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; scroll-margin-top: 110px; }
.nb-prose h3 { margin: 1.8em 0 .45em; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.3; scroll-margin-top: 110px; }
.nb-prose h4 { margin: 1.6em 0 .4em; font-size: 1.1rem; }
.nb-prose h2:first-child, .nb-prose h3:first-child { margin-top: 0; }
.nb-prose a { color: var(--nb-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--nb-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nb-prose a:hover { background: #fff4cc; }
.nb-prose ul, .nb-prose ol { padding-left: 1.3em; }
.nb-prose li + li { margin-top: .45em; }
.nb-prose ul li::marker { color: #c99700; }
.nb-prose ol li::marker { color: #9c7600; font-weight: 700; }
.nb-prose blockquote {
	margin: 1.8em 0;
	padding: 22px 26px;
	border-left: 4px solid var(--nb-yellow);
	border-radius: 0 16px 16px 0;
	background: #fffaeb;
	color: var(--nb-ink);
	font-size: 1.08em;
	font-style: italic;
}
.nb-prose blockquote p + p { margin-top: .6em; }
.nb-prose blockquote cite { display: block; margin-top: 10px; font-size: .85em; font-style: normal; color: var(--nb-copy); }
.nb-prose img, .nb-prose video, .nb-prose iframe { max-width: 100%; height: auto; border-radius: 16px; }
.nb-prose iframe { width: 100%; aspect-ratio: 16 / 9; }
.nb-prose figure { margin: 1.8em 0; }
.nb-prose figcaption, .nb-prose .wp-element-caption { margin-top: 8px; text-align: center; font-size: .86rem; color: var(--nb-copy); }
.nb-prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--nb-line); }
.nb-prose code { padding: 2px 6px; border-radius: 6px; background: var(--nb-soft); font-size: .9em; }
.nb-prose pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: var(--nb-ink); color: #f3f4f6; font-size: .9rem; }
.nb-prose pre code { padding: 0; background: none; }
.nb-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .95rem; }
.nb-prose th, .nb-prose td { padding: 12px 14px; border-bottom: 1px solid var(--nb-line); text-align: left; vertical-align: top; }
.nb-prose th { background: var(--nb-soft); font-weight: 700; }
.nb-prose .alignwide, .nb-prose .alignfull { width: 100%; }
.nb-prose .aligncenter { margin-left: auto; margin-right: auto; }
.nb-prose .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.nb-prose .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.nb-prose::after { content: ""; display: table; clear: both; }
.nb-prose .wp-block-button__link { display: inline-flex; padding: 12px 22px; border-radius: 12px; background: var(--nb-yellow); color: var(--nb-ink); font-weight: 800; text-decoration: none; }

/* TOC */
.nb-toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.nb-toc__list li { counter-increment: toc; }
.nb-toc__list li.is-sub { counter-increment: none; padding-left: 16px; }
.nb-toc__list a { position: relative; display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--nb-line); color: var(--nb-copy); font-size: .9rem; line-height: 1.4; text-decoration: none; transition: color .18s, border-color .18s; }
.nb-toc__list a:hover { color: var(--nb-ink); }
.nb-toc__list a.is-active { color: var(--nb-ink); font-weight: 700; border-left-color: var(--nb-yellow); }
.nb-toc--mobile { display: none; margin-bottom: 28px; border: 1px solid var(--nb-line); border-radius: 16px; background: var(--nb-soft); }
.nb-toc--mobile summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; font-family: "Raleway", sans-serif; font-weight: 800; list-style: none; }
.nb-toc--mobile summary::-webkit-details-marker { display: none; }
.nb-toc--mobile summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: #9c7600; }
.nb-toc--mobile[open] summary::after { content: "\2212"; }
.nb-toc--mobile summary svg { width: 18px; height: 18px; color: #9c7600; }
.nb-toc--mobile .nb-toc__list { padding: 0 18px 16px; }
.nb-toc[hidden] { display: none !important; }

/* Aside */
.nb-aside { min-width: 0; }
.nb-aside__sticky { position: sticky; top: 110px; display: grid; gap: 22px; }
.nb-aside__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1rem; color: var(--nb-ink); }
.nb-aside__title svg { width: 18px; height: 18px; color: #9c7600; }
.nb-toc--desktop { padding: 4px 0; }
.nb-aside__card { padding: 24px; border-radius: 20px; background: var(--nb-ink); color: rgba(255,255,255,.8); }
.nb-aside__kicker { margin: 0 0 4px !important; color: var(--nb-yellow); font-size: .78rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nb-aside__card .nb-aside__title { color: #fff; font-size: 1.15rem; }
.nb-aside__card p { margin: 0 0 18px; font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.nb-aside__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px; background: var(--nb-yellow); }
.nb-aside__icon svg { width: 22px; height: 22px; color: var(--nb-ink); }
.nb-aside__card .btn { box-shadow: none; }
.nb-aside__link { display: block; margin-top: 12px; text-align: center; color: var(--nb-yellow); font-weight: 700; font-size: .9rem; text-decoration: none; }
.nb-aside__link:hover { text-decoration: underline; }

/* Tags, share */
.nb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.nb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--nb-line); }
.nb-share > span { margin-right: 6px; font-family: "Raleway", sans-serif; font-weight: 800; font-size: .92rem; }
.nb-share a, .nb-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	min-width: 42px;
	padding: 0 12px;
	border: 1px solid var(--nb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--nb-ink);
	font: inherit;
	font-size: .86rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background .18s, border-color .18s;
}
.nb-share svg { width: 18px; height: 18px; }
.nb-share a:hover, .nb-share button:hover { border-color: var(--nb-yellow); background: #fffaeb; }

/* Author */
.nb-author { display: flex; gap: 22px; align-items: flex-start; margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--nb-soft); border: 1px solid var(--nb-line); }
.nb-author img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--nb-yellow); }
.nb-author .eyebrow { margin-bottom: 6px; }
.nb-author h2 { margin: 0 0 8px; font-size: 1.35rem; }
.nb-author p { margin: 0 0 10px; color: var(--nb-copy); font-size: .95rem; }
.nb-author__link { font-weight: 800; color: var(--nb-ink); text-decoration: none; font-size: .92rem; }
.nb-author__link:hover { color: #8c6800; }

/* Prev / next */
.nb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.nb-postnav__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px 20px; border: 1px solid var(--nb-line); border-radius: 16px; text-decoration: none; color: var(--nb-ink); transition: border-color .18s, background .18s; }
.nb-postnav__item:hover { border-color: var(--nb-yellow); background: #fffaeb; }
.nb-postnav__item span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c6800; }
.nb-postnav__item span svg { width: 14px; height: 14px; }
.nb-postnav__item strong { font-family: "Raleway", sans-serif; line-height: 1.35; overflow-wrap: anywhere; }
.nb-postnav__item--next { text-align: right; align-items: flex-end; grid-column: 2; }

/* Related */
.nb-related { padding: clamp(48px, 7vw, 80px) 0; background: var(--nb-soft); }
.nb-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.nb-related__head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.nb-related__head a { font-weight: 800; color: var(--nb-ink); text-decoration: none; white-space: nowrap; }
.nb-related__head a:hover { color: #8c6800; }
.nb-related + .nb-cta { background: var(--nb-soft); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
	.nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.nb-article-wrap { grid-template-columns: minmax(0, 1fr); }
	.nb-article { max-width: 760px; margin: 0 auto; width: 100%; }
	.nb-aside { max-width: 760px; margin: 0 auto; width: 100%; }
	.nb-aside__sticky { position: static; }
	.nb-toc--desktop { display: none !important; }
	.nb-toc--mobile:not([hidden]) { display: block; }
}
@media (max-width: 860px) {
	.nb-card--featured { grid-template-columns: 1fr; }
	.nb-card--featured .nb-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.nb-cta__box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.nb-grid { grid-template-columns: 1fr; gap: 18px; }
	.nb-search { padding-left: 14px; }
	.nb-search .btn { padding: 10px 16px; }
	.nb-card__body { padding: 18px 18px 20px; }
	.nb-card__title { font-size: 1.12rem; }
	.nb-cats__list { padding: 14px 0; }
	.nb-cta__actions, .nb-cta__actions .btn { width: 100%; }
	.nb-cover { width: 100%; }
	.nb-cover img { border-radius: 0; max-height: 300px; }
	.nb-author { flex-direction: column; padding: 22px; }
	.nb-author img { width: 72px; height: 72px; }
	.nb-postnav { grid-template-columns: 1fr; }
	.nb-postnav__item--next { grid-column: auto; text-align: left; align-items: flex-start; }
	.nb-share > span { width: 100%; margin-bottom: 2px; }
	.nb-prose .alignleft, .nb-prose .alignright { float: none; max-width: 100%; margin: 1.2em 0; }
	.nb-related__head { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
	.nb-search { flex-wrap: wrap; padding: 8px; }
	.nb-search > svg { display: none; }
	.nb-search input[type="search"] { flex-basis: 100%; padding: 0 8px; }
	.nb-search .btn { width: 100%; }
}
