@charset "UTF-8";
/*
 * Barta News — main front-end stylesheet.
 *
 * The WordPress theme header lives in /style.css. This file holds the design
 * system: tokens, layout, components and responsive rules.
 *
 * Structure
 *   1. Design tokens (day / night edition)
 *   2. Reset & base typography
 *   3. Layout primitives
 *   4. Reading progress
 *   5. Utility bar
 *   6. Masthead
 *   7. Primary navigation
 *   8. Breaking news ticker
 *   9. Section headers
 *  10. Cards
 *  11. Hero / featured
 *  12. Sidebar & widgets
 *  13. Video block
 *  14. Article (single)
 *  15. Archive / listing
 *  16. Comments
 *  17. Search overlay / 404
 *  18. Footer
 *  19. Gutenberg support
 *  20. Helpers & print
 *
 * @package Barta_News
 * @since   1.0.0
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Brand */
	--bn-accent: #c8102e;
	--bn-accent-hover: #a30d25;
	--bn-accent-soft: rgba(200, 16, 46, 0.08);
	--bn-navy: #0f1720;
	--bn-navy-2: #18222e;
	--bn-gold: #c9a227;

	/* Surfaces (light / "day edition") */
	--bn-paper: #f6f4ef;
	--bn-surface: #ffffff;
	--bn-surface-2: #faf8f4;
	--bn-ink: #14171c;
	--bn-ink-2: #4c545e;
	--bn-ink-3: #7b838e;
	--bn-line: #e4dfd4;
	--bn-line-strong: #cec7b8;
	--bn-shadow: 0 1px 2px rgba(15, 23, 32, 0.06), 0 8px 24px rgba(15, 23, 32, 0.06);
	--bn-shadow-lg: 0 12px 40px rgba(15, 23, 32, 0.14);

	/* Type */
	--bn-font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Kalpurush",
		system-ui, sans-serif;
	--bn-font-display: "Noto Serif Bengali", "Tiro Bangla", "Georgia", serif;
	--bn-font-ui: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;

	--bn-fs-xs: 0.75rem; /* 12px */
	--bn-fs-sm: 0.8125rem; /* 13px */
	--bn-fs-base: 1rem; /* 16px */
	--bn-fs-md: 1.0625rem; /* 17px */
	--bn-fs-lg: 1.25rem;
	--bn-fs-xl: 1.5rem;
	--bn-fs-hero: clamp(1.65rem, 1.1rem + 2.1vw, 2.75rem);
	--bn-fs-h2: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem);
	--bn-fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);

	/* Metrics */
	--bn-container: 1280px;
	--bn-gutter: 24px;
	--bn-sidebar: 336px;
	--bn-radius: 4px;
	--bn-radius-lg: 10px;
	--bn-header-h: 56px;
	--bn-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--bn-space: clamp(32px, 4vw, 56px);
}

/* Night edition — activated by <html class="bn-dark"> */
.bn-dark {
	--bn-paper: #0e1218;
	--bn-surface: #161c24;
	--bn-surface-2: #1b222b;
	--bn-ink: #ecf0f5;
	--bn-ink-2: #a9b3c0;
	--bn-ink-3: #79838f;
	--bn-line: #262e39;
	--bn-line-strong: #37414f;
	--bn-navy: #090c11;
	--bn-navy-2: #121820;
	--bn-accent-soft: rgba(200, 16, 46, 0.16);
	--bn-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
	--bn-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
	:root:not(.bn-light):not(.bn-dark) {
		--bn-paper: #0e1218;
		--bn-surface: #161c24;
		--bn-surface-2: #1b222b;
		--bn-ink: #ecf0f5;
		--bn-ink-2: #a9b3c0;
		--bn-ink-3: #79838f;
		--bn-line: #262e39;
		--bn-line-strong: #37414f;
		--bn-navy: #090c11;
		--bn-navy-2: #121820;
		--bn-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
	}
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background-color: var(--bn-paper);
	color: var(--bn-ink);
	font-family: var(--bn-font-body);
	font-size: var(--bn-fs-md);
	line-height: 1.75;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--bn-font-display);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.5em;
	color: var(--bn-ink);
	letter-spacing: -0.01em;
}

h1 {
	font-size: var(--bn-fs-h2);
}
h2 {
	font-size: var(--bn-fs-h3);
}
h3 {
	font-size: 1.0625rem;
}

p {
	margin: 0 0 1.25em;
}

a {
	color: var(--bn-accent);
	text-decoration: none;
	transition: color 0.18s var(--bn-ease);
}

a:hover,
a:focus {
	color: var(--bn-accent-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

hr {
	border: 0;
	border-top: 1px solid var(--bn-line);
	margin: 2.5rem 0;
}

blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 4px solid var(--bn-accent);
	font-family: var(--bn-font-display);
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--bn-ink);
}

code,
pre,
kbd {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--bn-surface-2);
	border-radius: var(--bn-radius);
}

code {
	padding: 0.15em 0.4em;
}

pre {
	padding: 1rem 1.25rem;
	overflow-x: auto;
	border: 1px solid var(--bn-line);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5rem;
}

th,
td {
	border: 1px solid var(--bn-line);
	padding: 0.6rem 0.75rem;
	text-align: left;
}

th {
	background: var(--bn-surface-2);
	font-weight: 600;
}

/* Focus visibility (accessibility) */
:focus-visible {
	outline: 3px solid var(--bn-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

::selection {
	background: var(--bn-accent);
	color: #fff;
}

/* Screen reader helpers */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip-path: none;
	display: block;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100000;
	padding: 12px 18px;
	background: var(--bn-navy);
	color: #fff;
	font-size: var(--bn-fs-sm);
	text-decoration: none;
	line-height: 1.4;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--bn-navy);
	color: #fff;
	padding: 12px 20px;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.bn-container {
	width: 100%;
	max-width: var(--bn-container);
	margin-inline: auto;
	padding-inline: var(--bn-gutter);
}

.bn-site-main {
	padding-block: var(--bn-space);
}

/* Content + sidebar */
.bn-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--bn-sidebar);
	gap: clamp(28px, 3vw, 48px);
	align-items: start;
}

.bn-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1023px) {
	.bn-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Card grids */
.bn-grid {
	display: grid;
	gap: clamp(20px, 2.4vw, 32px);
}

.bn-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bn-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bn-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	.bn-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 719px) {
	.bn-grid--2,
	.bn-grid--3,
	.bn-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.bn-rule {
	border: 0;
	border-top: 1px solid var(--bn-line);
	margin: 0;
}

/* ==========================================================================
   4. Reading progress + utilities
   ========================================================================== */

.bn-progress {
	position: fixed;
	inset-block-start: 0;
	inset-inline-start: 0;
	height: 3px;
	width: 100%;
	background: transparent;
	z-index: 9999;
	pointer-events: none;
}

.bn-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--bn-accent), var(--bn-gold));
	transition: width 0.1s linear;
}

