/**
 * Brevona Times — BBC.com–inspired news UI
 * Reference: https://www.bbc.com/
 */

:root {
	--bbc-red: #bb1919;
	--bbc-red-hover: #8f1414;
	--bbc-red-soft: #f5e6e6;
	--bt-ink: #000000;
	--bbc-border: #C7C7C7;
	--bt-ink-soft: #202020;
	--bt-muted: #5a5a5a;
	--bt-line: #e6e6e6;
	--bt-line-strong: #d0d0d0;
	--bt-paper: #ffffff;
	--bt-page: #f6f6f6;
	--bt-nav-bg: #ffffff;
	--bt-nav-row: #f5f5f5;
	--bt-font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bt-radius: 0;
	--bt-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	--bt-max: 1240px;
	--bt-gutter: clamp(1rem, 4vw, 2rem);
}

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

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

body {
	margin: 0;
	font-family: var(--bt-font);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--bt-ink-soft);
	background: var(--bt-page);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--bbc-red);
	text-decoration: none;
}

a:hover {
	color: var(--bbc-red-hover);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

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

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

/* ——— Top bar ——— */
.bt-topbar {
	background: var(--bt-paper);
	color: var(--bt-ink-soft);
	font-size: 0.8125rem;
	border-bottom: 1px solid var(--bt-line);
}

.bt-topbar-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 0.45rem var(--bt-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	flex-wrap: wrap;
}

.bt-topbar-start {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
}

.bt-dateline {
	font-weight: 500;
	color: var(--bt-muted);
	margin: 0;
}

.bt-location-sep {
	color: var(--bt-muted);
	font-weight: 500;
}

.bt-location {
	font-weight: 600;
	color: var(--bt-ink-soft);
}

.bt-topbar-clock-wrap {
	display: inline-flex;
	align-items: center;
}

.bt-live-clock {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	color: var(--bt-ink-soft);
}

.bt-topbar-end {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
}

.bt-topbar-end-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
}

.bt-topbar-social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	margin-left: auto;
	padding-left: 0.5rem;
	border-left: 1px solid var(--bt-line);
}

.bt-header-quick .bt-header-quick-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	align-items: center;
}

.bt-header-quick a {
	color: var(--bt-ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8125rem;
}

.bt-header-quick a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

.bt-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem;
	align-items: center;
}

.bt-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--bt-ink-soft);
	border-radius: 2px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bt-social--header .bt-social-link {
	width: 36px;
	height: 36px;
	border: 1px solid var(--bt-line-strong);
	background: var(--bt-paper);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.bt-social--header .bt-social-link:hover {
	background: var(--bbc-red-soft);
	border-color: var(--bbc-red);
	color: var(--bbc-red);
	text-decoration: none;
}

.bt-social-link:hover {
	background: var(--bbc-red-soft);
	color: var(--bbc-red);
	text-decoration: none;
}

.bt-social--footer .bt-social-link {
	width: 40px;
	height: 40px;
	color: #e0e0e0;
}

.bt-social--footer .bt-social-link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.bt-topbar-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.bt-topbar-nav a {
	color: var(--bt-ink-soft);
	text-decoration: none;
	font-weight: 600;
}

.bt-topbar-nav a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Masthead ——— */
.bt-masthead {
	background: var(--bt-paper);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--bt-line);
}

.bt-masthead-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 0.85rem var(--bt-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	column-gap: clamp(2rem, 6vw, 5.5rem);
	row-gap: 1rem;
}

.bt-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
	flex: 0 1 auto;
}

.bt-brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.bt-brand .custom-logo {
	max-height: 44px;
	width: auto;
}

.bt-site-title {
	font-family: var(--bt-font);
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0;
	line-height: 1.1;
}

.bt-site-title a {
	color: var(--bt-ink);
	text-decoration: none;
}

.bt-site-title a:hover {
	color: var(--bbc-red);
	text-decoration: none;
}

.bt-site-tagline {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	color: var(--bt-muted);
	font-weight: 500;
}

