/* Doctora theme — mobile-first styles. Hand-authored (no build step yet). */

:root {
	--d-primary: #2563eb;        /* Medical Blue */
	--d-primary-dark: #1e3a8a;   /* Deep Navy */
	--d-accent: #10b981;         /* Healthcare Green */
	--d-ink: #0f172a;            /* Dark Slate (text primary) */
	--d-muted: #64748b;          /* Gray (text secondary) */
	--d-surface: #ffffff;        /* White */
	--d-surface-alt: #f8fafc;    /* Light Gray (background) */
	--d-border: #e2e8f0;         /* Soft Gray */
	--d-success: #059669;        /* Emerald (verified) */
	--d-danger: #dc2626;         /* Red */
	--d-radius: 8px;
	--d-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: 'Noto Sans Bengali', 'Noto Sans', system-ui, -apple-system, sans-serif;
	color: var(--d-ink);
	background: var(--d-surface-alt);
	line-height: 1.55;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior-y: contain;
	/* Safety net against any single element pushing the page wider than the
	   viewport on small screens. `clip` (not hidden) doesn't create a scroll
	   container, so it never breaks the sticky header. */
	overflow-x: clip;
}

/* Never let a long unbroken token (email, URL, BMDC no., Bangla compound)
   force horizontal scrolling on narrow screens. */
h1, h2, h3, h4, h5, h6, p, a, li, dd, dt, td, th, figcaption {
	overflow-wrap: break-word;
}

/* Baseline heading rhythm; specific components below override as needed. */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0 0 0.5rem;
}
p { margin: 0 0 0.85rem; }

a, button, .doctora-app-nav__item { -webkit-tap-highlight-color: transparent; }

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

a { color: var(--d-primary); }
a:hover { color: var(--d-primary-dark); }

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--d-primary);
	color: #fff;
	padding: 0.6rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* Visible keyboard-focus ring for every interactive element that doesn't
   define its own (links, nav items, cards, pagination, footer links). */
a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Form controls inherit the site font and never fall below 16px on phones,
   which is what stops iOS Safari from auto-zooming the page on focus. */
input, select, textarea, button { font-family: inherit; }
@media (max-width: 719px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	select,
	textarea { font-size: 16px; }
}

/* Header / footer */
.doctora-header {
	background: var(--d-surface);
	border-bottom: 1px solid var(--d-border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.doctora-header__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}
.doctora-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--d-primary);
	text-decoration: none;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}
.doctora-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: #dbeafe;
	color: var(--d-primary);
	flex-shrink: 0;
}
.doctora-nav { display: none; flex: 1; }
.doctora-nav ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.doctora-nav a {
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--d-ink);
	transition: color 0.15s ease;
}
.doctora-nav a:hover { color: var(--d-primary); }
.doctora-nav li.current-menu-item a { color: var(--d-primary); }
.doctora-header__actions { display: none; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.doctora-header__cta { flex-shrink: 0; font-size: 0.88rem; padding: 0.55rem 1.1rem; white-space: nowrap; }

/* Mobile nav toggle (hamburger) */
.doctora-nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	background: transparent;
	color: var(--d-ink);
	cursor: pointer;
	flex-shrink: 0;
	border-radius: 8px;
}
.doctora-nav-toggle:hover { background: var(--d-surface-alt); }
.doctora-nav-toggle__close { display: none; }
.doctora-nav-toggle[aria-expanded="true"] .doctora-nav-toggle__open { display: none; }
.doctora-nav-toggle[aria-expanded="true"] .doctora-nav-toggle__close { display: block; }

.doctora-mobile-nav[hidden] { display: none; }
.doctora-mobile-nav {
	border-top: 1px solid var(--d-border);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.doctora-mobile-nav__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
}
.doctora-mobile-nav__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--d-ink);
	text-decoration: none;
}
.doctora-mobile-nav__links li.current-menu-item a { color: var(--d-primary); }
.doctora-mobile-nav__cta { width: 100%; text-align: center; }

/* App-style bottom tab bar (mobile only) */
.doctora-app-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: flex;
	background: var(--d-surface);
	border-top: 1px solid var(--d-border);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.doctora-app-nav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	padding: 0.5rem 0.25rem 0.4rem;
	color: var(--d-muted);
	text-decoration: none;
	min-height: 56px;
}
.doctora-app-nav__item span { font-size: 0.68rem; font-weight: 600; }
.doctora-app-nav__item.is-active { color: var(--d-primary); }
.doctora-app-nav__item:active { background: var(--d-surface-alt); }