/* ==========================================================================
   5. Utility bar (top)
   ========================================================================== */

.bn-topbar {
	background: var(--bn-navy);
	color: #cdd6e0;
	font-size: var(--bn-fs-sm);
	line-height: 1.4;
}

.bn-topbar a {
	color: #cdd6e0;
}

.bn-topbar a:hover {
	color: #fff;
}

.bn-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 40px;
	flex-wrap: wrap;
}

.bn-topbar__left {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.bn-topbar__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e8edf3;
	font-weight: 500;
}

.bn-topbar__date svg {
	opacity: 0.75;
}

.bn-topbar__right {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bn-topbar__sep {
	color: #46525f;
}

/* Weather chip in topbar */
.bn-weather-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 500;
	color: #e8edf3;
}

.bn-weather-chip__temp {
	color: var(--bn-gold);
	font-weight: 700;
}

/* Social icons */
.bn-social {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-social a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: background-color 0.2s var(--bn-ease), color 0.2s var(--bn-ease);
}

.bn-social a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.bn-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Theme toggle */
.bn-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px solid #37424f;
	color: #dfe6ee;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-xs);
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s var(--bn-ease), border-color 0.2s var(--bn-ease);
}

.bn-theme-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #4d5a69;
}

.bn-theme-toggle svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.bn-theme-toggle .bn-icon-sun {
	display: none;
}

.bn-dark .bn-theme-toggle .bn-icon-sun {
	display: block;
}

.bn-dark .bn-theme-toggle .bn-icon-moon {
	display: none;
}

@media (max-width: 719px) {
	.bn-topbar__left .bn-topbar__weather,
	.bn-topbar__right .bn-social {
		display: none;
	}
}

/* ==========================================================================
   6. Masthead
   ========================================================================== */

.bn-masthead {
	background: var(--bn-surface);
	border-bottom: 1px solid var(--bn-line);
	padding-block: 18px;
}

.bn-masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}

.bn-masthead__aside {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--bn-ink-3);
	font-size: var(--bn-fs-sm);
	line-height: 1.5;
}

.bn-masthead__aside--right {
	justify-content: flex-end;
}

.bn-branding {
	text-align: center;
}

.bn-site-title {
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.bn-site-title a {
	color: var(--bn-ink);
	display: inline-block;
}

.bn-site-title a:hover {
	color: var(--bn-accent);
}

.bn-site-description {
	margin: 4px 0 0;
	font-size: var(--bn-fs-sm);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bn-ink-3);
	font-family: var(--bn-font-ui);
	font-weight: 500;
}

.bn-custom-logo img {
	max-height: 74px;
	width: auto;
	margin-inline: auto;
}

/* Ad slot placeholder */
.bn-ad {
	background: repeating-linear-gradient(
		45deg,
		var(--bn-surface-2),
		var(--bn-surface-2) 10px,
		var(--bn-surface) 10px,
		var(--bn-surface) 20px
	);
	border: 1px dashed var(--bn-line-strong);
	color: var(--bn-ink-3);
	display: grid;
	place-items: center;
	text-align: center;
	font-size: var(--bn-fs-xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 12px;
	border-radius: var(--bn-radius);
}

.bn-ad--leaderboard {
	min-height: 90px;
	width: 100%;
	max-width: 728px;
}

.bn-ad--sidebar {
	min-height: 250px;
}

.bn-ad--inline {
	min-height: 120px;
	margin-block: var(--bn-space);
}

.bn-ad span {
	opacity: 0.8;
}

/* Uploaded-image creative */
.bn-ad--image {
	background: none;
	border: 0;
	padding: 0;
	border-radius: var(--bn-radius);
	overflow: hidden;
}

.bn-ad--image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.bn-ad--image a {
	display: block;
}

/* Raw HTML / AdSense code — let the network fill it, keep a subtle frame. */
.bn-ad--code {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
}

/* Correspondent (প্রতিনিধি) card on single posts */
.bn-correspondent {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line);
	border-inline-start: 4px solid var(--bn-accent);
	border-radius: var(--bn-radius-lg);
	padding: 12px 16px;
	margin-block-end: 24px;
}

.bn-correspondent img,
.bn-correspondent .bn-correspondent__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--bn-accent-soft);
	flex: 0 0 auto;
}

.bn-correspondent__avatar {
	display: grid;
	place-items: center;
	font-family: var(--bn-font-display);
	font-weight: 700;
	color: var(--bn-accent);
	font-size: 1.2rem;
}

.bn-correspondent__kicker {
	display: block;
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bn-accent);
	margin-bottom: 2px;
}

.bn-correspondent__name {
	display: block;
	font-family: var(--bn-font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--bn-ink);
	line-height: 1.3;
}

.bn-correspondent__area {
	display: block;
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
}

/* Banner under masthead */
.bn-masthead-ad {
	background: var(--bn-surface);
	padding-block: 16px;
	border-bottom: 1px solid var(--bn-line);
}

@media (max-width: 1023px) {
	.bn-masthead__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bn-masthead__aside {
		justify-content: center;
		display: none;
	}
}

/* ==========================================================================
   7. Primary navigation
   ========================================================================== */

.bn-nav-wrap {
	background: var(--bn-navy);
	position: relative;
	z-index: 60;
}

.bn-nav-wrap.is-stuck {
	position: fixed;
	inset-inline: 0;
	inset-block-start: 0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	animation: bn-slide-down 0.28s var(--bn-ease);
}

@keyframes bn-slide-down {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

.bn-nav-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--bn-header-h);
}

.bn-nav-toggle {
	display: none;
	align-items: center;
	gap: 9px;
	background: transparent;
	border: 0;
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	padding: 8px 4px;
	cursor: pointer;
}

.bn-nav-toggle svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.bn-nav {
	flex: 1 1 auto;
}

.bn-nav ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.bn-nav li {
	position: relative;
	margin: 0;
}

.bn-nav a {
	display: block;
	color: #e7ecf2;
	font-family: var(--bn-font-ui);
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 16px 14px;
	line-height: 1.3;
	border-bottom: 3px solid transparent;
	transition: color 0.18s var(--bn-ease), background-color 0.18s var(--bn-ease),
		border-color 0.18s var(--bn-ease);
}

.bn-nav a:hover,
.bn-nav a:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-bottom-color: var(--bn-accent);
}

.bn-nav .current-menu-item > a,
.bn-nav .current_page_item > a,
.bn-nav .current-menu-ancestor > a {
	color: #fff;
	border-bottom-color: var(--bn-accent);
}

