/* drpeu.com — warm, clinical, child-friendly. Tokens first. */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --tint: #f1ebe1;
  --ink: #1d2a2e;
  --muted: #5b6a6e;
  --line: #e4dccf;
  --teal: #0f5c5c;
  --teal-2: #13716f;
  --teal-soft: #e3f0ee;
  --coral: #b8432b;
  --coral-soft: #fbe7e1;
  --wa: #167a44;
  --danger: #c0392b;
  --gold: #c99a2e;
  --blue: var(--teal);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 42, 46, 0.06), 0 8px 24px rgba(29, 42, 46, 0.07);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-body); }
body.lang-bn { font-family: var(--font-bn); font-size: 17.5px; }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3, body.lang-bn .h-section { font-family: var(--font-bn); font-weight: 700; letter-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; color: var(--ink); margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -0.18em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0.7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0.5em 1em; font-size: 0.92rem; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(184, 67, 43, 0.28); }
.btn-primary:hover { background: #a03924; color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #12683a; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { color: var(--teal-2); }
.btn-emergency { background: var(--danger); color: #fff; }
.btn-emergency:hover { background: #a93226; color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 240, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 52px; height: auto; border-radius: 8px; }
.brand strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; }
.lang-bn .brand strong { font-family: var(--font-bn); }
.brand small { display: block; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.lang-bn .brand small { text-transform: none; letter-spacing: 0; font-size: 0.82rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 11px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal); }
.nav .nav-call { display: none; }
.lang { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.lang:hover { border-color: var(--teal); }
.lang[lang="bn"] { font-family: var(--font-bn); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform 0.2s; }
.menu-btn > span:first-child { top: 20px; }
.menu-btn > span:first-child::before { left: 0; top: -6px; }
.menu-btn > span:first-child::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] > span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] > span:first-child::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] > span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; margin: 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { padding: 48px 0 40px; background: radial-gradient(900px 400px at 85% 0%, var(--teal-soft), transparent 70%), radial-gradient(700px 400px at 0% 100%, var(--coral-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #cfe5df; color: var(--teal); padding: 6px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 157, 87, 0.15); }
.hero h1 { margin: 18px 0 14px; }
.hero h1 .h1-top { color: var(--ink); }
.hero h1 em { color: var(--teal); font-style: italic; }
.hero h1 .h1-sub { display: block; margin-top: 12px; font-family: var(--font-body); font-size: clamp(1.02rem, 1.8vw, 1.2rem); font-weight: 600; letter-spacing: normal; color: var(--muted); }
.lang-bn .hero h1 .h1-sub { font-family: var(--font-bn); }
.lead { font-size: 1.12rem; color: #3c4b4f; max-width: 60ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 0.86rem; font-weight: 600; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 18px; }
.hero-hours { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.92rem; }
.hero-photo { position: relative; max-width: 440px; justify-self: center; }
.hero-photo img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1200 / 1446; object-fit: cover; }
.badge-bmdc { position: absolute; top: 18px; right: -10px; background: var(--gold); color: #2b2205; font-weight: 700; font-size: 0.82rem; line-height: 1.25; text-align: center; padding: 8px 12px; border-radius: 14px; box-shadow: var(--shadow); }
.badge-stat { position: absolute; left: -10px; top: 18px; background: #fff; border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow); font-size: 0.95rem; color: var(--muted); }
.badge-stat b { font-family: var(--font-head); font-size: 1.5rem; color: var(--teal); margin-right: 4px; }

.open-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-soft); color: var(--teal); border-radius: 999px; padding: 5px 12px; font-size: 0.88rem; font-weight: 600; }
.open-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.open-badge[data-state="open"] i { background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 157, 87, 0.18); }
.open-badge[data-state="closed"], .open-badge[data-state="friday"] { background: #f4ede3; color: #6b5a3c; }
.open-badge[data-state="closed"] i, .open-badge[data-state="friday"] i { background: #b59a6b; }

/* Stats */
.stats { background: var(--teal); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; }
.stats-grid > div { padding: 22px 8px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stats-grid > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; }
.stats span { font-size: 0.85rem; opacity: 0.86; }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--coral); margin-bottom: 6px; }
.lang-bn .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.h-section { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 26ch; }
.h-sub { font-size: 1.3rem; margin-top: 28px; }
.section-lead { color: var(--muted); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.see-all { font-weight: 600; text-decoration: none; }
.page-hero { padding: 36px 0 30px; }
.page-hero h1 { max-width: 24ch; }
.svc-hero-ic { font-size: 2.6rem; margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why > span { font-size: 1.7rem; }
.why h3 { margin: 10px 0 6px; }
.why p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.svc-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.svc-ic { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--teal-soft); border-radius: 14px; margin-bottom: 12px; }
.svc-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.svc-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; flex: 1; }
.svc-card .more { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* Awards */
.award-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.award { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; }
.award-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.award-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.award figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.award .year { color: var(--coral); font-weight: 700; font-size: 0.85rem; }
.award strong { font-size: 0.98rem; line-height: 1.35; }
.award figcaption > span:last-child:not(.year) { color: var(--muted); font-size: 0.92rem; }
.award-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.award-lg .award-img { aspect-ratio: 3 / 2; }
.award-lg strong { font-size: 1.08rem; }

/* About */
.about-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
blockquote { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--coral); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--teal); }
.lang-bn blockquote { font-family: var(--font-bn); font-style: normal; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

.dots { padding-left: 1.2em; margin: 0 0 1.2em; }
.dots li { margin-bottom: 6px; color: #3c4b4f; }

/* Clinic + map */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.clinic-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.clinic-card h3 { display: flex; gap: 8px; align-items: center; color: var(--teal); }
.clinic-card p { margin-bottom: 0.7em; }
.phones { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 12px; }
.phones a { display: inline-flex; align-items: center; gap: 6px; background: var(--coral-soft); color: #9b3b28; font-weight: 700; padding: 8px 14px; border-radius: 12px; text-decoration: none; font-size: 1.02rem; }
.emergency-note { font-size: 0.93rem; color: #8a2a1f; }
.emergency-note a { color: var(--danger); font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); margin-top: 14px; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }
.map-tall { margin-top: 0; }
.map-tall iframe { height: 460px; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow 0.15s, transform 0.15s; }
.post-card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-emoji { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--coral-soft), var(--teal-soft)); }
.post-body { padding: 16px 18px 20px; }
.post-card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.post-card p { color: var(--muted); font-size: 0.92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag { color: var(--coral); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; font: 600 0.9rem/1 inherit; font-family: inherit; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Article */
.post-head { padding-top: 28px; }
.post-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 8px; }
.author { display: flex; align-items: center; gap: 12px; margin: 10px 0 24px; }
.author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.author strong { display: block; }
.author span { color: var(--muted); font-size: 0.88rem; }
.post-cover { border-radius: var(--radius); margin-bottom: 28px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.post-cta { background: linear-gradient(135deg, var(--teal), #0b4646); color: #fff; border-radius: var(--radius); padding: 24px; text-align: center; margin: 36px 0 18px; }
.post-cta p { margin-bottom: 0.5em; }
.post-cta .cta-actions { justify-content: center; margin: 14px 0 6px; }
.post-cta .small { opacity: 0.8; margin: 0; }
.reviewed { font-size: 0.9rem; color: var(--teal); font-weight: 600; margin-top: 28px; }
.disc-note { font-size: 0.85rem; color: var(--muted); }

/* Service page */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-bottom: 56px; }
.svc-aside .sticky { position: sticky; top: 92px; }
.aside-h { font-size: 1.05rem; margin: 6px 0 12px; }
.callout { background: var(--teal-soft); border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 22px; }
.callout h2 { font-size: 1.1rem; margin: 0 0 6px; }
.callout p { margin: 0; }
.callout-warn { background: var(--coral-soft); }
.callout-warn h2 { color: #9b3b28; }
.callout-info { background: #eef1fa; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 4px; color: #3c4b4f; }

/* Publications */
.pub { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pub .year { font-family: var(--font-head); font-size: 1.4rem; color: var(--teal); }
.pub h2 { font-size: 1.15rem; margin: 4px 0 6px; }
.pub p { margin: 0 0 4px; }

/* Steps */
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 0.6em; }

/* Disclaimer (both languages in source; show one) */
.only-en .bn-inline, .only-en .bn-content { display: none !important; }
.only-bn .en-inline, .only-bn .en-content { display: none !important; }
.disc-body .emergency { background: var(--coral-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.disc-body .emergency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.disc-body .em-card { display: flex; gap: 10px; background: #fff; border-radius: var(--radius-sm); padding: 12px; }
.disc-body .em-card a { font-weight: 700; }
.disc-body .lbl { font-size: 0.85rem; color: var(--muted); }
.disc-body .disc-sec { margin-bottom: 26px; }
.disc-body .num { color: var(--coral); }
.disc-body h2 { font-size: 1.25rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal), #0b4646); color: #fff; padding: 48px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); margin-bottom: 0.4em; }
.cta-meta { display: flex; align-items: center; gap: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; max-width: 520px; }
.emergency-line { flex-basis: 100%; text-align: right; color: #ffd9d2; font-weight: 600; text-decoration: none; }
.emergency-line small { font-weight: 400; opacity: 0.85; }
.emergency-line:hover { color: #fff; }

/* Footer */
.site-footer { background: #142225; color: #c9d4d4; padding: 48px 0 0; font-size: 0.94rem; }
.site-footer a { color: #e8efee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 36px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.lang-bn .site-footer h3 { font-family: var(--font-bn); text-transform: none; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.foot-contact li { display: flex; gap: 8px; align-items: flex-start; }
.foot-contact .ic { margin-top: 0.2em; }
.brand-foot { color: #fff; margin-bottom: 12px; }
.brand-foot small { color: #9fb0b0; }
.bmdc { color: #9fb0b0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 34px; padding: 18px 20px 22px; font-size: 0.85rem; color: #9fb0b0; }

/* Mobile bottom bar */
.mobile-bar { display: none; }

/* Cookie banner */
.cookie { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(620px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); padding: 16px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 0.92rem; }
.cookie div { display: flex; gap: 8px; flex: none; }

.empty { color: var(--muted); }

/* Responsive */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 8px 8px; font-size: 0.9rem; }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; padding-bottom: 68px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav .nav-call { display: flex; gap: 8px; align-items: center; color: var(--coral); font-weight: 700; }
  .hdr { gap: 10px; min-height: 64px; }
  .brand img { width: 44px; }
  .brand strong { font-size: 0.98rem; }
  .hero { padding: 26px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { max-width: 340px; }
  .badge-bmdc { right: -4px; }
  .badge-stat { left: -4px; top: 14px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid > div:nth-child(4) { border-left: 0; }
  .stats-grid > div:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .why-grid, .post-grid, .svc-grid-3 { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser, .two-col, .svc-layout, .cta-inner, .foot { grid-template-columns: 1fr; }
  .svc-aside .sticky { position: static; }
  .award-gallery { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .emergency-line { text-align: left; }
  .section { padding: 48px 0; }
  .map-tall iframe { height: 320px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; text-decoration: none; font-weight: 700; font-size: 0.8rem; color: var(--teal); }
  .mobile-bar a:first-child { background: var(--coral); color: #fff; }
  .mobile-bar a:nth-child(2) { color: var(--wa); }
  .mobile-bar .ic { width: 1.35em; height: 1.35em; }
  .cookie { bottom: 80px; flex-direction: column; align-items: stretch; }
  .cookie div { justify-content: flex-end; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .why-grid, .post-grid, .svc-grid-3, .award-gallery { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-card { padding: 14px; }
  .svc-card p { display: none; }
  .svc-card h3 { font-size: 0.98rem; }
  .svc-ic { width: 40px; height: 40px; font-size: 1.3rem; margin-bottom: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .disc-body .emergency-grid { grid-template-columns: 1fr; }
  .stats b { font-size: 1.45rem; }
  .pub { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Featured ("starred" in the admin) post */
.post-card { position: relative; }
.post-card .star { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--gold); color: #2b2205; font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; }
.post-featured { grid-column: 1 / -1; }
.post-featured a { flex-direction: row; }
.post-featured img, .post-featured .post-emoji { width: 50%; aspect-ratio: 16 / 9; }
.post-featured .post-body { padding: 26px 30px; align-self: center; }
.post-featured h3 { font-size: 1.5rem; }
@media (max-width: 700px) { .post-featured a { flex-direction: column; } .post-featured img, .post-featured .post-emoji { width: 100%; } }

/* Clinic card + map: equal heights, map never taller than the card */
.map-tall { height: 400px; align-self: start; position: sticky; top: 96px; }
.map-tall iframe { height: 100% !important; }
#location .map-tall { align-self: end; position: static; height: 410px; }
@media (max-width: 900px) { .map-tall, #location .map-tall { height: 300px; position: static; } }

/* Booking card under blog posts: light and calm */
.post-cta { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 20px 22px; text-align: left; box-shadow: none; }
.post-cta p { color: var(--ink); }
.post-cta p strong { color: var(--teal); font-weight: 600; }
.post-cta .cta-actions { justify-content: flex-start; margin: 12px 0 6px; gap: 8px; }
.post-cta .btn-light { background: var(--teal-soft); color: var(--teal); min-height: 42px; padding: 0.5em 1.1em; }
.post-cta .btn-emergency { background: transparent; color: var(--danger); border: 1.5px solid #e9b8ae; min-height: 42px; padding: 0.5em 1.1em; }
.post-cta .small { color: var(--muted); opacity: 1; }

/* ===== Refresh: brand lockup, clinic card, CTA band, booking card ===== */
.brand { gap: 12px; }
.brand .mark { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: italic 600 1.35rem/1 var(--font-head); box-shadow: 0 0 0 3px var(--teal-soft); }
.brand strong { font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: var(--teal); letter-spacing: -0.01em; }
.brand small { text-transform: none; letter-spacing: 0; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.lang-bn .brand strong { font-family: var(--font-bn); font-weight: 600; }
.brand-foot strong { color: #fff; }
.brand-foot small { color: #9fb0b0; }
.brand-foot .mark { box-shadow: none; background: #fff; color: var(--teal); }
@media (max-width: 600px) { .brand .mark { width: 36px; height: 36px; font-size: 1.2rem; } .brand strong { font-size: 1rem; } }

.clinic-card { padding: 24px; box-shadow: none; }
.clinic-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 2px; }
.clinic-rows { margin: 16px 0; display: grid; gap: 12px; }
.clinic-rows > div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.clinic-rows dt { color: var(--teal); padding-top: 2px; }
.clinic-rows dd { margin: 0; }
.clinic-rows a { font-weight: 600; color: var(--ink); text-decoration: none; }
.clinic-rows a:hover { color: var(--teal); }
.open-badge-sm { font-size: 0.78rem; padding: 2px 10px; margin-top: 6px; }
.clinic-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.clinic-emergency { font-size: 0.88rem; color: var(--muted); }
.clinic-emergency a { color: var(--danger); font-weight: 600; text-decoration: none; }
.quiet-box { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quiet-box h2 { font-size: 1.05rem; margin-bottom: 4px; }
.quiet-box p { font-size: 0.93rem; }
.plain { list-style: none; padding: 0; margin: 0 0 8px; }
.plain li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.plain li:last-child { border-bottom: 0; }
.plain a { font-weight: 600; color: var(--danger); text-decoration: none; margin-right: 6px; }
.fb-line { margin: 8px 0 0; font-size: 0.9rem; }

.cta-band { background: var(--teal-soft); color: var(--ink); padding: 40px 0; border-top: 1px solid #d3e6e2; }
.cta-band h2 { color: var(--teal); font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 6px; }
.cta-band p { color: var(--muted); }
.cta-inner { grid-template-columns: 1fr auto; row-gap: 12px; }
.cta-meta { margin: 0; font-size: 0.95rem; }
.cta-actions { flex-wrap: wrap; max-width: none; gap: 10px; }
.cta-band .btn { min-height: 44px; }
.cta-band .btn-ghost { background: #fff; }
.btn-wa-outline { color: var(--wa); border-color: #b9dcc8; }
.btn-wa-outline:hover { color: var(--wa); border-color: var(--wa); }
.cta-emergency { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; color: var(--muted); }
.cta-emergency a { color: var(--danger); font-weight: 600; text-decoration: none; }

.post-cta .small a { color: var(--danger); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }
/* Original logo shape, brand colours */
.brand img.logo{width:auto;height:38px;border:0;border-radius:0;background:none;padding:0;box-shadow:none}
.brand-foot img.logo{height:34px}
.also-known{font-size:.85rem;color:var(--muted,#667);margin-top:1.5rem;border-top:1px solid rgba(0,0,0,.08);padding-top:.75rem}
.area-list{list-style:none;padding:0;margin:0 0 1.5rem;columns:2 320px;column-gap:2rem}
.area-list li{break-inside:avoid;padding:.55rem 0;border-bottom:1px solid rgba(0,0,0,.06)}
.post-alert{margin:0 0 1.25rem;padding:.9rem 1.1rem;border:2px solid #b8432b;border-radius:14px;background:#fdf1ee;color:#5a1d10;font-size:.98rem;line-height:1.55}
.post-alert a{color:#b8432b;font-weight:700;white-space:nowrap}
.post-card img,.post-card .post-emoji{aspect-ratio:16/9;object-fit:cover;width:100%;height:auto}
.cond-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem 1.5rem;margin:1rem 0 1.25rem}
.cond h3{font-size:1rem;margin:0 0 .35rem}.cond h3 a{color:var(--teal,#0f5c5c);text-decoration:none}
.cond ul{margin:0;padding-left:1.1rem;font-size:.92rem;line-height:1.6}
.toon-panels{display:grid;gap:1.5rem}
.toon-panel{margin:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 6px 20px rgba(15,92,92,.08)}
.toon-panel img{display:block;width:100%;height:auto}
.toon-panel figcaption{padding:.9rem 1.1rem 1.1rem;font-size:1.05rem;line-height:1.6}
.toon-card{background:#fff;border:1px solid rgba(15,92,92,.15);border-left:4px solid #0f5c5c;border-radius:18px;padding:1.1rem 1.3rem}
.toon-card-alert{border-left-color:#b8432b}.toon-card h2{margin-top:0;font-size:1.25rem}
.toon-nav{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.95rem}
.post-bridge{margin:1.5rem 0 .5rem;padding:1rem 1.2rem;background:#e3f0ee;border-radius:14px;line-height:1.6}
.post-bridge a{font-weight:600;color:#0f5c5c}
.lead-def{font-size:1.02rem}
.area-strip{margin:1.1rem 0 0;font-size:.9rem;line-height:1.9;color:var(--muted,#555)}
.area-strip a{color:#0f5c5c;white-space:nowrap}
.footer-faith{font-style:italic;opacity:.85;font-size:.9rem}
.cover-caption{font-size:.85rem;color:var(--muted,#666);margin:.4rem 0 0;text-align:center}
.map-facade{height:100%;min-height:240px;padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px;background:radial-gradient(500px 260px at 80% 10%,var(--teal-soft),transparent 70%),linear-gradient(135deg,#f6f1e8,#ebe4d6)}
.map-facade .map-pin{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;margin-bottom:2px}
.map-facade strong{font-size:1.05rem;color:var(--ink)}
.map-facade p{margin:0;font-size:.9rem;color:var(--muted);max-width:34ch}
.map-facade .map-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}
.map-facade .btn-ghost{background:#fff}
