/* =========================================================
   THE EDITOR — Main Stylesheet
   Table of Contents:
   1.0  Custom Properties & Reset
   2.0  Base Typography
   3.0  Layout & Container
   4.0  Icons (CSS-only icon set)
   5.0  Top Bar
   6.0  Header & Navigation
   7.0  Categories Strip
   8.0  Breaking News Ticker
   9.0  Breadcrumbs
   10.0 Homepage — Hero
   11.0 Homepage — Sections & News Grid
   12.0 News Card
   13.0 Archive List
   14.0 Single Post
   15.0 Comments
   16.0 Sidebar & Widgets
   17.0 Forms & Buttons
   18.0 Footer
   19.0 404
   20.0 Utilities & Responsive
   ========================================================= */

/* 1.0 Custom Properties & Reset
   ========================================================= */
:root {
	--editor-accent: #d31f27;
	--editor-accent-dark: #a5161d;
	--editor-ink: #181818;
	--editor-text: #3a3a3a;
	--editor-text-light: #6f6f6f;
	--editor-border: #e7e7e7;
	--editor-bg: #ffffff;
	--editor-bg-soft: #f7f7f7;
	--editor-font-heading: 'Merriweather', 'Noto Sans Bengali', Georgia, serif;
	--editor-font-body: 'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;
	--editor-radius: 6px;
	--editor-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
	--editor-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
	--editor-container: 1260px;
}

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

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

body {
	margin: 0;
	background: var(--editor-bg-soft);
	color: var(--editor-text);
	font-family: var(--editor-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--editor-ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--editor-accent);
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

figure {
	margin: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--editor-ink);
	color: #fff;
	padding: 10px 18px;
	z-index: 10000;
}

.skip-link:focus {
	top: 0;
}

/* 2.0 Base Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--editor-font-heading);
	color: var(--editor-ink);
	line-height: 1.25;
	font-weight: 900;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.2em;
}

.entry-content h2 { font-size: 1.6em; margin-top: 1.4em; }
.entry-content h3 { font-size: 1.3em; margin-top: 1.2em; }
.entry-content a { color: var(--editor-accent); text-decoration: underline; }
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 1em 1.5em;
	border-left: 4px solid var(--editor-accent);
	background: var(--editor-bg-soft);
	font-family: var(--editor-font-heading);
	font-style: italic;
	font-size: 1.15em;
	color: var(--editor-ink);
}
.entry-content img { border-radius: var(--editor-radius); margin: 1em 0; }
.entry-content figcaption { font-size: 0.85em; color: var(--editor-text-light); text-align: center; margin-top: 0.5em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content table th,
.entry-content table td { border: 1px solid var(--editor-border); padding: 0.6em 0.8em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; list-style: revert; }
.entry-content .wp-caption-text { font-size: 0.85em; color: var(--editor-text-light); }

/* 3.0 Layout & Container
   ========================================================= */
.container {
	max-width: var(--editor-container);
	margin: 0 auto;
	padding: 0 20px;
}

.site-content {
	padding: 32px 0 48px;
}

#primary.has-sidebar {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}

#primary.no-sidebar-page {
	max-width: 760px;
	margin: 0 auto;
}

.homepage-layout {
	grid-template-columns: 1fr 340px;
}

/* 4.0 Icons — lightweight CSS-only icon set (no external font dependency) */
.the-editor-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	position: relative;
	vertical-align: middle;
}
.icon-clock::before,
.icon-user::before,
.icon-eye::before,
.icon-book::before,
.icon-tag::before,
.icon-search::before,
.icon-arrow-right::before,
.icon-arrow-up::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.icon-clock::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.icon-user::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.icon-eye::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-book::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
.icon-tag::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 11 3.83 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 11 3.83 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.icon-search::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.icon-arrow-right::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.icon-arrow-up::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }

/* 5.0 Top Bar
   ========================================================= */