/* Dropdown */
.bn-nav ul ul {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	min-width: 232px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-top: 3px solid var(--bn-accent);
	box-shadow: var(--bn-shadow-lg);
	border-radius: 0 0 var(--bn-radius) var(--bn-radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s var(--bn-ease), transform 0.18s var(--bn-ease),
		visibility 0.18s;
	z-index: 70;
	padding: 6px 0;
}

.bn-nav li:hover > ul,
.bn-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.bn-nav ul ul a {
	color: var(--bn-ink);
	padding: 10px 16px;
	border-bottom: 0;
	font-size: var(--bn-fs-sm);
	font-weight: 500;
}

.bn-nav ul ul a:hover {
	background: var(--bn-accent-soft);
	color: var(--bn-accent);
}

/* Nav actions */
.bn-nav-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
}

.bn-icon-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: transparent;
	border: 0;
	color: #dfe6ee;
	cursor: pointer;
	transition: background-color 0.2s var(--bn-ease), color 0.2s var(--bn-ease);
}

.bn-icon-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.bn-icon-btn svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.bn-nav-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--bn-accent);
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 7px 13px;
	border-radius: 999px;
}

.bn-nav-live:hover {
	color: #fff;
	background: var(--bn-accent-hover);
}

.bn-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: bn-pulse 1.6s infinite;
}

@keyframes bn-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.35;
		transform: scale(0.82);
	}
}

@media (max-width: 1023px) {
	.bn-nav-toggle {
		display: inline-flex;
	}
	.bn-nav {
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		width: min(320px, 86vw);
		background: var(--bn-surface);
		border-inline-end: 1px solid var(--bn-line);
		padding: 20px 0 40px;
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform 0.3s var(--bn-ease);
		z-index: 90;
		box-shadow: var(--bn-shadow-lg);
	}
	.bn-dark .bn-nav {
		background: var(--bn-surface-2);
	}
	body.bn-menu-open .bn-nav {
		transform: translateX(0);
	}
	.bn-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.bn-nav a {
		color: var(--bn-ink);
		padding: 13px 22px;
		border-bottom: 1px solid var(--bn-line);
		font-size: var(--bn-fs-base);
	}
	.bn-nav a:hover,
	.bn-nav .current-menu-item > a {
		background: var(--bn-accent-soft);
		color: var(--bn-accent);
		border-bottom-color: var(--bn-line);
	}
	.bn-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-top: 0;
		background: var(--bn-surface-2);
		padding: 0;
	}
	.bn-nav ul ul a {
		padding-inline-start: 40px;
		font-size: var(--bn-fs-sm);
	}
	.bn-nav-live {
		display: none;
	}
	.bn-scrim {
		position: fixed;
		inset: 0;
		background: rgba(9, 12, 17, 0.6);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s var(--bn-ease), visibility 0.3s;
		z-index: 80;
	}
	body.bn-menu-open .bn-scrim {
		opacity: 1;
		visibility: visible;
	}
}

@media (min-width: 1024px) {
	.bn-scrim {
		display: none;
	}
}

/* ==========================================================================
   8. Breaking news ticker
   ========================================================================== */

.bn-ticker {
	background: var(--bn-surface);
	border-bottom: 1px solid var(--bn-line);
	display: flex;
	align-items: stretch;
	overflow: hidden;
}

.bn-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bn-accent);
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 10px 16px;
	white-space: nowrap;
	flex: 0 0 auto;
}

.bn-ticker__label svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.bn-ticker__viewport {
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.bn-ticker__track {
	display: flex;
	align-items: center;
	gap: 40px;
	white-space: nowrap;
	padding-inline: 20px;
	animation: bn-marquee 42s linear infinite;
	will-change: transform;
}

.bn-ticker:hover .bn-ticker__track,
.bn-ticker:focus-within .bn-ticker__track {
	animation-play-state: paused;
}

.bn-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bn-ink-2);
	font-size: var(--bn-fs-sm);
	font-weight: 500;
}

.bn-ticker__item::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--bn-accent);
	border-radius: 50%;
	flex: 0 0 auto;
}

.bn-ticker__item a {
	color: var(--bn-ink);
}

.bn-ticker__item a:hover {
	color: var(--bn-accent);
}

.bn-ticker__time {
	font-style: normal;
	font-size: 0.6875rem;
	color: var(--bn-ink-3);
	opacity: 0.9;
}

@keyframes bn-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bn-ticker__track {
		animation: none;
		flex-wrap: wrap;
		white-space: normal;
		gap: 10px;
		padding-block: 8px;
	}
	.bn-ticker__viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}
}

@media (max-width: 719px) {
	.bn-ticker__label {
		padding: 9px 11px;
		font-size: var(--bn-fs-xs);
	}
}

/* ==========================================================================
   9. Section headers
   ========================================================================== */

.bn-section {
	margin-block-end: var(--bn-space);
}

.bn-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 2px solid var(--bn-ink);
	padding-bottom: 10px;
	margin-bottom: 22px;
}

.bn-section__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.bn-section__title::before {
	content: "";
	width: 5px;
	height: 24px;
	background: var(--bn-accent);
	border-radius: 2px;
	flex: 0 0 auto;
}

.bn-section__title a {
	color: var(--bn-ink);
}

.bn-section__title a:hover {
	color: var(--bn-accent);
}

.bn-section__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	color: var(--bn-ink-2);
	white-space: nowrap;
}

.bn-section__more:hover {
	color: var(--bn-accent);
}

.bn-section__more svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.bn-section--plain .bn-section__head {
	border-bottom-color: var(--bn-line);
}

/* Category block: lead story + list */
.bn-cat-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 2.4vw, 32px);
	align-items: start;
}

.bn-cat-block__list {
	display: flex;
	flex-direction: column;
}

.bn-cat-block__list .bn-readmore {
	margin-top: 18px;
}

@media (max-width: 719px) {
	.bn-cat-block {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Opinion block */
.bn-opinion-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 28px);
}

.bn-opinion {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	transition: transform 0.25s var(--bn-ease), box-shadow 0.25s var(--bn-ease);
}

.bn-opinion:hover {
	transform: translateY(-3px);
	box-shadow: var(--bn-shadow);
}

.bn-opinion img {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--bn-accent-soft);
}

.bn-opinion__title {
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
}

.bn-opinion__title a {
	color: var(--bn-ink);
}

.bn-opinion__title a:hover {
	color: var(--bn-accent);
}

.bn-opinion__author {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	color: var(--bn-accent);
}