.doctora-footer {
	background: linear-gradient(180deg, var(--d-ink), #0b1120);
	color: #cbd5e1;
	margin-top: 3rem;
}
.doctora-footer__inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 3rem 1rem 2.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.75rem;
}
.doctora-footer a { color: #fff; }
.doctora-footer__brand { display: flex; flex-direction: column; align-items: center; }
.doctora-footer__logo {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 800;
	text-decoration: none;
	color: #fff;
	letter-spacing: -0.01em;
}
.doctora-footer__tagline { margin: 0.5rem 0 0; font-size: 0.9rem; color: #94a3b8; max-width: 320px; }
.doctora-footer__social {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
}
.doctora-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.doctora-footer__social a:hover {
	background: var(--d-primary);
	color: #fff;
	transform: translateY(-2px);
}
.doctora-footer__nav { display: flex; flex-direction: column; align-items: center; }
.doctora-footer__nav-title {
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}
.doctora-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.doctora-footer__links a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	transition: color 0.15s ease;
}
.doctora-footer__links a:hover { color: var(--d-accent); }
.doctora-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.1rem 1rem;
}
.doctora-footer__bottom p {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 0.82rem;
	color: #64748b;
	text-align: center;
}

/* Layout */
.doctora-main {
	max-width: 1080px;
	margin: 0 auto;
	padding: 1rem;
}

/* Buttons & chips */
.doctora-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.55rem 1.2rem;
	border-radius: 10px;
	border: 1px solid transparent;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
		transform 0.1s ease, box-shadow 0.15s ease;
}
.doctora-btn:active { transform: scale(0.97); }
.doctora-btn--primary {
	background: var(--d-primary);
	color: #fff;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}
.doctora-btn--primary:hover {
	background: var(--d-primary-dark);
	color: #fff;
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
	transform: translateY(-1px);
}
.doctora-btn--primary:active { transform: translateY(0) scale(0.97); }
.doctora-btn--primary:disabled {
	background: var(--d-muted);
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}
.doctora-btn--call {
	background: #fff;
	color: var(--d-primary);
	border-color: var(--d-primary);
}
.doctora-btn--call:hover {
	background: var(--d-primary);
	color: #fff;
	transform: translateY(-1px);
}
.doctora-btn--outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: #fff;
	color: var(--d-primary);
	border-color: var(--d-primary);
	border-radius: 999px;
}
.doctora-btn--outline svg { flex-shrink: 0; transition: transform 0.15s ease; }
.doctora-btn--outline:hover {
	background: var(--d-primary);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}
.doctora-btn--outline:hover svg { transform: translate(2px, -2px); }
.doctora-btn:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: 2px;
}

.doctora-chip {
	display: inline-block;
	background: var(--d-surface-alt);
	border: 1px solid var(--d-border);
	border-radius: 999px;
	padding: 0.15rem 0.75rem;
	font-size: 0.85rem;
	color: var(--d-ink);
}
.doctora-chip--link { text-decoration: none; background: #fff; }
.doctora-chip--link:hover { border-color: var(--d-primary); }

.doctora-badge {
	display: inline-block;
	border-radius: 4px;
	padding: 0.1rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	vertical-align: middle;
}
.doctora-badge--verified { background: #d1fae5; color: var(--d-success); }
.doctora-badge--24h { background: #fef2f2; color: var(--d-danger); }

/* Cards */
.doctora-card {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.25rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
}
.doctora-card__media img,
.doctora-card__placeholder {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--d-surface-alt);
	display: block;
}
.doctora-card__placeholder--hospital {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--d-primary);
}
.doctora-card__title { margin: 0; font-size: 1.05rem; }
.doctora-card__title a { text-decoration: none; color: var(--d-ink); }
.doctora-card__title a:hover { color: var(--d-primary); }
.doctora-card__name-bn { margin: 0; color: var(--d-muted); }
.doctora-card__degrees { margin: 0; font-size: 0.9rem; color: var(--d-muted); }
.doctora-card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.doctora-card__fee { font-size: 0.9rem; font-weight: 600; }
.doctora-card__actions { margin-top: auto; }

/* Doctor card: centered, information-dense layout */
.doctora-card--doctor {
	position: relative;
	text-align: center;
	align-items: center;
	gap: 0.32rem;
	line-height: 1.4;
	padding: 1.5rem 1.1rem 1.75rem;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.doctora-card--doctor:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}
.doctora-card--doctor.is-sponsored {
	border-color: var(--d-accent);
	box-shadow: 0 0 0 1px var(--d-accent);
}
.doctora-card__sponsored-badge {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	background: var(--d-accent);
	color: var(--d-ink);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
}
.doctora-card--doctor .doctora-card__media { margin-bottom: 0.5rem; }
.doctora-card--doctor .doctora-card__media img,
.doctora-card--doctor .doctora-card__placeholder {
	width: 148px;
	height: 148px;
	border: 3px solid var(--d-surface-alt);
	box-shadow: 0 0 0 1px var(--d-border);
}
.doctora-card--doctor .doctora-card__title { font-size: 1.15rem; margin-bottom: 0.1rem; }
.doctora-card--doctor .doctora-card__title a { color: var(--d-primary); font-weight: 700; }
.doctora-card--doctor .doctora-card__title a:hover { color: var(--d-primary-dark); }
.doctora-card__bmdc { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--d-success); }
.doctora-card__degrees { font-size: 0.88rem; }
.doctora-card__experience { margin: 0.1rem 0 0; font-size: 0.88rem; font-weight: 700; color: var(--d-success); }
.doctora-card__specialty-line { margin: 0; font-size: 0.88rem; font-weight: 700; color: var(--d-danger); }
.doctora-card__position { margin: 0.15rem 0 0; font-size: 0.85rem; font-weight: 700; color: var(--d-ink); }
.doctora-card__workplace-line { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--d-ink); }
.doctora-card--doctor .doctora-rating { margin-top: 0.3rem; }
.doctora-btn--block { width: 100%; margin-top: 0.75rem; font-size: 0.9rem; padding: 0.65rem 1rem; }