.topbar {
	background: var(--editor-ink);
	color: #cfcfcf;
	font-size: 13px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 38px;
}
.topbar-menu-list { display: flex; gap: 16px; }
.topbar-menu-list a { color: #cfcfcf; }
.topbar-menu-list a:hover { color: #fff; }
.topbar-social { display: flex; gap: 10px; }
.topbar .social-icon,
.footer .social-icon {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.topbar .social-icon:hover { background: var(--editor-accent); }

/* 6.0 Header & Navigation
   ========================================================= */
.site-header {
	background: var(--editor-bg);
	border-bottom: 1px solid var(--editor-border);
	position: relative;
}
.site-header-sticky {
	position: sticky;
	top: 0;
	z-index: 500;
}
.site-header-inner {
	position: relative;
	padding: 34px 20px 0;
}

/* --- Top row: left meta / centered logo / right actions --- */
.header-row-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding-bottom: 28px;
}

.header-left {
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.header-right {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.header-divider {
	display: inline-block;
	width: 1px;
	height: 30px;
	background: var(--editor-border);
	flex: 0 0 auto;
}

/* --- Menu toggle (hamburger, circular) --- */
.menu-toggle {
	background: var(--editor-bg);
	border: 1px solid var(--editor-ink);
	border-radius: 50%;
	width: 52px;
	height: 52px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.menu-toggle:hover { border-color: var(--editor-accent); }
.menu-toggle-bar { display: block; width: 18px; height: 2px; background: var(--editor-ink); margin: 2.5px auto; }
.menu-toggle:hover .menu-toggle-bar { background: var(--editor-accent); }

/* --- Date / location meta --- */
.header-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
	white-space: nowrap;
}
.header-meta-date { font-weight: 700; font-size: 0.92rem; color: var(--editor-ink); }
.header-meta-location {
	font-size: 0.85rem;
	color: var(--editor-text-light);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.header-meta-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--editor-accent);
	flex: 0 0 auto;
}

/* --- Search toggle (circular) --- */
.search-toggle {
	background: var(--editor-bg);
	border: 1px solid var(--editor-ink);
	border-radius: 50%;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--editor-ink);
	flex: 0 0 auto;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.search-toggle:hover { border-color: var(--editor-accent); color: var(--editor-accent); }

/* --- Live badge --- */
.live-badge {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	line-height: 1.2;
	flex: 0 0 auto;
	white-space: nowrap;
}
.live-badge-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	color: var(--editor-ink);
}
.live-dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid var(--editor-accent);
}
.live-dot::before {
	content: '';
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: var(--editor-accent);
	animation: the-editor-live-pulse 1.6s ease-in-out infinite;
}
@keyframes the-editor-live-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}
.live-badge-watch { font-size: 0.75rem; color: var(--editor-text-light); }

/* --- Branding / framed logo lockup --- */
.site-branding {
	justify-self: center;
	text-align: center;
	min-width: 0;
}
.site-title {
	font-family: var(--editor-font-heading);
	margin: 0;
	line-height: 1;
}
.site-logo { color: var(--editor-ink); }
.site-logo-mobile { display: none; }

/* Desktop framed logo */
.site-title-frame {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--editor-ink);
	padding: 26px 42px 20px;
}
.site-title-frame::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 76%;
	border-top: 1px solid var(--editor-ink);
	border-left: 1px solid var(--editor-ink);
	pointer-events: none;
}
.site-title-frame::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 44%;
	background: var(--editor-ink);
	pointer-events: none;
}
.site-title-frame .frame-dash {
	position: absolute;
	left: -14px;
	bottom: 18px;
	width: 14px;
	height: 1px;
	background: var(--editor-ink);
}
.site-title-frame .site-title-prefix,
.site-title-frame .site-title-word {
	font-size: 3.4rem;
	font-weight: 400;
	letter-spacing: -1px;
	position: relative;
}
.site-title-frame .site-title-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--editor-accent);
	margin-left: 4px;
	align-self: flex-end;
	margin-bottom: 6px;
}

/* Mobile compact logo: red circular "The" mark + bold word + dot */
.site-logo-mobile {
	display: none;
	align-items: center;
}
.site-logo-mobile .site-title-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--editor-accent);
	color: #fff;
	font-family: var(--editor-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-right: -9px;
	position: relative;
	z-index: 1;
}
.site-logo-mobile .site-title-word {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.5px;
}
.site-logo-mobile .site-title-dot {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--editor-accent);
	margin-left: 2px;
	align-self: flex-end;
	margin-bottom: 4px;
}