.bn-opinion__excerpt {
	margin: 0;
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1023px) {
	.bn-opinion-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 559px) {
	.bn-opinion-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Tabs (category switcher) */
.bn-tabs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.bn-tabs button {
	background: transparent;
	border: 1px solid var(--bn-line);
	color: var(--bn-ink-2);
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s var(--bn-ease);
}

.bn-tabs button:hover {
	border-color: var(--bn-accent);
	color: var(--bn-accent);
}

.bn-tabs button[aria-selected="true"] {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
}

/* ==========================================================================
   10. Cards
   ========================================================================== */

.bn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	transition: transform 0.25s var(--bn-ease), box-shadow 0.25s var(--bn-ease),
		border-color 0.25s var(--bn-ease);
}

.bn-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--bn-shadow);
	border-color: var(--bn-line-strong);
}

.bn-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bn-surface-2);
}

.bn-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--bn-ease);
}

.bn-card:hover .bn-card__media img {
	transform: scale(1.05);
}

.bn-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
}

.bn-card__title {
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.45;
}

.bn-card__title a {
	color: var(--bn-ink);
}

.bn-card__title a:hover {
	color: var(--bn-accent);
}

.bn-card__excerpt {
	margin: 0;
	font-size: var(--bn-fs-sm);
	line-height: 1.7;
	color: var(--bn-ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Category chip */
.bn-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bn-accent);
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 3px;
	line-height: 1.5;
}

.bn-cat:hover {
	background: var(--bn-accent-hover);
	color: #fff;
}

.bn-cat--politics {
	background: #b3261e;
}
.bn-cat--bangladesh {
	background: #0b6b3a;
}
.bn-cat--international {
	background: #1d4e89;
}
.bn-cat--sports {
	background: #d97706;
}
.bn-cat--entertainment {
	background: #7c3aed;
}
.bn-cat--economy {
	background: #0f766e;
}
.bn-cat--technology {
	background: #334155;
}
.bn-cat--opinion {
	background: #7c2d12;
}

.bn-cat--ghost {
	background: var(--bn-accent-soft);
	color: var(--bn-accent);
}

.bn-card__media .bn-cat {
	position: absolute;
	inset-block-end: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Meta line */
.bn-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-family: var(--bn-font-ui);
	font-size: 0.75rem;
	color: var(--bn-ink-3);
	line-height: 1.5;
}

.bn-meta a {
	color: var(--bn-ink-2);
	font-weight: 500;
}

.bn-meta a:hover {
	color: var(--bn-accent);
}

.bn-meta__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--bn-ink-3);
	flex: 0 0 auto;
}

.bn-meta svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	opacity: 0.8;
}

.bn-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Horizontal card */
.bn-card--horiz {
	flex-direction: row;
	gap: 14px;
	padding: 14px;
	align-items: center;
}

.bn-card--horiz .bn-card__media {
	flex: 0 0 116px;
	width: 116px;
	aspect-ratio: 1 / 1;
	border-radius: var(--bn-radius);
}

.bn-card--horiz .bn-card__body {
	padding: 0;
	gap: 6px;
}

.bn-card--horiz .bn-card__title {
	font-size: 0.9375rem;
}

/* List item (no card chrome) */
.bn-list-item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 14px;
	padding-block: 14px;
	border-bottom: 1px solid var(--bn-line);
}

.bn-list-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bn-list-item:first-child {
	padding-top: 0;
}

.bn-list-item__media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--bn-radius);
	background: var(--bn-surface-2);
}

.bn-list-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bn-list-item__title {
	margin: 0 0 6px;
	font-family: var(--bn-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.bn-list-item__title a {
	color: var(--bn-ink);
}

.bn-list-item__title a:hover {
	color: var(--bn-accent);
}

/* Text-only list row */
.bn-text-item {
	display: flex;
	gap: 14px;
	padding-block: 13px;
	border-bottom: 1px solid var(--bn-line);
}

.bn-text-item:last-child {
	border-bottom: 0;
}

.bn-text-item__rank {
	font-family: var(--bn-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: var(--bn-line-strong);
	flex: 0 0 auto;
	min-width: 30px;
}

.bn-text-item:nth-child(-n + 3) .bn-text-item__rank {
	color: var(--bn-accent);
}

/* ==========================================================================
   11. Hero / featured block
   ========================================================================== */

.bn-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
	gap: clamp(18px, 2vw, 28px);
	margin-block-end: var(--bn-space);
}

.bn-hero__lead {
	position: relative;
	display: block;
	min-height: clamp(340px, 42vw, 520px);
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	background: var(--bn-navy);
	isolation: isolate;
}

.bn-hero__lead img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--bn-ease);
	z-index: -2;
}

.bn-hero__lead::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(6, 9, 13, 0.94) 0%,
		rgba(6, 9, 13, 0.62) 42%,
		rgba(6, 9, 13, 0.12) 100%
	);
	z-index: -1;
}

.bn-hero__lead:hover img {
	transform: scale(1.04);
}

.bn-hero__lead-body {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	padding: clamp(18px, 2.4vw, 34px);
	color: #fff;
}

.bn-hero__lead .bn-cat {
	margin-bottom: 12px;
}

.bn-hero__lead-title {
	margin: 0 0 10px;
	font-family: var(--bn-font-display);
	font-size: var(--bn-fs-hero);
	font-weight: 700;
	line-height: 1.28;
	color: #fff;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.bn-hero__lead-title a {
	color: #fff;
}

.bn-hero__lead-title a:hover {
	color: #ffd9de;
}

.bn-hero__lead-excerpt {
	margin: 0 0 12px;
	max-width: 62ch;
	font-size: var(--bn-fs-md);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.86);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bn-hero__lead .bn-meta,
.bn-hero__lead .bn-meta a {
	color: rgba(255, 255, 255, 0.78);
}

.bn-hero__lead .bn-meta__dot {
	background: rgba(255, 255, 255, 0.6);
}

.bn-hero__side {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 20px);
}

.bn-hero__side-card {
	position: relative;
	display: block;
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	background: var(--bn-navy);
	min-height: 160px;
	isolation: isolate;
}

.bn-hero__side-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--bn-ease);
	z-index: -2;
}

.bn-hero__side-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 9, 13, 0.9), rgba(6, 9, 13, 0.15));
	z-index: -1;
}

.bn-hero__side-card:hover img {
	transform: scale(1.05);
}

.bn-hero__side-body {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	padding: 16px 18px;
	color: #fff;
}

.bn-hero__side-title {
	margin: 8px 0 6px;
	font-family: var(--bn-font-display);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.42;
	color: #fff;
}

.bn-hero__side-title a {
	color: #fff;
}

.bn-hero__side .bn-meta,
.bn-hero__side .bn-meta a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.6875rem;
}

/* Latest strip under hero */
.bn-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	margin-block-end: var(--bn-space);
}

.bn-strip__item {
	padding: 18px 20px;
	border-inline-end: 1px solid var(--bn-line);
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: background-color 0.2s var(--bn-ease);
}

.bn-strip__item:last-child {
	border-inline-end: 0;
}

