/*
Theme Name: Beed News Express Child
Description: Responsive Marathi news presentation for Beed News Express.
Template: newspack-theme
Version: 1.1.0
Text Domain: beed-news-express-child
*/

:root {
	--bne-red: #b51f2b;
	--bne-red-dark: #8e1420;
	--bne-ink: #202725;
	--bne-navy: #111b25;
	--bne-muted: #58615e;
	--bne-line: #d9dfdc;
	--bne-green: #15803d;
	--bne-surface: #f5f7f6;
	--bne-radius: 12px;
	--bne-shadow: 0 10px 30px rgb(17 27 37 / 10%);
}

/* Consistent final geometry and typography. */
.bne-hero-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
	min-height: 0 !important;
}

.bne-hero-image {
	min-height: 0 !important;
	aspect-ratio: 16 / 9;
}

.bne-hero-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.bne-hero-copy {
	min-height: 180px;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.bne-hero-copy h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.65rem);
	line-height: 1.5;
}

body.single-post h1.entry-title,
body.page h1.entry-title,
body.archive h1.page-title,
body.search-results h1.page-title,
body.blog h1.page-title,
body.archive .page-header .page-description {
	font-size: clamp(1.9rem, 3.2vw, 2.65rem) !important;
	line-height: 1.35 !important;
	text-align: left !important;
}

body.archive .page-header,
body.search-results .page-header,
body.blog .page-header {
	margin: 0 0 1.5rem !important;
	padding: 1.25rem 0 1rem !important;
}

body.archive .site-content,
body.search-results .site-content,
body.blog .site-content {
	padding-top: 1rem !important;
}

.bne-footer-directory__grid {
	align-items: start;
}