.bt-search-form {
	display: flex;
	align-items: center;
	flex: 0 1 320px;
	max-width: 320px;
	width: 100%;
	min-width: 12rem;
	margin-left: auto;
	border: 1px solid var(--bt-line-strong);
	background: var(--bt-paper);
}

.bt-search-form input[type="search"] {
	border: 0;
	background: transparent;
	padding: 0.5rem 0.65rem;
	font-family: var(--bt-font);
	font-size: 0.875rem;
	flex: 1;
	min-width: 0;
	outline: none;
}

.bt-search-form input[type="search"]::placeholder {
	color: #888;
}

.bt-search-form button {
	border: 0;
	background: var(--bt-ink);
	color: #fff;
	padding: 0.5rem 0.85rem;
	cursor: pointer;
	font-family: var(--bt-font);
	font-size: 0.75rem;
	font-weight: 700;
}

.bt-search-form button:hover {
	background: var(--bbc-red);
}

/* ——— Primary nav ——— */
.bt-nav-wrap {
	background: var(--bt-nav-row);
	border-top: 1px solid var(--bt-line);
	border-bottom: 1px solid var(--bt-line);
}

.bt-nav-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 0 var(--bt-gutter);
}

.bt-primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.bt-primary-nav a {
	display: block;
	padding: 0.75rem 0.9rem;
	color: var(--bt-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.bt-primary-nav a:hover,
.bt-primary-nav .current-menu-item > a {
	color: var(--bbc-red);
	border-bottom-color: var(--bbc-red);
	text-decoration: none;
}

.bt-menu-toggle {
	display: none;
	border: 1px solid var(--bt-line-strong);
	background: var(--bt-paper);
	padding: 0.45rem 0.75rem;
	font-family: var(--bt-font);
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
}

@media (min-width: 901px) {
	.bt-masthead-inner {
		flex-wrap: nowrap;
	}
}

/* ——— Live / breaking strip ——— */
.bt-breaking {
	background: var(--bt-paper);
	border-bottom: 1px solid var(--bt-line);
	font-size: 0.9375rem;
}

.bt-breaking-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 0.65rem var(--bt-gutter);
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bt-live-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bbc-red);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.2rem 0.45rem;
	line-height: 1.2;
	flex-shrink: 0;
}

.bt-breaking a {
	color: var(--bt-ink);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.45;
}

.bt-breaking a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Breadcrumbs (current location) ——— */
.bt-breadcrumbs {
	background: var(--bt-paper);
	border-bottom: 1px solid var(--bt-line);
}

.bt-breadcrumbs-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 0.45rem var(--bt-gutter);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.bt-breadcrumbs a {
	color: var(--bt-ink-soft);
	font-weight: 600;
	text-decoration: none;
}

.bt-breadcrumbs a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

.bt-bc-home {
	color: var(--bt-ink-soft);
}

.bt-bc-current {
	color: var(--bt-ink);
	font-weight: 700;
}

.bt-bc-sep {
	margin: 0 0.4rem;
	color: var(--bt-muted);
	font-weight: 500;
}

/* ——— Layout ——— */
.bt-shell {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 1.75rem var(--bt-gutter) 3rem;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 1024px) {
	.bt-shell {
		grid-template-columns: 1fr;
	}
}

.bt-main {
	min-width: 0;
}

/* ——— Section titles ——— */
.bt-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--bt-ink);
}

.bt-section-title {
	font-family: var(--bt-font);
	font-size: 1.375rem;
	font-weight: 800;
	margin: 0;
	color: var(--bt-ink);
	letter-spacing: -0.02em;
}

.bt-section-more {
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--bt-ink);
}

.bt-section-more:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Hero ——— */
.bt-hero {
	margin-bottom: 2rem;
}

.bt-hero-card {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0;
	background: var(--bt-paper);
	border: 1px solid var(--bt-line);
	overflow: hidden;
	box-shadow: var(--bt-shadow);
}

@media (max-width: 900px) {
	.bt-hero-card {
		grid-template-columns: 1fr;
	}
}

