/*
 * Branded shell for the blog index, archives, search results, and single posts.
 */

body.bnspku-blog-shell {
	--bnspku-navy: #051d67;
	--bnspku-blue: #0088df;
	--bnspku-lime: #d6ff01;
	--bnspku-footer: #041543;
	--bnspku-text: #1f2937;
	--bnspku-muted: #64748b;
	--bnspku-border: #e4eaf2;
	--bnspku-surface: #ffffff;
	--bnspku-canvas: #f5f8fc;
	background: var(--bnspku-canvas);
	color: var(--bnspku-text);
}

/* The custom shell replaces the parent theme's chrome on blog requests only. */
body.bnspku-blog-shell #masthead,
body.bnspku-blog-shell #site-navigation,
body.bnspku-blog-shell .navigation-clone,
body.bnspku-blog-shell .slideout-navigation,
body.bnspku-blog-shell .site-footer {
	display: none !important;
}

body.bnspku-blog-shell.menu-open {
	overflow: hidden;
}

.bnspku-site-header,
.bnspku-site-header *,
.bnspku-site-footer,
.bnspku-site-footer * {
	box-sizing: border-box;
}

.bnspku-shell-container {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

.bnspku-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	width: 100%;
	background: #fff;
	box-shadow: 0 2px 15px rgba(5, 29, 103, 0.08);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-bar .bnspku-site-header {
	top: 32px;
}

.bnspku-site-header > .bnspku-shell-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
}

.bnspku-shell-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.bnspku-shell-logo img {
	display: block;
	width: auto;
	height: 45px;
}

.bnspku-shell-nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bnspku-shell-nav a {
	position: relative;
	display: block;
	color: var(--bnspku-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.bnspku-shell-nav a:not(.bnspku-nav-cta)::after {
	position: absolute;
	right: 0;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--bnspku-blue);
	content: "";
	transition: width 0.25s ease;
}

.bnspku-shell-nav a:hover,
.bnspku-shell-nav a:focus-visible {
	color: var(--bnspku-blue);
}

.bnspku-shell-nav a:not(.bnspku-nav-cta):hover::after,
.bnspku-shell-nav a:not(.bnspku-nav-cta):focus-visible::after {
	width: 100%;
}

.bnspku-shell-nav .bnspku-nav-cta {
	padding: 11px 24px;
	border-radius: 999px;
	background: var(--bnspku-lime);
	color: var(--bnspku-navy);
	font-weight: 800;
	transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.bnspku-shell-nav .bnspku-nav-cta:hover,
.bnspku-shell-nav .bnspku-nav-cta:focus-visible {
	background: #c3eb00;
	box-shadow: 0 6px 18px rgba(214, 255, 1, 0.45);
	color: var(--bnspku-navy);
	transform: translateY(-1px);
}

.bnspku-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: var(--bnspku-navy);
	cursor: pointer;
}

.bnspku-menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--bnspku-lime);
	transition: opacity 0.2s ease, transform 0.25s ease;
}

.bnspku-menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.bnspku-menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.bnspku-menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.bnspku-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: rgba(5, 29, 103, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

/* Blog content */
body.bnspku-blog-shell #page {
	width: min(1200px, calc(100% - 40px));
	max-width: none;
	margin: 0 auto;
	background: transparent;
}

body.bnspku-blog-shell #content.site-content {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(280px, 340px);
	gap: 32px;
	align-items: start;
	justify-content: start;
	padding: 48px 0 64px;
}

body.bnspku-blog-shell #primary,
body.bnspku-blog-shell #right-sidebar,
body.bnspku-blog-shell #left-sidebar {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
}

body.bnspku-blog-shell #primary {
	max-width: 820px;
}

body.bnspku-blog-shell #right-sidebar,
body.bnspku-blog-shell #left-sidebar {
	max-width: 340px;
}

body.bnspku-blog-shell #right-sidebar .inside-right-sidebar,
body.bnspku-blog-shell #left-sidebar .inside-left-sidebar {
	position: sticky;
	top: 104px;
}