.doctora-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
/* Grid gap already provides spacing — the card's own margin-bottom would double it. */
.doctora-card-grid .doctora-card,
.doctora-listing__results .doctora-card { margin-bottom: 0; }

/* Rating */
.doctora-rating { display: inline-flex; align-items: center; gap: 2px; color: #cbd5e1; }
.doctora-star.is-filled { color: var(--d-accent); }
.doctora-rating__text { margin-left: 0.4rem; font-size: 0.85rem; color: var(--d-muted); }

/* Breadcrumbs */
.doctora-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.85rem;
}
.doctora-breadcrumbs li + li::before { content: '›'; margin: 0 0.4rem; color: var(--d-muted); }
.doctora-breadcrumbs a { text-decoration: none; }
.doctora-breadcrumbs [aria-current] { color: var(--d-muted); }

/* Profile */
.doctora-profile__header {
	position: relative;
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 1.25rem;
	box-shadow: var(--d-shadow);
}
.doctora-profile__banner {
	height: 108px;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
		linear-gradient(120deg, var(--d-primary-dark), var(--d-primary) 65%, #3b82f6);
}
.doctora-profile__header-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	padding: 0 1.5rem 2rem;
	margin-top: -64px;
}
.doctora-profile__photo { margin-bottom: 0.5rem; }
.doctora-profile__photo img,
.doctora-profile__photo .doctora-card__placeholder {
	width: 128px;
	height: 128px;
	border-radius: 18px;
	border: 4px solid var(--d-surface);
	object-fit: cover;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	background: var(--d-surface-alt);
	display: block;
	margin: 0 auto;
}
.doctora-profile__identity { min-width: 0; max-width: 560px; }
.doctora-profile__name-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.doctora-profile__identity h1 { margin: 0; font-size: 1.5rem; letter-spacing: -0.01em; }
.doctora-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: #d1fae5;
	color: var(--d-success);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
}
.doctora-profile__name-bn { margin: 0.3rem 0 0; color: var(--d-muted); }

.doctora-profile__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	background: var(--d-surface-alt);
	border-radius: 14px;
	margin-top: 0.85rem;
	padding: 1rem 1.25rem;
	width: 100%;
}
.doctora-profile__meta p {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}
.doctora-profile__meta svg { flex-shrink: 0; opacity: 0.85; }

.doctora-hcard {
	background: var(--d-surface);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.1rem 1.25rem;
	margin: 0 0 0.9rem;
	text-align: center;
}
.doctora-hcard__title { margin: 0; font-size: 1.05rem; }
.doctora-hcard__body { margin-top: 0.75rem; }
.doctora-hcard__name { font-weight: 700; font-size: 1rem; margin: 0 0 0.5rem; }
.doctora-hcard__chips { margin: 0 0 0.6rem; }
.doctora-hcard__body p { margin: 0 0 0.35rem; color: var(--d-muted); }
.doctora-hcard__body .doctora-btn { display: inline-flex; margin-top: 0.6rem; padding: 0.55rem 1.75rem; }
.doctora-profile__degrees { margin: 0.15rem 0; font-size: 0.92rem; color: var(--d-ink); }
.doctora-profile__chips { margin: 0 0 0.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.doctora-profile__bmdc { font-size: 0.85rem; font-weight: 700; color: var(--d-success); }
.doctora-profile__experience { font-size: 0.98rem; font-weight: 700; color: var(--d-success); }
.doctora-profile__specialty-line { font-size: 0.98rem; font-weight: 700; color: var(--d-danger); }
.doctora-profile__position { font-size: 0.9rem; font-weight: 700; color: var(--d-ink); }
.doctora-profile__workplace-line { font-size: 0.9rem; font-weight: 700; color: var(--d-ink); }
.doctora-profile__verified-date {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: var(--d-muted);
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.doctora-profile__facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}
.doctora-fact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	padding: 1.1rem 1rem;
}
.doctora-fact-card--accent { border-color: var(--d-accent); background: #ecfdf5; }
.doctora-fact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--d-surface-alt);
	color: var(--d-primary);
}
.doctora-fact-card--accent .doctora-fact-card__icon { background: #d1fae5; color: #047857; }
.doctora-fact-card dt { margin: 0; font-size: 0.75rem; color: var(--d-muted); }
.doctora-fact-card dd { margin: 0; font-weight: 700; font-size: 0.95rem; }

/* Chamber block */
.doctora-chamber-block {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.25rem 1.3rem;
	margin-bottom: 1rem;
}
.doctora-chamber-block__title { margin: 0 0 0.6rem; font-size: 1.05rem; text-align: center; }
.doctora-chamber-block__hospital {
	margin: 0 0 0.3rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	color: var(--d-primary-dark);
	text-align: center;
}
.doctora-chamber-block__hospital a { color: inherit; text-decoration: none; }
.doctora-chamber-block__hospital a:hover { text-decoration: underline; }
.doctora-chamber-block__address {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0 0 0.85rem;
	color: var(--d-muted);
	font-size: 0.9rem;
	text-align: center;
}
.doctora-chamber-block__address svg { flex-shrink: 0; opacity: 0.7; }
.doctora-chamber-block__hours { margin: 0 0 0.85rem; text-align: center; }
.doctora-chamber-block__hours p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0 0 0.2rem;
	font-weight: 700;
	font-size: 0.9rem;
}
.doctora-chamber-block__hours p svg { flex-shrink: 0; opacity: 0.75; color: var(--d-primary); }
.doctora-chamber-block__hours p:last-child { margin-bottom: 0; }
.doctora-fees { justify-content: center; }
.doctora-chamber-block__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.85rem; }