.bn-strip__item:hover {
	background: var(--bn-surface-2);
}

.bn-strip__kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bn-accent);
}

.bn-strip__title {
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.bn-strip__title a {
	color: var(--bn-ink);
}

.bn-strip__title a:hover {
	color: var(--bn-accent);
}

@media (max-width: 1023px) {
	.bn-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	.bn-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bn-strip__item:nth-child(2n) {
		border-inline-end: 0;
	}
	.bn-strip__item:nth-child(-n + 2) {
		border-bottom: 1px solid var(--bn-line);
	}
}

@media (max-width: 719px) {
	.bn-strip {
		grid-template-columns: minmax(0, 1fr);
	}
	.bn-strip__item {
		border-inline-end: 0;
		border-bottom: 1px solid var(--bn-line);
	}
	.bn-hero__side {
		grid-template-rows: none;
	}
}

/* ==========================================================================
   12. Sidebar & widgets
   ========================================================================== */

.bn-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: sticky;
	inset-block-start: 20px;
}

@media (max-width: 1023px) {
	.bn-sidebar {
		position: static;
	}
}

.bn-widget {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: 20px;
}

.bn-widget--flush {
	padding: 0;
	overflow: hidden;
}

.bn-widget__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bn-ink);
	font-family: var(--bn-font-display);
	font-size: 1.0625rem;
	font-weight: 700;
}

.bn-widget__title::before {
	content: "";
	width: 4px;
	height: 20px;
	background: var(--bn-accent);
	border-radius: 2px;
}

.bn-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-widget li {
	padding-block: 9px;
	border-bottom: 1px dashed var(--bn-line);
	font-size: var(--bn-fs-sm);
}

.bn-widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bn-widget li a {
	color: var(--bn-ink);
}

.bn-widget li a:hover {
	color: var(--bn-accent);
}

.bn-widget .bn-widget__footer {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--bn-line);
	font-size: var(--bn-fs-sm);
}

/* Trending widget */
.bn-trending__item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding-block: 13px;
	border-bottom: 1px solid var(--bn-line);
}

.bn-trending__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bn-trending__item:first-child {
	padding-top: 0;
}

.bn-trending__num {
	font-family: var(--bn-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--bn-line-strong);
}

.bn-trending__item:nth-child(-n + 3) .bn-trending__num {
	color: var(--bn-accent);
}

.bn-trending__title {
	margin: 0 0 5px;
	font-family: var(--bn-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.bn-trending__title a {
	color: var(--bn-ink);
}

.bn-trending__title a:hover {
	color: var(--bn-accent);
}

/* Weather widget */
.bn-weather {
	background: linear-gradient(135deg, #123a63, #0f1720);
	color: #fff;
	border: 0;
}

.bn-weather__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.bn-weather__city {
	margin: 0;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-base);
	font-weight: 600;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.bn-weather__city svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	opacity: 0.8;
}

.bn-weather__badge {
	background: rgba(255, 255, 255, 0.14);
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 4px 9px;
	border-radius: 999px;
}

.bn-weather__main {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.bn-weather__icon {
	font-size: 2.4rem;
	line-height: 1;
}

.bn-weather__temp {
	font-family: var(--bn-font-display);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
}

.bn-weather__temp sup {
	font-size: 0.4em;
	vertical-align: super;
	font-weight: 600;
}

.bn-weather__cond {
	font-size: var(--bn-fs-sm);
	color: rgba(255, 255, 255, 0.82);
	margin-top: 4px;
}

.bn-weather__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	text-align: center;
}

.bn-weather__stat-label {
	display: block;
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 3px;
}

.bn-weather__stat-value {
	font-size: var(--bn-fs-sm);
	font-weight: 600;
}

.bn-weather__forecast {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-top: 12px;
	text-align: center;
}

.bn-weather__day {
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--bn-radius);
	padding: 8px 4px;
	font-size: 0.6875rem;
}

.bn-weather__day span {
	display: block;
	margin-top: 3px;
	font-weight: 600;
	font-size: var(--bn-fs-sm);
}

/* Newsletter widget */
.bn-newsletter {
	background: var(--bn-navy);
	color: #dfe6ee;
	border: 0;
}

.bn-newsletter .bn-widget__title {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

.bn-newsletter p {
	font-size: var(--bn-fs-sm);
	color: rgba(223, 230, 238, 0.78);
}

.bn-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bn-form__row {
	display: flex;
	gap: 8px;
}

.bn-field,
.bn-input {
	width: 100%;
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line-strong);
	color: var(--bn-ink);
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	padding: 11px 14px;
	border-radius: var(--bn-radius);
	transition: border-color 0.2s var(--bn-ease), box-shadow 0.2s var(--bn-ease);
}

.bn-newsletter .bn-field {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.bn-newsletter .bn-field::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.bn-field:focus,
.bn-input:focus {
	outline: none;
	border-color: var(--bn-accent);
	box-shadow: 0 0 0 3px var(--bn-accent-soft);
}

textarea.bn-field {
	min-height: 140px;
	resize: vertical;
}

.bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--bn-accent);
	border: 1px solid var(--bn-accent);
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 11px 20px;
	border-radius: var(--bn-radius);
	cursor: pointer;
	transition: background-color 0.2s var(--bn-ease), transform 0.15s var(--bn-ease);
}

.bn-btn:hover {
	background: var(--bn-accent-hover);
	border-color: var(--bn-accent-hover);
	color: #fff;
}

.bn-btn:active {
	transform: translateY(1px);
}

.bn-btn--ghost {
	background: transparent;
	border-color: var(--bn-line-strong);
	color: var(--bn-ink-2);
}

.bn-btn--ghost:hover {
	background: var(--bn-accent-soft);
	border-color: var(--bn-accent);
	color: var(--bn-accent);
}

.bn-btn--dark {
	background: var(--bn-navy-2);
	border-color: var(--bn-navy-2);
}

.bn-btn svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* Poll widget */
.bn-poll__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-block: 8px;
	font-size: var(--bn-fs-sm);
	cursor: pointer;
}

.bn-poll__bar {
	height: 7px;
	border-radius: 999px;
	background: var(--bn-surface-2);
	overflow: hidden;
	margin-top: 5px;
}

.bn-poll__bar i {
	display: block;
	height: 100%;
	background: var(--bn-accent);
	border-radius: 999px;
}

/* Tags cloud */
.bn-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-tags a {
	display: inline-block;
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line);
	color: var(--bn-ink-2);
	font-family: var(--bn-font-ui);
	font-size: 0.75rem;
	font-weight: 500;
	padding: 5px 11px;
	border-radius: 999px;
	transition: all 0.2s var(--bn-ease);
}

.bn-tags a:hover {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
}

/* ==========================================================================
   13. Video block
   ========================================================================== */

