/* ==========================================================================
   Dr Rajeev Agarwal — front-end theme
   Built on Bootstrap 5. Colour + type system mirrors the existing site.
   ========================================================================== */

:root {
  --brand:        #0da8bc;
  --brand-dark:   #086874;
  --brand-darker: #066672;
  --accent:       #f95759;
  --accent-dark:  #f60d10;
  --ink:          #252c2f;
  --ink-soft:     #5b6770;
  --line:         #e3e8ea;
  --surface:      #ffffff;
  --surface-alt:  #f5fafb;

  --font-body:    "Barlow", "Nirmala UI", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head:    "Playfair Display", "Nirmala UI", Georgia, "Times New Roman", serif;
  --font-cond:    "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --header-h:     92px;
  --radius:       10px;
  --shadow-sm:    0 2px 10px rgba(37, 44, 47, .06);
  --shadow-md:    0 10px 30px rgba(37, 44, 47, .10);
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.18;
}

a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }

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

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Match the original 1200px content well */
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1200px; }
}

/* ------------------------------------------------------------ section shell */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--alt  { background: var(--surface-alt); }

@media (max-width: 767.98px) {
  .section { padding: 42px 0; }
  .section--tight { padding: 28px 0; }
}

/* ------------------------------------------------------- section headings */
.sec-head { margin-bottom: 34px; }

.sec-head .eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: .5rem;
}

.sec-head h1,
.sec-head h2,
.sec-head h3 { margin: 0; }

.sec-head h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.sec-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.sec-head strong { font-weight: 700; color: var(--brand); }

/* the short rule under a heading (the theme's "dash") */
.sec-head .dash { display: block; width: 54px; height: 2px; background: var(--brand); margin-top: 18px; }
.sec-head--accent .dash { background: var(--accent); }
.sec-head--alt strong { color: var(--accent); }
.sec-head--alt .dash  { background: var(--brand); }
.sec-head--center { text-align: center; }
.sec-head--center .dash { margin-left: auto; margin-right: auto; }

.sec-head .lead-text { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ buttons */
.btn-brand,
.btn-outline-brand,
.btn-accent,
.btn-outline-accent {
  --bs-btn-font-family: var(--font-body);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 6px;
  --bs-btn-padding-y: .72rem;
  --bs-btn-padding-x: 1.6rem;
  letter-spacing: .01em;
}

.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-darker); --bs-btn-active-border-color: var(--brand-darker); --bs-btn-active-color: #fff;
}
.btn-accent {
  --bs-btn-color: #fff; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); --bs-btn-active-color: #fff;
}
.btn-outline-brand {
  --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand);
}
.btn-outline-accent {
  --bs-btn-color: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent);
}
.btn-sm-ui { --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1.1rem; font-size: .95rem; text-transform: uppercase; }

/* ======================================================================
   HEADER
   ====================================================================== */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1040;
}