.doctora-hours {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.doctora-hours th, .doctora-hours td {
	text-align: left;
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid var(--d-border);
}
@media (min-width: 560px) {
	.doctora-hours th, .doctora-hours td { padding: 0.75rem 1.25rem; }
}
.doctora-hours th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--d-muted); }
.doctora-hours tr:last-child td { border-bottom: none; }

/* Generic white card for section bodies (About, Departments, Serial process) */
.doctora-content-card {
	background: var(--d-surface);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.5rem 1.75rem;
}
.doctora-content-card--flush { padding: 0; overflow: hidden; }
/* Let a wide table scroll sideways inside the card rather than overflow the
   page or get clipped on narrow screens. */
.doctora-content-card--flush { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doctora-content-card--flush .doctora-hours { min-width: 22rem; }
.doctora-content-card--center { text-align: center; }
.doctora-content-card p:last-child { margin-bottom: 0; }

.doctora-fees { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.6rem; }
.doctora-fees > div {
	background: var(--d-surface-alt);
	border-radius: 8px;
	padding: 0.4rem 0.8rem;
}
.doctora-fees dt { margin: 0; font-size: 0.72rem; color: var(--d-muted); }
.doctora-fees dd { margin: 0; font-weight: 700; font-size: 0.95rem; }
.doctora-chamber-block__serial { text-align: center; font-size: 0.9rem; color: var(--d-muted); }

/* About Doctor */
.doctora-about-card {
	background: var(--d-surface);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.25rem 1.5rem;
	line-height: 1.7;
}
.doctora-about-card p:last-child { margin-bottom: 0; }
.doctora-about-card strong { color: var(--d-ink); }

/* Listing */
.doctora-listing__finder { margin-bottom: 1.5rem; }
.doctora-listing__header h1 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.doctora-listing__count { color: var(--d-muted); font-size: 0.9rem; }
.doctora-listing__intro { margin: 0.5rem 0 1rem; color: var(--d-muted); font-size: 1rem; max-width: 640px; }

/* SEO intro card shown after the finder on district+specialty listings */
.doctora-intro-card {
	background:
		linear-gradient(180deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0) 70%),
		var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 16px;
	box-shadow: var(--d-shadow);
	padding: 1.75rem 1.75rem 1.85rem;
	margin-bottom: 1.5rem;
	text-align: center;
}
.doctora-intro-card__title {
	margin: 0 0 0.7rem;
	font-size: 1.35rem;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--d-primary-dark);
}
.doctora-intro-card__body {
	color: var(--d-muted);
	line-height: 1.75;
	font-size: 0.98rem;
	max-width: 760px;
	margin: 0 auto;
}
.doctora-intro-card__body p:last-child { margin-bottom: 0; }
.doctora-listing__results { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.doctora-listing__results--single { grid-template-columns: 1fr !important; }

/* Hospital card: stacked + centered on mobile, 3-column row (image | info | button) on desktop */
.doctora-card--hospital {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.6rem;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.doctora-card--hospital:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}
.doctora-card--hospital .doctora-card__media img,
.doctora-card--hospital .doctora-card__placeholder {
	width: 84px;
	height: 84px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--d-surface-alt);
	display: block;
	margin: 0 auto;
}
.doctora-card--hospital .doctora-card__placeholder--hospital {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--d-primary);
}
.doctora-card--hospital .doctora-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}
.doctora-card--hospital .doctora-card__actions { flex-shrink: 0; margin-top: 0; }
.doctora-card__address {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin: 0;
	color: var(--d-muted);
	font-size: 0.9rem;
}
.doctora-listing__empty {
	background: var(--d-surface);
	border: 1px dashed var(--d-border);
	border-radius: var(--d-radius);
	padding: 2rem;
	text-align: center;
	color: var(--d-muted);
}