body.admin-bar.bnspku-blog-shell #right-sidebar .inside-right-sidebar,
body.admin-bar.bnspku-blog-shell #left-sidebar .inside-left-sidebar {
	top: 136px;
}

body.bnspku-blog-shell #primary .inside-article,
body.bnspku-blog-shell .page-header,
body.bnspku-blog-shell .paging-navigation,
body.bnspku-blog-shell .comments-area {
	margin: 0 0 24px;
	padding: 48px;
	border: 1px solid var(--bnspku-border);
	border-radius: 14px;
	background: var(--bnspku-surface);
	box-shadow: 0 8px 28px rgba(5, 29, 103, 0.055);
}

body.bnspku-blog-shell:not(.single) #primary .inside-article {
	padding: 28px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.bnspku-blog-shell:not(.single) #primary .inside-article:hover {
	border-color: #d2ddea;
	box-shadow: 0 14px 34px rgba(5, 29, 103, 0.085);
	transform: translateY(-2px);
}

body.bnspku-blog-shell .entry-header {
	margin: 0;
}

body.bnspku-blog-shell .entry-title {
	margin: 0;
	color: var(--bnspku-navy);
	font-size: clamp(30px, 3.15vw, 46px);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

body.bnspku-blog-shell:not(.single) .entry-title {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.22;
}

body.bnspku-blog-shell .entry-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.bnspku-blog-shell .entry-title a:hover,
body.bnspku-blog-shell .entry-title a:focus-visible {
	color: var(--bnspku-blue);
}

body.bnspku-blog-shell .entry-meta {
	margin-top: 14px;
	color: var(--bnspku-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.5;
}

body.bnspku-blog-shell .entry-meta a {
	color: var(--bnspku-blue);
	text-decoration: none;
}

body.bnspku-blog-shell .entry-summary,
body.bnspku-blog-shell .entry-content {
	margin-top: 28px;
	color: #334155;
	font-size: 17px;
	line-height: 1.75;
}

body.bnspku-blog-shell:not(.single) .entry-summary,
body.bnspku-blog-shell:not(.single) .entry-content {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.7;
}

body.bnspku-blog-shell .entry-content > :first-child,
body.bnspku-blog-shell .entry-summary > :first-child {
	margin-top: 0;
}

body.bnspku-blog-shell .entry-content > :last-child,
body.bnspku-blog-shell .entry-summary > :last-child {
	margin-bottom: 0;
}

body.bnspku-blog-shell .entry-content p,
body.bnspku-blog-shell .entry-content ul,
body.bnspku-blog-shell .entry-content ol,
body.bnspku-blog-shell .entry-content blockquote,
body.bnspku-blog-shell .entry-summary p {
	margin-bottom: 1.35em;
}

body.bnspku-blog-shell .entry-content h2 {
	margin: 2em 0 0.65em;
	color: var(--bnspku-navy);
	font-size: clamp(26px, 2.7vw, 34px);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.22;
}

body.bnspku-blog-shell .entry-content h3 {
	margin: 1.65em 0 0.55em;
	color: var(--bnspku-navy);
	font-size: clamp(21px, 2.1vw, 26px);
	font-weight: 730;
	line-height: 1.3;
}

body.bnspku-blog-shell .entry-content a {
	color: var(--bnspku-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.bnspku-blog-shell .entry-content > figure.wp-block-image,
body.bnspku-blog-shell .entry-content > .wp-caption,
body.bnspku-blog-shell .entry-content > p:has(> img:only-child) {
	width: 100% !important;
	max-width: none !important;
	margin: 32px 0 !important;
}

body.bnspku-blog-shell .entry-content > figure.wp-block-image img,
body.bnspku-blog-shell .entry-content > .wp-caption img,
body.bnspku-blog-shell .entry-content > p:has(> img:only-child) img,
body.bnspku-blog-shell.single .post-image img {
	display: block;
	width: 100% !important;
	height: auto;
	max-width: none !important;
	border-radius: 12px;
}

body.bnspku-blog-shell .entry-content > figure.wp-block-image:first-of-type img,
body.bnspku-blog-shell.single .post-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

body.bnspku-blog-shell .wp-block-image figcaption,
body.bnspku-blog-shell .wp-caption-text {
	margin-top: 10px;
	color: var(--bnspku-muted);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .inside-article {
	display: grid;
	grid-template-areas:
		"thumb header"
		"thumb content"
		"thumb footer";
	grid-template-columns: 280px minmax(0, 1fr);
	column-gap: 28px;
	align-items: start;
}

body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .entry-header {
	grid-area: header;
}

/* The visible article heading lives inside the title thumbnail. */
body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .entry-header .entry-title {
	display: none;
}

body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .entry-header .entry-meta {
	margin-top: 0;
}

body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .entry-summary,
body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .entry-content {
	grid-area: content;
}

body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb footer.entry-meta {
	grid-area: footer;
}

/* Fallback: keep parent-theme archive images out of the layout. */
body.bnspku-blog-shell:not(.single) .post-image {
	display: none;
}

.bnspku-title-thumb {
	position: relative;
	isolation: isolate;
	grid-area: thumb;
	display: flex;
	align-self: stretch;
	flex-direction: column;
	justify-content: space-between;
	min-height: 238px;
	padding: 24px;
	overflow: hidden;
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(5, 29, 103, 0.98), rgba(8, 60, 159, 0.97) 64%, rgba(0, 136, 223, 0.92));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11);
	color: #fff;
	text-decoration: none;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bnspku-title-thumb::before {
	position: absolute;
	top: -74px;
	right: -58px;
	z-index: -1;
	width: 190px;
	height: 190px;
	border: 28px solid rgba(255, 255, 255, 0.075);
	border-radius: 50%;
	content: "";
}

.bnspku-title-thumb::after {
	position: absolute;
	right: 22px;
	bottom: -30px;
	z-index: -1;
	width: 8px;
	height: 110px;
	border-radius: 99px;
	background: var(--bnspku-lime);
	content: "";
	transform: rotate(42deg);
}

.bnspku-title-thumb-decoration {
	position: absolute;
	right: 24px;
	top: 25px;
	z-index: -1;
	width: 62px;
	height: 62px;
	background-image: radial-gradient(rgba(214, 255, 1, 0.55) 1.35px, transparent 1.35px);
	background-size: 9px 9px;
	opacity: 0.65;
}

.bnspku-title-thumb-label {
	align-self: flex-start;
	max-width: 100%;
	padding: 6px 10px;
	overflow: hidden;
	border: 1px solid rgba(214, 255, 1, 0.42);
	border-radius: 999px;
	background: rgba(5, 29, 103, 0.36);
	color: var(--bnspku-lime);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.065em;
	line-height: 1.2;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.bnspku-title-thumb-heading {
	display: -webkit-box;
	max-width: 100%;
	min-width: 0;
	margin: 24px 0 20px;
	overflow: hidden;
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.032em;
	line-height: 1.16;
	word-break: normal !important;
	overflow-wrap: normal !important;
	hyphens: none;
	white-space: normal;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
}

/* Long archive titles are reduced automatically instead of splitting words. */
.bnspku-title-thumb.is-long .bnspku-title-thumb-heading {
	font-size: 22px;
	line-height: 1.17;
	-webkit-line-clamp: 7;
}

.bnspku-title-thumb.is-very-long .bnspku-title-thumb-heading {
	font-size: 20px;
	line-height: 1.18;
	-webkit-line-clamp: 8;
}

.bnspku-title-thumb-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.4;
}

.bnspku-title-thumb-link span {
	color: var(--bnspku-lime);
	font-size: 19px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.bnspku-title-thumb:hover,
.bnspku-title-thumb:focus-visible {
	box-shadow: 0 15px 32px rgba(5, 29, 103, 0.2), inset 0 0 0 1px rgba(214, 255, 1, 0.38);
	color: #fff;
	transform: translateY(-2px);
}

.bnspku-title-thumb:hover .bnspku-title-thumb-link span,
.bnspku-title-thumb:focus-visible .bnspku-title-thumb-link span {
	transform: translateX(4px);
}

body.bnspku-blog-shell .read-more,
body.bnspku-blog-shell .entry-summary .more-link {
	display: inline-flex;
	align-items: center;
	margin-top: 4px;
	color: var(--bnspku-blue);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
}

body.bnspku-blog-shell .read-more::after,
body.bnspku-blog-shell .entry-summary .more-link::after {
	margin-left: 6px;
	content: "→";
	transition: transform 0.2s ease;
}

body.bnspku-blog-shell .read-more:hover::after,
body.bnspku-blog-shell .entry-summary .more-link:hover::after {
	transform: translateX(3px);
}

body.bnspku-blog-shell .widget {
	margin: 0 0 20px;
	padding: 26px;
	border: 1px solid var(--bnspku-border);
	border-radius: 14px;
	background: var(--bnspku-surface);
	box-shadow: 0 8px 28px rgba(5, 29, 103, 0.05);
}

body.bnspku-blog-shell .widget-title {
	margin: 0 0 17px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bnspku-border);
	color: var(--bnspku-navy);
	font-size: 18px;
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

body.bnspku-blog-shell .widget ul {
	margin: 0;
	list-style: none;
}

body.bnspku-blog-shell .widget li {
	padding: 9px 0;
	border-bottom: 1px solid #edf1f6;
	color: var(--bnspku-muted);
	font-size: 14px;
	line-height: 1.55;
}

body.bnspku-blog-shell .widget li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

body.bnspku-blog-shell .widget a {
	color: #334155;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.bnspku-blog-shell .widget a:hover,
body.bnspku-blog-shell .widget a:focus-visible {
	color: var(--bnspku-blue);
}

body.bnspku-blog-shell .widget_search form,
body.bnspku-blog-shell .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

body.bnspku-blog-shell input[type="search"] {
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid #d8e0eb;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 14px;
}

body.bnspku-blog-shell input[type="search"]:focus {
	border-color: var(--bnspku-blue);
	outline: 3px solid rgba(0, 136, 223, 0.12);
}

body.bnspku-blog-shell .search-submit,
body.bnspku-blog-shell .wp-block-search__button {
	padding: 11px 14px;
	border: 0;
	border-radius: 10px;
	background: var(--bnspku-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

/* Footer */
.bnspku-site-footer {
	width: 100%;
	padding: 38px 0 22px;
	border-top: 4px solid var(--bnspku-lime);
	background: var(--bnspku-footer);
	color: rgba(255, 255, 255, 0.78);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bnspku-footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr 1.45fr 1.05fr;
	gap: 32px;
	align-items: start;
	padding-bottom: 24px;
}

.bnspku-footer-column h2 {
	margin: 0 0 12px;
	color: var(--bnspku-lime);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
}

.bnspku-footer-column > a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: fit-content;
	margin-bottom: 9px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	line-height: 1.65;
	text-decoration: none;
	transition: color 0.2s ease;
}

.bnspku-footer-column > a:hover,
.bnspku-footer-column > a:focus-visible {
	color: var(--bnspku-lime);
}

.bnspku-footer-logo {
	display: inline-flex;
	margin: 0 0 12px !important;
	padding: 5px 10px;
	border-radius: 7px;
	background: #fff;
}

.bnspku-footer-logo img {
	display: block;
	width: auto;
	height: 38px;
}

.bnspku-footer-about > p {
	max-width: 290px;
	margin: 0;
	color: rgba(255, 255, 255, 0.67);
	font-size: 14px;
	line-height: 1.7;
}

.bnspku-footer-parent {
	max-width: 290px;
	margin-top: 14px;
	padding-top: 11px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.52);
	font-size: 12px;
	line-height: 1.6;
}

.bnspku-footer-parent strong {
	color: rgba(255, 255, 255, 0.9);
}

.bnspku-footer-parent span {
	display: block;
}

.bnspku-footer-column svg {
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	margin-top: 3px;
	fill: var(--bnspku-lime);
}

.bnspku-contact-list > a {
	width: 100%;
}

.bnspku-social-list > a {
	align-items: center;
}

.bnspku-social-list svg {
	margin-top: 0;
}

.bnspku-footer-bottom {
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.bnspku-footer-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
}

.bnspku-footer-bottom strong {
	color: var(--bnspku-lime);
}

@media (max-width: 920px) {
	body.bnspku-blog-shell #content.site-content {
		grid-template-columns: 1fr;
		padding-top: 36px;
	}

	body.bnspku-blog-shell #primary,
	body.bnspku-blog-shell #right-sidebar,
	body.bnspku-blog-shell #left-sidebar {
		max-width: none;
	}

	body.bnspku-blog-shell #right-sidebar .inside-right-sidebar,
	body.bnspku-blog-shell #left-sidebar .inside-left-sidebar {
		position: static;
	}

	.bnspku-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.admin-bar .bnspku-site-header {
		top: 46px;
	}

	.bnspku-site-header > .bnspku-shell-container {
		min-height: 66px;
	}

	body.bnspku-blog-shell #primary .inside-article,
	body.bnspku-blog-shell .page-header,
	body.bnspku-blog-shell .paging-navigation,
	body.bnspku-blog-shell .comments-area {
		padding: 32px;
	}

	body.bnspku-blog-shell:not(.single) article.bnspku-has-title-thumb .inside-article {
		grid-template-areas:
			"thumb"
			"header"
			"content"
			"footer";
		grid-template-columns: 1fr;
		row-gap: 18px;
	}

	.bnspku-title-thumb {
		min-height: 230px;
	}

	.bnspku-title-thumb-heading {
		font-size: 26px;
		-webkit-line-clamp: 6;
	}

	.bnspku-title-thumb.is-long .bnspku-title-thumb-heading {
		font-size: 24px;
		-webkit-line-clamp: 7;
	}

	.bnspku-title-thumb.is-very-long .bnspku-title-thumb-heading {
		font-size: 22px;
		-webkit-line-clamp: 8;
	}

	.bnspku-shell-logo img {
		height: 40px;
	}

	.bnspku-menu-toggle {
		display: flex;
	}

	.bnspku-shell-nav {
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		left: 0;
		z-index: 2;
		padding: 8px;
		border: 1px solid #e5edfa;
		border-top: 3px solid var(--bnspku-lime);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 20px 45px rgba(5, 29, 103, 0.18);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.bnspku-shell-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.bnspku-shell-nav ul {
		display: block;
	}

	.bnspku-shell-nav li + li {
		border-top: 1px solid #f0f4fb;
	}

	.bnspku-shell-nav a {
		padding: 13px 15px;
		border-radius: 11px;
		font-size: 15px;
	}

	.bnspku-shell-nav a:not(.bnspku-nav-cta)::after {
		display: none;
	}

	.bnspku-shell-nav a:hover,
	.bnspku-shell-nav a:focus-visible {
		background: #f3f7ff;
	}

	.bnspku-shell-nav li:last-child {
		padding: 7px 4px 3px;
		border-top: 0;
	}

	.bnspku-shell-nav .bnspku-nav-cta {
		padding: 13px 15px;
		text-align: center;
	}

	.bnspku-site-header.menu-is-open .bnspku-menu-overlay {
		opacity: 1;
		pointer-events: auto;
	}
}

@media (max-width: 600px) {
	.bnspku-shell-container {
		width: min(100% - 30px, 1200px);
	}

	.bnspku-site-footer {
		padding-top: 32px;
	}

	body.bnspku-blog-shell #page {
		width: min(100% - 30px, 1200px);
	}

	body.bnspku-blog-shell #content.site-content {
		padding: 28px 0 44px;
	}

	body.bnspku-blog-shell #primary .inside-article,
	body.bnspku-blog-shell .page-header,
	body.bnspku-blog-shell .paging-navigation,
	body.bnspku-blog-shell .comments-area {
		padding: 24px 20px;
		border-radius: 12px;
	}

	body.bnspku-blog-shell:not(.single) #primary .inside-article {
		padding: 18px;
	}

	body.bnspku-blog-shell .entry-title {
		font-size: 30px;
	}

	body.bnspku-blog-shell:not(.single) .entry-title {
		font-size: 23px;
	}

	body.bnspku-blog-shell .entry-summary,
	body.bnspku-blog-shell .entry-content {
		font-size: 16px;
		line-height: 1.72;
	}

	body.bnspku-blog-shell .widget {
		padding: 22px 20px;
	}

	.bnspku-footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}

	.bnspku-footer-column > a {
		justify-content: center;
		width: 100%;
		margin-inline: auto;
	}

	.bnspku-footer-logo {
		width: fit-content !important;
		margin-inline: auto !important;
	}

	.bnspku-footer-about > p,
	.bnspku-footer-parent {
		margin-inline: auto;
	}
}