.bne-footer-directory__grid > * {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.bne-footer-directory h2,
.bne-footer-directory .bne-footer-name {
	min-height: 2rem;
	margin: 0 0 0.85rem !important;
	line-height: 1.45;
}

.bne-footer-directory li,
.bne-footer-directory .bne-contact-links > * {
	margin: 0 0 0.6rem;
	line-height: 1.6;
}

.bne-footer-directory .bne-contact-links a {
	display: flex;
	width: fit-content;
	margin: 0 0 0.55rem;
}

@media (max-width: 781px) {
	html,
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	.site-content .wrapper,
	.site-main,
	.site-main > article,
	.entry-header,
	.entry-content {
		min-width: 0;
		max-width: 100%;
	}

	.home .entry-content > .bne-breaking-news,
	.home .entry-content > .bne-discovery,
	.home .entry-content > .bne-latest-news,
	.home .entry-content > .bne-home-category,
	.home .entry-content > .bne-video-news {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.bne-hero-copy {
		min-height: 0;
	}

	.bne-trending ol {
		display: block;
		overflow: visible;
	}

	.bne-trending li {
		width: 100%;
		padding-right: 0;
	}

	body.single-post h1.entry-title,
	body.page h1.entry-title,
	body.archive h1.page-title,
	body.search-results h1.page-title,
	body.blog h1.page-title,
	body.archive .page-header .page-description {
		font-size: 1.75rem !important;
		line-height: 1.45 !important;
	}
}

/* Reference-inspired lead story: restrained headline panel and complete media. */
.bne-hero-copy h3,
.bne-hero-copy h3 a {
	max-width: none !important;
	white-space: normal !important;
	text-wrap: pretty;
}

.bne-hero-copy h3 {
	margin: 0.65rem 0 !important;
	font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
	line-height: 1.45 !important;
}

/* Single article hierarchy: centered identity/media, left-aligned reading text. */
body.single-post .featured-image-above .entry-header {
	text-align: center !important;
}

body.single-post .entry-header .cat-links {
	justify-content: center;
}

body.single-post h1.entry-title {
	max-width: 24ch;
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: center !important;
	text-wrap: balance;
}

body.single-post .entry-header .entry-subhead {
	justify-content: center !important;
}

body.single-post .entry-header .entry-meta {
	justify-content: center !important;
}

body.single-post .featured-image-above .post-thumbnail,
body.single-post .featured-image-above .post-thumbnail > a {
	margin-right: auto !important;
	margin-left: auto !important;
}

body.single-post .featured-image-above .post-thumbnail img {
	object-fit: contain !important;
	object-position: center !important;
}

body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content blockquote,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
	text-align: left !important;
}

body.single-post .entry-content figure,
body.single-post .entry-content img {
	margin-right: auto !important;
	margin-left: auto !important;
}

body.single-post .entry-content figcaption {
	text-align: center !important;
}

@media (max-width: 781px) {
	body.single-post h1.entry-title {
		width: 100%;
		max-width: 100%;
		font-size: clamp(1.5rem, 7vw, 1.85rem) !important;
		line-height: 1.45 !important;
		white-space: normal !important;
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	body.single-post .entry-header .entry-subhead,
	body.single-post .entry-header .entry-meta {
		width: 100%;
		max-width: 100%;
		justify-content: center !important;
		white-space: normal;
	}
}

/* Final requested slider tone and article reading alignment. */
.bne-hero-copy {
	background: rgb(5 10 14 / 88%) !important;
}

body.single-post .entry-content,
body.single-post .entry-content > *,
body.single-post .entry-content :is(p, div, section, ul, ol, li, blockquote, h2, h3, h4, h5, h6) {
	text-align: left !important;
}

body.single-post .entry-content .has-text-align-center,
body.single-post .entry-content .has-text-align-right {
	text-align: left !important;
}

body {
	color: var(--bne-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title {
	margin-block-start: 0;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: left;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.entry-content h2 {
	font-size: clamp(1.35rem, 2.8vw, 1.8rem);
	margin-block: 1.75em 0.65em;
}

.entry-content h3 {
	font-size: clamp(1.2rem, 2.3vw, 1.5rem);
	margin-block: 1.5em 0.6em;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	margin-block: 1.35em 0.55em;
}

.site-header .site-branding {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	text-align: left;
	min-width: 0;
}

.site-header .middle-header-contain > .wrapper,
.site-header .bottom-header-contain > .wrapper {
	align-items: center;
}

.site-header .middle-header-contain {
	padding-block: 0.75rem;
}

.site-header .custom-logo {
	width: auto !important;
	height: auto !important;
	max-width: min(28vw, 220px) !important;
	max-height: 96px !important;
	object-fit: contain;
}

.site-header .site-identity {
	flex: 0 1 auto;
	text-align: left;
}

.site-header .site-title {
	font-size: 1.4rem;
	line-height: 1.4;
	margin: 0;
}

.site-header .site-description {
	line-height: 1.5;
	margin: 0.15rem 0 0;
	max-width: 52ch;
	color: var(--bne-muted);
	text-align: left;
}

.main-navigation .main-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.15rem 0.5rem;
}

.main-navigation .main-menu > li > a {
	min-height: 44px;
	padding: 0.65rem 0.5rem;
	line-height: 1.5;
}

.home .wpnbha .post-thumbnail {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	min-height: 0 !important;
	align-self: flex-start;
	aspect-ratio: 4 / 3;
	margin: 0 0 0.5rem;
	overflow: hidden;
	background: #f0f2f1;
}

.home .wpnbha .post-thumbnail > a {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.home .wpnbha .post-thumbnail img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center;
}

.home .bne-story-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #f0f2f1;
}

.bne-home-category {
	margin-block: 2rem;
	padding-block: 1rem;
	border-top: 1px solid var(--bne-line);
}

.bne-home-category > header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bne-home-category h2 {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.5;
}

.bne-home-category h2 a,
.bne-category-more {
	color: inherit;
	text-decoration: none;
}

.bne-category-more {
	flex: 0 0 auto;
	font-weight: 700;
}

.bne-home-category .bne-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.site-footer .custom-logo {
	width: auto !important;
	height: auto !important;
	max-width: 180px !important;
	max-height: 72px !important;
	object-fit: contain;
}

.site-footer .site-info,
.site-footer .site-branding {
	text-align: left;
}

.site-footer .site-branding .wrapper,
.site-footer .site-info-contain {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.site-footer .site-description,
.site-footer .site-title,
.site-footer p {
	line-height: 1.6;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
	font-size: 1.1rem;
	line-height: 1.5;
}

.bne-sitewide-ad {
	width: 100%;
	padding: 0.85rem 1rem;
	border-block: 1px solid var(--bne-line);
	background: #f7f8f7;
}

.main-navigation .bne-dynamic-category > a {
	font-weight: 700;
}

.bne-sitewide-ad-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: min(100%, 1200px);
	min-height: 92px;
	margin-inline: auto;
	padding: 1.25rem 1rem 0.75rem;
	background: #fff;
	text-align: left;
}

.bne-sitewide-ad-inner > a {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

.bne-sitewide-ad img {
	flex: 0 0 auto;
	width: min(180px, 28vw);
	height: 72px;
	object-fit: contain;
}

.bne-sitewide-ad-label {
	position: absolute;
	top: 0.25rem;
	left: 1rem;
	color: var(--bne-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bne-sitewide-ad-title,
.bne-sitewide-ad-copy p {
	margin: 0;
	line-height: 1.5;
}

.bne-sitewide-ad-title {
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	font-weight: 700;
}

.bne-sitewide-ad-copy p + p {
	margin-top: 0.25rem;
}

.bne-footer-links {
	border-top: 1px solid var(--bne-line);
	margin: 2rem auto 0;
	max-width: none;
	padding: 1rem max(1.25rem, calc((100vw - 1200px) / 2));
	background: #f7f8f7;
}

.bne-footer-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bne-footer-links a {
	color: inherit;
	text-decoration: none;
}

.bne-footer-links a:hover {
	color: var(--bne-red);
}

.single-post .site-branding .custom-logo {
	max-width: min(28vw, 220px) !important;
	max-height: 96px !important;
	width: auto;
	object-fit: contain;
}

.single-post .site-header .site-branding {
	min-height: 86px;
}

.single-post .featured-image-above {
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.single-post .featured-image-above .entry-header,
.single-post .main-content,
.single-post .entry-footer,
.single-post .author-bio,
.single-post .post-navigation {
	width: min(calc(100% - 2rem), 820px);
	margin-inline: auto;
}

.single-post .featured-image-above .entry-header {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	text-align: left;
}

.single-post .entry-header .cat-links {
	display: inline-flex;
	margin-bottom: 0.65rem;
	color: var(--bne-red);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.single-post .entry-header .entry-subhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--bne-line);
}

.single-post .entry-header .entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	color: var(--bne-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.single-post .entry-header .author-avatar img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.single-post .entry-title,
.single-post .entry-content h2,
.single-post .entry-content h3 {
	line-height: 1.45;
	letter-spacing: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

.single-post .entry-title {
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	margin-bottom: 0;
}

.single-post .entry-content {
	font-size: 1.15rem;
	line-height: 1.9;
}

.single-post .entry-content > * {
	max-width: 100%;
}

.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote {
	margin-block: 0 1.25em;
}

.single-post .featured-image-above .post-thumbnail {
	position: relative;
	width: min(90vw, 960px) !important;
	max-width: 960px !important;
	aspect-ratio: 16 / 9;
	margin: 0 auto clamp(1.5rem, 4vw, 2.5rem) !important;
	overflow: hidden;
	background: #f0f2f1;
}

.single-post .featured-image-above .post-thumbnail > a {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.single-post .featured-image-above .post-thumbnail img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center;
}

.bne-breaking-news,
.bne-top-stories,
.bne-video-news {
	margin-block: 1.5rem;
	padding-block: 1rem;
	border-block: 1px solid var(--bne-line);
}

/* Homepage discovery system. Content is server rendered; JavaScript only enhances navigation. */
.home .entry-content > .bne-breaking-news,
.home .entry-content > .bne-discovery,
.home .entry-content > .bne-latest-news,
.home .entry-content > .bne-home-category,
.home .entry-content > .bne-video-news {
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-inline: auto;
}

.bne-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--bne-ink);
}

.bne-section-heading h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.35;
}

.bne-section-heading > a {
	color: var(--bne-red);
	font-weight: 800;
	text-decoration: none;
}

.bne-breaking-news {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: stretch;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--bne-navy);
	overflow: hidden;
}

.bne-breaking-news h2 {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--bne-red);
	color: #fff;
	font-size: 0.92rem;
	white-space: nowrap;
}

.bne-breaking-viewport {
	min-width: 0;
	overflow: hidden;
}

.bne-breaking-news ul {
	display: flex;
	width: max-content;
	max-width: none;
	flex-wrap: nowrap;
	gap: 0;
	animation: bne-ticker 38s linear infinite;
}

.bne-breaking-news:hover ul,
.bne-breaking-news:focus-within ul {
	animation-play-state: paused;
}

.bne-breaking-news li {
	display: flex;
	align-items: center;
	padding: 0.75rem 1.25rem;
	color: #fff;
	white-space: nowrap;
}

.bne-breaking-news li + li::before {
	content: "•";
	margin-right: 1.25rem;
	color: #f6adad;
}

@keyframes bne-ticker {
	from { transform: translateX(8%); }
	to { transform: translateX(-100%); }
}

.bne-discovery {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 0.82fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	margin-block: clamp(1.5rem, 4vw, 3rem);
}

.bne-discovery--single {
	grid-template-columns: 1fr;
}

.bne-top-stories {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.bne-top-stories > .bne-section-heading {
	margin-bottom: 1rem;
}

.bne-slider-controls {
	display: flex !important;
	gap: 0.4rem;
}

.bne-slider-controls button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--bne-line);
	border-radius: 50%;
	background: #fff;
	color: var(--bne-ink);
	font-size: 1.5rem;
	cursor: pointer;
}

.bne-slider-controls button:hover,
.bne-slider-controls button:focus-visible {
	border-color: var(--bne-red);
	background: var(--bne-red);
	color: #fff;
}

.bne-hero-track {
	display: flex;
	overflow: hidden;
	scroll-snap-type: x mandatory;
	border-radius: var(--bne-radius);
	background: var(--bne-navy);
	box-shadow: var(--bne-shadow);
}

.bne-hero-story {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	min-height: clamp(360px, 48vw, 540px);
	scroll-snap-align: start;
	color: #fff;
}

.bne-hero-image,
.bne-hero-image::after,
.bne-hero-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bne-hero-image img {
	object-fit: cover;
}

.bne-hero-image::after {
	content: "";
	background: linear-gradient(180deg, transparent 25%, rgb(5 10 14 / 92%) 100%);
}

.bne-hero-copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: linear-gradient(90deg, rgb(5 10 14 / 94%) 0%, rgb(5 10 14 / 86%) 72%, rgb(5 10 14 / 45%) 100%);
}

.bne-hero-copy h3 {
	max-width: 30ch;
	margin: 0.5rem 0;
	font-size: clamp(1.4rem, 2.15vw, 2rem);
	line-height: 1.42;
	text-shadow: 0 2px 8px rgb(0 0 0 / 75%);
}

.bne-hero-copy h3 a {
	color: #fff;
	text-decoration: none;
}

.bne-hero-copy p {
	max-width: 64ch;
	margin: 0.5rem 0;
	color: rgb(255 255 255 / 88%);
	font-size: 0.95rem;
	line-height: 1.65;
}

.bne-hero-copy time,
.bne-story-card time,
.bne-trending time {
	display: block;
	color: var(--bne-muted);
	font-size: 0.78rem;
}

.bne-hero-copy time {
	color: rgb(255 255 255 / 72%);
}

.bne-story-category {
	display: inline-block;
	color: var(--bne-red);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bne-hero-copy .bne-story-category {
	padding: 0.3rem 0.55rem;
	border-radius: 4px;
	background: var(--bne-red);
	color: #fff;
}

.bne-slider-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding-top: 0.9rem;
}

.bne-slider-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #bdc4c1;
	cursor: pointer;
}