.site-description {
	margin: 8px 0 0;
	font-size: 0.72rem;
	color: var(--editor-text-light);
	text-transform: uppercase;
	letter-spacing: 3px;
}
.custom-logo-link { display: inline-block; }
.custom-logo-link img { max-height: 56px; width: auto; }

.header-search-form { display: none; padding: 0 0 20px; text-align: center; }
.header-search-form.is-visible { display: block; }
.header-search-form .search-form { max-width: 480px; margin: 0 auto; }

/* --- Primary navigation row (centered, with bottom notch) --- */
.main-navigation {
	position: relative;
	border-top: 1px solid var(--editor-border);
}
.main-navigation::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -8px;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid var(--editor-ink);
}
.primary-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.primary-menu > li > a {
	display: block;
	position: relative;
	padding: 18px 20px;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--editor-ink);
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
	color: var(--editor-accent);
}
.primary-menu li { position: relative; }
.primary-menu > li.current-menu-item > a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	width: 26px;
	height: 2px;
	background: var(--editor-accent);
}
.primary-menu ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	background: #fff;
	box-shadow: var(--editor-shadow-hover);
	border-radius: var(--editor-radius);
	padding: 8px 0;
	z-index: 100;
	text-align: left;
}
.primary-menu li:hover > ul.sub-menu { display: block; }
.primary-menu ul.sub-menu a { padding: 10px 18px; display: block; text-transform: none; font-weight: 500; }
.primary-menu ul.sub-menu a::after { display: none; }

@media (max-width: 991px) {
	.site-title-frame .site-title-prefix,
	.site-title-frame .site-title-word { font-size: 2.4rem; }
	.site-title-frame { padding: 18px 26px 14px; }
	.live-badge-watch { display: none; }
}

