/*
Theme Name:   GO Narayanganj
Theme URI:    https://gonarayanganj.example/
Description:  Child theme of JNews for the GO Narayanganj city portal. Holds the templates for People, Places and Wiki entries, plus Bangla typography. The content model lives in the go-narayanganj-core plugin, not here — so this theme can be replaced without losing content.
Author:       GO Narayanganj
Template:     jnews
Version:      0.18.1
Text Domain:  gonarayanganj-child
*/

/* -------------------------------------------------------------------------
   Profile layout
   Scoped under .ngj- prefixes so nothing here can leak into JNews's own
   news templates.
   ---------------------------------------------------------------------- */

.ngj-profile {
	--ngj-rule: #e3e6ea;
	--ngj-muted: #6b7280;
	--ngj-accent: #d32f2f;
	max-width: 100%;
}

.ngj-profile__header {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ngj-rule);
	margin-bottom: 24px;
}

.ngj-profile__photo {
	flex: 0 0 160px;
}

.ngj-profile__photo img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.ngj-profile__identity {
	flex: 1 1 auto;
	min-width: 0;
}

.ngj-profile__name {
	margin: 0 0 6px;
	line-height: 1.25;
}

.ngj-profile__profession {
	color: var(--ngj-accent);
	font-weight: 600;
	margin: 0 0 4px;
}

.ngj-profile__position {
	color: var(--ngj-muted);
	margin: 0;
}

/* Key/value facts. A definition list is the honest markup here: these are
   terms and their values, and screen readers announce the pairing. */
.ngj-facts {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 8px 20px;
	margin: 0 0 24px;
}

.ngj-facts dt {
	color: var(--ngj-muted);
	font-weight: 600;
}

.ngj-facts dd {
	margin: 0;
}

.ngj-section {
	margin-bottom: 28px;
}

.ngj-section__title {
	font-size: 1.15em;
	margin: 0 0 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--ngj-accent);
	display: inline-block;
}

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

.ngj-works li {
	padding: 8px 0;
	border-bottom: 1px solid var(--ngj-rule);
}

.ngj-works__year {
	color: var(--ngj-muted);
	margin-left: 6px;
}

.ngj-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ngj-links a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--ngj-rule);
	border-radius: 3px;
	text-decoration: none;
}

/* Related News — the feature this whole build is shaped around. */
.ngj-related {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ngj-related__item {
	display: flex;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ngj-rule);
}

.ngj-related__thumb {
	flex: 0 0 96px;
}

.ngj-related__thumb img {
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}

.ngj-related__title {
	margin: 0 0 4px;
	font-size: 1em;
	line-height: 1.4;
}

.ngj-related__date {
	color: var(--ngj-muted);
	font-size: 0.85em;
}

.ngj-empty {
	color: var(--ngj-muted);
	font-style: italic;
}

.ngj-updated {
	color: var(--ngj-muted);
	font-size: 0.85em;
	padding-top: 16px;
	border-top: 1px solid var(--ngj-rule);
}

/* -------------------------------------------------------------------------
   Homepage
   Two columns on desktop, one on phones. Section rules and card shapes are
   shared so the page reads as one system down its whole length.
   ---------------------------------------------------------------------- */

.ngj-home {
	--ngj-rule: #e3e6ea;
	--ngj-muted: #6b7280;
	--ngj-accent: #c62828;
	--ngj-navy: #123a6b;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px 48px;
}

.ngj-home__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

@media (max-width: 980px) {
	.ngj-home__grid { grid-template-columns: 1fr; }
}

/* ---- breaking ticker ---- */

.ngj-ticker {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--ngj-rule);
	border-radius: 4px;
	overflow: hidden;
	margin: 16px 0 22px;
	background: #fff;
}

.ngj-ticker__label {
	background: var(--ngj-accent);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .08em;
	padding: 9px 14px;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.ngj-ticker__track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	padding: 9px 14px;
	scrollbar-width: thin;
}

.ngj-ticker__item {
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
	font-size: 14px;
}

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

/* ---- section headers ---- */

.ngj-sec { margin-bottom: 34px; }

.ngj-sec__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	border-bottom: 2px solid var(--ngj-rule);
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.ngj-sec__title {
	font-size: 1.22em;
	margin: 0 0 -2px;
	padding: 0 0 7px;
	border-bottom: 3px solid var(--ngj-accent);
	line-height: 1.3;
}

.ngj-sec__title--widget { border-bottom: none; padding-bottom: 0; }

.ngj-sec__sub {
	color: var(--ngj-muted);
	font-size: .85em;
	flex: 1 1 auto;
}

.ngj-sec__more {
	font-size: .85em;
	text-decoration: none;
	color: var(--ngj-accent);
	margin-left: auto;
	white-space: nowrap;
}

/* ---- rows ---- */

.ngj-row { display: grid; gap: 18px; }
.ngj-row--4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ngj-row--5 { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }

/* ---- news card ---- */

.ngj-ncard__media {
	display: block;
	position: relative;
	margin-bottom: 9px;
}

.ngj-ncard__media img,
.ngj-ncard__ph {
	width: 100%;
	height: 125px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
	background: #eef0f3;
}

.ngj-ncard__ph--tall { height: 300px; }

.ngj-ncard__flag {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--ngj-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 3px 8px;
	border-radius: 2px;
}

.ngj-ncard__flag--static { position: static; display: inline-block; margin-bottom: 8px; }

.ngj-ncard__title {
	font-size: .98em;
	line-height: 1.42;
	margin: 0 0 5px;
}

.ngj-ncard__title a { text-decoration: none; color: inherit; }
.ngj-ncard__title a:hover { color: var(--ngj-accent); }

.ngj-ncard__date { color: var(--ngj-muted); font-size: .8em; }

/* ---- hero ---- */

.ngj-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 32px;
}

@media (max-width: 760px) {
	.ngj-hero { grid-template-columns: 1fr; }
}