.bne-slider-dots button[aria-current="true"] {
	width: 28px;
	border-radius: 9px;
	background: var(--bne-red);
}

.bne-trending {
	align-self: start;
	padding: 1.25rem;
	border-top: 4px solid var(--bne-red);
	border-radius: 0 0 var(--bne-radius) var(--bne-radius);
	background: var(--bne-surface);
}

.bne-trending h2 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}

.bne-trending ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bne-trending;
}

.bne-trending li {
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 0.2rem 0.75rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--bne-line);
	counter-increment: bne-trending;
}

.bne-trending li::before {
	grid-row: 1 / 3;
	content: counter(bne-trending, decimal-leading-zero);
	color: var(--bne-red);
	font-size: 1.2rem;
	font-weight: 900;
}

.bne-trending a {
	color: var(--bne-ink);
	font-weight: 800;
	line-height: 1.45;
	text-decoration: none;
}

.bne-latest-news {
	margin-block: clamp(2rem, 5vw, 4rem);
}

.bne-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.bne-latest-grid .bne-story-card {
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bne-line);
}

.bne-latest-grid .bne-story-card img {
	border-radius: 8px;
	transition: transform 180ms ease;
}

.bne-latest-grid .bne-story-card a:hover img {
	transform: scale(1.018);
}

.bne-latest-grid .bne-story-card h3 {
	margin: 0.35rem 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.bne-footer-directory {
	padding: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - 1200px) / 2));
	background: var(--bne-navy);
	color: rgb(255 255 255 / 75%);
}

.bne-footer-directory__grid {
	display: grid;
	grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}

.bne-footer-directory .bne-footer-links,
.bne-footer-directory .bne-footer-categories,
.bne-footer-directory .bne-footer-connect {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.bne-footer-directory h2,
.bne-footer-name {
	margin: 0 0 0.9rem;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 900;
}

.bne-footer-name {
	font-size: 1.35rem;
}

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

.bne-footer-directory li + li {
	margin-top: 0.55rem;
}

.bne-footer-directory a {
	color: rgb(255 255 255 / 82%);
	text-decoration: none;
}

.bne-footer-directory a:hover,
.bne-footer-directory a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.bne-footer-directory .bne-social-links a,
.bne-footer-directory .bne-contact-whatsapp {
	border-color: rgb(255 255 255 / 25%);
	color: #fff;
}

.bne-footer-directory .bne-social-links {
	margin: 0 0 0.75rem;
}

.bne-footer-directory .bne-social-links a,
.bne-footer-directory .bne-contact-links a {
	min-height: 38px;
	padding: 0.4rem 0.65rem;
	font-size: 0.88rem;
}

.bne-footer-directory .bne-contact-links,
.bne-footer-directory .bne-contact-links .menu {
	margin: 0;
	padding: 0;
	background: transparent;
}

.bne-footer-directory .bne-contact-links p {
	font-size: 0.9rem;
}

.site-footer {
	background: #0a1118;
	color: rgb(255 255 255 / 72%);
}

.site-footer a,
.site-footer .site-title,
.site-footer .site-description {
	color: inherit;
}

.bne-breaking-news h2,
.bne-top-stories h2,
.bne-video-news h2 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	line-height: 1.5;
}