.doctora-filters {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
}
.doctora-filters fieldset {
	border: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}
.doctora-filters select {
	font: inherit;
	padding: 0.4rem 0.6rem;
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	background: #fff;
}

/* Sponsored */
.doctora-sponsored-slot {
	border: 2px solid var(--d-accent);
	border-radius: var(--d-radius);
	margin-bottom: 1rem;
	position: relative;
}
.doctora-sponsored-slot__label {
	margin: 0;
	background: var(--d-accent);
	color: var(--d-ink);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.15rem 0.75rem;
	border-radius: 4px 4px 0 0;
}
.doctora-sponsored-slot .doctora-card { border: none; box-shadow: none; margin: 0; }

/* Pagination */
.doctora-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	justify-content: center;
}
.doctora-pagination a, .doctora-pagination .is-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.4rem 0.7rem;
	text-align: center;
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	background: #fff;
	text-decoration: none;
}
.doctora-pagination .is-current {
	background: var(--d-primary);
	color: #fff;
	border-color: var(--d-primary);
}

/* Sticky mobile action bar */
.doctora-sticky-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: var(--d-surface);
	border-top: 1px solid var(--d-border);
	padding: 0.6rem 1rem;
	display: flex;
	gap: 0.6rem;
	z-index: 60;
}
.doctora-sticky-bar .doctora-btn { flex: 1; }

/* Modal */
.doctora-modal { position: fixed; inset: 0; z-index: 90; }
.doctora-modal[hidden] { display: none; }
.doctora-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.doctora-modal__dialog {
	position: relative;
	/* Keep a 1rem gutter from the screen edges on phones, cap at 420px. */
	width: auto;
	max-width: min(420px, calc(100% - 2rem));
	margin: 8vh auto 0;
	background: #fff;
	border-radius: 14px;
	padding: 1.75rem 1.5rem 1.5rem;
	max-height: 84vh;
	overflow: auto;
}
.doctora-modal__close {
	position: absolute;
	top: 0.35rem; right: 0.35rem;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
	color: var(--d-muted);
}
.doctora-booking-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.doctora-booking-form input,
.doctora-booking-form select,
.doctora-booking-form textarea {
	width: 100%;
	font: inherit;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
}
.doctora-booking-form__notice { font-size: 0.85rem; color: var(--d-muted); }

/* Home */
.doctora-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 90% 120% at 85% -20%, rgba(16, 185, 129, 0.28), transparent 55%),
		radial-gradient(ellipse 70% 100% at 0% 110%, rgba(255, 255, 255, 0.1), transparent 60%),
		linear-gradient(135deg, var(--d-primary-dark) 0%, var(--d-primary) 60%, #3b82f6 100%);
	color: #fff;
	border-radius: 16px;
	padding: 3rem 1.25rem 2.5rem;
	text-align: center;
	margin-bottom: 1.5rem;
}
.doctora-hero__inner { max-width: 720px; margin: 0 auto; }
.doctora-hero__eyebrow {
	display: inline-block;
	margin: 0 0 0.9rem;
	padding: 0.25rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}
.doctora-hero h1 {
	margin: 0 0 0.6rem;
	font-size: 1.65rem;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.doctora-hero__tagline { margin: 0 0 1.5rem; opacity: 0.85; font-size: 1.02rem; }
.doctora-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 580px;
	margin: 0 auto 1.4rem;
	background: #fff;
	border-radius: 999px;
	padding: 0.35rem 0.35rem 0.35rem 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.doctora-hero__search-icon { color: var(--d-muted); flex-shrink: 0; }
.doctora-hero__search input {
	flex: 1;
	min-width: 0;
	font: inherit;
	padding: 0.55rem 0.25rem;
	border: none;
	background: transparent;
	color: var(--d-ink);
}
.doctora-hero__search input:focus { outline: none; }
.doctora-hero__search:focus-within {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 3px var(--d-accent);
}
.doctora-btn--accent {
	background: var(--d-accent);
	color: var(--d-ink);
	border-radius: 999px;
	white-space: nowrap;
}
.doctora-btn--accent:hover { background: #d19a30; color: var(--d-ink); transform: translateY(-1px); }
.doctora-hero__chips-label {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.7);
}
.doctora-hero__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.doctora-hero-chip {
	display: inline-block;
	padding: 0.3rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease;
}
.doctora-hero-chip:hover,
.doctora-hero-chip:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}
.doctora-hero-chip:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: 2px;
}