.ngj-hero__media img,
.ngj-hero__lead .ngj-ncard__ph {
	width: 100%;
	height: 330px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

@media (max-width: 760px) {
	.ngj-hero__media img { height: 220px; }
}

.ngj-hero__body { padding-top: 12px; }

.ngj-hero__title {
	font-size: 1.6em;
	line-height: 1.28;
	margin: 0 0 8px;
	text-wrap: balance;
}

.ngj-hero__title a { text-decoration: none; color: inherit; }
.ngj-hero__title a:hover { color: var(--ngj-accent); }

.ngj-hero__excerpt { color: var(--ngj-muted); margin: 0 0 8px; font-size: .95em; }

.ngj-hero__rail { display: flex; flex-direction: column; gap: 14px; }

.ngj-hero__side {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ngj-hero__sidemedia { flex: 0 0 110px; }

.ngj-hero__sidemedia img,
.ngj-hero__side .ngj-ncard__ph {
	width: 110px;
	height: 76px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}

.ngj-hero__sidetitle {
	font-size: .95em;
	line-height: 1.4;
	margin: 0 0 4px;
}

.ngj-hero__sidetitle a { text-decoration: none; color: inherit; }
.ngj-hero__sidetitle a:hover { color: var(--ngj-accent); }

/* ---- people and place cards ---- */

.ngj-pcard { text-align: center; }
.ngj-pcard a { text-decoration: none; color: inherit; }

.ngj-pcard img,
.ngj-pcard__ph {
	width: 92px;
	height: 92px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	margin: 0 auto 10px;
	background: #eef0f3;
}

.ngj-pcard__name { font-size: .95em; margin: 0 0 3px; line-height: 1.35; }
.ngj-pcard__role { color: var(--ngj-accent); font-size: .82em; margin: 0 0 2px; }
.ngj-pcard__pos { color: var(--ngj-muted); font-size: .8em; margin: 0; }

.ngj-plcard a { text-decoration: none; color: inherit; display: block; }
.ngj-plcard img { width: 100%; height: 108px; object-fit: cover; border-radius: 3px; display: block; margin-bottom: 8px; }
.ngj-plcard__name { font-size: .95em; margin: 0 0 2px; line-height: 1.35; }
.ngj-plcard__type { color: var(--ngj-muted); font-size: .8em; margin: 0; }

/* ---- wiki doorway cards ---- */

.ngj-wcard {
	display: block;
	border: 1px solid var(--ngj-rule);
	border-radius: 4px;
	padding: 16px 14px;
	text-decoration: none;
	color: inherit;
	border-top: 3px solid var(--ngj-navy);
	background: #fff;
}

.ngj-wcard:hover { border-top-color: var(--ngj-accent); }
.ngj-wcard__title { display: block; font-weight: 700; margin-bottom: 4px; }
.ngj-wcard__desc { display: block; color: var(--ngj-muted); font-size: .84em; line-height: 1.5; }

/* ---- emergency numbers ---- */

.ngj-emerg {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	gap: 12px;
}

.ngj-emerg__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border: 1px solid var(--ngj-rule);
	border-left: 3px solid var(--ngj-accent);
	border-radius: 3px;
	padding: 11px 13px;
	text-decoration: none;
	color: inherit;
	background: #fff;
}

.ngj-emerg__label { font-size: .84em; color: var(--ngj-muted); }
.ngj-emerg__num { font-weight: 700; font-size: 1.22em; letter-spacing: .02em; }

/* ---- sidebar ---- */

.ngj-home__side { display: flex; flex-direction: column; gap: 22px; }

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

.ngj-latest__item {
	display: flex;
	gap: 11px;
	padding: 11px 0;
	border-bottom: 1px solid var(--ngj-rule);
}

.ngj-latest__item:last-child { border-bottom: none; }
.ngj-latest__thumb { flex: 0 0 72px; }
.ngj-latest__thumb img { width: 72px; height: 54px; object-fit: cover; border-radius: 3px; display: block; }
.ngj-latest__title { font-size: .9em; line-height: 1.42; margin: 0 0 3px; }
.ngj-latest__title a { text-decoration: none; color: inherit; }
.ngj-latest__title a:hover { color: var(--ngj-accent); }

.ngj-side__cta {
	background: var(--ngj-accent);
	color: #fff;
	border-radius: 4px;
	padding: 18px;
}

.ngj-side__ctatitle { margin: 0 0 6px; font-size: 1.05em; color: #fff; }
.ngj-side__cta p { margin: 0 0 12px; font-size: .88em; opacity: .92; }

.ngj-btn {
	display: inline-block;
	background: #fff;
	color: var(--ngj-accent);
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 3px;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
   Archives — the card grid from the mockup
   ---------------------------------------------------------------------- */

.ngj-archive__header {
	margin-bottom: 18px;
}

.ngj-archive__title {
	margin: 0 0 6px;
}

.ngj-archive__description {
	color: var(--ngj-muted, #6b7280);
	margin: 0;
}

.ngj-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e3e6ea;
}

.ngj-filter__item {
	padding: 5px 13px;
	border: 1px solid #e3e6ea;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 1.6;
}

.ngj-filter__item.is-active {
	background: #d32f2f;
	border-color: #d32f2f;
	color: #fff;
}

/* auto-fill rather than auto-fit: with two or three people on a fresh site,
   auto-fit stretches the cards to full width and the grid looks broken. */
.ngj-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 20px;
}

.ngj-card {
	text-align: center;
	border: 1px solid #e3e6ea;
	border-radius: 4px;
	padding: 18px 14px;
}

.ngj-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.ngj-card__photo img,
.ngj-card__placeholder {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	margin: 0 auto 12px;
}

.ngj-card__placeholder {
	background: #eef0f3;
}

.ngj-card__name {
	font-size: 1.02em;
	margin: 0 0 4px;
	line-height: 1.4;
}

.ngj-card__profession {
	color: #d32f2f;
	font-size: 0.86em;
	margin: 0 0 2px;
}

.ngj-card__position {
	color: #6b7280;
	font-size: 0.84em;
	margin: 0;
}

/* Wide cards, for Places and Wiki entries. A place is recognised by its
   photograph in a way a headshot does not serve, so these use a landscape
   banner rather than the circular portrait on People. */

.ngj-grid--wide {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.ngj-card--wide {
	text-align: left;
	padding: 0 0 16px;
	overflow: hidden;
}

.ngj-card__banner img,
.ngj-card__placeholder--wide {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 4px 4px 0 0;
	display: block;
	margin: 0 0 12px;
}

.ngj-card--wide .ngj-card__name,
.ngj-card--wide .ngj-card__profession,
.ngj-card--wide .ngj-card__excerpt {
	padding: 0 14px;
}

.ngj-card__excerpt {
	color: #6b7280;
	font-size: 0.9em;
	margin: 6px 0 0;
	line-height: 1.6;
}

/* Wiki entries read as articles, so they get a measured column rather than
   the full container width. */

.ngj-wiki__header {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ngj-rule, #e3e6ea);
	margin-bottom: 20px;
}

.ngj-wiki__figure {
	margin: 0 0 24px;
}

.ngj-wiki__figure img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.ngj-wiki__figure figcaption {
	color: #6b7280;
	font-size: 0.86em;
	padding-top: 7px;
}

.ngj-wiki__body {
	max-width: 68ch;
}

.ngj-sources {
	margin: 0;
	padding-left: 22px;
	font-size: 0.94em;
}

.ngj-sources li {
	margin-bottom: 6px;
	word-break: break-word;
}

.ngj-profile__photo--wide,
.ngj-profile__photo--wide img {
	flex-basis: 260px;
	width: 260px;
	height: auto;
}

.ngj-profile__photo--wide img {
	height: 170px;
	border-radius: 4px;
}

/* -------------------------------------------------------------------------
   Typography
   Font families and script selection are defined in assets/fonts/fonts.css.
   The public hierarchy is maintained in assets/typography.css.
 */

body,
.ngj-home,
.ngj-profile,
.ngj-archive {
	font-family: var(--font-bn-body);
}

/* Bengali conjuncts stack vertically and get clipped by line-heights that suit
   Latin, so Bengali pages are given more room rather than the same metrics in
   a different face. */

.ngj-lang-bn p,
.ngj-lang-bn li,
.ngj-lang-bn dd,
.ngj-lang-bn .ngj-ncard__title,
.ngj-lang-bn .ngj-latest__title {
	line-height: 1.85;
}

.ngj-lang-bn h1,
.ngj-lang-bn h2,
.ngj-lang-bn h3,
.ngj-lang-bn .ngj-profile__name,
.ngj-lang-bn .ngj-hero__title,
.ngj-lang-bn .ngj-sec__title {
	line-height: 1.5;
}

/* Phone numbers, prices and identifiers stay in Western digits even on Bengali
   pages, because that is how they are printed on official notices and dialled.
   Editorial dates and counts keep Bengali numerals. */

.ngj-emerg__num,
.ngj-facts .ngj-tel,
.ngj-profile__article .ngj-tel {
	font-family: var(--font-latin);
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------
   Mobile
   ---------------------------------------------------------------------- */

@media (max-width: 600px) {
	.ngj-profile__header {
		flex-direction: column;
		gap: 16px;
	}

	.ngj-profile__photo,
	.ngj-profile__photo img {
		width: 120px;
		flex-basis: auto;
	}

	.ngj-profile__photo img {
		height: 120px;
	}

	.ngj-facts {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.ngj-facts dd {
		margin-bottom: 10px;
	}

	.ngj-related__thumb {
		flex-basis: 72px;
	}

	.ngj-related__thumb img {
		width: 72px;
		height: 54px;
	}
}

/* Secondary English name under a Bengali title.
   Deliberately quiet: the Bengali name is the name, and this is a helper for
   readers who know the entity by its English spelling. */

.ngj-profile__nameen,
.ngj-pcard__nameen,
.ngj-plcard__nameen {
	color: #6b7280;
	font-weight: 400;
	margin: 0 0 6px;
}

.ngj-profile__nameen { font-size: 0.95em; }
.ngj-pcard__nameen,
.ngj-plcard__nameen { font-size: 0.78em; margin: 0 0 3px; }

/* -------------------------------------------------------------------------
   Phase 2 — entity pages
   Deep navy structure, restrained red accent, generous line height for
   Bengali. Card spacing is a single scale so People, Places and News read as
   one system rather than three.
   ---------------------------------------------------------------------- */

.ngj-entity {
	--ngj-rule: #e3e6ea;
	--ngj-muted: #5b6878;
	--ngj-accent: #c62828;
	--ngj-navy: #123a6b;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 16px 56px;
	background: #fff;
}

/* ---- breadcrumbs ---- */

.ngj-breadcrumbs { margin: 14px 0 18px; font-size: 0.86em; }
.ngj-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ngj-crumb { color: var(--ngj-muted); }
.ngj-crumb + .ngj-crumb::before { content: "›"; margin-right: 6px; color: #b9c2cd; }
.ngj-crumb a { text-decoration: none; color: var(--ngj-navy); }
.ngj-crumb a:hover { color: var(--ngj-accent); text-decoration: underline; }
.ngj-crumb--current { color: var(--ngj-muted); font-weight: 600; }

/* ---- entity header ---- */

.ngj-entity__header { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 20px; border-bottom: 2px solid var(--ngj-navy); margin-bottom: 24px; }
.ngj-entity__photo { flex: 0 0 150px; }
.ngj-entity__photo img { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; display: block; }
.ngj-entity__identity { flex: 1 1 auto; min-width: 0; }
.ngj-entity__name { margin: 0 0 2px; line-height: 1.35; font-size: clamp(24px, 4.4vw, 33px); }
.ngj-entity__en { margin: 0 0 8px; color: var(--ngj-muted); font-size: 0.95em; font-weight: 400; }
.ngj-entity__role { color: var(--ngj-accent); font-weight: 600; margin: 0 0 3px; }
.ngj-entity__role a { color: inherit; text-decoration: none; }
.ngj-entity__position { color: var(--ngj-muted); margin: 0; }

.ngj-place__hero img { width: 100%; height: clamp(170px, 32vw, 300px); object-fit: cover; border-radius: 5px; display: block; margin-bottom: 16px; }
.ngj-place__identity { padding-bottom: 18px; border-bottom: 2px solid var(--ngj-navy); margin-bottom: 24px; }
.ngj-place__meta { color: var(--ngj-muted); margin: 4px 0 0; font-size: 0.92em; }
.ngj-place__meta a { color: var(--ngj-navy); text-decoration: none; }
.ngj-sep { color: #c3ccd6; }
.ngj-place__lede { margin: 10px 0 0; font-size: 1.03em; }

/* ---- sections ---- */

.ngj-sec { margin-bottom: 30px; }
.ngj-sec__head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--ngj-rule); margin-bottom: 14px; }
.ngj-sec__title { font-size: 1.12em; margin: 0 0 -1px; padding-bottom: 7px; border-bottom: 3px solid var(--ngj-accent); line-height: 1.4; }
.ngj-sec__more { margin-left: auto; font-size: 0.85em; text-decoration: none; color: var(--ngj-accent); white-space: nowrap; }
.ngj-prose { line-height: 1.95; }
.ngj-prose p:first-child { margin-top: 0; }

.ngj-facts { display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; margin: 0; }
.ngj-facts dt { color: var(--ngj-muted); font-weight: 600; }
.ngj-facts dd { margin: 0; }

.ngj-list { list-style: none; margin: 0; padding: 0; }
.ngj-list li { padding: 9px 0; border-bottom: 1px solid var(--ngj-rule); }
.ngj-list li:last-child { border-bottom: none; }
.ngj-list__year { color: var(--ngj-muted); margin-left: 8px; font-size: 0.88em; }
.ngj-list__note { color: var(--ngj-muted); font-size: 0.9em; margin-top: 2px; }

.ngj-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ngj-chips a { display: inline-block; padding: 5px 13px; border: 1px solid var(--ngj-rule); border-radius: 999px; text-decoration: none; font-size: 0.88em; color: var(--ngj-navy); }
.ngj-chips a:hover { border-color: var(--ngj-accent); color: var(--ngj-accent); }

.ngj-sources { margin: 0; padding-left: 20px; font-size: 0.93em; }
.ngj-sources li { margin-bottom: 6px; word-break: break-word; }

.ngj-updated { color: var(--ngj-muted); font-size: 0.85em; padding-top: 16px; border-top: 1px solid var(--ngj-rule); }

/* ---- cards ---- */

.ngj-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ngj-grid--tight { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 14px; }

.ngj-card { min-width: 0; }
.ngj-card__link { text-decoration: none; color: inherit; display: block; }
.ngj-card__media { position: relative; margin-bottom: 8px; }
.ngj-card__img, .ngj-card__ph { width: 100%; height: 108px; object-fit: cover; border-radius: 4px; display: block; background: #eef1f5; }
.ngj-card__media--portrait .ngj-card__img,
.ngj-card__media--portrait .ngj-card__ph { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 10px; }
.ngj-card--person { text-align: center; }
.ngj-card__flag { position: absolute; top: 7px; left: 7px; background: var(--ngj-accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 2px; }
.ngj-card__title { font-size: 0.97em; line-height: 1.45; margin: 0 0 2px; }
.ngj-card__link:hover .ngj-card__title { color: var(--ngj-accent); }
.ngj-card__en { display: block; color: var(--ngj-muted); font-size: 0.8em; font-weight: 400; line-height: 1.4; }
.ngj-card__role { color: var(--ngj-accent); font-size: 0.83em; margin: 4px 0 1px; }
.ngj-card__meta { color: var(--ngj-muted); font-size: 0.82em; margin: 2px 0 0; display: block; }

/* ---- related list ---- */

.ngj-rel { list-style: none; margin: 0; padding: 0; }
.ngj-rel__item { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--ngj-rule); }
.ngj-rel__item:last-child { border-bottom: none; }
.ngj-rel__thumb { flex: 0 0 84px; }
.ngj-rel__thumb img { width: 84px; height: 58px; object-fit: cover; border-radius: 3px; display: block; }
.ngj-rel__body { min-width: 0; }
.ngj-rel__title { font-size: 0.96em; line-height: 1.5; margin: 0 0 2px; }
.ngj-rel__title a { text-decoration: none; color: inherit; }
.ngj-rel__title a:hover { color: var(--ngj-accent); }

/* ---- gallery ---- */

.ngj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ngj-gallery__item { margin: 0; }
.ngj-gallery__item img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; display: block; }

/* ---- mobile ---- */

@media (max-width: 600px) {
	.ngj-entity__header { flex-direction: column; gap: 14px; }
	.ngj-entity__photo, .ngj-entity__photo img { width: 112px; flex-basis: auto; height: 112px; }
	.ngj-facts { grid-template-columns: 1fr; gap: 2px; }
	.ngj-facts dd { margin-bottom: 10px; }
	.ngj-grid, .ngj-grid--tight { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
	.ngj-card__img, .ngj-card__ph { height: 92px; }
	.ngj-rel__thumb { flex-basis: 68px; }
	.ngj-rel__thumb img { width: 68px; height: 48px; }
	.ngj-breadcrumbs { font-size: 0.8em; }
}

/* -------------------------------------------------------------------------
   Phase 3 — Wiki
   A reference page, not an article: infobox beside the body, claim status
   stated plainly, citations that read as citations.
   ---------------------------------------------------------------------- */

.ngj-wiki__head { padding-bottom: 16px; border-bottom: 2px solid var(--ngj-navy, #123a6b); margin-bottom: 20px; }
.ngj-wiki__kind { font-size: 0.8em; letter-spacing: .07em; text-transform: uppercase; color: var(--ngj-navy, #123a6b); font-weight: 700; margin: 0 0 6px; }
.ngj-wiki__kind a { color: inherit; text-decoration: none; }
.ngj-wiki__summary { font-size: 1.08em; line-height: 1.85; color: #2b3845; margin: 10px 0 0; }

/* Claim status. Colour carries meaning here, so each state also carries its
   own words — colour alone would fail anyone who cannot distinguish them. */
.ngj-claim { display: inline-block; font-size: 0.8em; font-weight: 700; padding: 4px 11px; border-radius: 3px; margin: 12px 0 0; }
.ngj-claim--verified { background: #e8f5ee; color: #1c7a4a; }
.ngj-claim--oral     { background: #fdf4e3; color: #8a5a00; }
.ngj-claim--disputed { background: #fdeceb; color: #b3261e; }
.ngj-editnote { background: #f6f8fb; border-left: 3px solid var(--ngj-navy, #123a6b); padding: 10px 14px; margin: 12px 0 0; font-size: 0.93em; color: #44515f; border-radius: 0 4px 4px 0; }

.ngj-wiki__figure { margin: 0 0 22px; }
.ngj-wiki__figure img { width: 100%; height: auto; border-radius: 5px; display: block; }
.ngj-wiki__figure figcaption { color: var(--ngj-muted, #5b6878); font-size: 0.85em; padding-top: 7px; }

/* Infobox sits beside the prose on desktop and above it on phones, where a
   narrow floated panel would squeeze the text to unreadable width. */
.ngj-wiki__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; margin-bottom: 28px; }
.ngj-wiki__main { min-width: 0; }
.ngj-infobox { background: #f6f8fb; border: 1px solid var(--ngj-rule, #e3e6ea); border-top: 3px solid var(--ngj-navy, #123a6b); border-radius: 4px; padding: 16px 18px; }
.ngj-infobox__title { font-size: 0.82em; letter-spacing: .07em; text-transform: uppercase; color: var(--ngj-muted, #5b6878); margin: 0 0 12px; }
.ngj-infobox .ngj-facts { grid-template-columns: 1fr; gap: 2px; font-size: 0.93em; }
.ngj-infobox .ngj-facts dt { margin-top: 8px; }
.ngj-infobox .ngj-facts dt:first-child { margin-top: 0; }

/* Citations */
.ngj-sources { margin: 0; padding-left: 22px; }
.ngj-src { margin-bottom: 11px; line-height: 1.7; }
.ngj-src__meta { color: var(--ngj-muted, #5b6878); font-size: 0.93em; }
.ngj-src__type { display: inline-block; font-size: 0.72em; letter-spacing: .05em; text-transform: uppercase; background: #eef1f5; color: #55606d; padding: 2px 7px; border-radius: 2px; margin-left: 5px; vertical-align: 1px; }
.ngj-src__notes { display: block; color: var(--ngj-muted, #5b6878); font-size: 0.9em; margin-top: 2px; }

/* Wiki index */
.ngj-wiki-search { display: flex; gap: 8px; margin: 0 0 18px; }
.ngj-wiki-search input[type="search"] { flex: 1 1 auto; padding: 9px 13px; border: 1px solid var(--ngj-rule, #e3e6ea); border-radius: 4px; font: inherit; min-width: 0; }
.ngj-wiki-search button { padding: 9px 18px; border: 0; border-radius: 4px; background: var(--ngj-navy, #123a6b); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ngj-wiki-search button:hover { background: var(--ngj-accent, #c62828); }
.ngj-archive--wiki { max-width: 1060px; margin: 0 auto; padding: 0 16px 56px; }

@media (max-width: 860px) {
	.ngj-wiki__layout { grid-template-columns: 1fr; gap: 20px; }
	.ngj-infobox { order: -1; }
}

/* -------------------------------------------------------------------------
   Phase 4 — newsroom blocks
   Appended beneath JNews's own article layout, so these sit alongside it
   rather than replacing anything.
   ---------------------------------------------------------------------- */

.ngj-article-extra { max-width: 860px; margin: 26px auto 0; padding: 0 16px; }

/* Correction sits above the article: a reader who stops after the first
   paragraph still needs to know the story was corrected. */
.ngj-correction {
	border-left: 3px solid #c62828; background: #fdeceb; border-radius: 0 5px 5px 0;
	padding: 13px 16px; margin: 0 0 20px; font-size: 0.95em;
}
.ngj-correction strong { color: #b3261e; margin-right: 8px; }
.ngj-correction__at { color: #7a5c5a; font-size: 0.88em; }
.ngj-correction p { margin: 6px 0 0; }

.ngj-credits { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 0; border-top: 1px solid #e3e6ea; border-bottom: 1px solid #e3e6ea; margin-bottom: 18px; font-size: 0.9em; }
.ngj-credit__k { color: #6b7280; margin-right: 5px; }
.ngj-credit--developing { color: #8a5a00; font-weight: 600; }

/* Entity chips. Bengali names, linking to canonical pages — a reader never
   sees a slug or a taxonomy name. */
.ngj-chips-row { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.ngj-chips-row__label { color: #6b7280; font-size: 0.85em; font-weight: 600; flex: 0 0 auto; min-width: 58px; }
.ngj-chips-row__items { display: flex; flex-wrap: wrap; gap: 7px; }
.ngj-chip {
	display: inline-block; padding: 4px 12px; border-radius: 999px; text-decoration: none;
	font-size: 0.88em; border: 1px solid #d7dde6; color: #123a6b; background: #fff;
}
.ngj-chip:hover { border-color: #c62828; color: #c62828; }
.ngj-chip--place  { border-left: 3px solid #123a6b; }
.ngj-chip--person { border-left: 3px solid #c62828; }
.ngj-chip--wiki   { border-left: 3px solid #1c7a4a; }

@media (max-width: 600px) {
	.ngj-chips-row { gap: 6px; }
	.ngj-chips-row__label { min-width: 0; width: 100%; }
	.ngj-credits { gap: 6px 12px; font-size: 0.85em; }
}

/* -------------------------------------------------------------------------
   Phase 5 — search
   ---------------------------------------------------------------------- */

/* --- The field ------------------------------------------------------- */

.ngj-search { position: relative; display: flex; gap: 8px; align-items: stretch; }
.ngj-search__input {
	flex: 1 1 auto; min-width: 0; padding: 11px 14px; font-size: 1em;
	font-family: inherit; line-height: 1.7;      /* Bengali conjuncts need the room */
	border: 1px solid #ccd3dc; border-radius: 6px; background: #fff; color: #16202e;
}
.ngj-search__input:focus { outline: 2px solid #123a6b; outline-offset: 1px; border-color: #123a6b; }
.ngj-search__input::placeholder { color: #8a94a2; }
.ngj-search__go {
	flex: 0 0 auto; padding: 11px 20px; border: 0; border-radius: 6px; cursor: pointer;
	background: #123a6b; color: #fff; font-family: inherit; font-size: 0.95em;
}
.ngj-search__go:hover { background: #0e2d55; }

.ngj-search-trigger {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px;           /* a real tap target */
	padding: 0 10px; border: 0; background: none; cursor: pointer;
	color: inherit; font-size: 1.15em; line-height: 1;
}
.ngj-search-trigger:hover { color: #c62828; }
.ngj-search-trigger__icon { transform: rotate(-45deg); display: inline-block; }

/* --- Suggestions ----------------------------------------------------- */

.ngj-suggest {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
	max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
	background: #fff; border: 1px solid #dfe4ea; border-radius: 8px;
	box-shadow: 0 10px 30px rgba(16, 32, 54, 0.14);
}
.ngj-suggest[hidden] { display: none; }
.ngj-suggest__group { padding: 6px 0; border-bottom: 1px solid #f0f2f5; }
.ngj-suggest__group:last-child { border-bottom: 0; }
.ngj-suggest__label {
	display: block; padding: 6px 14px 2px; font-size: 0.76em; font-weight: 700;
	letter-spacing: 0.04em; color: #6b7280;
}
.ngj-suggest__item {
	display: block; padding: 9px 14px; text-decoration: none; color: #16202e; line-height: 1.6;
}
.ngj-suggest__item:hover,
.ngj-suggest__item.is-active { background: #f2f6fc; color: #123a6b; }
.ngj-suggest__title { display: block; }
.ngj-suggest__en { display: block; font-size: 0.82em; color: #6b7280; }
.ngj-suggest__more { display: block; padding: 11px 14px; text-align: center; font-size: 0.9em; background: #f7f9fc; text-decoration: none; }
.ngj-suggest__empty { margin: 0; padding: 14px; color: #6b7280; font-size: 0.92em; }

/* --- Overlay --------------------------------------------------------- */

.ngj-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(12, 22, 38, 0.72); }
.ngj-overlay[hidden] { display: none; }
.ngj-overlay__inner {
	position: relative; max-width: 680px; margin: 10vh auto 0; padding: 22px 18px 26px;
	background: #fff; border-radius: 10px;
}
.ngj-overlay__close {
	position: absolute; top: 6px; right: 8px; width: 40px; height: 40px;
	border: 0; background: none; font-size: 1.7em; line-height: 1; cursor: pointer; color: #6b7280;
}
.ngj-overlay__close:hover { color: #c62828; }
html.ngj-overlay-open { overflow: hidden; }

/* --- Results page ---------------------------------------------------- */

.ngj-search-main { max-width: 900px; margin: 0 auto; padding: 24px 16px 44px; }
.ngj-search-page__title { font-size: 1.5em; line-height: 1.5; margin: 0 0 16px; word-break: break-word; }
.ngj-search-page__count { color: #6b7280; font-size: 0.92em; margin: 18px 0 10px; }

.ngj-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.ngj-filter {
	display: inline-block; padding: 7px 16px; border-radius: 999px; text-decoration: none;
	border: 1px solid #d7dde6; background: #fff; color: #123a6b; font-size: 0.9em;
	min-height: 38px; line-height: 22px;
}
.ngj-filter:hover { border-color: #123a6b; }
.ngj-filter.is-current { background: #123a6b; border-color: #123a6b; color: #fff; }

.ngj-results { list-style: none; margin: 0; padding: 0; }
.ngj-result {
	display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eceff3;
}
.ngj-result__media { flex: 0 0 84px; }
.ngj-result__img, .ngj-result__media .ngj-card__ph {
	display: block; width: 84px; height: 84px; object-fit: cover;
	border-radius: 6px; background: #eef1f5;
}
.ngj-result__body { flex: 1 1 auto; min-width: 0; }
.ngj-result__type {
	display: inline-block; margin-bottom: 5px; padding: 2px 9px; border-radius: 3px;
	background: #eef2f8; color: #123a6b; font-size: 0.74em; font-weight: 700; letter-spacing: 0.03em;
}
.ngj-result--ngj_place .ngj-result__type  { background: #e7eefa; color: #123a6b; }
.ngj-result--ngj_person .ngj-result__type { background: #fcebec; color: #b3261e; }
.ngj-result--ngj_wiki .ngj-result__type   { background: #e6f4ec; color: #1c7a4a; }
.ngj-result--post .ngj-result__type       { background: #fdf2e3; color: #8a5a00; }
.ngj-result__title { font-size: 1.08em; line-height: 1.6; margin: 0 0 3px; }
.ngj-result__title a { text-decoration: none; }
.ngj-result__meta { color: #6b7280; font-size: 0.86em; margin: 4px 0 0; }
.ngj-result__summary { color: #3f4854; font-size: 0.92em; line-height: 1.75; margin: 6px 0 0; }

/* Fallback matches are visibly a guess, never folded into the list above. */
.ngj-search-page__fuzzy { margin-top: 30px; padding: 18px; border: 1px dashed #d7dde6; border-radius: 8px; background: #fbfcfe; }
.ngj-search-page__fuzzy-title { font-size: 1.1em; margin: 0; }
.ngj-search-page__fuzzy-note { color: #6b7280; font-size: 0.86em; margin: 4px 0 10px; }
.ngj-results--fuzzy .ngj-result { border-bottom-style: dotted; }

.ngj-zero { margin-top: 22px; }
.ngj-zero__message { font-size: 1.12em; margin: 0 0 6px; }
.ngj-zero__hint { color: #6b7280; margin: 0 0 26px; }

.ngj-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.ngj-pagination .page-numbers {
	display: inline-block; min-width: 40px; min-height: 40px; line-height: 38px;
	padding: 0 12px; text-align: center; border: 1px solid #d7dde6;
	border-radius: 6px; text-decoration: none;
}
.ngj-pagination .page-numbers.current { background: #123a6b; border-color: #123a6b; color: #fff; }

.ngj-mobile-search { padding: 12px 16px; }

/* --- Phone ------------------------------------------------------------ */

@media (max-width: 600px) {
	.ngj-search-main { padding: 18px 16px 36px; }
	.ngj-search-page__title { font-size: 1.25em; }

	/* Full-height sheet: the keyboard takes most of a phone screen, so the
	   field belongs at the top with the suggestions filling what is left. */
	.ngj-overlay__inner { margin: 0; min-height: 100%; border-radius: 0; padding: 56px 16px 20px; }
	.ngj-suggest { max-height: calc(100vh - 150px); }

	.ngj-search { flex-wrap: wrap; }
	.ngj-search__input { flex: 1 1 100%; font-size: 1.05em; }
	.ngj-search__go { flex: 1 1 100%; }

	.ngj-result { gap: 11px; padding: 13px 0; }
	.ngj-result__media { flex: 0 0 64px; }
	.ngj-result__img, .ngj-result__media .ngj-card__ph { width: 64px; height: 64px; }
	.ngj-result__title { font-size: 1em; }

	.ngj-filters { gap: 6px; }
	.ngj-filter { padding: 7px 13px; font-size: 0.86em; }
}

/* -------------------------------------------------------------------------
   Phase 6 — homepage
   ---------------------------------------------------------------------- */

/* --- Masthead and city search ---------------------------------------- */

.ngj-masthead {
	background: linear-gradient(160deg, #0e2d55 0%, #123a6b 55%, #1a4a84 100%);
	color: #fff; padding: 38px 16px 34px;
}
.ngj-masthead__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.ngj-masthead__brand {
	margin: 0; font-family: var(--font-latin); font-weight: 700;
	font-size: 2.1em; letter-spacing: 0.02em; line-height: 1.25; color: #fff;
}
.ngj-masthead__tagline { margin: 6px 0 20px; font-size: 1.05em; line-height: 1.7; color: #c7d7ee; }
.ngj-masthead__hint { margin: 12px 0 0; font-size: 0.86em; color: #a8bfdd; }

/* The hero search field is the widest control on the page; it gets the room. */
.ngj-search--hero .ngj-search__input { padding: 14px 18px; font-size: 1.05em; border-color: transparent; }
.ngj-search--hero .ngj-search__go { padding: 14px 26px; background: #c62828; }
.ngj-search--hero .ngj-search__go:hover { background: #a81f1f; }
.ngj-masthead .ngj-suggest { text-align: left; color: #16202e; }

/* --- Breaking --------------------------------------------------------- */

.ngj-ticker {
	display: flex; align-items: stretch; overflow: hidden;
	background: #16202e; color: #fff;
}
.ngj-ticker__label {
	flex: 0 0 auto; display: flex; align-items: center; padding: 11px 15px;
	background: #c62828; font-size: 0.8em; font-weight: 700; letter-spacing: 0.05em;
	white-space: nowrap;
}
.ngj-ticker__track {
	flex: 1 1 auto; display: flex; gap: 28px; align-items: center;
	padding: 0 16px; overflow-x: auto; scrollbar-width: none;
}
.ngj-ticker__track::-webkit-scrollbar { display: none; }
.ngj-ticker__item { color: #e7edf5; text-decoration: none; white-space: nowrap; font-size: 0.93em; padding: 11px 0; }
.ngj-ticker__item:hover { color: #fff; text-decoration: underline; }

/* --- Layout ----------------------------------------------------------- */

.ngj-home__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px;
	max-width: 1180px; margin: 0 auto; padding: 28px 16px 48px;
}
.ngj-home__main { min-width: 0; }
.ngj-home__side { min-width: 0; }

/* --- Hero ------------------------------------------------------------- */

.ngj-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; margin-bottom: 34px; }
.ngj-hero__lead { min-width: 0; }
.ngj-hero__media { display: block; }
.ngj-hero__media img { display: block; width: 100%; height: auto; border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.ngj-hero__body { padding-top: 12px; }
.ngj-hero__title { font-size: 1.6em; line-height: 1.45; margin: 8px 0; }
.ngj-hero__title a { text-decoration: none; }
.ngj-hero__excerpt { color: #3f4854; line-height: 1.8; margin: 0 0 8px; }
.ngj-hero__rail { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.ngj-hero__side { display: flex; gap: 12px; }
.ngj-hero__sidemedia { flex: 0 0 96px; }
.ngj-hero__sidemedia img, .ngj-hero__sidemedia .ngj-ncard__ph {
	display: block; width: 96px; height: 70px; object-fit: cover; border-radius: 6px; background: #eef1f5;
}
.ngj-hero__sidetitle { font-size: 0.98em; line-height: 1.6; margin: 0 0 3px; }
.ngj-hero__sidetitle a { text-decoration: none; }
.ngj-ncard__ph--tall { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #eef1f5; }

/* --- Wiki doorways ---------------------------------------------------- */

.ngj-row { display: grid; gap: 16px; }
.ngj-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ngj-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ngj-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ngj-row--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ngj-wcard {
	display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
	border: 1px solid #e3e6ea; border-left: 3px solid #1c7a4a; border-radius: 6px;
	background: #fff; text-decoration: none; min-height: 72px; justify-content: center;
}
.ngj-wcard:hover { border-color: #1c7a4a; background: #f7fcf9; }
.ngj-wcard--person { border-left-color: #c62828; }
.ngj-wcard--person:hover { border-color: #c62828; background: #fffafa; }
.ngj-wcard__title { font-weight: 600; color: #16202e; line-height: 1.6; }
.ngj-wcard__count { font-size: 0.82em; color: #6b7280; }

/* --- Videos ----------------------------------------------------------- */

.ngj-vcard__link { display: block; text-decoration: none; }
.ngj-vcard__media { position: relative; display: block; }
.ngj-vcard__media img, .ngj-vcard__media .ngj-ncard__ph {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
	object-fit: cover; border-radius: 7px; background: #eef1f5;
}
.ngj-vcard__play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 2em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	background: rgba(12, 22, 38, 0.22); border-radius: 7px;
}
.ngj-vcard__title { font-size: 1em; line-height: 1.6; margin: 9px 0 2px; color: #16202e; }

/* --- Follow ----------------------------------------------------------- */

.ngj-follow { display: flex; flex-wrap: wrap; gap: 10px; }
.ngj-follow__item {
	display: inline-block; padding: 10px 20px; border-radius: 6px;
	background: #123a6b; color: #fff; text-decoration: none; font-size: 0.93em;
	min-height: 44px; line-height: 24px;
}
.ngj-follow__item:hover { background: #0e2d55; }

/* --- Card summary (places on the homepage and in search) -------------- */

.ngj-card__summary { color: #4a5563; font-size: 0.86em; line-height: 1.7; margin: 5px 0 0; }

/* --- Tablet ----------------------------------------------------------- */

@media (max-width: 1020px) {
	/* The sidebar stops being a column and becomes a band below the news,
	   rather than being squeezed to an unreadable width. */
	.ngj-home__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ngj-row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ngj-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ngj-hero { grid-template-columns: minmax(0, 1fr); }
	.ngj-hero__rail { flex-direction: row; flex-wrap: wrap; }
	.ngj-hero__side { flex: 1 1 260px; }
}

/* --- Phone ------------------------------------------------------------ */

@media (max-width: 600px) {
	.ngj-masthead { padding: 26px 16px 24px; }
	.ngj-masthead__brand { font-size: 1.5em; }
	.ngj-masthead__tagline { font-size: 0.98em; margin-bottom: 16px; }

	.ngj-home__grid { padding: 20px 16px 36px; gap: 24px; }

	/* Breaking stacks: a horizontal scroller beside a fixed label leaves
	   almost no room for a Bengali headline on a 360px screen. */
	.ngj-ticker { flex-direction: column; }
	.ngj-ticker__label { padding: 7px 14px; }
	.ngj-ticker__track { gap: 0; flex-direction: column; align-items: stretch; overflow: visible; }
	.ngj-ticker__item { white-space: normal; border-bottom: 1px solid #243246; padding: 10px 0; }
	.ngj-ticker__item:last-child { border-bottom: 0; }

	.ngj-hero__title { font-size: 1.22em; }
	.ngj-hero__excerpt { font-size: 0.95em; }
	.ngj-hero__rail { flex-direction: column; }
	.ngj-hero__side { flex: 1 1 auto; }

	.ngj-row { gap: 13px; }
	.ngj-row--3, .ngj-row--4, .ngj-row--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Doorways read as a list on a phone, where two narrow columns would
	   wrap every Bengali label onto three lines. */
	.ngj-row--6 { grid-template-columns: minmax(0, 1fr); }
	.ngj-wcard { min-height: 56px; padding: 12px 15px; }

	.ngj-follow__item { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 400px) {
	.ngj-row--3, .ngj-row--4, .ngj-row--5 { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   Phase 7 — directory
   ---------------------------------------------------------------------- */

/* --- Badges ----------------------------------------------------------- */

.ngj-badge {
	display: inline-block; padding: 3px 10px; border-radius: 3px; margin-right: 6px;
	font-size: 0.76em; font-weight: 700; letter-spacing: 0.02em; line-height: 1.7;
}
.ngj-badge--verified { background: #e6f4ec; color: #14613a; border: 1px solid #b7dfc9; }
.ngj-badge--claimed  { background: #eef2f8; color: #123a6b; border: 1px solid #ccd9ec; }
/* Sponsored is deliberately the loudest of the three: it is a disclosure,
   not a decoration, and it must survive being skim-read. */
.ngj-badge--sponsored { background: #fdf2e3; color: #7a4e00; border: 1px solid #efd5a8; }

/* --- Directory card --------------------------------------------------- */

.ngj-card--directory { display: flex; flex-direction: column; }
.ngj-card--directory .ngj-card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 7px; background: #eef1f5; }
.ngj-card__badges { margin: 7px 0 0; }
.ngj-card__call {
	display: inline-block; margin-top: 8px; padding: 7px 14px; border-radius: 5px;
	background: #eef2f8; color: #123a6b; text-decoration: none; font-size: 0.88em;
	min-height: 38px; line-height: 24px;
}
.ngj-card__call:hover { background: #123a6b; color: #fff; }

.ngj-grid--sponsored { margin-top: 10px; }

.ngj-sponsored {
	margin: 22px 0; padding: 16px 18px; border: 1px solid #efd5a8;
	border-radius: 8px; background: #fffdf8;
}
.ngj-sponsored__title { margin: 0; font-size: 1em; color: #7a4e00; }
.ngj-sponsored__note { margin: 3px 0 0; font-size: 0.84em; color: #8a7350; }

/* --- Business single -------------------------------------------------- */

.ngj-entity--business { max-width: 900px; margin: 0 auto; padding: 22px 16px 46px; }
.ngj-biz__cover img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 9px; }
.ngj-biz__head { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; }
.ngj-biz__logo { flex: 0 0 86px; }
.ngj-biz__logo img { display: block; width: 86px; height: 86px; object-fit: contain; border: 1px solid #e3e6ea; border-radius: 8px; background: #fff; padding: 6px; }
.ngj-biz__titles { min-width: 0; }
.ngj-entity--business .ngj-entity__title { margin: 0; font-size: 1.7em; line-height: 1.45; }
.ngj-entity__en { margin: 3px 0 0; color: #6b7280; }
.ngj-biz__badges { margin: 9px 0 0; }
.ngj-biz__cats { margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ngj-chip--cat { border-left: 3px solid #8a5a00; }

.ngj-entity__section { margin-top: 30px; }
.ngj-entity__h2 { font-size: 1.15em; margin: 0 0 12px; padding-bottom: 7px; border-bottom: 2px solid #123a6b; display: inline-block; }

/* --- Contact card ----------------------------------------------------- */

.ngj-contact { border: 1px solid #e3e6ea; border-radius: 8px; overflow: hidden; }
.ngj-contact__row { display: flex; gap: 14px; padding: 11px 15px; border-bottom: 1px solid #eef1f5; }
.ngj-contact__row:last-child { border-bottom: 0; }
.ngj-contact__k { flex: 0 0 110px; color: #6b7280; font-size: 0.88em; }
.ngj-contact__v { min-width: 0; word-break: break-word; }
.ngj-contact__social { margin-right: 10px; }
.ngj-biz__place { margin: 12px 0 0; color: #6b7280; }
.ngj-biz__place a { margin-right: 6px; }

/* --- Hours ------------------------------------------------------------ */

.ngj-hours { border: 1px solid #e3e6ea; border-radius: 8px; overflow: hidden; max-width: 420px; }
.ngj-hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 15px; border-bottom: 1px solid #eef1f5; }
.ngj-hours__row:last-child { border-bottom: 0; }
.ngj-hours__day { color: #3f4854; }
.ngj-hours__time { color: #16202e; }
.ngj-hours__closed { color: #b3261e; }

/* --- Map -------------------------------------------------------------- */

.ngj-map { border: 1px solid #e3e6ea; border-radius: 8px; overflow: hidden; }
.ngj-map__frame { display: block; width: 100%; height: 320px; border: 0; }
.ngj-map__link { display: block; padding: 10px 15px; background: #f7f9fc; text-align: center; font-size: 0.9em; text-decoration: none; }

/* --- Details ---------------------------------------------------------- */

.ngj-biz__services { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ngj-biz__services li { padding: 7px 14px; border: 1px solid #e3e6ea; border-radius: 999px; font-size: 0.9em; }
.ngj-biz__servicenote { color: #6b7280; font-size: 0.86em; margin-left: 6px; }
.ngj-biz__facts { margin: 0; display: grid; gap: 9px; }
.ngj-biz__facts div { display: flex; gap: 12px; }
.ngj-biz__facts dt { flex: 0 0 150px; color: #6b7280; margin: 0; }
.ngj-biz__facts dd { margin: 0; }

.ngj-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ngj-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }

.ngj-entity__footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid #e3e6ea; }
.ngj-entity__updated { color: #6b7280; font-size: 0.88em; margin: 0 0 14px; }

/* --- Archive filters -------------------------------------------------- */

.ngj-archive--directory { max-width: 1100px; margin: 0 auto; padding: 22px 16px 46px; }
.ngj-dirfilter {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
	padding: 16px 18px; border: 1px solid #e3e6ea; border-radius: 8px; background: #fbfcfe;
	margin-bottom: 22px;
}
.ngj-dirfilter p { margin: 0; }
.ngj-dirfilter__search { flex: 1 1 260px; }
.ngj-dirfilter input[type="search"], .ngj-dirfilter select {
	width: 100%; padding: 10px 13px; border: 1px solid #ccd3dc; border-radius: 6px;
	font-family: inherit; font-size: 0.95em; line-height: 1.7; background: #fff; min-height: 42px;
}
.ngj-dirfilter__verified label { display: flex; align-items: center; gap: 7px; min-height: 42px; font-size: 0.92em; }
.ngj-archive__count { color: #6b7280; font-size: 0.92em; margin: 0 0 14px; }

/* --- Forms ------------------------------------------------------------ */

/* The honeypot: present for a bot, gone for everyone and everything else,
   including screen readers. */
.ngj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ngj-claim { margin-top: 10px; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px 16px; }
.ngj-claim__toggle { cursor: pointer; font-weight: 600; color: #123a6b; }
.ngj-claim__form, .ngj-submit { margin-top: 14px; max-width: 560px; }
.ngj-claim__form p, .ngj-submit p { margin: 0 0 13px; }
.ngj-claim__form label, .ngj-submit label { display: block; margin-bottom: 4px; font-size: 0.9em; color: #3f4854; }
.ngj-claim__form input, .ngj-claim__form select, .ngj-claim__form textarea,
.ngj-submit input[type="text"], .ngj-submit select, .ngj-submit textarea {
	width: 100%; padding: 10px 13px; border: 1px solid #ccd3dc; border-radius: 6px;
	font-family: inherit; font-size: 0.95em; line-height: 1.75; background: #fff;
}
.ngj-submit__you { border: 1px solid #e3e6ea; border-radius: 8px; padding: 14px 16px; margin: 0 0 14px; }
.ngj-submit__you legend { padding: 0 7px; font-size: 0.9em; color: #6b7280; }
.ngj-claim__privacy, .ngj-submit__privacy, .ngj-submit__note { color: #6b7280; font-size: 0.85em; line-height: 1.75; }
.ngj-submit__consent label { display: flex; gap: 8px; align-items: flex-start; }
.ngj-submit__consent input { width: auto; margin-top: 4px; }
.ngj-claim__result, .ngj-submit__result { margin: 0; font-size: 0.92em; }
.ngj-claim__result.is-ok, .ngj-submit__result.is-ok { color: #14613a; }
.ngj-claim__result.is-error, .ngj-submit__result.is-error { color: #b3261e; }

.ngj-archive__submit { margin-top: 40px; padding-top: 22px; border-top: 1px solid #e3e6ea; }

/* --- Tablet ----------------------------------------------------------- */

@media (max-width: 1020px) {
	.ngj-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Phone ------------------------------------------------------------ */

@media (max-width: 600px) {
	.ngj-entity--business, .ngj-archive--directory { padding: 16px 16px 34px; }
	.ngj-entity--business .ngj-entity__title { font-size: 1.3em; }

	/* The logo moves above the name: side by side leaves a Bengali business
	   name about forty characters wide on a 360px screen. */
	.ngj-biz__head { flex-direction: column; gap: 12px; }
	.ngj-biz__logo { flex: 0 0 auto; }

	.ngj-contact__row { flex-direction: column; gap: 2px; padding: 11px 14px; }
	.ngj-contact__k { flex: 0 0 auto; }
	/* Tapping a number is the most common thing anyone does here. */
	.ngj-contact__v[href^="tel:"] { display: inline-block; min-height: 40px; line-height: 40px; font-size: 1.05em; }

	.ngj-biz__facts div { flex-direction: column; gap: 1px; }
	.ngj-biz__facts dt { flex: 0 0 auto; }

	.ngj-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ngj-map__frame { height: 240px; }

	.ngj-dirfilter { padding: 13px 14px; gap: 10px; }
	.ngj-dirfilter__search, .ngj-dirfilter p { flex: 1 1 100%; }
	.ngj-hours { max-width: none; }
}

/* -------------------------------------------------------------------------
   Phase 8 — health and education
   ---------------------------------------------------------------------- */

.ngj-entity__kind {
	margin: 0 0 3px; font-size: 0.8em; font-weight: 700; letter-spacing: 0.04em;
	color: #6b7280;
}

/* What the verified badge actually claims, stated in full on health and
   education pages where the stakes are highest. */
.ngj-verified-note {
	margin: 9px 0 0; padding: 9px 13px; border-left: 3px solid #b7dfc9;
	background: #f4fbf7; color: #2c4a3a; font-size: 0.85em; line-height: 1.8;
}

/* --- Services: known-present, known-absent, never inferred ------------ */

.ngj-svcs { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ngj-svc {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
	border: 1px solid #e3e6ea; border-radius: 999px; font-size: 0.9em;
}
.ngj-svc--yes { border-color: #b7dfc9; background: #f4fbf7; color: #14613a; }
.ngj-svc--no  { border-color: #e6d4d4; background: #fbf6f6; color: #8a4a4a; }
.ngj-svc__mark { font-weight: 700; }
.ngj-svcs__note { color: #6b7280; font-size: 0.84em; line-height: 1.8; margin: 0; }

.ngj-hotline { margin: 12px 0 0; font-size: 1.05em; }
.ngj-hotline a { font-weight: 600; }

/* --- Admission: never shown without its date ------------------------- */

.ngj-admission { border: 1px solid #e3e6ea; border-radius: 8px; padding: 14px 16px; }
.ngj-admission p { margin: 0; line-height: 1.85; }
.ngj-admission__date { margin-top: 9px !important; color: #6b7280; font-size: 0.85em; }

/* --- Doctor profile --------------------------------------------------- */

.ngj-doctor { border: 1px solid #e3e6ea; border-radius: 9px; padding: 18px 20px; }
.ngj-doctor__h3 { font-size: 1em; margin: 18px 0 9px; color: #16202e; }
.ngj-source-note { display: inline-block; margin-left: 7px; color: #6b7280; font-size: 0.82em; }

.ngj-doctor__affiliations { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ngj-doctor__unlisted { color: #6b7280; }

.ngj-doctor__chambers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ngj-chamber {
	display: flex; flex-wrap: wrap; gap: 5px 14px; align-items: baseline;
	padding: 11px 14px; border: 1px solid #eef1f5; border-radius: 7px; background: #fbfcfe;
}
.ngj-chamber__place { font-weight: 600; }
.ngj-chamber__address { color: #3f4854; }
.ngj-chamber__hours { color: #6b7280; font-size: 0.9em; }
.ngj-chamber__phone { margin-left: auto; min-height: 36px; line-height: 36px; }
.ngj-doctor__appointment { margin: 16px 0 0; }

.ngj-home__subhead { font-size: 1em; margin: 20px 0 11px; color: #16202e; }

/* --- Phone ------------------------------------------------------------ */

@media (max-width: 600px) {
	.ngj-doctor { padding: 14px 15px; }
	.ngj-svcs { gap: 6px; }
	.ngj-svc { padding: 6px 12px; font-size: 0.86em; }

	/* The chamber phone drops to its own full-width row: on a phone it is
	   the one thing in the block anybody taps. */
	.ngj-chamber { flex-direction: column; align-items: flex-start; gap: 3px; }
	.ngj-chamber__phone { margin-left: 0; min-height: 40px; line-height: 40px; font-size: 1.02em; }
}

/* -------------------------------------------------------------------------
   Phase 9 — listings
   ---------------------------------------------------------------------- */

/* Expired is stated, never implied by styling alone. */
.ngj-expired {
	margin: 10px 0 0; padding: 11px 15px; border-left: 3px solid #c62828;
	background: #fdeceb; color: #8a2b2b; border-radius: 0 5px 5px 0; line-height: 1.8;
}
.ngj-expired__on { color: #9a6a6a; font-size: 0.9em; }
.ngj-badge--expired { background: #fdeceb; color: #8a2b2b; border: 1px solid #f0c9c6; }

.ngj-card--listing.is-expired { opacity: 0.78; }
.ngj-card--listing.is-expired .ngj-card__title { color: #5c6470; }

.ngj-card__price, .ngj-listing__price { font-weight: 600; color: #123a6b; margin: 7px 0 0; }
.ngj-listing__price { font-size: 1.3em; margin: 14px 0; }
.ngj-card__until { color: #6b7280; font-size: 0.84em; margin: 5px 0 0; }

.ngj-eventdate { margin: 9px 0 0; color: #3f4854; }
.ngj-eventstatus {
	display: inline-block; margin-left: 7px; padding: 2px 9px; border-radius: 3px;
	font-size: 0.76em; font-weight: 700;
}
.ngj-eventdate--upcoming .ngj-eventstatus { background: #e6f4ec; color: #14613a; }
.ngj-eventdate--ongoing .ngj-eventstatus  { background: #fdf2e3; color: #7a4e00; }
.ngj-eventdate--ended .ngj-eventstatus    { background: #eef1f5; color: #5c6470; }

.ngj-listing__employer { margin: 9px 0 0; color: #3f4854; }
.ngj-apply { margin: 20px 0; }
.ngj-apply .ngj-btn { display: inline-block; padding: 12px 28px; font-size: 1.02em; }

.ngj-turnstile { margin: 14px 0; }
.ngj-submit__hint { display: block; margin-top: 4px; color: #6b7280; font-size: 0.84em; }
.ngj-submit--listing input[type="file"] {
	width: 100%; padding: 9px; border: 1px dashed #ccd3dc; border-radius: 6px; background: #fbfcfe;
}

@media (max-width: 600px) {
	.ngj-listing__price { font-size: 1.12em; }
	.ngj-apply .ngj-btn { display: block; text-align: center; }
}

/* ------------------------------------------------------------------
   Trust panel and correction form (Phase 10)

   The panel sits below a record's content and says what we actually know
   about it: when staff last checked it, when it last changed, and how to
   tell us we are wrong. Styled quietly on purpose — it is a standing
   offer, not a call to action competing with the content.
   ------------------------------------------------------------------ */

.ngj-trust { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid #e3e6ea; }
.ngj-trust__list { list-style: none; margin: 0 0 12px; padding: 0; color: #6b7280; font-size: 0.88em; line-height: 1.9; }
.ngj-trust__list li { margin: 0; }

/* A year-old check is said plainly rather than tucked away. */
.ngj-trust__stale { color: #8a5a00; font-weight: 600; }

.ngj-trust__sent { color: #14613a; font-size: 0.92em; margin: 0 0 12px; }
.ngj-trust__error { color: #b3261e; font-size: 0.92em; margin: 0 0 12px; }

.ngj-report { margin-top: 10px; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px 16px; }
.ngj-report__toggle { cursor: pointer; font-weight: 600; color: #123a6b; }
.ngj-report__form { margin-top: 14px; max-width: 560px; }
.ngj-report__form p { margin: 0 0 13px; }
.ngj-report__form label { display: block; margin-bottom: 4px; font-size: 0.9em; color: #3f4854; }

.ngj-report__form input[type="text"], .ngj-report__form textarea {
	width: 100%; padding: 10px 13px; border: 1px solid #ccd3dc; border-radius: 6px;
	font-family: inherit; font-size: 0.95em; line-height: 1.75; background: #fff;
}

.ngj-report__form input[type="file"] { width: 100%; font-size: 0.9em; }

.ngj-report__fields { border: 1px solid #e3e6ea; border-radius: 8px; padding: 14px 16px; margin: 0 0 14px; }
.ngj-report__fields legend { padding: 0 7px; font-size: 0.9em; color: #6b7280; }

.ngj-report__intro, .ngj-report__privacy, .ngj-report__hint {
	color: #6b7280; font-size: 0.85em; line-height: 1.75;
}
.ngj-report__hint { display: block; margin-top: 4px; }

.ngj-report__result { margin: 0; font-size: 0.92em; }
.ngj-report__result.is-ok { color: #14613a; }
.ngj-report__result.is-error { color: #b3261e; }

/* The contribution centre. */
.ngj-contribute__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 24px 0; }
.ngj-contribute__card { border: 1px solid #e3e6ea; border-radius: 8px; padding: 18px 20px; }
.ngj-contribute__card h3 { margin: 0 0 8px; font-size: 1.05em; }
.ngj-contribute__card p { margin: 0 0 12px; color: #6b7280; font-size: 0.9em; line-height: 1.85; }

@media (max-width: 600px) {
	.ngj-contribute__grid { grid-template-columns: 1fr; }
}

/* The empty news state. Deliberate, Bengali, and pointing at what exists. */
.ngj-empty-state { padding: 26px 0 10px; max-width: 620px; }
.ngj-empty-state__hint { color: var(--ngj-muted); font-size: 0.92em; line-height: 1.9; margin: 0 0 16px; }
.ngj-empty-state__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* Supplied transparent logo: a white tile works in light and dark headers. */
.jeg_desktop_logo .site-title,
.jeg_mobile_logo .site-title,
.jeg_header_sticky .jeg_logo .site-title {
    margin: 0; line-height: 1; background: #fff; border-radius: 4px;
}
.jeg_desktop_logo .site-title a,
.jeg_mobile_logo .site-title a,
.jeg_header_sticky .jeg_logo .site-title a {
    display: flex; align-items: center; justify-content: center;
    max-width: 100%; line-height: 1; padding: 0;
}
.jeg_desktop_logo img.jeg_logo_img {
    display: block; width: clamp(280px, 34vw, 480px); height: auto;
    max-height: 160px; object-fit: contain;
}
.jeg_header_sticky .jeg_logo img.jeg_logo_img {
    display: block; width: 174px; height: auto; max-height: 50px; object-fit: contain;
}

/* This is an icon slot, not a dropdown form container. */
.ngj-header-search {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 44px; width: 44px; min-width: 44px; max-width: 44px; padding: 0;
}
.ngj-header-search .ngj-search-trigger,
.ngj-header-search .ngj-search-fallback {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0;
    color: #123a6b; background: #fff; border-radius: 6px;
}
.ngj-header-search .ngj-search-trigger:focus-visible,
.jeg_mobile_toggle:focus-visible {
    outline: 2px solid #c62828; outline-offset: -3px;
}
.ngj-overlay[hidden] { display: none !important; }
.ngj-overlay__inner { color: #16202e; background: #fff; }
.ngj-overlay__inner .ngj-search { width: 100%; min-width: 0; }

@media (max-width: 1024px) {
    .jeg_navbar_mobile, .jeg_mobile_midbar {
        height: 80px !important; min-height: 80px;
    }
    .jeg_mobile_midbar { background: #fff !important; color: #123a6b !important; }
    .jeg_mobile_midbar .jeg_nav_row { min-height: 80px; align-items: center; }
    .jeg_mobile_midbar .jeg_nav_left,
    .jeg_mobile_midbar .jeg_nav_right {
        flex: 0 0 44px; width: 44px; min-width: 44px; max-width: 44px;
    }
    .jeg_mobile_midbar .jeg_nav_center { flex: 1 1 0; min-width: 0; }
    .jeg_mobile_midbar .item_wrap { max-width: 100%; min-width: 0; }
    .jeg_mobile_logo { width: 100%; max-width: 100%; min-width: 0; }
    .jeg_mobile_logo .site-title { width: 100%; max-width: 100%; }
    .jeg_mobile_logo .site-title a { height: 76px; }
    .jeg_mobile_logo img.jeg_logo_img {
        display: block; width: auto; max-width: 100%; height: auto !important;
        max-height: 76px; object-fit: contain;
    }
    .jeg_mobile_midbar .jeg_mobile_toggle {
        color: #123a6b !important; width: 44px; height: 80px;
        line-height: 80px; padding: 0;
    }
}

/* -------------------------------------------------------------------------
   Classification: profession → specialty
   The second filter row depends on the first; the facts block says
   "পেশা" and then the field that profession calls for.
   ---------------------------------------------------------------------- */
.ngj-filter--secondary {
	align-items: center;
	margin-top: -10px;
}

.ngj-filter__label {
	font-size: 0.9em;
	font-weight: 600;
	color: var(--ngj-muted, #6b7280);
}

.ngj-classification {
	margin: 0 0 18px;
}