.bne-breaking-news {
	border-inline-start: 4px solid var(--bne-red);
	padding-inline: 1rem;
}

.bne-breaking-news ul {
	display: flex;
	gap: 1rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.bne-breaking-news li {
	min-width: 0;
	max-width: 100%;
}

.bne-breaking-news a,
.bne-story-card a,
.bne-video-news a {
	color: inherit;
	text-decoration: none;
}

.bne-breaking-news a:hover,
.bne-story-card a:hover h3,
.bne-video-news a:hover {
	color: var(--bne-red);
}

.bne-story-track {
	display: grid;
	grid-auto-columns: minmax(220px, 1fr);
	grid-auto-flow: column;
	gap: 1rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	padding-bottom: 0.75rem;
}

.bne-story-card {
	min-width: 0;
	scroll-snap-align: start;
}

.bne-story-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10.5;
	object-fit: cover;
}

.bne-story-card h3,
.bne-video-news h3 {
	font-size: 1.1rem;
	line-height: 1.5;
}

.bne-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.25rem;
}

.bne-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #171b19;
}

.bne-video-frame iframe,
.bne-video-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bne-article-video {
	margin-block: 2rem;
}

.bne-article-video h2 {
	font-size: clamp(1.25rem, 4vw, 1.6rem);
	line-height: 1.5;
}

.bne-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block: 1rem;
}

.bne-social-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--bne-line);
	border-radius: 4px;
	color: var(--bne-ink);
	font-weight: 700;
	text-decoration: none;
}

.bne-social-links a:hover {
	border-color: var(--bne-red);
	color: var(--bne-red);
}

.bne-article-share {
	display: block;
	margin-block: 2.5rem 1rem;
	padding: 1.25rem;
	border: 1px solid var(--bne-line);
	border-radius: 8px;
	background: #f7f8f7;
}

.bne-article-share-title {
	margin: 0 0 0.85rem !important;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
}

.bne-article-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.bne-article-share a,
.bne-whatsapp-float,
.bne-whatsapp-channel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.6rem 0.9rem;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
}

.bne-article-share a {
	border: 1px solid var(--bne-line);
	background: #fff;
	color: var(--bne-ink);
}

.bne-article-share .bne-share-whatsapp,
.bne-whatsapp-float,
.bne-whatsapp-channel {
	background: var(--bne-green);
	color: #fff;
}

.bne-article-share .bne-share-facebook {
	border-color: #1877f2;
	background: #1877f2;
	color: #fff;
}

.bne-article-share .bne-share-x {
	border-color: #111;
	background: #111;
	color: #fff;
}

.bne-share-mark {
	display: inline-grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 1px solid rgb(255 255 255 / 55%);
	border-radius: 50%;
	font-size: 0.8rem;
	font-weight: 900;
}

.single-post .post-navigation {
	margin-block: 2rem;
	padding-block: 1.25rem;
	border-block: 1px solid var(--bne-line);
}

.single-post .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.single-post .post-navigation a {
	display: block;
	color: var(--bne-ink);
	text-decoration: none;
}

