:root {
	--ink: #10202a;
	--text: #1e2d35;
	--muted: #5c6f78;
	--bg: #f5f8f6;
	--paper: #ffffff;
	--line: #dce8e3;
	--green: #0d7a5f;
	--green-strong: #075a47;
	--teal: #0f9f9a;
	--gold: #f4c84f;
	--gold-dark: #4a3605;
	--navy: #111d2e;
	--rose: #b3374a;
	--shadow: 0 18px 48px rgba(17, 29, 46, 0.12);
	--radius: 8px;
	--max: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--green-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--rose);
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 14px;
	left: 14px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--gold);
	color: var(--gold-dark);
	border-radius: var(--radius);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	max-width: var(--max);
	min-height: 70px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img,
.footer-brand .custom-logo,
.footer-brand .custom-logo-link img {
	width: auto;
	max-width: 168px;
	max-height: 46px;
	object-fit: contain;
}

.custom-logo-link,
.site-wordmark {
	display: inline-flex;
	align-items: center;
	color: var(--ink);
	font-weight: 900;
	font-size: 1.28rem;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav ul,
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.primary-nav a,
.footer-nav a {
	color: var(--ink);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
	color: var(--green);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	cursor: pointer;
	padding: 9px;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: var(--green);
}

.site-main {
	min-height: 70vh;
}

.hero {
	max-width: var(--max);
	margin: 0 auto;
	padding: 54px 20px 34px;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(310px, 0.72fr);
	align-items: center;
	gap: 34px;
}

.hero__content {
	min-width: 0;
}

.hero__kicker,
.section-kicker {
	margin: 0 0 13px;
	color: var(--green-strong);
	font-size: 0.92rem;
	font-weight: 850;
	text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(2.2rem, 5vw, 4.5rem);
	line-height: 1.08;
	font-weight: 950;
	letter-spacing: 0;
}

.hero__intro {
	margin: 20px 0 0;
	max-width: 760px;
	color: #243942;
	font-size: 1.1rem;
}

.hero__actions {
	margin-top: 26px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border-radius: var(--radius);
	font-weight: 850;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	transform: translateY(-1px);
}

.button--primary,
.wp-block-button__link {
	background: var(--gold);
	color: var(--gold-dark);
	box-shadow: 0 12px 28px rgba(244, 200, 79, 0.32);
}

.button--primary:hover,
.button--primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background: #ffd96a;
	color: var(--gold-dark);
}

.button--secondary {
	background: var(--paper);
	border-color: var(--line);
	color: var(--green-strong);
}

.hero__signals {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero__signals span {
	padding: 8px 12px;
	border: 1px solid rgba(13, 122, 95, 0.18);
	border-radius: var(--radius);
	background: rgba(13, 122, 95, 0.08);
	color: var(--green-strong);
	font-size: 0.88rem;
	font-weight: 750;
}

.hero__media {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #dcefe8;
	box-shadow: var(--shadow);
	border: 1px solid rgba(13, 122, 95, 0.14);
}

.hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.page-hero {
	max-width: var(--max);
	margin: 0 auto;
	padding: 54px 20px 20px;
}

.content-shell {
	max-width: var(--max);
	margin: 0 auto;
	padding: 28px 20px 64px;
}

.content-shell--home {
	padding-top: 18px;
}

.longform-content {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(24px, 4vw, 44px);
}

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

.longform-content > *:last-child {
	margin-bottom: 0;
}

.longform-content h2 {
	margin: 40px 0 14px;
	color: var(--ink);
	font-size: clamp(1.55rem, 2.4vw, 2.2rem);
	line-height: 1.22;
	letter-spacing: 0;
}

.longform-content h3 {
	margin: 28px 0 10px;
	color: var(--ink);
	font-size: 1.24rem;
	letter-spacing: 0;
}

.longform-content p,
.longform-content li {
	color: var(--text);
}

.longform-content ul,
.longform-content ol {
	padding-left: 1.4rem;
}

.wp-block-group,
.toc-box,
.guide-note {
	margin: 24px 0;
	padding: 20px;
	border-radius: var(--radius);
	background: #eef7f3;
	border: 1px solid #cae4da;
}

.guide-link-grid,
.guide-card-grid,
.checklist-grid,
.topic-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 28px 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.guide-card,
.check-card,
.topic-card,
.risk-panel {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fbfdfc;
	box-shadow: 0 8px 22px rgba(17, 29, 46, 0.06);
}

.guide-card h3,
.check-card h3,
.topic-card h3 {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 1.08rem;
	line-height: 1.34;
}

.guide-card p,
.check-card p,
.topic-card p,
.risk-panel p {
	margin: 0;
}

.guide-card a,
.topic-card a {
	font-weight: 850;
}

.risk-panel {
	background: #fff8e2;
	border-color: #f0d886;
}

.risk-panel strong {
	color: var(--gold-dark);
}

.toc-box ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
}