.doctora-trust {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.doctora-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	padding: 1rem 1.1rem;
}
.doctora-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 12px;
	background: #dbeafe;
	color: var(--d-success);
}
.doctora-trust__item h3 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.doctora-trust__item p { margin: 0; font-size: 0.85rem; color: var(--d-muted); }

/* Section headers with eyebrow + view-all link */
.doctora-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin: 2.25rem 0 1rem;
}
.doctora-section-head__eyebrow {
	margin: 0 0 0.15rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--d-primary);
}
.doctora-section-head h2 { margin: 0; font-size: 1.35rem; }
.doctora-section-head--center {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.doctora-section-head__link {
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

/* Article cards */
.doctora-card--article {
	padding: 0;
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.doctora-card--article:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}
.doctora-card--article .doctora-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--d-surface-alt);
}
.doctora-card--article .doctora-card__media img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	display: block;
}
.doctora-card--article .doctora-card__body { padding: 1.15rem 1.25rem 1.4rem; }
.doctora-card--article .doctora-card__title { font-size: 1.05rem; margin-bottom: 0.4rem; }
.doctora-card--article .doctora-card__title a:hover { color: var(--d-primary); }
.doctora-card--article p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--d-muted); line-height: 1.6; }
.doctora-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--d-primary);
	text-decoration: none;
}
.doctora-card__read-more:hover { color: var(--d-primary-dark); }
.doctora-card__read-more span { transition: transform 0.15s ease; }
.doctora-card__read-more:hover span { transform: translateX(3px); }

/* Featured (hero) article card at the top of the Health Tips blog */
.doctora-card--featured {
	margin-bottom: 1.75rem;
}
.doctora-card--featured .doctora-card__media { aspect-ratio: 21 / 9; }
.doctora-card--featured .doctora-card__body { padding: 1.5rem 1.75rem 1.75rem; }
.doctora-card--featured__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--d-primary);
}
.doctora-card--featured .doctora-card__title { font-size: 1.5rem; margin-bottom: 0.6rem; }
.doctora-card--featured p { font-size: 1rem; }

/* Specialty Wise / Hospital Wise browse tabs */
.doctora-browse-tabs {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	overflow: hidden;
}
.doctora-browse-tabs__list {
	display: flex;
	background: var(--d-surface-alt);
}
.doctora-browse-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 0.7rem 0.75rem;
	cursor: pointer;
	color: var(--d-muted);
	transition: background 0.15s ease, color 0.15s ease;
}
.doctora-browse-tab svg { width: 15px; height: 15px; opacity: 0.7; }
.doctora-browse-tab.is-active {
	background: var(--d-surface);
	border-bottom-color: var(--d-primary);
	color: var(--d-primary);
}
.doctora-browse-tab.is-active svg { opacity: 1; }
.doctora-browse-tab:hover:not(.is-active) { background: rgba(37, 99, 235, 0.06); }
.doctora-browse-tab:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: -3px;
}
.doctora-browse-tabs__panel {
	display: none;
	padding: 1rem;
}
.doctora-browse-tabs__panel.is-active { display: block; }
.doctora-browse-tabs__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.doctora-location-pill {
	display: inline-block;
	background: var(--d-primary);
	color: #fff;
	border-radius: 999px;
	padding: 0.5rem 1.1rem;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}
.doctora-location-pill:hover,
.doctora-location-pill:focus-visible {
	background: var(--d-primary-dark);
	color: #fff;
}
.doctora-location-pill:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: 2px;
}

/* Specialty Wise cascade selector */
.doctora-cascade {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.doctora-cascade__step { display: flex; flex-direction: column; gap: 0.25rem; }
.doctora-cascade__step label { font-weight: 700; font-size: 0.75rem; color: var(--d-ink); }
.doctora-cascade__step select {
	font: inherit;
	font-size: 0.85rem;
	min-height: 44px;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--d-border);
	border-radius: 8px;
	background: #fff;
	color: var(--d-ink);
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3e%3cpath fill='%2364748b' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	padding-right: 1.75rem;
	transition: border-color 0.15s ease;
}
.doctora-cascade__step select:focus-visible {
	outline: none;
	border-color: var(--d-primary);
}
.doctora-cascade__step select:disabled { background-color: var(--d-surface-alt); color: var(--d-muted); }
.doctora-cascade__submit {
	white-space: nowrap;
	width: 100%;
	font-size: 0.85rem;
	padding: 0.5rem 1.1rem;
	border-radius: 8px;
}
.doctora-cascade__submit:disabled {
	background: var(--d-muted);
	cursor: not-allowed;
}
.doctora-cascade__noscript {
	margin: 1rem 0 0.5rem;
	font-size: 0.85rem;
	color: var(--d-muted);
}