@media (max-width: 782px) {
	body.admin-bar .bnspku-site-header {
		top: 46px;
	}
}

/* ==========================================================
 * Single-post refinements
 * Keeps the article comfortable to read while making the
 * sidebar visually useful instead of leaving a large blank area.
 * ========================================================== */
@media (min-width: 921px) {
	body.bnspku-blog-shell.single #content.site-content {
		grid-template-columns: minmax(0, 800px) minmax(280px, 320px);
		gap: 36px;
		justify-content: center;
	}

	body.bnspku-blog-shell.single #primary {
		max-width: 800px;
	}

	body.bnspku-blog-shell.single #right-sidebar,
	body.bnspku-blog-shell.single #left-sidebar {
		max-width: 320px;
	}
}

body.bnspku-blog-shell.single #primary .inside-article {
	padding: 44px 48px 52px;
	border-radius: 16px;
}

body.bnspku-blog-shell.single .entry-title {
	max-width: 700px;
	font-size: clamp(36px, 3vw, 42px);
	font-weight: 780;
	letter-spacing: -0.038em;
	line-height: 1.12;
	text-wrap: balance;
}

body.bnspku-blog-shell.single .entry-meta {
	margin-top: 12px;
}

body.bnspku-blog-shell.single .entry-content {
	margin-top: 24px;
	font-size: 17px;
	line-height: 1.78;
}