.single-post .post-navigation .meta-nav {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--bne-muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.site-footer {
	margin-top: 0;
}

.site-footer .footer-branding,
.site-footer .footer-widgets,
.site-footer .site-info {
	padding-block: clamp(1rem, 3vw, 1.75rem);
}

.site-footer .footer-widgets .widget {
	margin-bottom: 1rem;
}

.bne-whatsapp-float {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99;
	box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
}

.bne-whatsapp-float:focus-visible,
.bne-whatsapp-channel:focus-visible,
.bne-article-share a:focus-visible,
.bne-breaking-news a:focus-visible,
.bne-story-track:focus-visible {
	outline: 3px solid #f5b700;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.site-header .site-branding {
		gap: 0.6rem;
	}

	.site-header .custom-logo {
		max-width: min(42vw, 150px) !important;
		max-height: 75px !important;
	}

	.site-header .site-title {
		font-size: 1rem;
		line-height: 1.4;
	}

	.site-header .site-description {
		font-size: 0.85rem;
	}

	.main-navigation .main-menu > li > a {
		min-height: 44px;
	}

	.single-post .site-branding .custom-logo {
		max-width: min(42vw, 150px) !important;
		max-height: 75px !important;
	}

	.single-post .site-header .site-branding {
		min-height: 64px;
	}

	.single-post .entry-title {
		font-size: 1.65rem;
	}

	.single-post .entry-content {
		font-size: 1.05rem;
		line-height: 1.85;
	}

	.bne-breaking-news ul {
		display: flex;
	}

	.bne-home-category .bne-category-grid {
		grid-template-columns: 1fr;
	}

	.bne-breaking-news li + li {
		margin-top: 0.5rem;
	}

	.bne-whatsapp-float {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.single-post .entry-header .entry-subhead,
	.bne-article-share-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.bne-article-share a {
		width: 100%;
	}

	.single-post .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.bne-sitewide-ad-inner,
	.bne-sitewide-ad-inner > a {
		align-items: flex-start;
		flex-direction: column;
	}

	.bne-sitewide-ad img {
		width: 100%;
		height: auto;
		max-height: 140px;
	}

	.site-footer .site-branding .wrapper,
	.site-footer .site-info-contain {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.bne-breaking-news {
		grid-template-columns: 1fr;
	}

	.bne-breaking-news h2 {
		justify-content: center;
		padding-block: 0.55rem;
	}

	.bne-breaking-news li + li {
		margin-top: 0;
	}

	.bne-discovery,
	.bne-footer-directory__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bne-hero-story {
		min-height: 420px;
	}

	.bne-hero-copy p {
		display: none;
	}

	.bne-hero-copy h3 {
		font-size: clamp(1.2rem, 6.2vw, 1.55rem);
		line-height: 1.4;
	}

	.bne-hero-copy {
		background: rgb(5 10 14 / 90%);
	}

	.bne-trending ol {
		display: grid;
		grid-auto-columns: minmax(250px, 85%);
		grid-auto-flow: column;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.bne-trending li {
		scroll-snap-align: start;
		padding-right: 1rem;
	}

	.bne-latest-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 601px) and (max-width: 1023px) {
	.bne-home-category .bne-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.bne-discovery {
		grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
	}

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

@media (prefers-reduced-motion: reduce) {
	.bne-breaking-news ul {
		width: auto;
		flex-wrap: wrap;
		animation: none;
	}

	.bne-hero-track {
		scroll-behavior: auto;
	}

	.bne-latest-grid .bne-story-card img {
		transition: none;
	}
}

/* Site-wide presentation normalization. Keep these overrides last. */
html,
body,
button,
input,
select,
textarea {
	font-family: "Noto Sans Devanagari", "Mukta", "Kohinoor Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

#page,
#content,
.site-content,
.site-main,
.entry-content,
.entry-content > * {
	min-width: 0;
	max-width: 100%;
}

.entry-content a,
.site-footer a,
.bne-footer-directory a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

body {
	font-size: 16px;
	line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.main-navigation a {
	font-family: inherit;
}

.site-header {
	border-top: 4px solid var(--bne-red);
	background: #fff;
}

.site-header .middle-header-contain {
	padding-block: 0 !important;
}

.site-header .middle-header-contain > .wrapper {
	min-height: 104px;
	padding-block: 0.75rem;
}

.site-header .site-branding {
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.site-header .custom-logo,
.single-post .site-branding .custom-logo {
	width: auto !important;
	height: 76px !important;
	max-width: 190px !important;
	max-height: 76px !important;
	object-fit: contain !important;
}

.site-header .site-title {
	display: none;
}

.site-header .site-description {
	max-width: 30ch;
	margin: 0;
	color: #4d5754;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.55;
}

.site-header .bottom-header-contain {
	border: 0;
	background: var(--bne-navy);
}

.site-header .bottom-header-contain > .wrapper {
	min-height: 48px;
}

.main-navigation {
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.main-navigation .main-menu {
	width: max-content;
	flex-wrap: nowrap;
	gap: 0;
}

.main-navigation .main-menu > li > a {
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.main-navigation .main-menu > li > a:hover,
.main-navigation .current-menu-item > a {
	background: var(--bne-red);
	color: #fff;
}

.site-header .header-search-contain button,
.site-header .header-search-contain svg {
	color: #fff;
	fill: currentcolor;
}

.entry-content img,
.archive img,
.search-results img,
.blog img,
.bne-story-card img,
.bne-hero-image img,
.single-post .post-thumbnail img {
	max-width: 100%;
	height: auto;
	object-fit: contain !important;
	object-position: center;
}

.bne-hero-image {
	background: #090f15;
}

.bne-hero-copy {
	background: rgb(5 10 14 / 76%);
	backdrop-filter: blur(2px);
}

.bne-hero-copy h3 {
	font-size: clamp(1.3rem, 1.85vw, 1.8rem);
	line-height: 1.5;
}

.bne-social-icon {
	flex: 0 0 auto;
	fill: currentcolor;
}

.bne-article-share a {
	gap: 0.5rem;
}

.bne-whatsapp-float {
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	gap: 0.5rem;
	max-width: calc(100vw - 2rem);
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 6px 22px rgb(0 0 0 / 28%);
}

.bne-whatsapp-channel {
	position: static;
}

.bne-footer-directory {
	clear: both;
}

.bne-footer-directory__grid > * {
	min-width: 0;
}

.bne-footer-directory .bne-contact-links a {
	display: inline-flex;
	margin: 0.25rem 0.35rem 0.25rem 0;
}

@media (max-width: 781px) {
	.home .entry-content > .bne-breaking-news,
	.home .entry-content > .bne-discovery,
	.home .entry-content > .bne-latest-news,
	.home .entry-content > .bne-home-category,
	.home .entry-content > .bne-video-news {
		width: calc(100% - 2rem);
		margin-right: auto;
		margin-left: auto;
	}

	.site-header .middle-header-contain > .wrapper {
		min-height: 78px;
		padding: 0.5rem 1rem;
	}

	.site-header .custom-logo,
	.single-post .site-branding .custom-logo {
		height: 60px !important;
		max-width: 135px !important;
		max-height: 60px !important;
	}

	.site-header .site-description {
		display: block !important;
		max-width: 18ch;
		font-size: 0.76rem;
		line-height: 1.45;
	}

	.site-header .site-identity {
		display: block !important;
		min-width: 0;
	}

	.site-header .mobile-menu-toggle {
		margin-left: auto;
	}

	.bne-hero-story {
		min-height: 360px;
	}

	.bne-hero-copy {
		padding: 1rem;
		background: rgb(5 10 14 / 82%);
		backdrop-filter: none;
	}

	.bne-hero-copy h3 {
		font-size: clamp(1.05rem, 5.4vw, 1.35rem);
		line-height: 1.5;
		max-width: 100%;
		text-wrap: wrap;
		overflow-wrap: anywhere;
	}

	.bne-whatsapp-float {
		width: 54px;
		height: 54px;
		min-height: 54px;
		padding: 0;
	}

	.bne-whatsapp-float .bne-social-icon {
		width: 27px;
		height: 27px;
	}

	.bne-whatsapp-float > span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.entry-content {
		overflow-wrap: break-word;
	}

	.entry-content p,
	.page .entry-content p {
		font-size: 1rem;
		line-height: 1.85;
	}
}

/* Final layout system: homepage, archives, articles, sidebars and submission UI. */
.site-header .bottom-header-contain,
.site-header .bottom-header-contain > .wrapper,
.site-header #site-navigation {
	background: var(--bne-navy) !important;
}

.site-header .main-navigation .main-menu > li > a,
.site-header .main-navigation .main-menu > li > a:visited,
.site-header .header-search-contain button {
	color: #f8fafc !important;
}

.site-header .main-navigation .main-menu > li > a:hover,
.site-header .main-navigation .main-menu > li.current-menu-item > a,
.site-header .main-navigation .main-menu > li.current_page_item > a {
	background: var(--bne-red) !important;
	color: #fff !important;
}

.site-header .bne-submit-news-menu > a {
	background: var(--bne-red) !important;
	color: #fff !important;
}

.site-header .bne-submit-news-menu > a:hover {
	background: var(--bne-red) !important;
	color: #fff !important;
}

.bne-breaking-news {
	min-height: 58px;
	align-items: center;
	box-shadow: 0 5px 16px rgb(17 27 37 / 10%);
}

.bne-breaking-news h2 {
	height: 100%;
	min-height: 58px;
	justify-content: center;
}

.bne-breaking-news li {
	min-height: 58px;
}

.bne-hero-track {
	background: #fff;
}

.bne-hero-story {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
	min-height: 0;
	background: var(--bne-navy);
}

.bne-hero-image,
.bne-hero-image::after,
.bne-hero-image img {
	position: relative;
	inset: auto;
}

.bne-hero-image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: 16 / 9;
	background: #eef1f0;
}

.bne-hero-image::after {
	display: none;
}

.bne-hero-image img {
	display: block;
	width: 100%;
	height: auto !important;
	max-height: none;
	object-fit: contain !important;
}

.bne-hero-copy {
	position: relative;
	inset: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--bne-navy);
	backdrop-filter: none;
}

.bne-hero-copy h3 {
	margin: 0.75rem 0;
	font-size: clamp(1.3rem, 2vw, 1.8rem);
	line-height: 1.5;
	text-shadow: none;
}

.bne-hero-copy p {
	display: none;
}

body.archive .page-header h1.page-title,
body.search-results .page-header h1.page-title,
body.blog .page-header h1.page-title {
	font-size: clamp(2rem, 4vw, 3.25rem) !important;
	line-height: 1.25 !important;
}

body.archive .page-header .page-subtitle,
body.search-results .page-header .page-subtitle {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.34em;
	line-height: 1.4;
}

body.archive .page-header .page-description,
body.search-results .page-header .page-description {
	font-size: 1em !important;
	line-height: inherit !important;
}

body.archive .page-header,
body.search-results .page-header,
body.blog .page-header {
	min-height: 0 !important;
	margin: 0 0 2rem !important;
	padding: 2rem 0 1.25rem !important;
}

.archive .site-content,
.search-results .site-content,
.blog .site-content {
	padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.archive .page-header,
.search-results .page-header,
.blog .page-header {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--bne-red);
}

.archive .page-title,
.search-results .page-title,
.blog .page-title {
	font-size: clamp(2rem, 5vw, 3rem) !important;
	line-height: 1.25;
}

.archive .site-main article,
.search-results .site-main article,
.blog .site-main article {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: center;
	margin: 0;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--bne-line);
}

body.archive #main.site-main > article.entry,
body.search-results #main.site-main > article.entry,
body.blog #main.site-main > article.entry {
	display: grid !important;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) !important;
	gap: clamp(1rem, 2.5vw, 1.75rem) !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 1.25rem 0 !important;
}

body.archive #main.site-main > article.entry > .post-thumbnail,
body.search-results #main.site-main > article.entry > .post-thumbnail,
body.blog #main.site-main > article.entry > .post-thumbnail {
	grid-column: 1 !important;
	grid-row: 1 !important;
	width: 100% !important;
	max-width: 280px !important;
	height: auto !important;
	max-height: 220px !important;
	margin: 0 !important;
	aspect-ratio: 16 / 10 !important;
}

body.archive #main.site-main > article.entry > .entry-container,
body.search-results #main.site-main > article.entry > .entry-container,
body.blog #main.site-main > article.entry > .entry-container {
	grid-column: 2 !important;
	grid-row: 1 !important;
	min-width: 0;
}

.archive .site-main article .post-thumbnail,
.search-results .site-main article .post-thumbnail,
.blog .site-main article .post-thumbnail {
	grid-row: 1 / span 3;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 8px;
	background: var(--bne-surface);
}

.archive .site-main article .post-thumbnail img,
.search-results .site-main article .post-thumbnail img,
.blog .site-main article .post-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.archive .site-main article .entry-title,
.search-results .site-main article .entry-title,
.blog .site-main article .entry-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
	line-height: 1.5;
}

