/* Single post layout for drmezbahulmokerrabin.com (template: mu-plugins/drmezbah-blog/single.php) */

.dma,
.dma-footer {
	--dma-navy: #193876;
	--dma-navy-dark: #142c5d;
	--dma-ink: #141d2e;
	--dma-text: #2b3548;
	--dma-muted: #626d84;
	--dma-red: #e73023;
	--dma-line: #e0e6eb;
	--dma-soft: #f3f6fb;
	font-family: "Hind Siliguri", "Roboto", sans-serif;
}

.dma {
	color: var(--dma-text);
	background: #fff;
}

.dma *,
.dma-footer * {
	box-sizing: border-box;
}

.dma-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero */
.dma-hero {
	background: linear-gradient(180deg, #eaf0f9 0%, #f7f9fd 70%, #fff 100%);
	padding: 40px 0 36px;
}

.dma-hero .rank-math-breadcrumb {
	font-size: 14px;
	color: var(--dma-muted);
	margin-bottom: 18px;
}

.dma-hero .rank-math-breadcrumb p {
	margin: 0;
}

.dma-hero .rank-math-breadcrumb a {
	color: var(--dma-muted);
	text-decoration: none;
}

.dma-hero .rank-math-breadcrumb a:hover {
	color: var(--dma-navy);
}

.dma-hero .rank-math-breadcrumb .separator {
	margin: 0 6px;
}

.dma-pill {
	display: inline-block;
	background: rgba(231, 48, 35, 0.1);
	color: var(--dma-red);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.6;
	padding: 4px 14px;
	border-radius: 999px;
	text-decoration: none;
	margin-bottom: 14px;
}

.dma-pill:hover {
	color: var(--dma-red);
	background: rgba(231, 48, 35, 0.16);
}

.dma .dma-title {
	font-family: inherit;
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.3;
	font-weight: 700;
	color: var(--dma-ink);
	margin: 0 0 20px;
	max-width: 900px;
}

.dma-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	font-size: 15px;
	color: var(--dma-muted);
}

.dma-meta-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dma-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(20, 44, 93, 0.18);
}

.dma-author {
	display: block;
	font-weight: 600;
	color: var(--dma-ink);
	line-height: 1.3;
}

.dma-role {
	display: block;
	font-size: 13px;
	line-height: 1.3;
}

.dma-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dma-meta svg {
	width: 16px;
	height: 16px;
}

.dma-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #b7bfcc;
}

/* Layout */
.dma-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 48px;
	padding-top: 8px;
	padding-bottom: 64px;
	align-items: start;
}

.dma-article {
	min-width: 0;
	max-width: 780px;
}

.dma-cover {
	margin: 0 0 32px;
	background: var(--dma-soft);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	box-shadow: 0 18px 40px -18px rgba(20, 44, 93, 0.35);
}

.dma-cover img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
}

/* Content */
.dma-content {
	font-size: 18px;
	line-height: 1.85;
	color: var(--dma-text);
}

.dma-content p {
	margin: 0 0 18px;
}

.dma-content h2 {
	font-family: inherit;
	font-size: 26px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--dma-navy);
	margin: 44px 0 16px;
	padding-left: 14px;
	border-left: 4px solid var(--dma-red);
	scroll-margin-top: 90px;
}

.dma-content h3 {
	font-family: inherit;
	font-size: 20px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--dma-ink);
	margin: 28px 0 10px;
}

.dma-content a {
	color: var(--dma-navy);
	text-decoration: underline;
	text-decoration-color: rgba(25, 56, 118, 0.35);
	text-underline-offset: 3px;
}

.dma-content a:hover {
	color: var(--dma-red);
}

.dma-content strong {
	color: var(--dma-ink);
	font-weight: 600;
}

.dma-content ul,
.dma-content ol {
	margin: 0 0 22px;
	padding: 0;
}

.dma-content ul {
	list-style: none;
}

.dma-content ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
}

.dma-content ul li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.72em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dma-red);
	box-shadow: 0 0 0 4px rgba(231, 48, 35, 0.12);
}

.dma-content ol {
	padding-left: 24px;
}

.dma-content ol li {
	margin-bottom: 10px;
	padding-left: 4px;
}

.dma-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.dma-content figure {
	margin: 24px 0;
}