.wp-block-image {
	margin: 28px 0;
}

.wp-block-image img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	box-shadow: 0 12px 30px rgba(17, 29, 46, 0.1);
}

.wp-block-table {
	overflow-x: auto;
	margin: 26px 0;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.wp-block-table th,
.wp-block-table td {
	padding: 13px 14px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.wp-block-table th {
	background: var(--navy);
	color: #ffffff;
}

.wp-block-details,
details {
	margin: 12px 0;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fbfdfc;
}

.wp-block-details summary,
details summary {
	color: var(--ink);
	font-weight: 850;
	cursor: pointer;
}

.post-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.post-card__link {
	display: block;
	height: 100%;
	padding: 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(17, 29, 46, 0.08);
}

.post-card h2 {
	color: var(--ink);
	margin: 10px 0;
	font-size: 1.3rem;
}

.post-card__label {
	color: var(--green);
	font-size: 0.9rem;
	font-weight: 800;
}

.search-form {
	display: flex;
	gap: 10px;
	align-items: center;
}

.search-field {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.search-form button {
	min-height: 46px;
	border: 0;
	border-radius: var(--radius);
	padding: 10px 16px;
	background: var(--green);
	color: #ffffff;
	cursor: pointer;
}

.site-footer {
	background: var(--navy);
	color: #f3f7f5;
}

.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 34px 20px;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr) minmax(220px, 0.8fr);
	gap: 28px;
	align-items: start;
}

.site-footer .custom-logo-link,
.site-footer .site-wordmark,
.site-footer a {
	color: #ffffff;
}

.site-footer p {
	color: #d7e2df;
	margin: 12px 0 0;
}

.site-footer h2 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	color: #ffffff;
}

.footer-risk {
	color: #ffe09a;
}

.footer-nav ul {
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
}

@media (max-width: 920px) {
	.hero {
		grid-template-columns: 1fr;
		padding-top: 38px;
	}

	.hero__media {
		max-width: 620px;
	}

	.post-list,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.site-header__inner {
		min-height: 64px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-nav {
		display: none;
		position: absolute;
		left: 16px;
		right: 16px;
		top: 68px;
		padding: 16px;
		background: var(--paper);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.hero {
		padding: 30px 16px 22px;
		gap: 22px;
	}

	.hero__actions,
	.hero__actions .button {
		width: 100%;
	}

	.hero__actions .button {
		min-height: 52px;
	}

	.content-shell,
	.page-hero {
		padding-left: 16px;
		padding-right: 16px;
	}

	.longform-content {
		padding: 22px 18px;
	}

	.toc-box ul {
		grid-template-columns: 1fr;
	}

	.guide-link-grid,
	.guide-card-grid,
	.checklist-grid,
	.topic-grid {
		grid-template-columns: 1fr;
	}

	.custom-logo,
	.custom-logo-link img,
	.site-branding img,
	.brand-logo img,
	.footer-brand .custom-logo,
	.footer-brand .custom-logo-link img {
		max-width: 140px;
		max-height: 40px;
	}
}