.widget-area,
.site-content .widget-area {
	min-width: 0;
	padding: 1.25rem;
	border: 1px solid var(--bne-line);
	border-radius: var(--bne-radius);
	background: var(--bne-surface);
}

.widget-area .widget {
	margin: 0 0 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--bne-line);
}

.widget-area .widget-title,
.widget-area h2 {
	margin: 0 0 0.8rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--bne-red);
	font-size: 1.15rem;
}

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

.widget-area li + li {
	margin-top: 0.65rem;
}

.widget-area a {
	color: var(--bne-ink);
	font-weight: 650;
	line-height: 1.5;
	text-decoration: none;
}

.widget-area a:hover {
	color: var(--bne-red);
}

.widget-area input[type="search"],
.widget-area input[type="text"] {
	width: 100%;
	min-height: 44px;
	border: 1px solid #b8c0bc;
	border-radius: 6px;
}

.single-post .entry-content img,
.page .entry-content img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto !important;
	margin-inline: auto;
}

.site-footer,
.site-footer .site-info,
.site-footer .site-info-contain {
	background: var(--bne-navy) !important;
	color: rgb(255 255 255 / 72%) !important;
}

.site-footer .site-info {
	border-top: 1px solid rgb(255 255 255 / 16%);
}

.site-footer a,
.site-footer a:visited {
	color: rgb(255 255 255 / 76%) !important;
}

.bne-submit-login,
.bne-submit-news-form {
	width: min(100%, 820px);
	margin: 1rem auto 3rem;
	padding: clamp(1.25rem, 4vw, 2rem);
	border: 1px solid var(--bne-line);
	border-top: 4px solid var(--bne-red);
	border-radius: var(--bne-radius);
	background: #fff;
	box-shadow: var(--bne-shadow);
}

