/* ==========================================================================
   Narayanganj Tribune — main stylesheet
   ========================================================================== */

:root {
	--serif: "Noto Serif Bengali", "SolaimanLipi", serif;
	--sans: "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--brand: #b5121b;
	--brand-dark: #8c0d14;
	--brand-soft: #fbeceb;
	--accent: #0a6e73;
	--ink: #1b1b1b;
	--ink-2: #333;
	--muted: #62666b;
	--line: #e3e3e0;
	--soft: #f5f5f2;
	--bg: #fff;

	--radius: 4px;
	--gap: 24px;
	--container: 1240px;
	--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
	margin: 0;
	font-family: var(--serif);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--bg);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.38; margin: 0; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { display: inline-block; flex: none; vertical-align: middle; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: var(--radius);
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.site-main { display: block; padding-bottom: 48px; outline: none; }

.button, .search-form__btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 10px 20px; border: 0; border-radius: var(--radius);
	background: var(--brand); color: #fff; font-weight: 700; font-family: var(--serif);
}
.button:hover, .search-form__btn:hover, .comment-form .submit:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar__date { margin: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.topbar__sep { color: #bbb; }

.social { list-style: none; display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); }
.social a:hover { color: #fff; background: var(--brand); }
.social .icon { width: 16px; height: 16px; }

/* ---------- Masthead ---------- */
.masthead { background: var(--bg); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px 20px; }
.masthead__brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.masthead__tagline { margin: 0; font-size: 15px; color: var(--muted); letter-spacing: .1px; }
.masthead__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
/* Masthead: three most-read stories in the space between logo and button (like Prothom Alo) */
.masthead__teasers { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; margin-inline: 12px; }
.teaser {
	display: flex; align-items: center; gap: 10px; flex: 0 1 280px; min-width: 0; padding: 2px 18px;
	border-left: 1px solid var(--line); color: var(--ink-2);
}
.teaser:first-child { border-left: 0; }
.teaser__img { flex: 0 0 72px; height: 50px; border-radius: 5px; overflow: hidden; background: var(--soft) center / cover; }
.teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.teaser__title {
	font-size: 14.5px; line-height: 1.45; font-weight: 600;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.teaser:hover .teaser__title { color: var(--brand); }
.masthead__latest { white-space: nowrap; }
.masthead__latest {
	font-size: 15px; font-weight: 600; color: var(--brand);
	padding: 5px 14px; border: 1px solid rgba(181, 18, 27, .3); border-radius: 999px; transition: .15s ease;
}
.masthead__latest:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.site-logo { margin: 0; font-family: var(--serif); line-height: 1; }
.site-logo a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.site-logo__text { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -.5px; }
.site-logo__badge {
	font-size: clamp(18px, 3vw, 26px); font-weight: 700; color: #fff; background: var(--brand);
	padding: .18em .38em .24em; border-radius: 6px; position: relative; top: 2px;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.site-logo a:hover { color: var(--ink); }
.custom-logo { max-height: 72px; width: auto; }
.site-footer .custom-logo { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 0 6px rgba(255, 255, 255, .12)); } /* keeps dark logo parts visible on the dark footer */

.ad-slot { text-align: center; }
.ad-slot img { margin-inline: auto; }
.ad-slot--header { max-width: 728px; flex: 1 1 auto; display: flex; justify-content: flex-end; }
.ad-slot--wide { margin-block: 8px 32px; }
.ad-slot--sidebar { margin-bottom: 24px; }
.ad-slot--article { margin: 28px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.ad-slot .widget { margin: 0; }
.ad-slot__label { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .4px; color: #9a9c9f; text-align: center; }

/* ---------- Navigation ---------- */
.navbar {
	position: sticky; top: 0; z-index: 50;
	background: var(--bg); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .navbar { top: 0; } }

.navbar__inner { display: flex; align-items: center; gap: 4px; min-height: 50px; }
.navbar__toggle, .navbar__search-toggle, .navbar__home {
	display: grid; place-items: center; width: 44px; height: 44px; flex: none;
	border: 0; background: none; color: var(--ink); border-radius: var(--radius);
}
.navbar__toggle:hover, .navbar__search-toggle:hover, .navbar__home:hover { background: var(--soft); color: var(--brand); }
.navbar__toggle { display: none; }
.navbar__toggle .icon--close, .nav-open .navbar__toggle .icon--menu { display: none; }
.nav-open .navbar__toggle .icon--close { display: inline-block; }
.navbar__search-toggle { margin-left: auto; }
.navbar.is-stuck { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }

.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--brand); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.navbar__search-toggle[aria-expanded="true"] { background: var(--brand); color: #fff; }

.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav .menu { list-style: none; display: flex; align-items: center; }
.primary-nav .menu > li { position: relative; flex: none; }
.primary-nav .menu > li > a {
	position: relative; display: block; padding: 13px 11px; font-size: 17px; font-weight: 600; white-space: nowrap; color: var(--ink-2);
}
.primary-nav .menu > li > a::before {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--brand);
	transform: scaleX(0); transition: transform .2s ease;
}
.primary-nav .menu > li > a:hover::before,
.primary-nav .menu > .current-menu-item > a::before,
.primary-nav .menu > .current-menu-ancestor > a::before,
.primary-nav .menu > .current-menu-parent > a::before { transform: scaleX(1); }
.primary-nav .menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-category-ancestor > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current-cat > a { color: var(--brand); }
.primary-nav .menu-item-has-children > a::after,
.primary-nav .cat-item:has(> .children) > a::after {
	content: ""; display: inline-block; margin-left: 6px; vertical-align: 3px;
	border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.primary-nav .sub-menu, .primary-nav .children {
	list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 60;
	background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--brand);
	box-shadow: var(--shadow); padding: 6px 0;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a, .primary-nav .children a { display: block; padding: 8px 16px; font-size: 16px; }
.primary-nav .sub-menu a:hover, .primary-nav .children a:hover { background: var(--soft); }

.site-search { background: var(--soft); border-top: 1px solid var(--line); padding-block: 14px; }
.search-form { display: flex; max-width: 640px; margin-inline: auto; }
.search-form__input {
	flex: 1; min-width: 0; padding: 10px 14px; font: inherit; font-size: 17px;
	border: 1px solid #cfcfcb; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: #fff;
}
.search-form__input:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.search-form__btn { border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 16px; }

/* ---------- Breaking ticker ---------- */
.ticker { background: #fbfaf8; border-bottom: 1px solid var(--line); }
.ticker__inner { display: flex; align-items: stretch; gap: 0; height: 44px; }
.ticker__track a { color: var(--ink-2); transition: color .15s ease; }
.ticker__track a:hover { color: var(--brand); }
.ticker__label {
	flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 14px;
	background: var(--brand); color: #fff; font-family: var(--serif); font-size: 16px; font-weight: 700;
	clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.ticker__label::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
	animation: n360-pulse 1.4s ease-in-out infinite;
}
.ticker__viewport {
	flex: 1; overflow: hidden; display: flex; align-items: center;
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker__track { list-style: none; display: flex; width: max-content; animation: n360-ticker var(--ticker-duration, 60s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track li { flex: none; display: flex; align-items: center; padding: 0 22px; font-size: 16px; white-space: nowrap; }
.ticker__track li::before { content: ""; width: 7px; height: 7px; margin-right: 22px; background: var(--brand); transform: rotate(45deg); }
@keyframes n360-ticker { to { transform: translateX(-50%); } }
@keyframes n360-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; }
	.ticker__viewport { overflow-x: auto; mask-image: none; }
	.ticker__label::before { animation: none; }
}

/* ---------- Section headings ---------- */
.section-head {
	display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 16px;
	margin-bottom: 20px; border-bottom: 1px solid #d9d9d5;
}
.section-title { font-size: 23px; margin: 0; font-weight: 700; }
.section-title span { display: inline-flex; align-items: center; gap: 10px; position: relative; padding-bottom: 8px; }
.section-title span::before { content: ""; width: 10px; height: 10px; background: var(--brand); border-radius: 2px; transform: rotate(45deg); flex: none; }
.section-title span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); }
.section-title a:hover { color: var(--brand); }
.section-more {
	margin-left: auto; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
	display: inline-flex; align-items: center; gap: 4px; transition: color .15s ease;
}
.section-more:hover { color: var(--brand); }
.section-more span { transition: transform .15s ease; }
.section-more:hover span { transform: translateX(3px); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.chips a {
	display: block; padding: 2px 12px; font-size: 15px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--bg); color: var(--ink-2);
}
.chips a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__media {
	position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--soft); aspect-ratio: 16 / 9;
	isolation: isolate;
}
.card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }
.card__media, .article__figure-media { background-color: var(--soft); background-size: cover; background-position: center; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .45s ease; }
/* Photos fade in over their blurred placeholder once loaded (only after JS runs, so nothing hides without it). */
.js-fade .card__img:not(.is-loaded):not([fetchpriority="high"]), .js-fade .article__content img:not(.is-loaded) { opacity: 0; }
.article__content img { transition: opacity .45s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__img--empty {
	display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .12), transparent 45%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, #2a2a2a, #121212);
	font-family: var(--serif); font-weight: 700; color: rgba(255, 255, 255, .85); font-size: clamp(14px, 1.6vw, 22px);
}
.card__img--empty b { font-weight: 700; color: #fff; background: var(--brand); padding: .05em .3em .12em; border-radius: 4px; }
.card--row .card__img--empty, .card--text .card__img--empty { font-size: 12px; }
.card--row .card__img--empty i { display: none; }
.card__img--empty i { font-style: normal; }
.card__body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.card__title { font-size: 18px; line-height: 1.5; font-weight: 600; }
.card__title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; transition: color .15s ease; }
.card__excerpt {
	margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.card__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #85898e; }
.card__time::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }

.cat-badge {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 600; color: var(--brand); line-height: 1.3;
}
.cat-badge::before { content: ""; width: 14px; height: 2px; background: currentColor; }
.cat-badge:hover { color: var(--brand-dark); }

.card--lead .card__title { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.38; font-weight: 700; }
.card--lead .card__title a { -webkit-line-clamp: 4; }
.card--lead .card__excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.card--lead .card__media { border-radius: 8px; }

.card--row { flex-direction: row; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.card--row .card__media { flex: 0 0 120px; aspect-ratio: 3 / 2; align-self: flex-start; }
.card--row .card__title { font-size: 16.5px; }
.card--row .card__excerpt { font-size: 15px; -webkit-line-clamp: 2; }

.card--text { padding-block: 11px; border-top: 1px solid var(--line); }
.card--text .card__title { font-size: 16.5px; font-weight: 500; }
.card--text .card__title a { -webkit-line-clamp: 2; }
.card--text .card__time { display: none; }

.card--numbered { flex-direction: row; align-items: flex-start; gap: 14px; padding-block: 13px; border-top: 1px solid var(--line); }
.card--numbered:first-child { border-top: 0; }
.card__num {
	flex: none; width: 34px; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1;
	color: #d9d9d4; text-align: center; transition: color .15s ease;
}
.card--numbered .card__title { font-size: 16px; font-weight: 500; }
.card--numbered .card__title a { -webkit-line-clamp: 2; }
.card--numbered:hover .card__num { color: var(--brand); }

/* ---------- Grids ---------- */
.grid-3, .grid-4 { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-4--tight { gap: 18px; }
.grid-4--tight .card__title { font-size: 16.5px; }

/* ---------- Homepage: lead ---------- */
.home-lead {
	display: grid; gap: 28px; padding-top: 28px;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 320px;
}
.home-lead__main .card__body { gap: 10px; }
.home-lead__side {
	display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; align-content: start;
	padding-left: 28px; border-left: 1px solid var(--line);
}
.home-lead__side .card__title { font-size: 16.5px; }
.home-lead__tabs { min-width: 0; }

.home-strip {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
	margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line);
}
.home-strip .card__title { font-size: 17px; }

/* Tabs box */
.tabs { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.tabs__nav { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: #faf9f7; }
.tabs__nav button {
	position: relative; padding: 12px 8px; border: 0; background: none; color: var(--muted);
	font-family: var(--serif); font-weight: 600; font-size: 17px; transition: color .15s ease;
}
.tabs__nav button::after {
	content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
	background: var(--brand); transform: scaleX(0); transition: transform .2s ease;
}
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button[aria-selected="true"] { color: var(--brand); background: var(--bg); }
.tabs__nav button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding: 4px 18px; max-height: 560px; overflow-y: auto; scrollbar-width: thin; }
.tabs__more {
	display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px;
	font-weight: 600; font-size: 15px; color: var(--brand); border-top: 1px solid var(--line); transition: background .15s ease;
}
.tabs__more::after { content: "→"; transition: transform .15s ease; }
.tabs__more:hover { background: var(--brand-soft); }
.tabs__more:hover::after { transform: translateX(3px); }

/* ---------- Homepage: local news ---------- */
.home-local {
	margin-top: 48px; padding: 28px 28px 12px; border-radius: 10px;
	background: linear-gradient(180deg, #eef5f5, #f7fafa 160px, #fff 100%);
	border: 1px solid #e1ecec;
}
.home-local .section-head { border-bottom-color: #cfe0e0; }
.home-local .section-title span::before { background: var(--accent); }
.home-local .section-title span::after { background: var(--accent); }
.home-local .chips { margin-left: auto; padding-bottom: 8px; }
.home-local .chips a:hover { border-color: var(--accent); color: var(--accent); background: #e6f1f1; }
.home-local__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.area-col { min-width: 0; }
.area-col__title {
	display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; font-weight: 700;
}
.area-col__title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--accent); }
.area-col__title a:hover { color: var(--accent); }
.area-col .card--card { margin-bottom: 4px; }
.area-col .card--card .card__title { font-size: 16.5px; }
.area-col .card a:hover, .home-local .card__title a:hover { color: var(--accent); }

/* ---------- Homepage: category sections ---------- */
.cat-feature, .cat-pair, .home-opinion { margin-top: 52px; }
.cat-feature__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.cat-feature__main .card__title { font-size: clamp(22px, 2.3vw, 27px); }
.cat-feature__cards { display: grid; gap: 22px; align-content: start; }
.cat-feature__list { padding-left: 24px; border-left: 1px solid var(--line); }
.cat-feature__list .card--row:first-child { border-top: 0; padding-top: 0; }

.cat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cat-block > .card--card { margin-bottom: 8px; }
.cat-block > .card--card .card__title { font-size: 20px; font-weight: 700; }

.home-opinion { background: #f6f4ef; padding: 28px; border-radius: 10px; }
.home-opinion .section-head { border-bottom-color: #e2ddd2; }
.opinion-card {
	position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; background: var(--bg);
	border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: box-shadow .2s ease, transform .2s ease;
}
.opinion-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.opinion-card::before {
	content: "“"; position: absolute; top: 2px; right: 16px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: #eee5d6;
}
.opinion-card__by { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.opinion-card__title { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.opinion-card__title a:hover { color: var(--brand); }
.opinion-card__excerpt {
	margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted);
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* ---------- Two-column layout (single, archive) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 24px; align-items: start; }
.layout__main { min-width: 0; }
.sidebar { min-width: 0; }
.sidebar__sticky { position: sticky; top: 76px; display: grid; gap: 24px; }
.sidebar .widget { margin: 0; }
.sidebar .widget ul { list-style: none; }
.sidebar .widget li { padding: 8px 0; border-top: 1px solid var(--line); }
.sidebar .widget li:first-child { border-top: 0; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #c4c4c0; }
.breadcrumbs a { transition: color .15s ease; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .icon { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- Archive ---------- */
.archive-header { padding: 28px 0 20px; border-bottom: 1px solid #d9d9d5; margin-bottom: 4px; position: relative; }
.archive-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 3px; background: var(--brand); }
.archive-header__title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
.archive-header__desc { color: var(--muted); margin-top: 8px; max-width: 70ch; }
.archive-header__desc p { margin: 0; }
.archive-header .chips { margin-top: 16px; padding: 0; }
.archive-header__search { margin-top: 18px; }
.archive-header__search .search-form { margin: 0; }
.archive-lead { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.archive-lead .card--lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.layout__main .grid-3 { gap: 32px 24px; }
.list .card--row:first-child { border-top: 0; padding-top: 0; }
.list .card--row { gap: 20px; padding-block: 20px; }
.list .card--row .card__media { flex-basis: 220px; }
.list .card--row .card__title { font-size: 19px; }
.empty { padding: 48px 0; color: var(--muted); text-align: center; }

.pagination { margin-top: 44px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; transition: .15s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .dots { border: 0; }

/* ---------- Single article ---------- */
.layout--article { padding-top: 28px; }
.article__header { padding-bottom: 4px; }
.article__section {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px;
	font-size: 15px; font-weight: 600;
}
.article__section a { color: var(--brand); }
.article__section a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article__section span { color: #b9b9b4; }
.article__title { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.34; letter-spacing: -.2px; font-weight: 700; }
.article__subtitle { margin: 16px 0 0; font-size: 19px; line-height: 1.65; color: #45484c; }

.article__byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; position: relative; }
.article__byline::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 2px; background: #dcdcd7; }
.byline__avatar {
	display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
	background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 19px;
	box-shadow: inset 0 0 0 1px rgba(181, 18, 27, .15);
}
.byline__name { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.5; }
.byline__name strong { font-size: 16.5px; font-weight: 700; }
.byline__name span { font-size: 14.5px; color: var(--muted); }

.article__meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
	margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.byline__time { margin: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 16px; }
.byline__updated { color: var(--accent); }

/* Share / tools */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.share__btn {
	display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
	color: #fff; background: #555; font-family: var(--serif); font-weight: 700; font-size: 14px; line-height: 1;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.share__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .14); }
.share__btn .icon { width: 18px; height: 18px; }
.share__btn--facebook { background: #1877f2; }
.share__btn--whatsapp { background: #25d366; }
.share__btn--messenger { background: linear-gradient(135deg, #00b2ff, #a033ff); }
.share__btn--x { background: #111; }
.share__btn--more { background: #e8463c; }
.share__btn--gnews { background: #fff; color: #1a73e8; box-shadow: inset 0 0 0 1px var(--line); }
.share__btn--gnews:hover { color: #1a73e8; }
.share__btn--tool { background: #eef1f5; color: #2b4c7e; }
.share__btn--tool:hover { background: #dfe6ef; color: #2b4c7e; box-shadow: none; }
.share__btn--tool:disabled { opacity: .4; cursor: default; transform: none; }
.share__sep { width: 1px; height: 22px; background: var(--line); margin-inline: 2px; }
.share__label { font-size: 13px; color: var(--muted); }
.share__btn--messenger { display: none; }
@media (hover: none) and (pointer: coarse) { .share__btn--messenger { display: grid; } }

/* Desktop rail: stays beside the text while reading */
.article__body { position: relative; }
.share-rail { display: none; }
@media (min-width: 1025px) {
	.article__body { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 28px; }
	.share-rail { display: block; padding-top: 30px; }
	.share--rail {
		position: sticky; top: 84px; flex-direction: column; flex-wrap: nowrap; gap: 10px;
		padding: 12px 0; border-radius: 999px; background: #fff;
	}
	.share--rail .share__label { font-size: 11.5px; text-align: center; line-height: 1.3; }
	.share--rail .share__sep { width: 22px; height: 1px; margin: 2px 0; }
	.share--rail .share__label--follow { margin-top: 6px; }
}

/* Phones: bottom share bar */
.share-dock { display: none; }
@media (max-width: 1024px) {
	.share-dock {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
		box-shadow: 0 -6px 18px rgba(0, 0, 0, .06);
		transform: translateY(110%); transition: transform .25s ease;
	}
	.share-dock.is-visible { transform: none; }
	.share-dock .share { justify-content: space-between; flex-wrap: nowrap; }
	.share-dock .share__btn { width: 42px; height: 42px; }
	.share-dock.is-visible ~ .site-footer .to-top, .single-post .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* Figure */
.article__figure { margin: 24px 0 0; }
.article__figure-media { overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 9; }
.article__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__figure figcaption {
	margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted);
	padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.figcap__credit { color: var(--brand); font-size: 13.5px; white-space: nowrap; }
.figcap__text + .figcap__credit::before { content: " | "; color: #c4c4c0; }

/* Body text: size follows the অ+/অ− control */
.entry-content { max-width: 740px; margin-top: 28px; font-size: calc(19px * var(--article-scale, 1)); line-height: 1.9; color: #222; }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2 { font-size: 1.32em; margin-top: 1.5em; font-weight: 700; }
.entry-content h3 { font-size: 1.12em; margin-top: 1.4em; font-weight: 700; }
.entry-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--brand); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: #faf7f6; border-radius: 0 8px 8px 0;
	font-size: 1.1em; line-height: 1.7; color: var(--ink-2);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry-content figure, .entry-content .wp-caption { margin-inline: 0; max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content img { border-radius: 6px; background: var(--soft); }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.2em .8em 0; }
.entry-content .alignright { float: right; margin: .3em 0 .8em 1.2em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.entry-content th { background: var(--soft); }
.entry-content .n360-info { margin: 1.2em 0 1.6em; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf8; display: grid; gap: 8px; font-size: .9em; }
.entry-content .n360-info div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; }
.entry-content .n360-info dt { font-weight: 700; color: var(--ink-2); }
.entry-content .n360-info dd { margin: 0; }
@media (max-width: 480px) { .entry-content .n360-info div { grid-template-columns: 1fr; gap: 0; } }
.entry-content .page-updated { font-size: .85em; color: var(--muted); }
.entry-content .n360-demo-note {
	font-size: 15px; line-height: 1.6; padding: 12px 16px; border-radius: 8px;
	background: #fff8e1; border: 1px solid #f0d98c; color: #6b5300;
}

/* Inline "আরও পড়ুন" */
.entry-content .read-also { margin: 1.8em 0; padding: 14px 0; border-block: 1px solid var(--line); }
.read-also__label { display: block; font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.entry-content .read-also__link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.read-also__img { flex: 0 0 96px; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background-size: cover; }
.read-also__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.read-also__title { font-size: 17px; line-height: 1.55; font-weight: 600; }
.entry-content .read-also__link:hover .read-also__title { color: var(--brand); }

/* After the article */
.article__footer { max-width: 740px; margin-top: 32px; display: grid; gap: 18px; }
.article__footer > * { min-width: 0; }
.share--footer { padding: 16px 18px; border-radius: 10px; background: #f7f6f3; gap: 10px; }
.share--footer .share__label { flex-basis: 100%; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.share--footer .share__btn { width: auto; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; gap: 8px; display: inline-flex; align-items: center; font-family: var(--serif); font-size: 14.5px; font-weight: 600; }
.share--footer .share__btn--more { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px #dcdcd7; }
.share--footer .share__btn--more:hover { color: var(--brand); }
.follow-gnews {
	display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 10px;
	border: 1px solid #d5e3fb; background: #f4f8ff; color: #1a3d7c; font-size: 15.5px;
}
.follow-gnews .icon { width: 26px; height: 26px; color: #1a73e8; }
.follow-gnews:hover { border-color: #1a73e8; color: #1a3d7c; }
.trust-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; border: 1px solid #dfeae9; background: #f5fafa; }
.trust-note .icon { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.trust-note p { margin: 0; font-size: 15px; line-height: 1.7; color: #3d4a4a; }
.trust-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: block; padding: 4px 14px; background: var(--soft); border-radius: 999px; font-size: 14.5px; transition: .15s ease; }
.tags a::before { content: "#"; color: var(--brand); margin-right: 2px; }
.tags a:hover { background: var(--brand-soft); color: var(--brand); }
.article__more-link { margin: 0; }
.article__more-link a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; transition: .15s ease;
}
.article__more-link a::after { content: "→"; color: var(--brand); transition: transform .15s ease; }
.article__more-link a:hover { border-color: var(--brand); color: var(--brand); }
.article__more-link a:hover::after { transform: translateX(4px); }

.related { margin-top: 48px; }
.related .grid-3 .card__title { font-size: 17px; }

.toast {
	position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 200;
	padding: 10px 18px; border-radius: 999px; background: #1b1b1b; color: #fff; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* ---------- Comments ---------- */
.comments { max-width: 740px; margin-top: 48px; }
.comment-list { list-style: none; margin-bottom: 28px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--muted); }
.comment-respond { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfb; }
.comment-reply-title { font-size: 21px; margin-bottom: 6px; }
.comment-reply-title small { font-size: 14px; margin-left: 8px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.comment-form > * { grid-column: 1 / -1; }
.comment-form .comment-form-author { grid-column: 1; }
.comment-form .comment-form-email { grid-column: 2; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	width: 100%; padding: 11px 14px; font: inherit; font-size: 16px; background: #fff;
	border: 1px solid #d6d6d1; border-radius: 8px; transition: border-color .15s ease, box-shadow .15s ease;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(181, 18, 27, .12); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted); }
.comment-form-cookies-consent label { font-weight: 400; font-size: 14px; margin: 0; }
.comment-form .submit { padding: 11px 26px; border-radius: 999px; font-size: 16px; transition: background .15s ease; }
.comment-notes { font-size: 14px; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-top: 56px; }
.notfound__code { font-size: 104px; font-weight: 700; line-height: 1; color: var(--brand); margin: 0; letter-spacing: 4px; }
.notfound__title { font-size: 28px; margin: 14px 0; }
.notfound__search { margin: 24px auto; max-width: 520px; }
.notfound .button { border-radius: 999px; padding-inline: 26px; }
.notfound__latest { margin-top: 56px; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; background: #141414; color: #b9b9b5; font-size: 15px; border-top: 4px solid var(--brand); }
.site-footer a { transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; padding-block: 52px 40px;
}
.site-footer .site-logo a, .site-footer .site-logo__text { color: #fff; }
.site-footer .site-logo__text { font-size: 34px; }
.site-footer .site-logo__badge { font-size: 20px; }
.site-footer__tagline { margin: 14px 0 0; line-height: 1.7; }
.site-footer__people { margin: 18px 0 0; display: grid; gap: 4px; }
.site-footer__people div { display: flex; gap: 6px; }
.site-footer__people dt { color: #85857f; }
.site-footer__people dt::after { content: ":"; }
.site-footer__people dd { margin: 0; color: #fff; }
.site-footer__title {
	font-size: 17px; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #2a2a2a; position: relative; font-weight: 700;
}
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; background: var(--brand); }
.site-footer__links { list-style: none; display: grid; gap: 6px; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.site-footer__links .children { display: none; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__links a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #555; transition: background .15s ease; }
.site-footer__links a:hover::before { background: var(--brand); }
.site-footer__contact { font-style: normal; line-height: 1.7; }
.site-footer__contact p { margin: 0 0 6px; }
.social--footer { margin-top: 14px; gap: 8px; }
.social--footer a { background: #232323; color: #ddd; width: 36px; height: 36px; }

.site-footer__bottom { border-top: 1px solid #262626; background: #0e0e0e; font-size: 14px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__copy { margin: 0; color: #85857f; }

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
	transition: background .15s ease, transform .15s ease;
}
.to-top:hover { background: var(--brand); transform: translateY(-2px); }
.to-top[hidden] { display: none; }

::selection { background: rgba(181, 18, 27, .16); }

/* ---------- Mobile-only elements (hidden on desktop) ---------- */
.navbar__brand, .cat-strip { display: none; }
html { -webkit-tap-highlight-color: rgba(181, 18, 27, .12); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.home-lead { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.home-lead__tabs { grid-column: 1 / -1; }
	.home-lead__tabs .tabs__panel { max-height: none; columns: 2; column-gap: 32px; }
	.home-lead__tabs .card--numbered { break-inside: avoid; }
	.home-lead__tabs .card--numbered:nth-child(-n+4) { border-top: 0; }
	.home-lead__side { grid-template-columns: 1fr; gap: 0; }
	.home-lead__side .card { flex-direction: row; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
	.home-lead__side .card:first-child { border-top: 0; padding-top: 0; }
	.home-lead__side .card__media { flex: 0 0 132px; aspect-ratio: 3 / 2; align-self: flex-start; }
	.home-lead__side .card__title { font-size: 16.5px; }
}

/* Tablet and phone: compact sticky header with logo, drawer menu, swipeable sections */
@media (max-width: 1024px) {
	.masthead { display: none; }
	.navbar { border-top-width: 3px; }
	.navbar__inner { min-height: 56px; gap: 0; }
	.navbar__toggle { display: grid; }
	.navbar__home { display: none; }
	.navbar__brand {
		display: inline-flex; align-items: center; gap: 5px; margin-inline: auto;
		font-family: var(--serif); line-height: 1; color: var(--ink);
	}
	.navbar__brand .site-logo__text { font-size: 27px; font-weight: 700; letter-spacing: -.3px; }
	.navbar__brand .site-logo__badge { font-size: 16px; top: 2px; border-radius: 5px; }
	.navbar__logo-img { max-height: 38px; width: auto; }
	.navbar__search-toggle { margin-left: 0; }

	.primary-nav {
		position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 100;
		background: var(--bg); overflow-y: auto; overscroll-behavior: contain; padding: 68px 0 calc(24px + env(safe-area-inset-bottom));
		transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); box-shadow: var(--shadow);
	}
	.nav-open .primary-nav { transform: none; }
	.nav-open .navbar { z-index: 100; }
	.nav-open { overflow: hidden; }
	.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); }
	.nav-open .navbar__toggle { position: fixed; top: 12px; left: min(264px, calc(86vw - 56px)); z-index: 110; background: var(--soft); border-radius: 50%; }
	.admin-bar.nav-open .navbar__toggle { top: 58px; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; }
	.primary-nav .menu > li > a { padding: 14px 22px; font-size: 17px; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a::before { display: none; }
	.primary-nav .sub-menu, .primary-nav .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 6px 0; background: var(--soft);
		display: grid; grid-template-columns: 1fr 1fr;
	}
	.primary-nav .sub-menu a, .primary-nav .children a { padding: 10px 22px; font-size: 16px; }
	.primary-nav .menu-item-has-children > a::after, .primary-nav .cat-item:has(> .children) > a::after { display: none; }

	.ticker__inner { padding-left: 0; } /* label starts at the screen edge, like the section menu */
	.cat-strip {
		display: block; position: relative; background: var(--bg); border-bottom: 1px solid var(--line);
	}
	.cat-strip::after {
		content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 32px; pointer-events: none;
		background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
	}
	.cat-strip__list {
		list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none;
		scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
	}
	.cat-strip__list::-webkit-scrollbar { display: none; }
	.cat-strip__list li { flex: none; scroll-snap-align: start; }
	.cat-strip__list a {
		display: block; padding: 6px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 600; white-space: nowrap;
		color: var(--ink-2); background: var(--soft);
	}
	.cat-strip__list .current-menu-item > a, .cat-strip__list .current-menu-ancestor > a, .cat-strip__list .current-menu-parent > a {
		background: var(--brand); color: #fff;
	}

	.layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.sidebar__sticky { position: static; }
	.home-local__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-4, .home-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-feature__grid { grid-template-columns: 1fr 1fr; }
	.cat-feature__main { grid-column: 1 / -1; }
	.cat-feature__list { padding-left: 0; border-left: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.entry-content, .article__footer, .comments { max-width: none; }
}

/* Phones */
@media (max-width: 720px) {
	:root { --gap: 16px; }
	body { font-size: 16px; }

	.topbar { font-size: 12.5px; }
	.topbar__inner { justify-content: center; min-height: 32px; }
	.topbar__date { justify-content: center; }
	.topbar .social { display: none; }

	.ticker__inner { height: 42px; }
	.ticker__track li { font-size: 15px; padding-inline: 16px; }
	.ticker__track li::before { margin-right: 16px; }
	.ticker__label { font-size: 14.5px; padding-inline: 16px 18px; }

	.section-head { margin-bottom: 14px; }
	.section-title { font-size: 21px; }

	/* Homepage lead: full-bleed photo, then compact rows */
	.home-lead { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
	.home-lead__main .card__media { margin-inline: -16px; border-radius: 0; }
	.home-lead__main .card__media::after { display: none; }
	.home-lead__main .card--lead .card__title { font-size: 25px; }
	.home-lead__main .card--lead .card__excerpt { font-size: 16px; -webkit-line-clamp: 3; }
	.home-lead__side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
	.home-lead__tabs .tabs__panel { columns: 1; }
	.home-lead__tabs .card--numbered:nth-child(-n+4) { border-top: 1px solid var(--line); }
	.home-lead__tabs .card--numbered:first-child { border-top: 0; }

	/* Any grid of cards becomes a list of thumbnail rows */
	.home-strip, .grid-3 { grid-template-columns: 1fr; gap: 0; }
	.home-strip { margin-top: 24px; padding-top: 10px; }
	.home-strip .card, .grid-3 .card, .area-col .card--card, .cat-feature__cards .card, .cat-block > .card--card {
		flex-direction: row; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line);
	}
	.home-strip .card:first-child, .grid-3 .card:first-child { border-top: 0; }
	.home-strip .card__media, .grid-3 .card__media, .area-col .card--card .card__media, .cat-feature__cards .card__media {
		flex: 0 0 116px; aspect-ratio: 3 / 2; align-self: flex-start;
	}
	.home-strip .card__title, .grid-3 .card__title, .area-col .card--card .card__title, .cat-feature__cards .card__title { font-size: 16.5px; }
	.grid-3 .card__excerpt, .cat-feature__cards .card__excerpt { display: none; }
	.home-strip .cat-badge { font-size: 13px; }
	.grid-4 { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
	.grid-4 .card__title { font-size: 15.5px; }

	/* Local news */
	.home-local { margin: 32px 0 0; padding: 22px 16px 6px; border-radius: 0; border-inline: 0; }
	.home-local .section-head { flex-direction: column; align-items: flex-start; }
	.home-local .chips {
		margin: 0 -16px; padding: 0 16px 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100% + 32px);
	}
	.home-local .chips::-webkit-scrollbar { display: none; }
	.home-local .chips li { flex: none; }
	.home-local__grid { grid-template-columns: 1fr; gap: 26px; }
	.area-col .card--card { border-top: 0; padding-top: 0; }

	/* Topic sections */
	.cat-feature, .cat-pair, .home-opinion { margin-top: 36px; }
	.cat-feature__grid { grid-template-columns: 1fr; gap: 0; }
	.cat-feature__main { margin-bottom: 4px; }
	.cat-feature__main .card__title { font-size: 22px; }
	.cat-feature__cards { gap: 0; }
	.cat-feature__list .card--row:first-child { border-top: 1px solid var(--line); padding-top: 14px; }
	.cat-pair { grid-template-columns: 1fr; gap: 36px; }
	.cat-block > .card--card { margin-bottom: 0; border-top: 0; padding-top: 0; }
	.cat-block > .card--card .card__title { font-size: 17px; font-weight: 600; }
	.cat-block > .card--card .card__excerpt { display: none; }
	.cat-block > .card--card .card__media { flex: 0 0 116px; aspect-ratio: 3 / 2; align-self: flex-start; }

	/* Opinion: swipe through cards */
	.home-opinion { margin-inline: 0; padding: 24px 16px; border-radius: 0; }
	.home-opinion .grid-4 {
		display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; gap: 12px;
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none;
	}
	.home-opinion .grid-4::-webkit-scrollbar { display: none; }
	.opinion-card { scroll-snap-align: start; }

	/* Archive & lists */
	.archive-header { padding: 20px 0 16px; }
	.archive-header .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.archive-header .chips::-webkit-scrollbar { display: none; }
	.archive-header .chips li { flex: none; }
	.archive-lead { margin-bottom: 8px; padding-bottom: 16px; }
	.archive-lead .card--lead { grid-template-columns: 1fr; gap: 14px; }
	.archive-lead .card__media { margin-inline: -16px; border-radius: 0; }
	.layout { padding-top: 16px; }
	.layout__main .grid-3 { gap: 0; }
	.list .card--row { gap: 14px; padding-block: 14px; }
	.list .card--row .card__media { flex-basis: 116px; }
	.list .card--row .card__title { font-size: 16.5px; }
	.list .card--row .card__excerpt { display: none; }
	.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; }
	.pagination .prev, .pagination .next { flex-basis: 100%; }

	/* Article */
	.breadcrumbs ol { font-size: 13px; margin-bottom: 10px; }
	.article__title { font-size: 26px; line-height: 1.38; }
	.article__subtitle { font-size: 17px; margin-top: 12px; }
	.layout--article { padding-top: 16px; }
	.article__section { font-size: 14px; margin-bottom: 10px; }
	.article__byline { margin-top: 18px; padding-top: 14px; }
	.byline__avatar { width: 38px; height: 38px; font-size: 17px; }
	.article__meta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 10px; padding-bottom: 14px; }
	.share--header { flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
	.share--header [data-print] { display: none; }
	.share--header .share__btn { width: 40px; height: 40px; }
	.article__figure { margin-inline: -16px; margin-top: 16px; }
	.article__figure-media { border-radius: 0; }
	.article__figure figcaption { margin-inline: 16px; }
	.entry-content { font-size: calc(18px * var(--article-scale, 1)); line-height: 1.85; margin-top: 22px; }
	.read-also__img { flex-basis: 84px; }
	.read-also__title { font-size: 16px; }
	.share--footer { margin-inline: -4px; }
	.entry-content h2 { font-size: 22px; }
	.entry-content h3 { font-size: 19.5px; }
	.entry-content blockquote { font-size: 18.5px; padding: 14px 16px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1em; }
	.entry-content table { display: block; overflow-x: auto; }
	.article__footer { flex-direction: column; align-items: stretch; }
	.article__footer .tags { align-self: flex-start; }
	.related { margin-top: 36px; }

	/* Comments */
	.comment-respond { padding: 18px 16px; }
	.comment-form { grid-template-columns: 1fr; }
	.comment-form .comment-form-author, .comment-form .comment-form-email { grid-column: 1; }
	.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { font-size: 16px; }
	.comment-form .submit { width: 100%; }

	/* 404 */
	.notfound { padding-top: 32px; }
	.notfound__code { font-size: 80px; }
	.notfound__title { font-size: 22px; }

	/* Footer */
	.site-main { padding-bottom: 8px; }
	.site-footer { margin-top: 32px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 36px 28px; }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__grid > div:last-child { grid-column: 1 / -1; }
	.site-footer__links a { padding-block: 3px; }
	.site-footer__bottom-inner { flex-direction: column; text-align: center; gap: 12px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
	.footer-menu { justify-content: center; gap: 6px 16px; }

	.to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

@media (max-width: 380px) {
	.navbar__brand .site-logo__text { font-size: 24px; }
	.home-strip .card__media, .grid-3 .card__media, .area-col .card--card .card__media,
	.cat-feature__cards .card__media, .cat-block > .card--card .card__media, .list .card--row .card__media, .card--row .card__media { flex-basis: 100px; }
	.article__title { font-size: 24px; }
}

@media (hover: none) {
	.card:hover .card__img { transform: none; }
	.opinion-card:hover { transform: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
}

/* ---------- Print ---------- */
@media print {
	.topbar, .navbar, .cat-strip, .ticker, .sidebar, .share, .related, .comments, .site-footer, .to-top, .ad-slot, .breadcrumbs { display: none !important; }
	.masthead { display: block !important; border-bottom: 2px solid #000; }
	.masthead__aside { display: none; }
	.layout { display: block; }
	body { font-size: 12pt; color: #000; }
	.entry-content { max-width: none; }
	.entry-content a { color: #000; text-decoration: none; }
}

/* ---------- Narayanganj Tribune menu bar: centred items with dividers ---------- */
.navbar { border-top: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.navbar.is-stuck { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
@media (min-width: 1025px) {
	.navbar__inner { min-height: 58px; }
	.navbar__home { display: none; }
	.primary-nav .menu { justify-content: center; }
	.primary-nav .menu > li + li::before {
		content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 24px; transform: translateY(-50%); background: #cfcfcf;
	}
	.primary-nav .menu > li > a { padding: 15px 22px; font-size: 19px; font-weight: 700; color: #151515; }
	.primary-nav .menu > li > a::before { left: 22px; right: 22px; bottom: 9px; }
	.navbar__search-toggle { margin-left: 0; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
	.primary-nav .menu > li > a { padding: 15px 13px; font-size: 17px; }
	.primary-nav .menu > li > a::before { left: 13px; right: 13px; }
}