body.bnspku-blog-shell.single .entry-content p,
body.bnspku-blog-shell.single .entry-content ul,
body.bnspku-blog-shell.single .entry-content ol,
body.bnspku-blog-shell.single .entry-content blockquote {
	margin-bottom: 1.25em;
}

body.bnspku-blog-shell.single .entry-content h2 {
	margin: 1.72em 0 0.58em;
	font-size: clamp(25px, 2.25vw, 30px);
	letter-spacing: -0.028em;
	line-height: 1.24;
	text-wrap: pretty;
}

body.bnspku-blog-shell.single .entry-content h3 {
	margin: 1.55em 0 0.52em;
	font-size: clamp(21px, 1.9vw, 24px);
	line-height: 1.3;
}

/* Let the first editorial image feel more substantial without
 * making every image edge-to-edge. */
body.bnspku-blog-shell.single .entry-content > figure.wp-block-image:first-of-type,
body.bnspku-blog-shell.single .entry-content > .wp-caption:first-of-type {
	width: calc(100% + 40px) !important;
	max-width: none !important;
	margin: 30px -20px 38px !important;
}

body.bnspku-blog-shell.single .entry-content > figure.wp-block-image:first-of-type img,
body.bnspku-blog-shell.single .entry-content > .wp-caption:first-of-type img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 14px;
}