/* social icons, inline with the menu items */
.nav-socials {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-left: .85rem;
  padding-left: .85rem;
  border-left: 1px solid var(--line);
}
.nav-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--brand);
  border: 1px solid var(--line);
  font-size: .9rem;
}
.nav-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 991.98px) {
  .nav-socials {
    margin: .5rem 0 .25rem;
    padding: .85rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
}

.navbar-brand img { height: 46px; width: auto; display: block; }

.site-nav .nav-link {
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  padding: .85rem .78rem;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-item.active > .nav-link { color: var(--brand); }
.site-nav .nav-item.active > .nav-link { font-weight: 600; }

.site-nav .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  padding: .35rem 0;
  min-width: 260px;
}
.site-nav .dropdown-item {
  color: #1a1a1a;
  font-size: 1rem;
  padding: .6rem 1.1rem;
  white-space: normal;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus { background: var(--surface-alt); color: var(--brand); }

/* nested (3rd level) dropdowns */
.site-nav .dropdown-submenu { position: relative; }
.site-nav .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -.35rem; border-radius: var(--radius); border-top-width: 3px; }
.site-nav .dropdown-submenu > .dropdown-item::after {
  content: "\f105"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900;
  float: right; opacity: .6;
}

@media (min-width: 992px) {
  .site-nav .dropdown-menu { display: block; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
  .site-nav .dropdown:hover > .dropdown-menu,
  .site-nav .dropdown-submenu:hover > .dropdown-menu,
  .site-nav .dropdown-menu.show { visibility: visible; opacity: 1; transform: translateY(0); }
}
@media (max-width: 991.98px) {
  .site-nav .dropdown-menu { border: 0; box-shadow: none; padding-left: 1rem; border-top: 0; }
  .site-nav .dropdown-submenu > .dropdown-menu { left: 0; margin-top: 0; }
  .navbar-collapse { max-height: 72vh; overflow-y: auto; }
  .navbar-brand img { height: 38px; }
}

.navbar-toggler { border-color: var(--line); padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(13, 168, 188, .25); }

/* ======================================================================
   HERO
   ====================================================================== */
.hero-banner { line-height: 0; background: var(--brand-dark); }
.hero-banner img { width: 100%; height: auto; display: block; object-fit: cover; }

.intro-block {
  background-color: var(--surface-alt);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  padding: 70px 0;
}

.intro-block .eyebrow { font-size: 1.35rem; letter-spacing: .1em; }
.intro-block h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
.intro-block .intro-copy { margin-top: 22px; color: var(--ink-soft); }
.intro-block .intro-copy p { margin-bottom: 1rem; }

.doctor-figure { margin: 0; text-align: center; }
.doctor-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
  height: auto;
}

@media (max-width: 991.98px) {
  .intro-block { padding: 46px 0; }
  .doctor-figure { margin-top: 32px; }
}

/* ======================================================================
   INNER-PAGE BANNER + BREADCRUMB
   ====================================================================== */
/* Colour band with the photo laid over it at low opacity — the theme's look.
   A blend mode would over-saturate light photos, so use a real layer instead. */
.page-banner,
.bio-band {
  position: relative;
  isolation: isolate;
  background-color: var(--band-color, var(--brand));
  color: #fff;
}
.page-banner::before,
.bio-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--band-image, none);
  background-size: cover;
  background-position: center;
}
.page-banner::before { opacity: .5; }
.bio-band::before    { opacity: .18; }

.page-banner { padding: 58px 0; }
.page-banner .banner-title {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin: 0;
}
.page-banner .dash { display: block; width: 54px; height: 2px; background: var(--accent); margin: 16px 0; }
.page-banner .banner-sub { margin: 0; font-size: 1.08rem; max-width: 68ch; color: rgba(255, 255, 255, .92); }

@media (max-width: 767.98px) { .page-banner { padding: 38px 0; } }