.bn-video-section {
	background: var(--bn-navy);
	color: #e7ecf2;
	padding-block: var(--bn-space);
	margin-block-end: var(--bn-space);
}

.bn-video-section .bn-section__head {
	border-bottom-color: rgba(255, 255, 255, 0.2);
}

.bn-video-section .bn-section__title,
.bn-video-section .bn-section__title a {
	color: #fff;
}

.bn-video-section .bn-section__more {
	color: rgba(255, 255, 255, 0.72);
}

.bn-video-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(18px, 2.2vw, 28px);
}

.bn-video-feature {
	position: relative;
	display: block;
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #000;
}

.bn-video-feature img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.72;
	transition: opacity 0.3s var(--bn-ease), transform 0.5s var(--bn-ease);
}

.bn-video-feature:hover img {
	opacity: 0.6;
	transform: scale(1.04);
}

.bn-play {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--bn-accent);
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6);
	animation: bn-ring 2.4s infinite;
}

.bn-play svg {
	width: 24px;
	height: 24px;
	fill: #fff;
	margin-inline-start: 3px;
}

@keyframes bn-ring {
	0% {
		box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55);
	}
	70% {
		box-shadow: 0 0 0 22px rgba(200, 16, 46, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
	}
}

.bn-video-feature__body {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	padding: 22px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
}

.bn-video-feature__title {
	margin: 8px 0 6px;
	font-family: var(--bn-font-display);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
}

.bn-video-feature .bn-meta,
.bn-video-feature .bn-meta a {
	color: rgba(255, 255, 255, 0.75);
}

.bn-duration {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-end: 14px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 3px;
}

.bn-video-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bn-video-item {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 14px;
	background: var(--bn-navy-2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--bn-radius);
	padding: 10px;
	transition: border-color 0.2s var(--bn-ease), background-color 0.2s var(--bn-ease);
}

.bn-video-item:hover {
	border-color: rgba(200, 16, 46, 0.7);
	background: #1d2836;
}

.bn-video-item__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 3px;
	overflow: hidden;
}

.bn-video-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bn-video-item__media .bn-play {
	width: 34px;
	height: 34px;
	animation: none;
}

.bn-video-item__media .bn-play svg {
	width: 13px;
	height: 13px;
}

.bn-video-item__title {
	margin: 0 0 6px;
	font-family: var(--bn-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
}

.bn-video-item__title a {
	color: #fff;
}

.bn-video-item .bn-meta,
.bn-video-item .bn-meta a {
	color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1023px) {
	.bn-video-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   14. Article (single) page
   ========================================================================== */

.bn-article {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: clamp(20px, 3vw, 44px);
}

.bn-article__breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
	margin-bottom: 18px;
}

.bn-article__breadcrumb a {
	color: var(--bn-ink-2);
}

.bn-article__breadcrumb svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
	opacity: 0.6;
}

.bn-article__title {
	font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
	line-height: 1.32;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
	text-wrap: balance;
}

.bn-article__subtitle {
	font-family: var(--bn-font-body);
	font-size: 1.1875rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--bn-ink-2);
	margin: 0 0 22px;
}

.bn-article__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 16px;
	border-block: 1px solid var(--bn-line);
	margin-bottom: 24px;
}

.bn-byline {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bn-byline img,
.bn-byline .bn-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--bn-surface-2);
}

.bn-avatar {
	display: grid;
	place-items: center;
	font-family: var(--bn-font-display);
	font-weight: 700;
	color: var(--bn-accent);
	background: var(--bn-accent-soft);
	font-size: 1.1rem;
}

.bn-byline__name {
	display: block;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	color: var(--bn-ink);
}

.bn-byline__meta {
	display: block;
	font-size: 0.75rem;
	color: var(--bn-ink-3);
}

.bn-share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bn-share__label {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	color: var(--bn-ink-3);
}

.bn-share__btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--bn-line);
	background: var(--bn-surface);
	color: var(--bn-ink-2);
	cursor: pointer;
	transition: all 0.2s var(--bn-ease);
}

.bn-share__btn:hover {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
}

.bn-share__btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.bn-article__hero {
	margin-block-end: 26px;
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
}

.bn-article__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bn-caption {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
	padding-top: 10px;
	line-height: 1.6;
}

.bn-caption strong {
	color: var(--bn-ink-2);
}

/* Article body typography */
.bn-entry {
	font-size: 1.0625rem;
	line-height: 1.9;
	color: var(--bn-ink);
}

.bn-entry > p:first-of-type::first-letter {
	font-family: var(--bn-font-display);
	font-size: 3.4em;
	font-weight: 700;
	line-height: 0.9;
	float: left;
	margin: 0.06em 0.12em 0 0;
	color: var(--bn-accent);
}

.bn-entry h2 {
	font-size: 1.5rem;
	margin-block: 1.8em 0.7em;
}

.bn-entry h3 {
	font-size: 1.25rem;
	margin-block: 1.6em 0.6em;
}

.bn-entry a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.bn-entry ul,
.bn-entry ol {
	padding-inline-start: 1.5em;
}

.bn-entry li {
	margin-block-end: 0.4em;
}

.bn-entry img {
	border-radius: var(--bn-radius);
}

.bn-entry .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
	max-width: 46%;
}

.bn-entry .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
	max-width: 46%;
}

.bn-entry .aligncenter {
	display: block;
	margin-inline: auto;
}

.bn-entry .alignwide {
	max-width: min(100vw - 2rem, 980px);
	margin-inline: auto;
}

.bn-entry .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.bn-pullquote {
	margin: 2.2em 0;
	padding: 1.6em 1.8em;
	background: var(--bn-accent-soft);
	border-inline-start: 4px solid var(--bn-accent);
	border-radius: 0 var(--bn-radius) var(--bn-radius) 0;
	font-family: var(--bn-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--bn-ink);
}

.bn-pullquote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	font-style: normal;
	color: var(--bn-accent);
}

.bn-factbox {
	margin: 2em 0;
	padding: 1.4em 1.6em;
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
}

.bn-factbox h4 {
	margin: 0 0 10px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bn-accent);
}

.bn-factbox ul {
	margin: 0;
	padding-inline-start: 1.2em;
	font-size: var(--bn-fs-md);
}

.bn-article__footer {
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid var(--bn-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bn-article__stats {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
}

.bn-article__stats span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bn-article__stats svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* Author box */
.bn-author-box {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 20px;
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: 22px;
	margin-block: 28px;
}

.bn-author-box img {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
}

.bn-author-box__name {
	margin: 0 0 2px;
	font-family: var(--bn-font-display);
	font-size: 1.125rem;
}

.bn-author-box__role {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: var(--bn-accent);
	font-weight: 600;
	margin-bottom: 8px;
}

.bn-author-box__bio {
	margin: 0 0 10px;
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-2);
}

/* Post navigation */
.bn-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-block: var(--bn-space);
}