.doctora-district-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Reviewer credit */
.doctora-reviewer-credit {
	background: #d1fae5;
	border-radius: var(--d-radius);
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}
.doctora-reviewer-credit p { margin: 0; }

/* About page */
.doctora-about__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2rem;
}
.doctora-about__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--d-primary);
}
.doctora-about__header h1 { margin: 0 0 0.5rem; font-size: 1.9rem; letter-spacing: -0.01em; }
.doctora-about__tagline { margin: 0; color: var(--d-muted); font-size: 1.05rem; }

/* Readable prose (About, policy pages) */
.doctora-prose {
	max-width: 720px;
	margin: 0 auto;
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 16px;
	padding: 1.75rem 1.5rem;
}
.doctora-prose > h1 {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
	border-bottom: 1px solid var(--d-border);
	padding-bottom: 1rem;
}
.entry-content { font-size: 1rem; line-height: 1.75; color: var(--d-ink); }
.entry-content > p:first-child { font-size: 1.08rem; color: var(--d-muted); }
.entry-content h2 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 2.25rem 0 1rem;
	font-size: 1.25rem;
	color: var(--d-ink);
}
.entry-content h2::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 1.35rem;
	border-radius: 3px;
	background: var(--d-primary);
	flex-shrink: 0;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h3 {
	margin: 1.5rem 0 0.75rem;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--d-primary-dark);
}
.entry-content ul {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.entry-content ul li {
	position: relative;
	background: var(--d-surface-alt);
	border-radius: 10px;
	padding: 0.85rem 1rem 0.85rem 2.6rem;
}
.entry-content ul li::before {
	content: '';
	position: absolute;
	left: 1rem;
	top: 1.05rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--d-success);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center / 10px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.entry-content ul li > strong:first-child { color: var(--d-primary-dark); }
.entry-content blockquote {
	margin: 1.75rem 0 0.5rem;
	background: #ecfdf5;
	border-left: 4px solid var(--d-accent);
	border-radius: 0 10px 10px 0;
	padding: 1rem 1.25rem;
	font-size: 0.92rem;
	color: var(--d-ink);
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote strong:first-child { color: #047857; }

/* Reviews (native comments, styled to match the rest of the site) */
.doctora-reviews__count {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--d-muted);
}
.doctora-reviews__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}
.doctora-reviews__list .comment,
.doctora-reviews__list .pingback {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	padding: 1rem 1.1rem;
}
.doctora-reviews__list ul.children {
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0 0 0 1.25rem;
	border-left: 2px solid var(--d-border);
}
.doctora-reviews__list .comment-author.vcard {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.25rem;
}
.doctora-reviews__list .comment-author img {
	border-radius: 50%;
	display: block;
}
.doctora-reviews__list .comment-author .fn {
	font-style: normal;
	font-weight: 700;
	color: var(--d-ink);
}
.doctora-reviews__list .comment-metadata {
	font-size: 0.78rem;
	color: var(--d-muted);
	margin-bottom: 0.5rem;
}
.doctora-reviews__list .comment-metadata a { color: inherit; text-decoration: none; }
.doctora-reviews__list .comment-content p { margin: 0 0 0.5rem; }
.doctora-reviews__list .comment-content p:last-child { margin-bottom: 0; }
.doctora-reviews__list .reply { margin-top: 0.6rem; }
.doctora-reviews__list .comment-reply-link {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--d-primary);
	text-decoration: none;
	border: 1px solid var(--d-border);
	border-radius: 999px;
	padding: 0.25rem 0.85rem;
}
.doctora-reviews__list .comment-reply-link:hover { background: var(--d-surface-alt); }

#respond {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	padding: 1.25rem 1.25rem 1.5rem;
	text-align: center;
}
#respond #reply-title {
	margin: 0 0 0.9rem;
	font-size: 1.1rem;
	text-align: center;
}
#respond #reply-title small { margin-left: 0.5rem; font-size: 0.8rem; font-weight: 400; }
#respond .doctora-reviews__note,
#respond .comment-notes,
#respond .logged-in-as {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: var(--d-muted);
	text-align: center;
}
#respond .logged-in-as a { color: var(--d-primary); }
#respond .comment-form-rating,
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
	margin: 0 0 1rem;
	text-align: center;
}
#respond label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--d-ink);
	text-align: center;
}
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
	width: 100%;
	max-width: 100%;
	font: inherit;
	font-size: 0.95rem;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--d-border);
	border-radius: var(--d-radius);
	background: var(--d-surface-alt);
	color: var(--d-ink);
}
#respond textarea { min-height: 130px; resize: vertical; }
#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
	outline: none;
	border-color: var(--d-primary);
	background: var(--d-surface);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
#respond .form-submit { margin: 0; }
#respond #submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	background: var(--d-primary);
	color: #fff;
	border: none;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.65rem 1.6rem;
	cursor: pointer;
}
#respond #submit:hover { background: var(--d-primary-dark); }
#respond #submit:focus-visible {
	outline: 3px solid var(--d-accent);
	outline-offset: 2px;
}