.breadcrumb-bar { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: .95rem; }
.breadcrumb-bar ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb-bar li + li::before { content: "/"; margin-right: .5rem; color: #9fb0b6; }
.breadcrumb-bar span { color: var(--ink-soft); }

/* ======================================================================
   ABOUT — intro, biography tabs, contact strip
   ====================================================================== */
.about-intro .doctor-figure img { max-width: 100%; }

.bio-band .sec-head h2,
.bio-band .sec-head .eyebrow { color: #fff; }
.bio-band .sec-head--ontop .dash { margin: 0 0 18px; background: var(--brand); }
.bio-band .sec-head .eyebrow { text-transform: none; letter-spacing: .04em; font-size: 1.15rem; opacity: .95; }

.bio-tabs .nav-tabs { border-bottom: 1px solid rgba(255, 255, 255, .3); gap: .25rem; }
.bio-tabs .nav-tabs .nav-link {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: 1rem;
  padding: .7rem 1rem;
  background: transparent;
}
.bio-tabs .nav-tabs .nav-link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.bio-tabs .nav-tabs .nav-link.active { color: #fff; background: transparent; border-bottom-color: var(--brand); }

.bio-tabs .tab-content { padding-top: 26px; }
.bio-tabs p, .bio-tabs li, .bio-tabs td, .bio-tabs th { font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, .94); }
.bio-tabs p:last-child { margin-bottom: 0; }
.bio-tabs ul, .bio-tabs ol { padding-left: 1.25rem; margin-bottom: 0; }
.bio-tabs li { margin-bottom: .5rem; }

.bio-tabs table { width: 100%; border-collapse: collapse; }
.bio-tabs table th,
.bio-tabs table td { border: 1px solid rgba(0, 0, 0, .35); padding: .65rem .8rem; }
.bio-tabs table th {
  background: var(--brand);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .84rem;
}

.contact-strip .contact-cell { text-align: center; padding: 26px 22px; }
.contact-strip .c-icon { font-size: 2.1rem; color: var(--accent); margin-bottom: 14px; }
.contact-strip h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.contact-strip p { font-size: 1rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.contact-strip a { display: block; }

@media (min-width: 768px) {
  .contact-strip .contact-cell--bordered { border-left: 1px solid var(--line); }
}
@media (max-width: 767.98px) {
  .contact-strip .contact-cell + .contact-cell { border-top: 1px solid var(--line); }
}

/* ======================================================================
   CONTACT PAGE + TESTIMONIALS
   ====================================================================== */
.contact-cards .contact-card { text-align: center; margin-bottom: 20px; }
.contact-cards .contact-card:last-child { margin-bottom: 0; }
.contact-card .c-icon { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.contact-card h2 { font-size: 1.35rem; font-weight: 600; margin-bottom: .5rem; }
.contact-card p { font-size: 1rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.contact-card a { display: block; }
.contact-card .contact-hours { margin-top: .5rem; font-size: .95rem; }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.testimonial-card .t-quote-mark { font-size: 1.6rem; color: var(--brand); opacity: .35; margin-bottom: .6rem; }
.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1 1 auto;
}
.testimonial-card .t-rating { color: #f5a623; margin: 0 0 .9rem; font-size: .95rem; letter-spacing: .1em; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card figcaption strong { display: block; font-size: 1.05rem; color: var(--ink); }
.testimonial-card figcaption small { color: var(--ink-soft); font-size: .92rem; }
.testimonial-card .video-frame { margin-bottom: 1rem; }

.results-note {
  margin: 34px auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: .92rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ======================================================================
   BLOG — listing cards, single post, pagination
   ====================================================================== */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.post-thumb { display: block; line-height: 0; background: var(--surface-alt); }
.post-thumb img {
  width: 100%; height: auto;
  aspect-ratio: 12 / 5;          /* the ratio these promo images are made at */
  object-fit: cover;
  object-position: center;
}

.post-card .post-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-card .post-cat {
  align-self: flex-start;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .5rem;
}
.post-card h2, .post-card h3 { font-size: 1.28rem; line-height: 1.35; margin: 0 0 .5rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brand); }
.post-card .post-date { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.post-card .post-excerpt { font-size: 1rem; color: var(--ink-soft); line-height: 1.55; flex: 1 1 auto; }
.post-card .btn { align-self: flex-start; margin-top: .5rem; }

.filter-note { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.filter-note a { margin-left: .5rem; font-weight: 600; }
.empty-note { padding: 40px 0; color: var(--ink-soft); }

.blog-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.blog-pager a, .blog-pager span {
  min-width: 42px; padding: .5rem .85rem; text-align: center;
  border: 1px solid var(--line); border-radius: 6px;
  font-weight: 600; font-size: .98rem; color: var(--ink);
}
.blog-pager a:hover { border-color: var(--brand); color: var(--brand); }
.blog-pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

.side-list .count { color: var(--ink-soft); font-size: .9rem; }

.page-banner--post .banner-title { font-size: clamp(1.5rem, 2.9vw, 2.25rem); }
.page-banner .banner-eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 .5rem;
}
.page-banner .banner-eyebrow a { color: #fff; opacity: .9; }
.page-banner .banner-eyebrow a:hover { opacity: 1; }

.post-hero { margin: 0 0 28px; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.post-hero figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }

.post-body-content img { border-radius: var(--radius); margin: 1rem 0; }
.post-body-content h2 { margin-top: 2rem; }
.post-body-content h3 { margin-top: 1.5rem; }

/* jump links must clear the sticky header */
.post-body-content h2[id],
.post-body-content h3[id] { scroll-margin-top: 100px; }

/* ---------------------------------------------- auto table of contents */
.post-toc {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.75rem 0 2rem;
}
.post-toc__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.post-toc__title::-webkit-details-marker { display: none; }
.post-toc__title::after {
  content: "\f078";
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .8rem;
  color: var(--brand);
  margin-left: auto;
  transition: transform .2s ease;
}
.post-toc[open] .post-toc__title::after { transform: rotate(180deg); }
.post-toc[open] .post-toc__title { margin-bottom: .85rem; }
.post-toc__count {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.post-toc__list { margin: 0; padding-left: 1.25rem; }
.post-toc__list > li { margin-bottom: .5rem; }
.post-toc__list > li:last-child { margin-bottom: 0; }
.post-toc__sub { margin: .5rem 0 .25rem; padding-left: 1.15rem; list-style: lower-alpha; }
.post-toc__sub li { margin-bottom: .35rem; }
.post-toc a { color: var(--ink); font-size: 1rem; line-height: 1.45; }
.post-toc a:hover { color: var(--brand); text-decoration: underline; }
.post-toc li::marker { color: var(--brand); font-weight: 600; }

@media (max-width: 575.98px) {
  .post-toc { padding: 16px 18px; }
  .post-toc a { font-size: .98rem; }
}

.post-share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-share span { font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.post-share a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--brand); font-size: .95rem;
}
.post-share a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ======================================================================
   SERVICE PAGE — body + sidebar
   ====================================================================== */
.service-body > h2:first-child,
.service-body > h3:first-child { margin-top: 0; }

.service-body table { display: table; }
.service-body table td strong,
.service-body table th strong { font-weight: 700; }

.service-sidebar { position: sticky; top: 110px; }
@media (max-width: 991.98px) { .service-sidebar { position: static; } }

.side-card {
  background: #fff;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
  text-align: center;
}
.side-card:last-child { margin-bottom: 0; }

.side-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.doctor-card .doc-photo {
  width: 100%; max-width: 240px; height: auto;
  border-radius: var(--radius); margin-bottom: 16px;
  background: #fff;
}
.doctor-card p { margin: 0 0 .35rem; }
.doctor-card .doc-name { font-size: 1.4rem; font-weight: 500; color: var(--ink); font-family: var(--font-head); }
.doctor-card .doc-qual { font-size: 1rem; font-weight: 600; color: var(--ink); }
.doctor-card .doc-exp  { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-top: .6rem; }
.doctor-card .doc-role { font-size: 1rem; color: var(--accent); font-weight: 500; }
.doctor-card .doc-role a { color: var(--accent); }
.doctor-card .doc-links { margin: 1rem 0 .5rem; font-size: .98rem; }
.doctor-card .doc-links a { font-weight: 600; }
.doctor-card .doc-links span { margin: 0 .4rem; color: #9fb0b6; }

.doc-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.doc-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #b9c4c8; color: #fff; font-size: .9rem;
}
.doc-socials a:hover { background: var(--accent); color: #fff; }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: .5rem .2rem; font-size: 1.08rem; color: var(--brand); }
.side-list a:hover { color: var(--accent); }
.side-list li.is-current a { color: var(--accent); font-weight: 600; }

.side-posts { list-style: none; margin: 0; padding: 0; text-align: left; }
.side-posts li { margin-bottom: 16px; }
.side-posts li:last-child { margin-bottom: 0; }
.side-posts a { display: block; color: var(--ink); }
.side-posts img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 8px; aspect-ratio: 320 / 133; object-fit: cover; }
.side-posts span { font-size: 1rem; font-weight: 500; line-height: 1.4; display: block; }
.side-posts a:hover span { color: var(--brand); }

/* ======================================================================
   TREATMENT CARDS
   ====================================================================== */
.treatment-card { display: flex; gap: 20px; padding: 4px 0 24px; height: 100%; }
.treatment-card .t-icon {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(249, 87, 89, .1);
  color: var(--accent);
  font-size: 1.55rem;
}
.treatment-card .t-icon img { width: 34px; height: 34px; object-fit: contain; }
.treatment-card h3 {
  font-family: var(--font-head);
  font-size: 1.62rem;
  font-weight: 600;
  color: #32a8bb;
  margin-bottom: .5rem;
}
.treatment-card h3 a { color: inherit; }
.treatment-card h3 a:hover { color: var(--accent); }
.treatment-card p { font-size: 1.06rem; line-height: 1.5; color: var(--ink-soft); margin-bottom: 1rem; }
.treatment-card .t-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.treatment-card .t-body p { flex: 1 1 auto; }
.treatment-card .t-body .btn { align-self: flex-start; }

.treatment-divider { border: 0; border-top: 1px solid var(--line); margin: 6px 0 28px; }

/* ------------------------------------------------------- appointment form */
.booking-panel {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  color: #fff;
  height: 100%;
}
.booking-panel h2,
.booking-panel h3 { color: #fff; font-weight: 600; letter-spacing: .01em; font-size: 1.65rem; }
.booking-panel .eyebrow { color: rgba(255, 255, 255, .85); }   /* teal on teal is invisible */
.booking-panel .dash { background: var(--accent); }
.booking-panel .form-control {
  border: 0;
  border-radius: 6px;
  padding: .78rem .9rem;
  background: #fff;
  color: #111;
  font-size: 1rem;
}
.booking-panel .form-control::placeholder { color: #6a6a6a; opacity: 1; }
.booking-panel .form-control:focus { box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .45); }
.booking-panel textarea.form-control { min-height: 110px; resize: vertical; }
.booking-panel .form-check-label { font-size: .88rem; line-height: 1.45; }
.booking-panel .form-check-label a { color: #fff; text-decoration: underline; }
.booking-panel .btn-submit {
  background: #f7575a; border-color: #f7575a; color: #fff;
  font-weight: 600; padding: .75rem 2rem; border-radius: 6px; width: 100%;
}
.booking-panel .btn-submit:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.form-note { font-size: .92rem; margin-top: .75rem; min-height: 1.2em; }
.form-note.is-error { color: #ffe0e0; }
.form-note.is-ok { color: #eafff4; }
.field-error { color: #ffe3e3; font-size: .85rem; display: block; margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* reCAPTCHA: the floating badge would collide with the Call / WhatsApp buttons,
   so it is hidden and this notice carries Google's required attribution.
   Keep both together — hiding the badge without the text breaks their terms. */
.form-legal { font-size: .78rem; line-height: 1.5; margin: .85rem 0 0; opacity: .82; }
.form-legal a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }

/* ======================================================================
   RICH CONTENT SECTIONS
   ====================================================================== */
.rich-block { margin-bottom: 34px; }
.rich-block:last-child { margin-bottom: 0; }
.rich-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--accent);
  margin-bottom: 1rem;
}
.rich-block h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--accent);
  margin: 1.4rem 0 .6rem;
}
.rich-block p,
.rich-block li { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.rich-block p { margin-bottom: 1rem; }
.rich-block ul, .rich-block ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.rich-block li { margin-bottom: .45rem; }
.rich-block li strong { color: var(--ink); }
.rich-block table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.rich-block table th,
.rich-block table td { border: 1px solid var(--line); padding: .6rem .75rem; }
.rich-block--plain h2, .rich-block--plain h3 { color: var(--ink); }

/* ======================================================================
   VIDEOS (Knowledge Hub) — click-to-load facade keeps LCP/INP clean
   ====================================================================== */
.video-card h3 {
  font-size: 1.28rem;
  margin-top: 16px;
  line-height: 1.35;
}
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0b0b center/cover no-repeat;
  cursor: pointer;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 20, 24, .28);
  transition: background .2s ease;
}
.video-frame:hover::after { background: rgba(6, 20, 24, .12); }
.video-frame .play {
  position: absolute; z-index: 2;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; padding-left: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .2s ease, background .2s ease;
}
.video-frame:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--brand); }

/* thumbnail unavailable (video removed or private on YouTube) */
.video-frame.is-missing { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.video-frame.is-missing img { visibility: hidden; }
.video-frame.is-missing::after { background: rgba(6, 20, 24, .1); }

/* lightbox */
.video-modal .modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.video-modal .modal-header { background: var(--brand); color: #fff; border: 0; padding: .9rem 1.15rem; }
.video-modal .modal-title { font-size: 1.15rem; color: #fff; margin: 0; }
.video-modal .btn-close { filter: invert(1) grayscale(100%) brightness(200%); opacity: .85; }
.video-modal .modal-body { padding: 0; background: #000; }
.video-modal iframe { border: 0; }

/* ======================================================================
   FAQ — one full-width accordion at every breakpoint
   ====================================================================== */
.faq-accordion {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: calc(var(--radius) - 1px);
  --bs-accordion-btn-padding-y: 1.05rem;
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: var(--surface-alt);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(13, 168, 188, .25);
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: var(--brand);
  --bs-accordion-body-padding-y: 1.25rem;
  --bs-accordion-body-padding-x: 1.25rem;
}

.faq-accordion .accordion-button {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { box-shadow: none; }
.faq-accordion .accordion-button:hover:not(:not(.collapsed)) { color: var(--brand); }

/* chevron: brand colour when closed, white when open */
.faq-accordion .accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230da8bc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  flex-shrink: 0;
  margin-left: auto;   /* keep the chevron pinned to the right edge */
  margin-right: 0;
}

.faq-accordion .accordion-body p,
.faq-accordion .accordion-body li { font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft); }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }
.faq-accordion .accordion-body ul,
.faq-accordion .accordion-body ol { padding-left: 1.25rem; }

@media (max-width: 575.98px) {
  .faq-accordion { --bs-accordion-btn-padding-x: 1rem; --bs-accordion-body-padding-x: 1rem; }
  .faq-accordion .accordion-button { font-size: 1rem; }
}

/* ======================================================================
   AWARDS
   ====================================================================== */
.award-card figure { margin: 0; }
.award-card img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.award-card h3 { font-size: 1.28rem; margin-top: 18px; line-height: 1.4; }

/* ======================================================================
   MAP
   ====================================================================== */
.map-band { line-height: 0; background: var(--brand-dark); }
.map-band iframe, .map-band .map-facade { width: 100%; height: 450px; border: 0; display: block; }
.map-band .map-facade {
  background: var(--brand-dark) center/cover no-repeat;
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-family: var(--font-body); font-size: 1.05rem; gap: .6rem; border: 0;
}
@media (max-width: 767.98px) { .map-band iframe, .map-band .map-facade { height: 320px; } }

/* ======================================================================
   FOOTER
   ====================================================================== */
.site-footer { background: var(--ink); color: #c9d2d6; }
.site-footer a { color: #c9d2d6; }
.site-footer a:hover { color: var(--brand); }

.footer-logo-band { padding: 40px 0 26px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo-band img { height: 58px; width: auto; }

.footer-main { padding: 46px 0 26px; }
.footer-col h2,
.footer-col h3 { color: #fff; font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.footer-col .dash { display: block; width: 46px; height: 2px; background: var(--accent); margin: 0 0 20px; }
.footer-col p { font-size: 1rem; line-height: 1.45; }

.footer-col .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-col .footer-menu li { margin-bottom: .45rem; font-size: 1.05rem; }
.footer-col .footer-menu .sub-list { list-style: none; padding-left: 1rem; margin: .35rem 0 .5rem; }
.footer-col .footer-menu .sub-list li { font-size: .98rem; margin-bottom: .3rem; }
.footer-col .footer-menu .no-link { color: #fff; font-weight: 600; }

.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 1rem;
}
.footer-socials a:hover { background: var(--brand); color: #fff; }

.footer-contact { display: flex; gap: 14px; margin-bottom: 20px; }
.footer-contact .fc-icon { flex: 0 0 auto; width: 34px; color: var(--brand); font-size: 1.15rem; padding-top: 4px; }
.footer-contact h3 { font-size: 1.28rem; margin-bottom: .3rem; }
.footer-contact p { margin: 0; font-size: 1rem; line-height: 1.5; }
.footer-contact a { display: block; }

@media (min-width: 992px) {
  .footer-col--bordered-r { border-right: 1px solid rgba(255, 255, 255, .1); }
  .footer-col--bordered-l { border-left: 1px solid rgba(255, 255, 255, .1); }
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: .95rem;
}
.footer-bar ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 767.98px) {
  .footer-bar { text-align: center; }
  .footer-bar ul { justify-content: center; margin-top: 10px; }
}

/* ======================================================================
   FLOATING ACTIONS
   ====================================================================== */
.float-actions { position: fixed; left: 22px; bottom: 24px; z-index: 1050; display: flex; flex-direction: column-reverse; gap: 14px; }
.float-actions a {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.float-actions .fa-wa { background: #25d366; }
.float-actions .fa-call { background: #fff; color: #322694; font-size: 1.45rem; }
.float-actions a:hover { transform: translateY(-2px); color: #fff; }
.float-actions .fa-call:hover { color: #322694; }

@media (max-width: 575.98px) {
  .float-actions { left: 16px; bottom: 18px; gap: 10px; }
  .float-actions a { width: 46px; height: 46px; font-size: 1.35rem; }
}

/* ======================================================================
   MISC
   ====================================================================== */
/* Only hide for the reveal animation when JS is there to bring it back. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; }


/* ======================================================================
   LEGAL PAGES (privacy policy)
   ====================================================================== */
.legal-updated { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.75rem; }
.legal-body h2 { margin-top: 2.25rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body ul { margin-bottom: 1.1rem; }
.legal-body li { margin-bottom: .4rem; }


/* ======================================================================
   E-E-A-T — author box, related treatment, medical disclaimer
   ====================================================================== */
.page-banner .banner-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-banner .banner-sub a:hover { color: #fff; text-decoration-thickness: 2px; }

.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  margin: 36px 0 0; padding: 22px 24px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}
.author-box__photo {
  flex: 0 0 88px; width: 88px; height: 88px;
  object-fit: cover; object-position: top center;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
}
.author-box__body p { margin: 0 0 .25rem; }
.author-box__eyebrow {
  font-family: var(--font-cond); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.author-box__name { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; }
.author-box__name a { color: var(--ink); }
.author-box__name a:hover { color: var(--brand); }
.author-box__meta { font-size: .98rem; color: var(--ink-soft); }
.author-box__meta a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.author-box__meta a:hover { color: var(--brand); }
.author-box__dates { margin-top: .55rem !important; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 575.98px) {
  .author-box { flex-direction: column; gap: 12px; padding: 18px; }
  .author-box__photo { width: 72px; height: 72px; flex-basis: 72px; }
}

.related-service {
  display: flex; gap: 12px; align-items: baseline;
  margin: 28px 0 0; padding: 14px 18px;
  border: 1px solid var(--brand); border-radius: var(--radius);
  background: #fff;
}
.related-service i { color: var(--brand); }
.related-service p { margin: 0; font-size: 1.02rem; }
.related-service a { font-weight: 600; }

.lang-cluster { margin: 24px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-cluster__title { font-size: 1.25rem; margin: 0 0 .6rem; }
.lang-cluster ul { margin: 0; padding-left: 1.2rem; }
.lang-cluster li { margin-bottom: .35rem; }
.lang-cluster li::marker { color: var(--brand); }

.medical-disclaimer {
  display: flex; gap: 10px; align-items: baseline;
  margin: 24px 0 0; padding: 14px 18px;
  font-size: .9rem; line-height: 1.55; color: var(--ink-soft);
  background: #fff; border: 1px dashed #c9d3d6; border-radius: var(--radius);
}
.medical-disclaimer i { color: var(--ink-soft); }

/* service page — every article on the topic */
.article-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.article-links li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.article-links a { display: flex; gap: .6rem; padding: .7rem 0; color: var(--ink); font-size: 1.02rem; line-height: 1.45; }
.article-links a::before { content: "\203A"; color: var(--accent); font-weight: 700; }
.article-links a:hover { color: var(--brand); }
@media (max-width: 767.98px) { .article-links { columns: 1; } }

/* invisible anchor aliases for heading URLs indexed before the slug fix */
.toc-alias { display: block; height: 0; overflow: hidden; scroll-margin-top: 100px; }
/* answer-first opening paragraph */
.post-body-content .answer-first { font-size: 1.08rem; font-weight: 500; color: var(--ink); }