.bt-hero-media {
	position: relative;
	min-height: 260px;
	background: #ddd;
}

.bt-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-hero-body {
	padding: clamp(1rem, 2.5vw, 1.75rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bt-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bbc-red);
	margin-bottom: 0.5rem;
}

.bt-hero-title {
	font-family: var(--bt-font);
	font-size: clamp(1.5rem, 2.8vw, 2.15rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.bt-hero-title a {
	color: var(--bt-ink);
	text-decoration: none;
}

.bt-hero-title a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

.bt-hero-excerpt {
	font-size: 1rem;
	color: var(--bt-muted);
	margin: 0 0 1rem;
	line-height: 1.5;
}

.bt-meta {
	font-size: 0.8125rem;
	color: var(--bt-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	align-items: center;
}

.bt-meta time {
	font-weight: 600;
	color: var(--bt-ink-soft);
}

/* ——— Card grid ——— */
.bt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

@media (max-width: 900px) {
	.bt-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.bt-grid {
		grid-template-columns: 1fr;
	}
}

.bt-card {
	border: 1px solid var(--bt-line);
	overflow: hidden;
	background: var(--bt-paper);
	transition: box-shadow 0.2s ease;
}

.bt-card:hover {
	box-shadow: var(--bt-shadow);
}

.bt-card-media {
	aspect-ratio: 16 / 10;
	background: #e4e4e4;
	overflow: hidden;
}

.bt-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-card-body {
	padding: 0.85rem 0.95rem 1rem;
}

.bt-card-kicker {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--bt-muted);
	margin-bottom: 0.35rem;
}

.bt-card-title {
	font-family: var(--bt-font);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.4rem;
	letter-spacing: -0.01em;
}

.bt-card-title a {
	color: var(--bt-ink);
	text-decoration: none;
}

.bt-card-title a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

.bt-card-excerpt {
	font-size: 0.875rem;
	color: var(--bt-muted);
	margin: 0;
	line-height: 1.45;
}

/* ——— List layout ——— */
.bt-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 2rem;
}

@media (max-width: 768px) {
	.bt-split {
		grid-template-columns: 1fr;
	}
}

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

.bt-list li {
	border-bottom: 1px solid var(--bt-line);
	padding: 0.85rem 0;
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 0.85rem;
	align-items: start;
}

.bt-list li:first-child {
	padding-top: 0;
}

.bt-list-thumb {
	width: 88px;
	height: 66px;
	object-fit: cover;
	background: #ddd;
}

.bt-list-title {
	font-family: var(--bt-font);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	line-height: 1.3;
}

.bt-list-title a {
	color: var(--bt-ink);
	text-decoration: none;
}

.bt-list-title a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Sidebar ——— */
.bt-sidebar .widget {
	border: 1px solid var(--bt-line);
	padding: 1.1rem;
	margin-bottom: 1.25rem;
	background: var(--bt-paper);
}

.bt-sidebar .widget-title {
	font-family: var(--bt-font);
	font-size: 1.0625rem;
	font-weight: 800;
	margin: 0 0 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--bt-ink);
}

.bt-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bt-sidebar ul li {
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--bt-line);
	font-size: 0.9375rem;
}

.bt-sidebar ul li:last-child {
	border-bottom: 0;
}

.bt-sidebar a {
	color: var(--bt-ink-soft);
	text-decoration: none;
	font-weight: 500;
}

.bt-sidebar a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Single post ——— */
.bt-article-header {
	margin-bottom: 1.25rem;
}

.bt-article-title {
	font-family: var(--bt-font);
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 0.85rem;
	letter-spacing: -0.02em;
	color: var(--bt-ink);
}

.bt-featured-image {
	margin: 0 0 1.75rem;
	overflow: hidden;
	border: 1px solid var(--bt-line);
	background: var(--bt-paper);
}

.bt-entry-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--bt-ink-soft);
	max-width: 700px;
}

.bt-entry-content > *:first-child {
	margin-top: 0;
}