@media (max-width: 782px) {
	.site-header-inner { padding: 0 16px; }
	.header-row-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 14px 0;
	}
	.header-meta,
	.site-description { display: none; }

	/* Only one divider remains on mobile: between search and live (per reference) */
	.header-left .header-divider { display: none; }
	.header-right .header-divider:first-of-type { display: none; }

	/* Swap to the compact mobile logo, hide the desktop framed one */
	.site-logo-desktop { display: none; }
	.site-logo-mobile { display: inline-flex; }
	.site-branding { order: 1; justify-self: auto; }

	.header-left { order: 3; justify-self: auto; margin-right: -16px; }
	.header-right { order: 2; justify-self: auto; gap: 10px; }

	.custom-logo-link img { max-height: 34px; }

	.search-toggle {
		width: 42px;
		height: 42px;
	}
	.header-divider { height: 24px; }

	/* Red diagonal-cut hamburger, flush to the screen edge */
	.menu-toggle {
		background: var(--editor-accent);
		border: 0;
		border-radius: 0;
		clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
		width: 58px;
		height: 58px;
	}
	.menu-toggle:hover { background: var(--editor-accent-dark); }
	.menu-toggle-bar { background: #fff; }
	.menu-toggle:hover .menu-toggle-bar { background: #fff; }

	/* Pill-style LIVE badge, single line */
	.live-badge {
		flex-direction: row;
		align-items: center;
		gap: 8px;
		border: 1px solid var(--editor-border);
		border-radius: 999px;
		padding: 8px 16px;
	}
	.live-dot { border: 0; background: var(--editor-accent); }
	.live-dot::before { display: none; }

	.main-navigation {
		display: none;
		text-align: center;
	}
	.main-navigation.is-visible { display: block; }
	.main-navigation::after { display: none; }
	.primary-menu { flex-direction: column; }
	.primary-menu > li > a { padding: 12px 16px; }
	.primary-menu > li.current-menu-item > a::after { bottom: 4px; }
	.primary-menu ul.sub-menu { position: static; transform: none; box-shadow: none; padding-left: 16px; }
}

/* 7.0 Categories Strip
   ========================================================= */
.categories-strip {
	background: var(--editor-accent);
}
.categories-strip ul {
	display: flex;
	overflow-x: auto;
	gap: 4px;
}
.categories-strip a {
	display: block;
	padding: 10px 16px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}
.categories-strip a:hover { background: rgba(0, 0, 0, 0.15); color: #fff; }

/* 8.0 Breaking News Ticker
   ========================================================= */
.breaking-news-bar {
	background: var(--editor-ink);
	color: #fff;
}
.breaking-news-inner {
	display: flex;
	align-items: center;
	height: 42px;
	gap: 16px;
}
.breaking-label {
	background: var(--editor-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 5px 12px;
	border-radius: 3px;
	flex-shrink: 0;
}
.breaking-news-track { overflow: hidden; flex: 1; }
.breaking-news-list {
	display: flex;
	gap: 48px;
	white-space: nowrap;
	animation: editor-marquee 32s linear infinite;
	width: max-content;
}
.breaking-news-list a { color: #ececec; font-size: 0.88rem; }
.breaking-news-list a:hover { color: #fff; text-decoration: underline; }
.breaking-news-bar:hover .breaking-news-list { animation-play-state: paused; }

@keyframes editor-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* 9.0 Breadcrumbs
   ========================================================= */
.the-editor-breadcrumbs {
	background: #fff;
	border-bottom: 1px solid var(--editor-border);
	font-size: 0.82rem;
	color: var(--editor-text-light);
}
.the-editor-breadcrumbs .container { padding-top: 10px; padding-bottom: 10px; }
.the-editor-breadcrumbs a { color: var(--editor-text-light); }
.the-editor-breadcrumbs a:hover { color: var(--editor-accent); }
.the-editor-breadcrumbs .sep { margin: 0 6px; }

/* 10.0 Homepage — Hero
   ========================================================= */
.hero-section { margin-bottom: 40px; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 20px;
}
.hero-main-story { grid-row: span 2; }
.hero-side-story:nth-of-type(2) { grid-column: 2; grid-row: 1; }

.hero-grid > article {
	position: relative;
	border-radius: var(--editor-radius);
	overflow: hidden;
	background: var(--editor-ink);
	display: flex;
	flex-direction: column;
}
.hero-thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.hero-main-story .hero-thumb { aspect-ratio: 16/11; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hero-grid article:hover .hero-thumb img { transform: scale(1.05); }
.hero-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #444, #222); }

.hero-story-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 20px;
	background: linear-gradient(0deg, rgba(0,0,0,0.88) 10%, rgba(0,0,0,0.35) 60%, transparent 100%);
	color: #fff;
}
.hero-story-title { font-size: 1.5rem; margin: 8px 0 8px; }
.hero-side-story .hero-story-title { font-size: 1.05rem; }
.hero-story-title a { color: #fff; }
.hero-story-body .entry-meta { color: #ddd; font-size: 0.78rem; gap: 12px; }
.hero-story-body .entry-meta a { color: #ddd; }

.category-badge {
	display: inline-block;
	background: var(--editor-accent);
	color: #fff !important;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 4px 9px;
	border-radius: 3px;
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

/* 11.0 Homepage — Sections & News Grid
   ========================================================= */
.latest-news-section,
.category-section { margin-bottom: 44px; }

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 3px solid var(--editor-ink);
	padding-bottom: 10px;
	margin-bottom: 22px;
}
.section-heading h2 { font-size: 1.5rem; margin: 0; position: relative; padding-left: 14px; }
.section-heading h2::before {
	content: '';
	position: absolute;
	left: 0; top: 4px; bottom: 4px;
	width: 5px;
	background: var(--editor-accent);
	border-radius: 2px;
}
.section-heading h2 a { color: var(--editor-ink); }
.section-heading-link { font-size: 0.82rem; font-weight: 700; color: var(--editor-accent); white-space: nowrap; }

.news-grid { display: grid; gap: 24px; }
.news-grid-2 { grid-template-columns: repeat(2, 1fr); }
.news-grid-3 { grid-template-columns: repeat(3, 1fr); }
.news-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 12.0 News Card
   ========================================================= */
.news-card {
	background: #fff;
	border-radius: var(--editor-radius);
	overflow: hidden;
	box-shadow: var(--editor-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
}
.news-card:hover { box-shadow: var(--editor-shadow-hover); transform: translateY(-3px); }
.news-card-thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-body { padding: 16px; position: relative; flex: 1; display: flex; flex-direction: column; }
.news-card-body .category-badge { position: static; margin-bottom: 8px; align-self: flex-start; }
.news-card-title { font-size: 1.05rem; margin: 0 0 10px; line-height: 1.35; }
.news-card-title a { color: var(--editor-ink); }
.news-card-title a:hover { color: var(--editor-accent); }
.news-card-meta {
	margin-top: auto;
	display: flex;
	gap: 14px;
	font-size: 0.75rem;
	color: var(--editor-text-light);
}
.news-card-meta .byline a { color: var(--editor-text-light); }

.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.8rem;
	color: var(--editor-text-light);
	margin: 10px 0 16px;
}
.entry-meta i { color: var(--editor-accent); margin-right: 4px; }
.entry-meta a { color: var(--editor-text-light); }
.entry-meta a:hover { color: var(--editor-accent); }
.byline a { font-weight: 600; color: var(--editor-ink); }

/* 13.0 Archive List
   ========================================================= */
.page-header.archive-header { margin-bottom: 28px; }
.archive-eyebrow {
	display: inline-block;
	color: var(--editor-accent);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 1.4px;
	margin-bottom: 6px;
}
.page-title { font-size: 2rem; }
.archive-description { color: var(--editor-text-light); margin-top: 8px; }

.archive-news-list { display: flex; flex-direction: column; gap: 26px; }
.archive-news-item {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 22px;
	background: #fff;
	border-radius: var(--editor-radius);
	overflow: hidden;
	box-shadow: var(--editor-shadow);
	padding: 0;
}
.archive-news-item:not(:has(.archive-news-thumb)) { grid-template-columns: 1fr; }
.archive-news-thumb { position: relative; display: block; overflow: hidden; }
.archive-news-thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.archive-news-body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; }
.archive-news-item:not(:has(.archive-news-thumb)) .archive-news-body { padding: 20px; }
.archive-news-body .category-badge { position: static; margin-bottom: 10px; align-self: flex-start; }
.entry-title { font-size: 1.35rem; margin: 0 0 8px; }
.entry-summary { color: var(--editor-text-light); margin-bottom: 12px; }
.read-more-link { font-weight: 700; font-size: 0.85rem; color: var(--editor-accent); margin-top: auto; }
.read-more-link i { margin-left: 4px; }
.sticky-badge {
	display: inline-block;
	background: var(--editor-ink);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
	margin-bottom: 8px;
}

/* Pagination */
.pagination,
.navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--editor-border);
	border-radius: var(--editor-radius);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--editor-ink);
}
.page-numbers.current,
.page-numbers:hover { background: var(--editor-accent); border-color: var(--editor-accent); color: #fff; }

/* Post navigation (prev/next single) */
.navigation.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 36px 0;
}
.nav-links { display: contents; }
.nav-previous, .nav-next {
	background: #fff;
	border: 1px solid var(--editor-border);
	border-radius: var(--editor-radius);
	padding: 16px 20px;
}
.nav-next { text-align: right; }
.nav-subtitle { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--editor-text-light); margin-bottom: 4px; }
.nav-title { font-weight: 700; }

/* 14.0 Single Post
   ========================================================= */
.single-article { background: #fff; border-radius: var(--editor-radius); padding: 28px; box-shadow: var(--editor-shadow); }
.entry-header .category-badge { position: static; margin-bottom: 12px; }
.single-article .entry-title { font-size: 2.1rem; margin: 0 0 12px; }
.entry-subtitle { font-size: 1.15rem; color: var(--editor-text-light); font-family: var(--editor-font-heading); font-style: italic; }

.single-entry-meta { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--editor-border); border-bottom: 1px solid var(--editor-border); padding: 14px 0; margin: 16px 0 24px; }
.author-avatar img { border-radius: 50%; width: 48px; height: 48px; }
.author-meta-text .byline { font-size: 0.95rem; }
.entry-meta-sub { display: flex; gap: 14px; font-size: 0.78rem; color: var(--editor-text-light); margin-top: 3px; }

.single-featured-image { margin-bottom: 24px; border-radius: var(--editor-radius); overflow: hidden; }
.single-featured-image figcaption { padding: 8px; background: var(--editor-bg-soft); }

.entry-content { font-size: 1.08rem; color: var(--editor-text); }

.entry-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--editor-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.entry-tags a { display: inline-block; background: var(--editor-bg-soft); padding: 4px 10px; border-radius: 3px; font-size: 0.8rem; margin-right: 4px; }
.entry-share { display: flex; align-items: center; gap: 8px; }
.share-label { font-size: 0.82rem; font-weight: 700; margin-right: 4px; }
.share-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--editor-bg-soft); display: inline-block; }
.share-icon:hover { background: var(--editor-accent); }

.author-box { display: flex; gap: 18px; background: var(--editor-bg-soft); padding: 22px; border-radius: var(--editor-radius); margin-top: 28px; }
.author-box-avatar img { border-radius: 50%; }
.author-box-name { margin: 0 0 6px; font-size: 1.1rem; }
.author-box-bio { color: var(--editor-text-light); margin-bottom: 10px; font-size: 0.92rem; }
.author-box-link { font-weight: 700; font-size: 0.82rem; color: var(--editor-accent); }

.related-posts { margin-top: 40px; }
.related-posts-title { font-size: 1.3rem; border-bottom: 3px solid var(--editor-ink); padding-bottom: 10px; margin-bottom: 20px; position: relative; padding-left: 14px; }
.related-posts-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 4px; width: 5px; background: var(--editor-accent); border-radius: 2px; }