.bn-post-nav__item {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: 18px 20px;
	transition: border-color 0.2s var(--bn-ease), transform 0.2s var(--bn-ease);
}

.bn-post-nav__item:hover {
	border-color: var(--bn-accent);
	transform: translateY(-2px);
}

.bn-post-nav__item--next {
	text-align: end;
}

.bn-post-nav__label {
	display: block;
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bn-ink-3);
	margin-bottom: 6px;
}

.bn-post-nav__title {
	font-family: var(--bn-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.bn-post-nav__title a {
	color: var(--bn-ink);
}

.bn-post-nav__title a:hover {
	color: var(--bn-accent);
}

@media (max-width: 719px) {
	.bn-post-nav {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Related posts */
.bn-related {
	margin-block-end: var(--bn-space);
}

/* ==========================================================================
   15. Archive / listing
   ========================================================================== */

.bn-page-head {
	background: var(--bn-surface);
	border-bottom: 1px solid var(--bn-line);
	padding-block: 26px;
	margin-block-end: var(--bn-space);
}

.bn-page-head__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.bn-page-head__eyebrow {
	font-family: var(--bn-font-ui);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bn-accent);
	margin-bottom: 6px;
}

.bn-page-head__title {
	margin: 0;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem);
	line-height: 1.25;
}

.bn-page-head__desc {
	margin: 8px 0 0;
	max-width: 70ch;
	color: var(--bn-ink-2);
	font-size: var(--bn-fs-md);
}

.bn-page-head__count {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
	background: var(--bn-surface-2);
	border: 1px solid var(--bn-line);
	padding: 7px 13px;
	border-radius: 999px;
	white-space: nowrap;
}

.bn-archive-list {
	display: flex;
	flex-direction: column;
}

.bn-archive-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 268px;
	gap: clamp(18px, 2vw, 28px);
	align-items: start;
	padding-block: 26px;
	border-bottom: 1px solid var(--bn-line);
}

.bn-archive-item:first-child {
	padding-top: 0;
}

.bn-archive-item__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bn-archive-item__title {
	margin: 0;
	font-family: var(--bn-font-display);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
}

.bn-archive-item__title a {
	color: var(--bn-ink);
}

.bn-archive-item__title a:hover {
	color: var(--bn-accent);
}

.bn-archive-item__excerpt {
	margin: 0;
	color: var(--bn-ink-2);
	font-size: var(--bn-fs-md);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bn-archive-item__media {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--bn-radius-lg);
	overflow: hidden;
	background: var(--bn-surface-2);
}

.bn-archive-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--bn-ease);
}

.bn-archive-item:hover .bn-archive-item__media img {
	transform: scale(1.05);
}

.bn-readmore {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	color: var(--bn-accent);
}

.bn-readmore svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	transition: transform 0.2s var(--bn-ease);
}

.bn-readmore:hover svg {
	transform: translateX(4px);
}

@media (max-width: 719px) {
	.bn-archive-item {
		grid-template-columns: minmax(0, 1fr);
	}
	.bn-archive-item__media {
		order: -1;
	}
}

/* Pagination */
.bn-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-block-start: var(--bn-space);
	flex-wrap: wrap;
}

.bn-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius);
	background: var(--bn-surface);
	color: var(--bn-ink-2);
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	transition: all 0.2s var(--bn-ease);
}

.bn-pagination a.page-numbers:hover {
	border-color: var(--bn-accent);
	color: var(--bn-accent);
}

.bn-pagination .page-numbers.current {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
}

.bn-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

.bn-pagination svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.bn-loadmore {
	display: block;
	margin-inline: auto;
	margin-block-start: var(--bn-space);
}

/* ==========================================================================
   16. Comments
   ========================================================================== */

.bn-comments {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: clamp(20px, 3vw, 34px);
	margin-block-end: var(--bn-space);
}

.bn-comments__title {
	font-size: 1.35rem;
	margin-bottom: 20px;
}

.bn-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-comment-list .comment {
	padding-block: 18px;
	border-bottom: 1px solid var(--bn-line);
}

.bn-comment-list .comment:last-child {
	border-bottom: 0;
}

.bn-comment-list .children {
	list-style: none;
	margin: 16px 0 0;
	padding-inline-start: 26px;
	border-inline-start: 2px solid var(--bn-line);
}

.bn-comment__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.bn-comment__head img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.bn-comment__author {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	color: var(--bn-ink);
}

.bn-comment__meta {
	font-size: 0.75rem;
	color: var(--bn-ink-3);
}

.bn-comment__body {
	font-size: var(--bn-fs-md);
	color: var(--bn-ink-2);
}

.bn-comment__body p:last-child {
	margin-bottom: 0;
}

.bn-comment__reply {
	margin-top: 6px;
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 600;
}

.bn-comment-form {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 2px solid var(--bn-ink);
}

.bn-comment-form .bn-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

@media (max-width: 719px) {
	.bn-comment-form .bn-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.bn-form__note {
	font-size: var(--bn-fs-sm);
	color: var(--bn-ink-3);
	margin-bottom: 12px;
}

.comment-respond .form-submit {
	margin: 12px 0 0;
}

/* ==========================================================================
   17. Search overlay + 404 + misc pages
   ========================================================================== */

.bn-search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(9, 12, 17, 0.86);
	backdrop-filter: blur(6px);
	display: grid;
	place-items: start center;
	padding-top: 14vh;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--bn-ease), visibility 0.25s;
	z-index: 100;
}

.bn-search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.bn-search-overlay__box {
	width: min(680px, 92vw);
	transform: translateY(-14px);
	transition: transform 0.3s var(--bn-ease);
}

.bn-search-overlay.is-open .bn-search-overlay__box {
	transform: translateY(0);
}

.bn-search-overlay__label {
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	margin-bottom: 10px;
	display: block;
}

.bn-search-form {
	display: flex;
	gap: 8px;
}

.bn-search-form .bn-field {
	background: #fff;
	border-color: #fff;
	font-size: 1.0625rem;
	padding-block: 15px;
}