body.bnspku-blog-shell.single .widget {
	padding: 22px;
}

body.bnspku-blog-shell.single .widget-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
	font-size: 19px;
}

/* Clean up the cramped default Search block. */
body.bnspku-blog-shell.single .wp-block-search__label,
body.bnspku-blog-shell.single .widget_search label:not(.screen-reader-text) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.bnspku-blog-shell.single .widget_search,
body.bnspku-blog-shell.single .widget_block:has(.wp-block-search) {
	padding: 18px;
}

body.bnspku-blog-shell.single .widget_search form,
body.bnspku-blog-shell.single .wp-block-search__inside-wrapper {
	width: 100%;
}

body.bnspku-blog-shell.single input[type="search"] {
	flex: 1 1 auto;
	width: 100%;
}

/* Generated table of contents. */
.bnspku-toc {
	margin: 0 0 20px;
	padding: 22px;
	border: 1px solid var(--bnspku-border);
	border-radius: 14px;
	background: var(--bnspku-surface);
	box-shadow: 0 8px 28px rgba(5, 29, 103, 0.05);
}

.bnspku-toc h2 {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bnspku-border);
	color: var(--bnspku-navy);
	font-size: 19px;
	font-weight: 780;
	line-height: 1.3;
}

.bnspku-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc-item;
}