/* Page (static) */
.page-article { background: #fff; border-radius: var(--editor-radius); padding: 28px; box-shadow: var(--editor-shadow); }

/* 15.0 Comments
   ========================================================= */
.comments-area { background: #fff; border-radius: var(--editor-radius); padding: 28px; box-shadow: var(--editor-shadow); margin-top: 28px; }
.comments-title { font-size: 1.3rem; margin-bottom: 20px; }
.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment-body { display: flex; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--editor-border); }
.comment-avatar img { border-radius: 50%; }
.comment-meta { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.comment-author { font-weight: 700; }
.comment-date { font-size: 0.78rem; color: var(--editor-text-light); }
.comment-reply-link { font-size: 0.78rem; font-weight: 700; color: var(--editor-accent); }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 1.15rem; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--editor-border);
	border-radius: var(--editor-radius);
	font-family: inherit;
	font-size: 0.95rem;
}
.comment-form textarea { min-height: 130px; }
ul.children { margin-left: 40px; margin-top: 20px; }

/* 16.0 Sidebar & Widgets
   ========================================================= */
.widget-area { display: flex; flex-direction: column; gap: 26px; }
.widget {
	background: #fff;
	border-radius: var(--editor-radius);
	padding: 20px;
	box-shadow: var(--editor-shadow);
}
.widget-title {
	font-size: 1.05rem;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--editor-ink);
	position: relative;
	padding-left: 14px;
}
.widget-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 6px; width: 5px; background: var(--editor-accent); border-radius: 2px; }