/* FAQ (Rank Math block; rendered markup uses .rank-math-list / .rank-math-list-item) */
.dma-content .wp-block-rank-math-faq-block,
.dma-content .rank-math-list {
	display: grid;
	gap: 14px;
	margin: 8px 0 28px;
}

.dma-content .rank-math-faq-item,
.dma-content .rank-math-list-item {
	background: #fff;
	border: 1px solid var(--dma-line);
	border-radius: 16px;
	padding: 18px 22px;
	box-shadow: 0 6px 18px -12px rgba(20, 44, 93, 0.25);
}

.dma-content .rank-math-question {
	position: relative;
	margin: 0 0 6px;
	padding-left: 40px;
	font-size: 19px;
	color: var(--dma-navy);
}

.dma-content .rank-math-question::before {
	content: "?";
	position: absolute;
	left: 0;
	top: 2px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--dma-navy);
	color: #fff;
	font-size: 15px;
	line-height: 28px;
	text-align: center;
	font-weight: 700;
}

.dma-content .rank-math-answer {
	padding-left: 40px;
}

.dma-content .rank-math-answer p {
	margin: 0;
}

/* Mobile contents box (desktop uses the sidebar) */
.dma-toc-m {
	display: none;
	margin: 0 0 28px;
	border: 1px solid var(--dma-line);
	border-radius: 16px;
	background: var(--dma-soft);
	padding: 14px 18px;
}

.dma-toc-m summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--dma-ink);
	font-size: 16px;
}

.dma-toc-m ol {
	margin: 10px 0 0;
	padding-left: 22px;
	list-style-type: bengali;
}

.dma-toc-m li {
	padding: 4px 0;
}

.dma-toc-m a {
	color: var(--dma-text);
	text-decoration: none;
	font-size: 15px;
}

/* Note + share */
.dma-note {
	margin: 32px 0 0;
	padding: 16px 20px;
	background: #fff8f2;
	border: 1px solid #fde1cf;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.7;
	color: #7a4a2a;
}

.dma-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--dma-line);
}

.dma-share > span {
	font-weight: 600;
	color: var(--dma-ink);
	margin-right: 4px;
}

.dma-share a,
.dma-share button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 8px 16px;
	font: 500 14px/1.2 "Hind Siliguri", sans-serif;
	text-decoration: none;
	border: 1px solid var(--dma-line);
	background: #fff;
	color: var(--dma-ink);
	cursor: pointer;
}

.dma-share svg {
	width: 16px;
	height: 16px;
}

.dma-share .dma-share-wa {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.dma-share .dma-share-fb {
	background: #1877f2;
	border-color: #1877f2;
	color: #fff;
}

.dma-share a:hover,
.dma-share button:hover {
	opacity: 0.9;
}

/* Sidebar */
.dma-aside {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 20px;
}

.dma-card {
	background: #fff;
	border: 1px solid var(--dma-line);
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 18px 40px -24px rgba(20, 44, 93, 0.35);
}

.dma-doctor {
	text-align: center;
	background: linear-gradient(180deg, #eef3fa 0, #fff 120px);
}

.dma-doctor img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 4px solid #fff;
	box-shadow: 0 8px 20px -8px rgba(20, 44, 93, 0.45);
	margin: 0 auto 14px;
	display: block;
}

.dma-doctor-name {
	font-size: 19px;
	font-weight: 700;
	color: var(--dma-ink);
	margin: 0 0 4px;
	line-height: 1.4;
}

.dma-doctor-deg {
	font-size: 14px;
	color: var(--dma-navy);
	font-weight: 600;
	margin: 0 0 8px;
}

.dma-doctor-pos {
	font-size: 14px;
	color: var(--dma-muted);
	line-height: 1.6;
	margin: 0 0 18px;
}

.dma-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 18px;
	border-radius: 12px;
	font: 600 16px/1.3 "Hind Siliguri", sans-serif;
	text-decoration: none;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.dma-btn + .dma-btn {
	margin-top: 10px;
}

.dma-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.dma-btn-red,
.dma-btn-red:hover,
.dma-btn-red:focus {
	background: var(--dma-red);
	color: #fff;
	box-shadow: 0 10px 20px -10px rgba(231, 48, 35, 0.7);
}

.dma-btn-red:hover {
	transform: translateY(-1px);
}

.dma-btn-line {
	border: 1.5px solid var(--dma-navy);
	color: var(--dma-navy);
}

.dma-btn-line:hover {
	background: var(--dma-navy);
	color: #fff;
}

.dma-btn-white,
.dma-btn-white:hover {
	background: #fff;
	color: var(--dma-navy);
}

.dma-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--dma-ink);
	margin: 0 0 8px;
}