.bt-entry-content p {
	margin: 0 0 1.15em;
}

.bt-entry-content h2,
.bt-entry-content h3 {
	font-family: var(--bt-font);
	font-weight: 800;
	line-height: 1.2;
	margin: 1.6em 0 0.55em;
	color: var(--bt-ink);
}

.bt-entry-content blockquote {
	margin: 1.35em 0;
	padding: 0.85rem 0.85rem 0.85rem 1rem;
	border: 1px solid var(--bt-line);
	border-left: 4px solid var(--bbc-red);
	font-style: normal;
	color: var(--bt-muted);
	background: var(--bt-paper);
}

.bt-entry-content a {
	color: var(--bbc-red);
	font-weight: 600;
	text-decoration: underline;
}

.bt-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bt-line);
	font-size: 0.9375rem;
}

.bt-post-nav a {
	color: var(--bt-ink);
	font-weight: 600;
	text-decoration: none;
}

.bt-post-nav a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* ——— Archive / page ——— */
.bt-page-header {
	margin-bottom: 1.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--bt-ink);
}

.bt-page-title {
	font-family: var(--bt-font);
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.bt-archive-description {
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	color: var(--bt-muted);
	line-height: 1.5;
}

/* ——— Pagination ——— */
.navigation.pagination.bt-pagination,
nav.bt-pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
}

.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--bt-line-strong);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--bt-ink);
	background: var(--bt-paper);
}

.navigation.pagination a.page-numbers:hover {
	border-color: var(--bbc-red);
	color: var(--bbc-red);
}

.navigation.pagination .page-numbers.current {
	background: var(--bbc-red);
	color: #fff;
	border-color: var(--bbc-red);
}

/* ——— Footer (BBC.com-style) ——— */
.bt-footer {
	margin-top: 3rem;
	background: #fff;
	color: var(--bt-ink);
	border-top: 2px solid var(--bbc-border);
}

.bt-footer-surface {
	background: #fff;
	border-bottom: 1px solid var(--bt-line);
}

.bt-footer-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 1.5rem var(--bt-gutter) 1.75rem;
}

.bt-footer-org {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
}

.bt-footer-logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.bt-footer-logo .custom-logo {
	max-height: 40px;
	width: auto;
}

.bt-footer-logo-link {
	display: inline-block;
	line-height: 0;
}

.bt-footer-logo-img {
	max-height: 40px;
	width: auto;
}

.bt-footer-org-name {
	margin: 0.25rem 0 0;
	font-family: var(--bt-font);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.2;
	color: var(--bt-ink);
	letter-spacing: -0.02em;
}

.bt-footer-tagline {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--bt-muted);
	max-width: 36rem;
}

/* Explore — primary footer nav (Home, News, …) */
.bt-footer-explore {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bt-line);
}

.bt-footer-explore-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
	justify-content: flex-start;
}

.bt-footer-explore-list .menu-item {
	margin: 0;
}

.bt-footer-explore-list a {
	color: var(--bt-ink);
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
}

.bt-footer-explore-list a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* Languages accordion */
.bt-footer-langs {
	margin-top: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--bt-line);
}

.bt-footer-langs-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100%;
	padding: 0.85rem 0;
	border: 0;
	background: transparent;
	font-family: var(--bt-font);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--bt-ink);
	cursor: pointer;
	text-align: left;
}

.bt-footer-langs-toggle:hover {
	color: var(--bbc-red);
}

.bt-footer-langs-chevron {
	display: flex;
	align-items: center;
	transition: transform 0.2s ease;
	flex-shrink: 0;
	margin-left: 0.75rem;
}

.bt-footer-langs-toggle.is-open .bt-footer-langs-chevron {
	transform: rotate(180deg);
}

.bt-footer-langs-panel {
	padding: 0 0 1rem;
}

.bt-footer-langs-heading {
	font-size: 1rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
	color: var(--bt-ink);
}

.bt-footer-langs-sub {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	color: var(--bt-muted);
}