.bn-search-close {
	position: absolute;
	inset-block-start: 24px;
	inset-inline-end: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.bn-search-close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.bn-search-suggest {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bn-search-suggest a {
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 6px 13px;
	border-radius: 999px;
	font-size: var(--bn-fs-sm);
}

.bn-search-suggest a:hover {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
}

/* 404 */
.bn-error-404 {
	text-align: center;
	padding-block: clamp(40px, 7vw, 90px);
}

.bn-error-404__code {
	font-family: var(--bn-font-display);
	font-size: clamp(4.5rem, 12vw, 9rem);
	font-weight: 700;
	line-height: 1;
	color: var(--bn-accent);
	margin: 0;
	letter-spacing: -0.04em;
}

.bn-error-404__title {
	font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
	margin-block: 12px 10px;
}

.bn-error-404__text {
	max-width: 56ch;
	margin-inline: auto;
	color: var(--bn-ink-2);
}

.bn-error-404 .bn-search-form {
	max-width: 460px;
	margin: 24px auto 0;
}

/* Page template */
.bn-page-content {
	background: var(--bn-surface);
	border: 1px solid var(--bn-line);
	border-radius: var(--bn-radius-lg);
	padding: clamp(20px, 3vw, 44px);
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.bn-footer {
	background: var(--bn-navy);
	color: #c2ccd8;
	margin-block-start: var(--bn-space);
}

.bn-footer a {
	color: #dce4ec;
}

.bn-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bn-footer__top {
	padding-block: clamp(34px, 4vw, 56px) clamp(24px, 3vw, 40px);
}

.bn-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
	gap: clamp(22px, 2.6vw, 40px);
}

.bn-footer__title {
	color: #fff;
	font-family: var(--bn-font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--bn-accent);
	display: inline-block;
}

.bn-footer__brand {
	font-family: var(--bn-font-display);
	font-size: 1.7rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.15;
}

.bn-footer__about {
	font-size: var(--bn-fs-sm);
	line-height: 1.8;
	color: rgba(194, 204, 216, 0.82);
	margin-bottom: 16px;
}

.bn-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-footer li {
	padding-block: 6px;
	font-size: var(--bn-fs-sm);
}

.bn-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--bn-fs-sm);
}

.bn-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding-block: 7px;
	color: rgba(194, 204, 216, 0.86);
}

.bn-footer__contact svg {
	width: 15px;
	height: 15px;
	fill: var(--bn-accent);
	flex: 0 0 auto;
	margin-top: 4px;
}

.bn-footer__apps {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.bn-footer__app {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--bn-radius);
	padding: 8px 13px;
	font-size: var(--bn-fs-sm);
	font-weight: 600;
	transition: all 0.2s var(--bn-ease);
}

.bn-footer__app:hover {
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

.bn-footer__app svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.bn-footer__social {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.bn-footer__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #dce4ec;
	transition: all 0.2s var(--bn-ease);
}

.bn-footer__social a:hover {
	background: var(--bn-accent);
	border-color: var(--bn-accent);
	color: #fff;
	text-decoration: none;
}

.bn-footer__social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.bn-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 18px;
}

.bn-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: var(--bn-fs-sm);
	color: rgba(194, 204, 216, 0.72);
}

.bn-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bn-footer__editor {
	margin: 0;
	font-size: var(--bn-fs-sm);
	color: rgba(194, 204, 216, 0.9);
}

.bn-footer__editor-label {
	color: rgba(194, 204, 216, 0.72);
}

.bn-footer__editor strong {
	color: #fff;
	font-weight: 700;
}

.bn-footer__copyright {
	margin: 0;
}

/* Technical support credit bar */
.bn-footer__credit {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(90deg, rgba(200, 16, 46, 0.12), rgba(9, 12, 17, 0.2) 45%);
}

.bn-footer__credit-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-block: 13px;
}

.bn-footer__credit-label {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	color: rgba(194, 204, 216, 0.72);
}

.bn-footer__credit-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	padding: 6px 14px 6px 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	transition: background-color 0.2s var(--bn-ease), border-color 0.2s var(--bn-ease),
		transform 0.2s var(--bn-ease);
}

.bn-footer__credit-brand:hover {
	background: rgba(200, 16, 46, 0.22);
	border-color: rgba(200, 16, 46, 0.6);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.bn-footer__credit-logo {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bn-accent), var(--bn-accent-hover));
	color: #fff;
	box-shadow: 0 2px 10px rgba(200, 16, 46, 0.45);
}

.bn-footer__credit-logo svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.bn-footer__credit-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	text-align: start;
}

.bn-footer__credit-text strong {
	font-family: var(--bn-font-ui);
	font-size: var(--bn-fs-sm);
	font-weight: 700;
	color: #fff;
}

.bn-footer__credit-text em {
	font-style: normal;
	font-size: 0.6875rem;
	color: rgba(194, 204, 216, 0.75);
	letter-spacing: 0.03em;
}

.bn-footer__credit-brand > svg {
	width: 14px;
	height: 14px;
	fill: rgba(255, 255, 255, 0.6);
	transition: transform 0.2s var(--bn-ease), fill 0.2s var(--bn-ease);
}

.bn-footer__credit-brand:hover > svg {
	transform: translateX(3px);
	fill: #fff;
}

.bn-footer__nav {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bn-footer__nav li {
	padding: 0;
}

.bn-footer__nav a {
	color: rgba(194, 204, 216, 0.85);
}

@media (max-width: 1023px) {
	.bn-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 719px) {
	.bn-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Back to top */
.bn-totop {
	position: fixed;
	inset-block-end: 24px;
	inset-inline-end: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bn-accent);
	color: #fff;
	border: 0;
	display: grid;
	place-items: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s var(--bn-ease);
	box-shadow: var(--bn-shadow-lg);
	z-index: 55;
}

.bn-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.bn-totop:hover {
	background: var(--bn-accent-hover);
}

.bn-totop svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ==========================================================================
   19. Blocks / Gutenberg support
   ========================================================================== */

.wp-block-separator {
	border-color: var(--bn-line);
}

.wp-block-quote {
	border-inline-start-color: var(--bn-accent);
}

.wp-block-button__link {
	background: var(--bn-accent);
	border-radius: var(--bn-radius);
	font-family: var(--bn-font-ui);
	font-weight: 700;
	padding: 0.8em 1.6em;
}

.wp-block-table th {
	background: var(--bn-surface-2);
}

/* ==========================================================================
   20. Helper states & print
   ========================================================================== */

.bn-sticky-note {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--bn-gold);
	color: #1a1400;
	font-family: var(--bn-font-ui);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
}

.bn-empty {
	text-align: center;
	padding-block: 60px;
	color: var(--bn-ink-2);
}

.bn-empty svg {
	width: 54px;
	height: 54px;
	fill: var(--bn-line-strong);
	margin-bottom: 14px;
}

body.bn-no-scroll {
	overflow: hidden;
}

@media print {
	.bn-topbar,
	.bn-nav-wrap,
	.bn-ticker,
	.bn-sidebar,
	.bn-footer,
	.bn-share,
	.bn-totop,
	.bn-post-nav,
	.bn-related,
	.bn-comments,
	.bn-progress,
	.bn-ad {
		display: none !important;
	}
	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}
	.bn-article {
		border: 0;
		padding: 0;
	}
}