/* Skeletons for fetch-swapped results */
.doctora-listing__results.is-loading .doctora-card { opacity: 0.4; pointer-events: none; }

/* Single article (Health Tips detail) */
.doctora-article-layout { display: flex; flex-direction: column; gap: 1.75rem; }
.doctora-article__header h1 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.doctora-article__date { margin: 0 0 1.25rem; font-size: 0.85rem; color: var(--d-muted); }
.doctora-article__thumb {
	margin: 0 0 1.5rem;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--d-surface-alt);
}
.doctora-article__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.doctora-reviewed-box {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.1rem 1.25rem;
	background: var(--d-surface-alt);
	border-radius: 14px;
}
.doctora-reviewed-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.doctora-reviewed-box__label { margin: 0; font-size: 0.78rem; color: var(--d-muted); }
.doctora-reviewed-box__name { margin: 0.1rem 0 0; font-weight: 700; }
.doctora-reviewed-box__name a { color: var(--d-primary); text-decoration: none; }
.doctora-reviewed-box__name a:hover { color: var(--d-primary-dark); }
.doctora-reviewed-box__date { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--d-muted); }

.doctora-article__sidebar { display: flex; flex-direction: column; }
.doctora-widget {
	background: var(--d-surface);
	border: 1px solid var(--d-border);
	border-radius: 14px;
	box-shadow: var(--d-shadow);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}
.doctora-widget:last-child { margin-bottom: 0; }
.doctora-widget__title { margin: 0 0 0.85rem; font-size: 1rem; }
.doctora-widget__text { margin: 0 0 1rem; font-size: 0.88rem; color: var(--d-muted); }
.doctora-widget__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.doctora-widget__list-link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--d-ink);
}
.doctora-widget__list-thumb {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--d-surface-alt);
}
.doctora-widget__list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctora-widget__list-title { font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.doctora-widget__list-link:hover .doctora-widget__list-title { color: var(--d-primary); }
.doctora-widget__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.doctora-widget__chips a {
	display: inline-block;
	background: var(--d-surface-alt);
	color: var(--d-ink);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
}
.doctora-widget__chips a:hover { background: var(--d-primary); color: #fff; }
.doctora-widget__list-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--d-surface-alt);
	color: var(--d-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.doctora-widget__more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 1rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--d-primary);
	text-decoration: none;
}
.doctora-widget__more:hover { color: var(--d-primary-dark); }
.doctora-widget__more span { transition: transform 0.15s ease; }
.doctora-widget__more:hover span { transform: translateX(3px); }

/* Desktop */
@media (min-width: 720px) {
	.doctora-card-grid,
	.doctora-listing__results { grid-template-columns: repeat(2, 1fr); }
	.doctora-profile__facts { grid-template-columns: repeat(4, 1fr); }
	.doctora-hero { padding: 4rem 2rem 3.25rem; }
	.doctora-hero h1 { font-size: 2.35rem; }
	.doctora-trust { grid-template-columns: repeat(3, 1fr); }
	.doctora-sticky-bar { display: none; }
	.doctora-main { padding: 1.5rem 1rem; }
	.doctora-cascade { flex-direction: row; align-items: flex-end; }
	.doctora-cascade__step { flex: 1; }
	.doctora-cascade__submit { flex-shrink: 0; width: auto; }
	.doctora-nav { display: block; }
	.doctora-header__actions { display: flex; }
	.doctora-nav-toggle { display: none; }
	.doctora-mobile-nav { display: none !important; }
	.doctora-app-nav { display: none; }
	body { padding-bottom: 0 !important; }
	.doctora-article-layout { flex-direction: row; align-items: flex-start; gap: 2.5rem; }
	.doctora-article__main { flex: 1; min-width: 0; }
	.doctora-article__sidebar { width: 300px; flex-shrink: 0; }
	.doctora-card--hospital {
		display: grid;
		grid-template-columns: 84px 1fr auto;
		align-items: center;
		text-align: left;
		gap: 1rem;
	}
	.doctora-card--hospital .doctora-card__media img,
	.doctora-card--hospital .doctora-card__placeholder { margin: 0; }
	.doctora-card--hospital .doctora-card__body { align-items: flex-start; }
	.doctora-card--hospital .doctora-card__address { justify-content: flex-start; }
}

/* App-shell spacing so fixed bars never cover content (mobile only) */
@media (max-width: 719px) {
	body { padding-bottom: 56px; }
	body.single-doctor { padding-bottom: 112px; }
	.doctora-sticky-bar { bottom: 56px; }
}

@media (min-width: 1000px) {
	.doctora-card-grid,
	.doctora-listing__results { grid-template-columns: repeat(3, 1fr); }
	.doctora-article__main .doctora-listing__results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.doctora-profile__facts { grid-template-columns: 1fr; }
}