.bt-footer-langs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.5rem 1rem;
}

.bt-footer-langs-list a {
	color: var(--bt-ink);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.bt-footer-langs-list a:hover {
	color: var(--bbc-red);
	text-decoration: underline;
}

/* Follow row */
.bt-footer-follow {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bt-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.bt-footer-follow-label {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--bt-ink);
}

.bt-footer-follow-icons {
	flex: 1;
	min-width: 0;
}

.bt-footer-follow-icons .bt-social--follow {
	gap: 0.35rem;
}

.bt-footer-follow-icons .bt-social--follow .bt-social-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--bt-line-strong);
	background: #fff;
	color: var(--bt-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.bt-footer-follow-icons .bt-social--follow .bt-social-link:hover {
	background: #f5f5f5;
	border-color: var(--bt-ink);
	color: var(--bt-ink);
}

.bt-footer-follow-icons .bt-social--follow .bt-social-link svg {
	width: 18px;
	height: 18px;
}

/* Copyright */
.bt-footer-copy-block {
	background: #ececec;
	border-top: 1px solid var(--bt-line);
}

.bt-footer-copy-inner {
	max-width: var(--bt-max);
	margin: 0 auto;
	padding: 1rem var(--bt-gutter);
}

.bt-footer-copy-text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #545454;
}

.bt-footer-copy-text a {
	color: var(--bt-ink);
	font-weight: 600;
	text-decoration: underline;
}

/* ——— 404 ——— */
.bt-404 {
	text-align: center;
	padding: 2.5rem 0;
}

.bt-404 h1 {
	font-family: var(--bt-font);
	font-size: 2.25rem;
	font-weight: 800;
}

/* ——— Comments ——— */
.comments-area {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bt-line);
}

/* ——— Mobile ——— */
@media (max-width: 900px) {
	.bt-topbar {
		border-bottom: 1px solid var(--bt-line-strong);
		overflow: hidden;
	}

	.bt-topbar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.35rem;
		padding-top: 0.4rem;
		padding-bottom: 0.4rem;
	}

	.bt-topbar-start {
		flex: 0 0 auto;
	}

	/* Second row: tight stack; no extra inner border (one rule line is .bt-topbar border-bottom). */
	.bt-topbar-end {
		flex: 0 0 auto;
		width: 100%;
		justify-content: flex-start;
		padding-top: 0.25rem;
		margin-top: 0;
		border-top: 0;
		flex-wrap: wrap;
		background: transparent;
	}

	.bt-topbar-end-links {
		flex: 0 0 auto;
		width: 100%;
		justify-content: flex-start;
	}

	.bt-topbar-social {
		flex: 0 0 auto;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
		width: 100%;
		justify-content: flex-end;
	}

	.bt-masthead {
		margin: 0;
		padding: 0;
		border-top: 0;
	}

	.bt-masthead-inner {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		align-items: start;
		column-gap: 1rem;
		row-gap: 0.65rem;
		padding-top: 0.65rem;
		padding-bottom: 0.65rem;
	}

	.bt-brand {
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
	}

	.bt-search-form {
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
		width: 100%;
		margin-left: 0;
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.bt-menu-toggle {
		display: block;
		grid-row: 1;
		grid-column: 2;
		align-self: center;
	}

	.bt-nav-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.bt-primary-nav {
		display: none;
		width: 100%;
	}

	.bt-primary-nav.is-open {
		display: block;
		padding-bottom: 0.5rem;
	}

	.bt-primary-nav ul {
		flex-direction: column;
	}

	.bt-primary-nav a {
		border-bottom: 1px solid var(--bt-line);
		border-left: 3px solid transparent;
		margin-bottom: 0;
	}

	.bt-primary-nav a:hover,
	.bt-primary-nav .current-menu-item > a {
		border-bottom-color: var(--bt-line);
		border-left-color: var(--bbc-red);
		padding-left: calc(0.9rem - 3px);
	}
}

body.admin-bar .bt-masthead {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .bt-masthead {
		top: 46px;
	}
}