.dma-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
}

.dma-toc li {
	counter-increment: toc;
	border-top: 1px solid var(--dma-line);
}

.dma-toc li:first-child {
	border-top: 0;
}

.dma-toc a {
	display: flex;
	gap: 10px;
	padding: 9px 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dma-text);
	text-decoration: none;
}

.dma-toc a::before {
	content: counter(toc, bengali);
	flex: 0 0 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--dma-soft);
	color: var(--dma-navy);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.dma-toc a:hover {
	color: var(--dma-red);
}

/* Appointment band */
.dma-band {
	background: linear-gradient(120deg, var(--dma-navy-dark) 0%, var(--dma-navy) 55%, #28618a 100%);
	color: #fff;
	padding: 56px 0;
}

.dma-band-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
}

.dma-band-eyebrow {
	letter-spacing: 0.08em;
	font-size: 14px;
	font-weight: 600;
	color: #ffb4ab;
	margin: 0 0 6px;
}

.dma .dma-band-title {
	font-family: inherit;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.35;
	color: #fff;
	margin: 0 0 20px;
	font-weight: 700;
}

.dma-chambers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 28px;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.dma-chambers strong {
	display: block;
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.04em;
	opacity: 0.75;
	font-weight: 600;
}

.dma-band-actions {
	display: grid;
	gap: 12px;
	min-width: 250px;
}

.dma-band .dma-btn + .dma-btn {
	margin-top: 0;
}

/* Related */
.dma-related {
	background: var(--dma-soft);
	padding: 56px 0 64px;
}

.dma .dma-related-title {
	font-family: inherit;
	font-size: 28px;
	color: var(--dma-ink);
	margin: 0 0 24px;
	font-weight: 700;
}

.dma-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.dma-rcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	border: 1px solid var(--dma-line);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dma-rcard:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 36px -20px rgba(20, 44, 93, 0.45);
}

.dma-rimg {
	display: block;
	aspect-ratio: 16 / 10;
	background: #e6ecf5;
	overflow: hidden;
}

.dma-rimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.dma-rbody {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}

.dma-rdate {
	font-size: 13px;
	color: var(--dma-muted);
}

.dma-rtitle {
	font-size: 18px;
	line-height: 1.45;
	font-weight: 600;
	color: var(--dma-ink);
}

.dma-rmore {
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--dma-red);
}

/* Footer */
.dma-footer {
	background: linear-gradient(120deg, #1a3366, #2a5d8f);
	color: rgba(255, 255, 255, 0.85);
	padding: 52px 0 0;
}

.dma-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: 40px;
}

.dma-footer .dma-footer-title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 14px;
}

.dma-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 15px;
	line-height: 1.6;
}

.dma-footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.dma-footer a:hover {
	color: #fff;
}

.dma-footer p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.7;
}

.dma-social {
	display: flex;
	gap: 10px;
}

.dma-social a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dma-social svg {
	width: 18px;
	height: 18px;
}

.dma-footer .dma-copy {
	margin: 40px 0 0;
	padding: 18px 20px;
	text-align: center;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Responsive */
@media (max-width: 1024px) {
	.dma-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.dma-article {
		max-width: none;
	}

	.dma-aside {
		position: static;
	}

	.dma-toc {
		display: none;
	}

	.dma-toc-m {
		display: block;
	}

	.dma-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dma-band-inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.dma-container {
		padding: 0 16px;
	}

	.dma-hero {
		padding: 28px 0 24px;
	}

	.dma-dot {
		display: none;
	}

	.dma-content {
		font-size: 17px;
		line-height: 1.8;
	}

	.dma-content h2 {
		font-size: 22px;
		margin-top: 36px;
	}

	.dma-cards,
	.dma-chambers,
	.dma-footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dma-footer-grid {
		gap: 28px;
	}

	.dma-band {
		padding: 44px 0;
	}

	.dma-cover {
		border-radius: 16px;
	}
}