.bnspku-toc li {
	position: relative;
	margin: 0;
	padding: 8px 0 8px 27px;
	border-bottom: 1px solid #edf1f6;
	counter-increment: toc-item;
}

.bnspku-toc li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.bnspku-toc li::before {
	position: absolute;
	top: 9px;
	left: 0;
	color: var(--bnspku-blue);
	content: counter(toc-item, decimal-leading-zero);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.bnspku-toc a {
	display: block;
	color: #334155;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.5;
	text-decoration: none;
}

.bnspku-toc a:hover,
.bnspku-toc a:focus-visible {
	color: var(--bnspku-blue);
}

.bnspku-sidebar-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 20px;
	padding: 26px 24px;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--bnspku-navy) 0%, #07318f 62%, #0759a8 100%);
	box-shadow: 0 14px 32px rgba(5, 29, 103, 0.18);
	color: #fff;
}

.bnspku-sidebar-cta::after {
	position: absolute;
	right: -46px;
	bottom: -52px;
	z-index: -1;
	width: 150px;
	height: 150px;
	border: 28px solid rgba(214, 255, 1, 0.16);
	border-radius: 50%;
	content: "";
}

.bnspku-sidebar-cta-kicker {
	display: inline-block;
	margin-bottom: 13px;
	color: var(--bnspku-lime);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bnspku-sidebar-cta h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -0.028em;
	line-height: 1.18;
}

.bnspku-sidebar-cta p {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	line-height: 1.65;
}

.bnspku-sidebar-cta > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--bnspku-lime);
	color: var(--bnspku-navy);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.4;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bnspku-sidebar-cta > a:hover,
.bnspku-sidebar-cta > a:focus-visible {
	box-shadow: 0 8px 20px rgba(214, 255, 1, 0.25);
	color: var(--bnspku-navy);
	transform: translateY(-1px);
}

@media (max-width: 920px) {
	.bnspku-toc,
	.bnspku-sidebar-cta {
		max-width: none;
	}
}

@media (max-width: 600px) {
	body.bnspku-blog-shell.single #primary .inside-article {
		padding: 26px 20px 34px;
	}

	body.bnspku-blog-shell.single .entry-title {
		font-size: 30px;
		line-height: 1.14;
	}

	body.bnspku-blog-shell.single .entry-content > figure.wp-block-image:first-of-type,
	body.bnspku-blog-shell.single .entry-content > .wp-caption:first-of-type {
		width: 100% !important;
		margin: 26px 0 32px !important;
	}
}