.trending-list { display: flex; flex-direction: column; gap: 16px; }
.trending-item { display: flex; gap: 12px; align-items: flex-start; }
.trending-number { font-family: var(--editor-font-heading); font-size: 1.6rem; font-weight: 900; color: var(--editor-border); line-height: 1; }
.trending-title { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.trending-meta { font-size: 0.72rem; color: var(--editor-text-light); }

.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--editor-border); }
.widget ul li:last-child { border-bottom: none; }
.widget_tag_cloud .tagcloud a {
	display: inline-block;
	background: var(--editor-bg-soft);
	padding: 6px 12px;
	margin: 0 6px 6px 0;
	border-radius: 3px;
	font-size: 0.8rem !important;
}
.widget select, .widget input[type="text"] { width: 100%; padding: 10px; border: 1px solid var(--editor-border); border-radius: var(--editor-radius); }

.social-icons { display: flex; gap: 10px; }
.social-icons .social-icon { background: var(--editor-bg-soft); }
.social-icons .social-icon:hover { background: var(--editor-accent); }

/* 17.0 Forms & Buttons
   ========================================================= */
.search-form { display: flex; position: relative; }
.search-field {
	width: 100%;
	padding: 12px 46px 12px 16px;
	border: 1px solid var(--editor-border);
	border-radius: 24px;
	font-size: 0.92rem;
}
.search-submit {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: 38px;
	background: var(--editor-accent);
	border: none;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button-primary,
input[type="submit"],
.comment-form input[type="submit"] {
	display: inline-block;
	background: var(--editor-accent);
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 24px;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.3px;
	transition: background 0.15s ease;
}
.button-primary:hover,
input[type="submit"]:hover { background: var(--editor-accent-dark); color: #fff; }

/* 18.0 Footer
   ========================================================= */
.site-footer { background: var(--editor-ink); color: #b8b8b8; margin-top: 40px; padding-top: 48px; }
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-widget-column .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,0.25); }
.footer-widget-column .widget-title::before { background: var(--editor-accent); }
.footer-widget-column a { color: #b8b8b8; }
.footer-widget-column a:hover { color: #fff; }
.footer-widget-column li { border-bottom-color: rgba(255,255,255,0.08); }

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 24px 0;
	font-size: 0.82rem;
}
.footer-menu-list { display: flex; gap: 18px; }
.footer-menu-list a { color: #b8b8b8; }
.footer-menu-list a:hover { color: #fff; }
.footer-site-title { font-family: var(--editor-font-heading); font-weight: 900; font-size: 1.2rem; color: #fff; }
.footer-copyright a { color: #fff; }

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--editor-accent);
	color: #fff;
	border: none;
	box-shadow: var(--editor-shadow-hover);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999;
}
.back-to-top.is-visible { display: flex; }

/* 19.0 404
   ========================================================= */
.error-404 { text-align: center; background: #fff; border-radius: var(--editor-radius); padding: 60px 30px; box-shadow: var(--editor-shadow); }
.error-code { font-family: var(--editor-font-heading); font-size: 6rem; font-weight: 900; color: var(--editor-accent); line-height: 1; }
.error-404 .search-form { max-width: 420px; margin: 24px auto; }
.back-home-link { margin-top: 10px; }
.no-results { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--editor-radius); box-shadow: var(--editor-shadow); }
.no-results-icon { width: 60px; height: 60px; margin: 0 auto 20px; color: var(--editor-accent); }
.no-results-icon i { width: 100%; height: 100%; }
.no-results .search-form { max-width: 400px; margin: 20px auto 0; }

/* 20.0 Utilities & Responsive
   ========================================================= */
@media (max-width: 1024px) {
	#primary.has-sidebar,
	.homepage-layout { grid-template-columns: 1fr; }
	.news-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.news-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets { grid-template-columns: repeat(2, 1fr); }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-main-story { grid-row: auto; }
	.hero-side-story:nth-of-type(2) { grid-column: auto; grid-row: auto; }
}

@media (max-width: 782px) {
	.topbar-menu { display: none; }
	.main-navigation { display: none; border-top: 1px solid var(--editor-border); margin-top: 12px; }
	.main-navigation.is-visible { display: block; }
	.primary-menu { flex-direction: column; }
	.primary-menu ul.sub-menu { position: static; box-shadow: none; padding-left: 14px; display: none; }
	.primary-menu li.menu-item-has-children.is-open > ul.sub-menu { display: block; }
	.archive-news-item { grid-template-columns: 1fr; }
	.archive-news-body { padding: 16px; }
	.archive-news-thumb img { min-height: 200px; }
	.news-grid-3, .news-grid-4, .news-grid-2 { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.navigation.post-navigation { grid-template-columns: 1fr; }
	.single-article, .page-article, .comments-area { padding: 18px; }
	.error-code { font-size: 4rem; }
	.comment-body { flex-direction: column; }
}

@media (max-width: 480px) {
	.container { padding: 0 14px; }
	.entry-footer { flex-direction: column; align-items: flex-start; }
}

/* Print */
@media print {
	.topbar, .site-header, .breaking-news-bar, .categories-strip, .site-footer, .back-to-top, .widget-area, .entry-share, .comments-area { display: none !important; }
}