.bne-submit-page .content-area {
	width: 100% !important;
	max-width: 100% !important;
}

.bne-submit-page .widget-area {
	display: none !important;
}

.bne-submit-page .entry-header,
.bne-submit-page .entry-content {
	width: min(calc(100% - 2rem), 960px);
	margin-inline: auto;
}

.bne-submit-news-form label,
.bne-submit-news-form legend {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 800;
}

.bne-submit-news-form input[type="text"],
.bne-submit-news-form input[type="url"],
.bne-submit-news-form input[type="file"],
.bne-submit-news-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 0.7rem;
	border: 1px solid #aeb7b3;
	border-radius: 6px;
	background: #fff;
}

.bne-submit-news-form fieldset {
	margin: 1.25rem 0;
	padding: 1rem;
	border: 1px solid var(--bne-line);
	border-radius: 8px;
}

.bne-submit-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem 1rem;
	max-height: 250px;
	overflow-y: auto;
}

.bne-submit-categories label {
	font-weight: 500;
}

.bne-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1.1rem;
	border: 0;
	border-radius: 6px;
	background: var(--bne-red);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.bne-form-notice {
	width: min(100%, 820px);
	margin: 1rem auto;
	padding: 1rem;
	border-radius: 6px;
}

.bne-form-success { background: #dcfce7; color: #166534; }
.bne-form-error { background: #fee2e2; color: #991b1b; }

@media (max-width: 781px) {
	.bne-hero-story {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.bne-hero-image {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.bne-hero-image img {
		max-height: none;
	}

	.bne-hero-copy {
		padding: 1rem;
	}

	.bne-hero-copy p {
		display: none;
	}

	.archive .site-main article,
	.search-results .site-main article,
	.blog .site-main article {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 0.8rem;
		padding-block: 1rem;
	}

	body.archive #main.site-main > article.entry,
	body.search-results #main.site-main > article.entry,
	body.blog #main.site-main > article.entry {
		grid-template-columns: 112px minmax(0, 1fr) !important;
	}

	body.archive #main.site-main > article.entry > .post-thumbnail,
	body.search-results #main.site-main > article.entry > .post-thumbnail,
	body.blog #main.site-main > article.entry > .post-thumbnail {
		max-width: 112px !important;
		max-height: 90px !important;
	}

	.archive .site-main article .entry-title,
	.search-results .site-main article .entry-title,
	.blog .site-main article .entry-title {
		font-size: 1rem !important;
	}

	.widget-area,
	.site-content .widget-area {
		margin-top: 2rem;
		padding: 1rem;
	}

	.bne-submit-categories {
		grid-template-columns: 1fr;
	}
}

/* Final layout contract: keep these rules last so parent-theme utilities cannot
 * reintroduce cropped media or inconsistent heading/footer geometry. */
.bne-hero-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
	min-height: 0 !important;
}

.bne-hero-image {
	min-height: 0 !important;
	aspect-ratio: 16 / 9;
}

.bne-hero-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.bne-hero-copy {
	min-height: 180px;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.bne-hero-copy h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.65rem) !important;
	line-height: 1.5 !important;
}

body.single-post h1.entry-title,
body.page h1.entry-title,
body.archive h1.page-title,
body.search-results h1.page-title,
body.blog h1.page-title,
body.archive .page-header .page-description {
	font-size: clamp(1.9rem, 3.2vw, 2.65rem) !important;
	line-height: 1.35 !important;
	text-align: left !important;
}

body.archive .page-header,
body.search-results .page-header,
body.blog .page-header {
	margin: 0 0 1.5rem !important;
	padding: 1.25rem 0 1rem !important;
}

body.archive .site-content,
body.search-results .site-content,
body.blog .site-content {
	padding-top: 1rem !important;
}

.bne-footer-directory__grid {
	align-items: start;
}

.bne-footer-directory__grid > * {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.bne-footer-directory h2,
.bne-footer-directory .bne-footer-name {
	min-height: 2rem;
	margin: 0 0 0.85rem !important;
	line-height: 1.45;
}

.bne-footer-directory li,
.bne-footer-directory .bne-contact-links > * {
	margin: 0 0 0.6rem;
	line-height: 1.6;
}

.bne-footer-directory .bne-contact-links a {
	display: flex;
	width: fit-content;
	margin: 0 0 0.55rem;
}

@media (max-width: 781px) {
	.bne-hero-copy {
		min-height: 0;
	}

	body.single-post h1.entry-title,
	body.page h1.entry-title,
	body.archive h1.page-title,
	body.search-results h1.page-title,
	body.blog h1.page-title,
	body.archive .page-header .page-description {
		font-size: 1.75rem !important;
		line-height: 1.45 !important;
	}
}

/* Mobile containment must remain the final cascade rule. */
@media (max-width: 781px) {
	html,
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	.site-content .wrapper,
	.site-main,
	.site-main > article,
	.entry-header,
	.entry-content {
		min-width: 0;
		max-width: 100%;
	}

	.home .entry-content > .bne-breaking-news,
	.home .entry-content > .bne-discovery,
	.home .entry-content > .bne-latest-news,
	.home .entry-content > .bne-home-category,
	.home .entry-content > .bne-video-news {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.bne-trending ol {
		display: block;
		overflow: visible;
	}

	.bne-trending li {
		width: 100%;
		padding-right: 0;
	}

	body.archive #main.site-main > article.entry .entry-title,
	body.search-results #main.site-main > article.entry .entry-title,
	body.blog #main.site-main > article.entry .entry-title {
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	.bne-hero-copy h3,
	.bne-hero-copy h3 a,
	.bne-trending a,
	body.archive #main.site-main > article.entry .entry-title,
	body.archive #main.site-main > article.entry .entry-title a {
		max-width: 100%;
		white-space: normal !important;
		word-break: break-word;
		overflow-wrap: anywhere;
	}

	body.archive #main.site-main > article.entry .entry-content,
	body.search-results #main.site-main > article.entry .entry-content,
	body.blog #main.site-main > article.entry .entry-content {
		display: none;
	}
}

/* Release override: uncropped media stages and a common footer baseline. */
.bne-hero-track {
	background: var(--bne-navy) !important;
}

.bne-hero-story {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	height: auto !important;
	overflow: hidden;
}

.bne-hero-image {
	position: relative !important;
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 16 / 9 !important;
	overflow: hidden;
	background: #eef1f0;
}

.bne-hero-image img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center !important;
}

.bne-hero-copy {
	position: relative !important;
	inset: auto !important;
	min-height: 0 !important;
	padding: 1.25rem 1.5rem !important;
}

body.archive #main.site-main > article.entry > .post-thumbnail,
body.search-results #main.site-main > article.entry > .post-thumbnail,
body.blog #main.site-main > article.entry > .post-thumbnail {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 190px !important;
	max-height: 190px !important;
	aspect-ratio: auto !important;
	background: #f1f3f2;
}

body.archive #main.site-main > article.entry > .post-thumbnail img,
body.search-results #main.site-main > article.entry > .post-thumbnail img,
body.blog #main.site-main > article.entry > .post-thumbnail img {
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
}

.bne-footer-directory__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start !important;
	gap: clamp(1.5rem, 4vw, 3.5rem) !important;
}

.bne-footer-directory__grid > * {
	align-self: start;
}

.bne-footer-directory h2,
.bne-footer-directory .bne-footer-name {
	display: flex;
	align-items: flex-start;
	min-height: 2.25rem;
	margin: 0 0 0.75rem !important;
}

.bne-footer-directory ul,
.bne-footer-directory .menu,
.bne-footer-directory .bne-contact-links,
.bne-footer-directory .bne-social-links {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.bne-footer-directory li,
.bne-footer-directory .bne-contact-links a,
.bne-footer-directory .bne-contact-links p {
	display: block;
	margin: 0 0 0.65rem !important;
	padding: 0 !important;
	line-height: 1.55;
}

@media (max-width: 781px) {
	.bne-hero-image {
		height: auto !important;
		aspect-ratio: 16 / 9 !important;
	}

	body.archive #main.site-main > article.entry > .post-thumbnail,
	body.search-results #main.site-main > article.entry > .post-thumbnail,
	body.blog #main.site-main > article.entry > .post-thumbnail {
		height: 96px !important;
		max-height: 96px !important;
	}

	.bne-footer-directory__grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1.5rem !important;
	}
}

/* Final article and lead-story alignment. */
.bne-hero-copy h3,
.bne-hero-copy h3 a {
	max-width: none !important;
	white-space: normal !important;
	text-wrap: pretty;
}

.bne-hero-copy h3 {
	margin: 0.65rem 0 !important;
	font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
	line-height: 1.45 !important;
}

body.single-post .featured-image-above .entry-header {
	text-align: left !important;
}

body.single-post .entry-header .cat-links,
body.single-post .entry-header .entry-subhead,
body.single-post .entry-header .entry-meta {
	justify-content: flex-start !important;
}

body.single-post h1.entry-title {
	max-width: 100%;
	margin-right: 0 !important;
	margin-left: 0 !important;
	text-align: left !important;
	text-wrap: pretty;
}

body.single-post .featured-image-above .post-thumbnail,
body.single-post .featured-image-above .post-thumbnail > a {
	margin-right: auto !important;
	margin-left: auto !important;
}

body.single-post .featured-image-above .post-thumbnail img {
	object-fit: contain !important;
	object-position: center !important;
}

body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content blockquote,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
	text-align: left !important;
}

body.single-post .entry-content figure,
body.single-post .entry-content img {
	margin-right: auto !important;
	margin-left: auto !important;
}

body.single-post .entry-content figcaption {
	text-align: left !important;
}

/* These rules intentionally stay last: post content must follow a left reading
 * edge even when imported Gutenberg content contains alignment utility classes. */
.bne-hero-copy {
	background: rgb(5 10 14 / 88%) !important;
}

body.single-post .entry-content,
body.single-post .entry-content > *,
body.single-post .entry-content :is(p, div, section, ul, ol, li, blockquote, h2, h3, h4, h5, h6, figcaption),
body.single-post .entry-content .has-text-align-center,
body.single-post .entry-content .has-text-align-right {
	text-align: left !important;
}

/* The off-canvas menu reuses the desktop primary menu markup. Keep its items
 * vertical and allow long Marathi category names to wrap within the drawer. */
@media (max-width: 781px) {
	.mobile-sidebar .main-navigation {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	.mobile-sidebar .main-navigation .main-menu {
		display: block !important;
		width: 100% !important;
		max-width: 100%;
		margin: 0 !important;
		padding: 0 !important;
	}

	.mobile-sidebar .main-navigation .main-menu > li {
		display: block !important;
		width: 100%;
		margin: 0 !important;
		border-bottom: 1px solid rgb(255 255 255 / 35%);
	}

	.mobile-sidebar .main-navigation .main-menu > li > a {
		display: flex !important;
		align-items: center;
		width: 100%;
		min-height: 44px;
		padding: 0.65rem 0 !important;
		color: #fff !important;
		font-size: 0.95rem;
		line-height: 1.5;
		white-space: normal !important;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	body.single-post h1.entry-title,
	body.page h1.entry-title,
	body.archive h1.page-title,
	body.search-results h1.page-title,
	.bne-hero-copy h3,
	.bne-hero-copy h3 a,
	body.archive #main.site-main > article.entry .entry-title,
	body.archive #main.site-main > article.entry .entry-title a,
	body.search-results #main.site-main > article.entry .entry-title,
	body.search-results #main.site-main > article.entry .entry-title a {
		max-width: 100%;
		white-space: normal !important;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	body.single-post .entry-header .entry-subhead,
	body.single-post .entry-header .entry-meta {
		display: flex;
		flex-wrap: wrap;
		max-width: 100%;
		gap: 0.5rem 0.75rem;
	}

	.entry-content,
	.entry-content p,
	.entry-content li,
	.entry-content a,
	.bne-footer-directory,
	.bne-footer-directory a {
		max-width: 100%;
		word-break: normal;
		overflow-wrap: anywhere;
	}
}
