/* ==========================================================
   SBMCH - GLOBAL STYLESHEET (sbmch.css)
   ----------------------------------------------------------
   The one SBMCH stylesheet for every page. Load it after
   main.css (the MediCare template). includes/site-head.php
   does this for every page.

   Sections, in load order:
     A. Home page                (was home.css)
     B. Doctors page             (was doctors-custom.css)
     C. Department pages + shared components (was department.css)
     D. Media Centre             (was media-centre.css)
     E. Page-only styles moved out of the pages' <style> blocks
     F. Header logo / name       (was sbmch-name.css)
     G. Hero theme               (was sbmch-theme.css)
     H. Home page fixes
     I. Site-wide typography: department standard (loads last)
========================================================== */


/* ##########################################################
   A. HOME PAGE (was home.css)
   ########################################################## */

/* ==========================================================
   SBMCH HOMEPAGE-ONLY STYLES
   Load after /assets/css/main.css. Shared site styles untouched.
========================================================== */
.sbmch-home-page { overflow-x: hidden; }
.sbmch-home-page img { max-width: 100%; }

/* HERO: contained banner, below the shared fixed header */
#hero { padding-top: 14px !important; }
#hero > .container > .position-relative {
  border-radius: 20px !important;
  background: #edf3f8;
  box-shadow: 0 12px 34px rgba(23, 50, 91, .12) !important;
  isolation: isolate;
}
#hero .sbmchHeroSlider { width: 100%; overflow: hidden; }
#hero .sbmchHeroSlider .swiper-slide { height: auto; }
#hero .sbmchHeroSlider img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1875 / 639;
  object-fit: cover;
  object-position: center;
}
#hero .sbmchHeroSlider .swiper-button-prev,
#hero .sbmchHeroSlider .swiper-button-next {
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--heading-color); background: rgba(255,255,255,.92);
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}
#hero .sbmchHeroSlider .swiper-button-prev:after,
#hero .sbmchHeroSlider .swiper-button-next:after { font-size: 14px; font-weight: 800; }
#hero .sbmchHeroSlider .swiper-pagination { bottom: 12px; }
#hero .sbmchHeroSlider .swiper-pagination-bullet { background: #fff; opacity: .75; }
#hero .sbmchHeroSlider .swiper-pagination-bullet-active { width: 23px; border-radius: 8px; background: #D2187D; opacity: 1; }
.sbmch-hero-contact-actions { align-items: center; max-width: calc(100% - 20px); }
.sbmch-hero-action {
  width: 48px; height: 48px; padding: 0 !important; flex: 0 0 48px;
  border: 2px solid #fff !important; box-shadow: 0 5px 18px rgba(12, 31, 55, .24) !important;
}
.sbmch-hero-action-detail { white-space: nowrap; font-size: 12px; }
.sbmch-hero-action-detail a { color: var(--heading-color); }

/* FIND A DOCTOR: centered heading and balanced search panel */
#find-a-doctor { padding-top: 58px; padding-bottom: 66px; }
#find-a-doctor .section-title { max-width: 760px; margin: 0 auto 25px; text-align: center; }
#find-a-doctor .section-title h2 { color: var(--heading-color); font-size: clamp(28px, 3vw, 36px); font-weight: 800; }
#find-a-doctor .directory-toolbar {
  max-width: 1040px; margin: 0 auto; padding: 26px 28px;
  border: 1px solid #e4ebf3; border-radius: 17px; background: #fff;
  box-shadow: 0 10px 30px rgba(23, 50, 91, .07);
}
#find-a-doctor .filter-form { align-items: end; }
#find-a-doctor .field-label { color: var(--heading-color); font-size: 13px; font-weight: 700; }
#find-a-doctor .field-wrap { position: relative; }
#find-a-doctor .field-wrap > i { color: #D2187D; }
#find-a-doctor .filter-form .form-select { min-height: 49px; border-color: #dce5ef; border-radius: 9px; color: #34465d; }
#find-a-doctor .filter-form .form-select:focus { border-color: #D2187D; box-shadow: 0 0 0 .2rem rgba(210, 24, 125,.12); }
#find-a-doctor .filter-form .btn-apply { min-height: 49px; border-radius: 9px; font-weight: 750; }
#find-a-doctor .directory-toolbar > p { text-align: center; color: #7b8999; font-size: 12px; }

/* ABOUT INSTITUTION: premium two-column panel. Leadership styles remain separate below. */
#institution {
  position: relative;
  padding: 76px 0 78px;
  background: linear-gradient(135deg, #f2f8fd 0%, #f8fbff 52%, #eef6fd 100%);
  overflow: hidden;
}
#institution .sbmch-about-grid { align-items: stretch; }
#institution .sbmch-about-image-column,
#institution .sbmch-about-content-column { display: flex; }
#institution .sbmch-about-photo {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 22px;
  background: #e5eff8;
  box-shadow: 0 18px 42px rgba(23,50,91,.13);
}
#institution .sbmch-about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center center;
  transition: transform .65s ease;
}
#institution .sbmch-about-photo:hover img { transform: scale(1.025); }
#institution .sbmch-about-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 32px 28px;
  overflow: hidden;
  border: 1px solid #e4edf6;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 36px rgba(23,50,91,.09);
}
#institution .sbmch-about-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: #D2187D;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
#institution .sbmch-about-icon,
#institution .sbmch-about-pillar-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #D2187D;
  background: #e8f5fd;
  box-shadow: 0 5px 14px rgba(210, 24, 125,.10);
  font-size: 23px;
}
#institution .sbmch-about-title {
  max-width: 720px;
  margin: 0;
  color: #650041;
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.55px;
}
#institution .sbmch-about-title-rule {
  display: block;
  width: 78px;
  height: 5px;
  margin: 14px 0 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, #D2187D, #65c5ef);
}
#institution .sbmch-about-intro {
  margin: 0 0 10px;
  color: #607188;
  font-size: 14px;
  line-height: 1.75;
}
#institution .sbmch-about-intro-secondary { margin-bottom: 5px; }
#institution .sbmch-about-pillars { margin-top: 12px; }
#institution .sbmch-about-pillar {
  height: 100%;
  padding: 19px 19px 18px;
  border: 1px solid #dcecf8;
  border-radius: 17px;
  background: linear-gradient(145deg, #f1f9ff 0%, #eaf5fd 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
#institution .sbmch-about-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23,50,91,.08);
}
#institution .sbmch-about-vision {
  border-color: #e5e1fb;
  background: linear-gradient(145deg, #f7f6ff 0%, #f0efff 100%);
}
#institution .sbmch-about-vision .sbmch-about-pillar-icon {
  color: #7257df;
  background: #e9e5ff;
  box-shadow: 0 5px 14px rgba(114,87,223,.10);
}
#institution .sbmch-about-pillar h3 {
  margin: 10px 0 7px;
  color: #650041;
  font-size: 20px;
  font-weight: 800;
}
#institution .sbmch-about-pillar p {
  margin: 0;
  color: #607188;
  font-size: 13px;
  line-height: 1.65;
}
#institution .sbmch-about-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 15px;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 22px;
  border: 1px solid #650041;
  border-radius: 10px;
  color: #fff;
  background: #650041;
  box-shadow: 0 7px 17px rgba(23,50,91,.15);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: gap .25s ease, background .25s ease, transform .25s ease;
}
#institution .sbmch-about-cta:hover {
  gap: 21px;
  transform: translateY(-2px);
  color: #fff;
  background: #D2187D;
  border-color: #D2187D;
}
#institution .section-title { margin-bottom: 24px !important; text-align: center; }
#institution .section-title h2 { color: var(--heading-color); font-weight: 800; }
#institution .sbmchLeadershipSlider { padding: 5px 4px 42px; }
#institution .sbmchLeadershipSlider .swiper-slide { height: auto; }
#institution .sbmchLeadershipSlider .featured-card { height: 100%; overflow: hidden; border-radius: 15px; box-shadow: 0 7px 22px rgba(23,50,91,.08); }
#institution .sbmchLeadershipSlider .featured-media { height: 245px; overflow: hidden; }
#institution .sbmchLeadershipSlider .featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
#institution .sbmchLeadershipSlider .featured-body { padding: 17px; }
#institution .sbmchLeadershipSlider .featured-name { color: var(--heading-color); font-size: 16px; }
#institution .sbmchLeadershipSlider .swiper-button-prev,
#institution .sbmchLeadershipSlider .swiper-button-next {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--heading-color);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
#institution .sbmchLeadershipSlider .swiper-button-prev:after,
#institution .sbmchLeadershipSlider .swiper-button-next:after { font-size: 13px; font-weight: 800; }
#institution .sbmchLeadershipSlider .swiper-pagination-bullet { background: #D2187D; }

/* DEPARTMENTS: premium three-card carousel */
.sbmch-departments-section { position: relative; padding: 82px 0 88px; background: #f5f8fc; overflow: hidden; }
.sbmch-departments-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.sbmch-section-eyebrow, .sbmch-doctors-eyebrow {
  display: inline-block; margin-bottom: 11px; color: #D2187D;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
}
.sbmch-departments-heading h2, .sbmch-doctors-heading h2 {
  margin: 0 0 11px; color: var(--heading-color); font-size: clamp(28px, 3vw, 39px); font-weight: 800; line-height: 1.2;
}
.sbmch-departments-heading p, .sbmch-doctors-heading p { max-width: 650px; margin: 0; color: #718096; font-size: 15px; line-height: 1.7; }
.sbmch-view-all-departments, .sbmch-all-doctors-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px;
  border: 1px solid #dbe5ef; border-radius: 50px; background: #fff; color: var(--heading-color);
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: all .3s ease;
}
.sbmch-view-all-departments:hover, .sbmch-all-doctors-link:hover { color: #fff; background: #650041; border-color: var(--heading-color); transform: translateY(-2px); }
.sbmch-departments-carousel-wrap, .sbmch-featured-doctors-wrap { position: relative; }
.sbmch-departments-slider { width: 100%; overflow: hidden; padding: 8px 3px 15px; }
.sbmch-departments-slider .swiper-wrapper { transition-timing-function: linear !important; }
.sbmch-departments-slider .swiper-slide { height: auto; }
.sbmch-department-card {
  display: flex; flex-direction: column; height: 100%; min-height: 420px; overflow: hidden;
  border: 1px solid #e7edf4; border-radius: 18px; background: #fff;
  box-shadow: 0 8px 28px rgba(24,52,87,.07); transition: transform .35s ease, box-shadow .35s ease;
}
.sbmch-department-card:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(24,52,87,.13); }
.sbmch-department-image { position: relative; display: block; height: 225px; flex: 0 0 225px; overflow: hidden; background: #eaf1f8; }
.sbmch-department-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.sbmch-department-card:hover .sbmch-department-image img { transform: scale(1.07); }
.sbmch-department-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,39,72,.22)); pointer-events: none; }
.sbmch-department-image-icon { position: absolute; right: 17px; bottom: 17px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--heading-color); background: #fff; font-size: 17px; transition: all .3s ease; }
.sbmch-department-card:hover .sbmch-department-image-icon { color: #fff; background: #D2187D; transform: rotate(45deg); }
.sbmch-department-content { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 22px; }
.sbmch-department-content h3 { margin: 0 0 12px; font-size: 20px; font-weight: 750; line-height: 1.35; }
.sbmch-department-content h3 a { color: var(--heading-color); text-decoration: none; }
.sbmch-department-content h3 a:hover { color: #D2187D; }
.sbmch-department-content p { flex: 1; margin: 0 0 22px; color: #6d7b8e; font-size: 14px; line-height: 1.7; }
.sbmch-department-explore { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; color: #D2187D; font-size: 13px; font-weight: 750; text-decoration: none; transition: gap .25s ease; }
.sbmch-department-explore:hover { gap: 15px; color: var(--heading-color); }
.sbmch-departments-controls, .sbmch-doctors-slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.sbmch-slider-caption, .sbmch-doctors-slider-caption { color: #8290a2; font-size: 13px; font-weight: 600; }
.sbmch-department-arrows, .sbmch-doctors-slider-arrows { display: flex; align-items: center; gap: 10px; }
.sbmch-department-arrows button, .sbmch-doctors-slider-arrows button {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid #d8e3ee; border-radius: 50%; color: var(--heading-color); background: #fff;
  font-size: 18px; cursor: pointer; transition: all .3s ease;
}
.sbmch-department-arrows button:hover, .sbmch-doctors-slider-arrows button:hover { color: #fff; background: #650041; border-color: var(--heading-color); }

/* STATISTICS retain original main.css classes and markup; no overrides here. */

/* FEATURED DOCTORS: premium responsive profile cards */
.sbmch-featured-doctors { padding: 84px 0 90px; background: #fff; overflow: hidden; }
.sbmch-doctors-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.sbmchFeaturedDoctorsSlider { width: 100%; overflow: hidden; padding: 8px 3px 15px; }
.sbmchFeaturedDoctorsSlider .swiper-slide { height: auto; }
.sbmch-doctor-premium-card {
  display: flex; flex-direction: column; height: 100%; min-height: 525px; overflow: hidden;
  border: 1px solid #e6edf4; border-radius: 19px; background: #fff;
  box-shadow: 0 8px 28px rgba(23,50,91,.07); transition: transform .35s ease, box-shadow .35s ease;
}
.sbmch-doctor-premium-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(23,50,91,.13); }
.sbmch-doctor-photo { position: relative; height: 270px; flex: 0 0 270px; overflow: hidden; background: #edf3f8; }
.sbmch-doctor-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .55s ease; }
.sbmch-doctor-premium-card:hover .sbmch-doctor-photo img { transform: scale(1.045); }
.sbmch-doctor-featured-badge {
  position: absolute; top: 15px; left: 15px; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 50px;
  background: rgba(255,255,255,.94); color: var(--heading-color); font-size: 11px; font-weight: 800;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.sbmch-doctor-featured-badge i { color: #D2187D; font-size: 13px; }
.sbmch-doctor-info { display: flex; flex: 1; flex-direction: column; padding: 23px 23px 21px; }
.sbmch-doctor-designation { margin-bottom: 8px; color: #D2187D; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.sbmch-doctor-info h3 { margin: 0 0 8px; color: var(--heading-color); font-size: 21px; font-weight: 800; line-height: 1.35; }
.sbmch-doctor-specialization { margin: 0 0 17px; color: #68788d; font-size: 13px; line-height: 1.5; }
.sbmch-doctor-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: #66768a; font-size: 13px; line-height: 1.55; }
.sbmch-doctor-detail i { flex: 0 0 17px; margin-top: 2px; color: #D2187D; font-size: 15px; }
.sbmch-doctor-qualification { min-height: 39px; }
.sbmch-doctor-card-footer { margin-top: auto; padding-top: 17px; border-top: 1px solid #edf1f5; }
.sbmch-doctor-book-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 17px; border-radius: 9px; color: #fff; background: #650041; font-size: 13px; font-weight: 750; text-decoration: none; transition: all .3s ease; }
.sbmch-doctor-book-btn i { font-size: 17px; transition: transform .25s ease; }
.sbmch-doctor-book-btn:hover { color: #fff; background: #D2187D; }
.sbmch-doctor-book-btn:hover i { transform: translateX(4px); }
.sbmch-doctors-empty { padding: 45px 20px; border: 1px dashed #d5e0eb; border-radius: 16px; background: #f8fafc; color: #718096; text-align: center; }
.sbmch-doctors-empty i { display: block; margin-bottom: 12px; color: #D2187D; font-size: 35px; }
.sbmch-doctors-empty p { margin: 0; }

/* MAP is intentionally untouched: preserve original iframe, container and ratio. */

@media (max-width: 991px) {
  #institution { padding-top: 60px; padding-bottom: 65px; }
  #institution .sbmchLeadershipSlider .featured-media { height: 225px; }
  .sbmch-departments-section, .sbmch-featured-doctors { padding-top: 70px; padding-bottom: 72px; }
  .sbmch-department-image { height: 205px; flex-basis: 205px; }
  .sbmch-department-content, .sbmch-doctor-info { padding: 20px; }
  .sbmch-doctor-photo { height: 245px; flex-basis: 245px; }
}
@media (max-width: 767px) {
  #hero > .container > .position-relative { border-radius: 14px !important; }
  .sbmch-hero-contact-actions { gap: 7px !important; padding: 12px !important; }
  .sbmch-hero-action { width: 42px; height: 42px; flex-basis: 42px; }
  .sbmch-hero-action-detail { display: none !important; }
  #find-a-doctor { padding-top: 44px; padding-bottom: 48px; }
  #find-a-doctor .directory-toolbar { padding: 20px; }
  #institution .row.align-items-stretch { align-items: initial !important; }
  #institution .media-card { min-height: 260px; }
  .sbmch-departments-heading, .sbmch-doctors-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .sbmch-view-all-departments, .sbmch-all-doctors-link { padding: 11px 17px; }
  .sbmch-doctor-premium-card { min-height: 500px; }
  .sbmch-doctor-photo { height: 260px; flex-basis: 260px; }
}
@media (max-width: 575px) {
  #hero .sbmchHeroSlider img { aspect-ratio: 1875 / 639; object-fit: cover; }
  #hero .sbmchHeroSlider .swiper-button-prev, #hero .sbmchHeroSlider .swiper-button-next { width: 30px; height: 30px; }
  #hero .sbmchHeroSlider .swiper-button-prev:after, #hero .sbmchHeroSlider .swiper-button-next:after { font-size: 11px; }
  #find-a-doctor .section-title h2 { font-size: 27px; }
  #find-a-doctor .directory-toolbar { padding: 17px; }
  #institution .feature-card.primary-card { padding: 20px; }
  #institution .sbmchLeadershipSlider .featured-media { height: 245px; }
  .sbmch-departments-section, .sbmch-featured-doctors { padding: 55px 0; }
  .sbmch-departments-heading h2, .sbmch-doctors-heading h2 { font-size: 28px; }
  .sbmch-department-card { min-height: 390px; }
  .sbmch-department-image { height: 215px; flex-basis: 215px; }
  .sbmch-departments-controls, .sbmch-doctors-slider-controls { margin-top: 14px; }
  .sbmch-slider-caption, .sbmch-doctors-slider-caption { max-width: 150px; font-size: 12px; }
  .sbmch-department-arrows button, .sbmch-doctors-slider-arrows button { width: 42px; height: 42px; }
  .sbmch-doctor-premium-card { min-height: 490px; }
  .sbmch-doctor-photo { height: 250px; flex-basis: 250px; }
}

@media (max-width: 991px) {
  #institution .sbmch-about-photo img { min-height: 390px; }
  #institution .sbmch-about-panel { padding: 27px; }
}
@media (max-width: 767px) {
  #institution { padding: 56px 0 62px; }
  #institution .sbmch-about-photo img { min-height: 300px; max-height: 390px; }
  #institution .sbmch-about-panel { padding: 23px 20px; }
  #institution .sbmch-about-title { font-size: 26px; }
  #institution .sbmch-about-pillar { padding: 17px; }
  #institution .sbmch-about-cta { margin-top: 17px; }
}
@media (max-width: 575px) {
  #institution .sbmch-about-photo { border-width: 4px; border-radius: 17px; }
  #institution .sbmch-about-photo img { min-height: 255px; max-height: 320px; }
  #institution .sbmch-about-panel { padding: 20px 17px; border-radius: 17px; }
  #institution .sbmch-about-kicker { gap: 10px; font-size: 11px; letter-spacing: 1px; }
  #institution .sbmch-about-icon { width: 42px; height: 42px; font-size: 20px; }
  #institution .sbmch-about-title { font-size: 24px; }
  #institution .sbmch-about-intro { font-size: 13px; }
  #institution .sbmch-about-pillar h3 { font-size: 18px; }
  #institution .sbmch-about-pillar p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #institution .sbmch-about-photo img,
  #institution .sbmch-about-pillar,
  #institution .sbmch-about-cta { transition: none !important; }
  .sbmch-department-card, .sbmch-department-image img, .sbmch-doctor-premium-card,
  .sbmch-doctor-photo img, .sbmch-department-explore { transition: none !important; }
}



/* ==========================================
   DEPARTMENT IMAGE - EMERGENCY CSS OVERRIDE
========================================== */

a.sbmch-department-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
    flex: 0 0 225px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

a.sbmch-department-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sbmch-department-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
    overflow: hidden !important;
}

.sbmch-department-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 23px !important;
}

@media (max-width: 575px) {
    a.sbmch-department-image {
        height: 215px !important;
        min-height: 215px !important;
        max-height: 215px !important;
        flex-basis: 215px !important;
    }
}


/* ==========================================
   DEPARTMENT IMAGE - EMERGENCY CSS OVERRIDE
========================================== */

a.sbmch-department-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
    flex: 0 0 225px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

a.sbmch-department-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.sbmch-department-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
    overflow: hidden !important;
}

.sbmch-department-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 23px !important;
}

@media (max-width: 575px) {
    a.sbmch-department-image {
        height: 215px !important;
        min-height: 215px !important;
        max-height: 215px !important;
        flex-basis: 215px !important;
    }
}




/* ==========================================================
   HOMEPAGE FEATURED DOCTORS
   Match the card structure and visual treatment used on /doctors.
   Homepage-only selectors keep the directory page untouched.
   ========================================================== */

#featured-doctors .sbmch-doctors-heading {
  align-items: center;
  margin-bottom: 28px;
}

#featured-doctors .sbmchFeaturedDoctorsSlider {
  padding: 4px 3px 12px;
}

#featured-doctors .sbmchFeaturedDoctorsSlider .swiper-slide {
  display: flex;
  height: auto;
}

#featured-doctors .sbmch-home-doctor-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(23, 50, 91, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

#featured-doctors .sbmch-home-doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(23, 50, 91, .12);
}

#featured-doctors .sbmch-home-doctor-photo-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #edf2f7;
}

#featured-doctors img.sbmch-home-doctor-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  margin: 0;
  border: 0;
  transition: transform .3s ease;
}

#featured-doctors .sbmch-home-doctor-card:hover .sbmch-home-doctor-photo {
  transform: scale(1.025);
}

#featured-doctors .sbmch-home-doctor-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px 12px 10px;
  text-align: center;
}

#featured-doctors .sbmch-home-doctor-name {
  margin: 0 0 5px;
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

#featured-doctors .sbmch-home-doctor-department {
  min-height: 28px;
  margin: 0 0 7px;
  color: var(--heading-color);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
}

#featured-doctors .sbmch-home-doctor-detail {
  margin: 0 0 5px;
  color: var(--default-color);
  font-size: 10px;
  line-height: 1.4;
}

#featured-doctors .sbmch-home-doctor-detail strong {
  color: var(--heading-color);
  font-weight: 650;
}

#featured-doctors .sbmch-home-doctor-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 6px 0 9px;
  color: var(--default-color);
  font-size: 10px;
  line-height: 1.35;
}

#featured-doctors .sbmch-home-doctor-location i {
  flex: 0 0 auto;
  color: #D2187D;
}

#featured-doctors .sbmch-home-doctor-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
}

#featured-doctors .sbmch-home-doctor-btn {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 7px;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

#featured-doctors .sbmch-home-doctor-btn-primary {
  background: var(--accent-color);
  color: #fff;
}

#featured-doctors .sbmch-home-doctor-btn-primary:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: #fff;
}

#featured-doctors .sbmch-home-doctor-btn-outline {
  background: #fff;
  color: var(--accent-color);
  cursor: not-allowed;
  opacity: .78;
}

#featured-doctors .sbmch-doctors-slider-controls {
  margin-top: 14px;
}

@media (max-width: 767px) {
  #featured-doctors .sbmch-home-doctor-body {
    padding: 11px 10px 9px;
  }

  #featured-doctors .sbmch-home-doctor-name {
    font-size: 14px;
  }

  #featured-doctors .sbmch-home-doctor-department {
    font-size: 10px;
  }
}

@media (max-width: 575px) {
  #featured-doctors .sbmchFeaturedDoctorsSlider {
    padding-right: 2px;
    padding-left: 2px;
  }

  #featured-doctors .sbmch-home-doctor-btn {
    min-height: 33px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #featured-doctors .sbmch-home-doctor-card,
  #featured-doctors .sbmch-home-doctor-photo {
    transition: none !important;
  }
}


/* ==========================================================
   FIND A DOCTOR: premium search panel
   Uses the existing site theme variables and inherited button
   styling. No independent colour palette is introduced.
========================================================== */
#find-a-doctor.sbmch-find-doctor {
  position: relative;
  padding: 76px 0 72px;
  overflow: hidden;
}

#find-a-doctor .sbmch-find-doctor-heading {
  max-width: 790px;
  margin: 0 auto 32px;
  text-align: center;
}

#find-a-doctor .sbmch-find-doctor-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-color, var(--heading-color));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

#find-a-doctor .sbmch-find-doctor-heading h2 {
  margin: 0 0 13px;
  color: var(--heading-color);
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.7px;
}

#find-a-doctor .sbmch-find-doctor-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--default-color, inherit);
  font-size: 15px;
  line-height: 1.75;
  opacity: .78;
}

#find-a-doctor .directory-toolbar.sbmch-find-doctor-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 32px 23px;
  border: 1px solid color-mix(in srgb, var(--heading-color) 13%, transparent);
  border-radius: 20px;
  background: var(--surface-color, #fff);
  box-shadow: 0 16px 42px color-mix(in srgb, var(--heading-color) 9%, transparent);
}

#find-a-doctor .sbmch-find-doctor-panel .filter-form {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 17px;
  align-items: end;
}

#find-a-doctor .sbmch-find-doctor-panel .field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--heading-color);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .1px;
}

#find-a-doctor .sbmch-find-doctor-panel .field-wrap {
  position: relative;
}

#find-a-doctor .sbmch-find-doctor-panel .field-wrap > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  color: var(--accent-color, var(--heading-color));
  font-size: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}

#find-a-doctor .sbmch-find-doctor-panel .form-select {
  min-height: 58px;
  padding: 12px 42px 12px 46px;
  border: 1px solid color-mix(in srgb, var(--heading-color) 17%, transparent);
  border-radius: 11px;
  color: var(--default-color, inherit);
  background-color: var(--surface-color, #fff);
  font-size: 14px;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#find-a-doctor .sbmch-find-doctor-panel .form-select:focus {
  border-color: var(--accent-color, var(--heading-color));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color, var(--heading-color)) 12%, transparent);
}

#find-a-doctor .sbmch-find-doctor-panel .form-select:disabled {
  opacity: .72;
  cursor: not-allowed;
}

#find-a-doctor .sbmch-find-doctor-panel .sbmch-find-doctor-submit {
  min-height: 58px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .1px;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--heading-color) 13%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}

#find-a-doctor .sbmch-find-doctor-panel .sbmch-find-doctor-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px color-mix(in srgb, var(--heading-color) 17%, transparent);
}

#find-a-doctor .sbmch-find-doctor-help {
  margin: 19px 0 0;
  color: var(--default-color, inherit);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  opacity: .72;
}

#find-a-doctor .sbmch-find-doctor-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 38px;
  margin: 27px auto 0;
}

#find-a-doctor .sbmch-find-doctor-benefit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--heading-color);
  font-size: 12px;
  font-weight: 650;
  opacity: .86;
}

#find-a-doctor .sbmch-find-doctor-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: var(--accent-color, var(--heading-color));
  background: color-mix(in srgb, var(--accent-color, var(--heading-color)) 9%, var(--surface-color, #fff));
  font-size: 15px;
}

@media (max-width: 991px) {
  #find-a-doctor.sbmch-find-doctor { padding: 64px 0 60px; }
  #find-a-doctor .directory-toolbar.sbmch-find-doctor-panel { padding: 26px 24px 21px; }
  #find-a-doctor .sbmch-find-doctor-panel .sbmch-find-doctor-submit { min-height: 54px; }
}

@media (max-width: 767px) {
  #find-a-doctor.sbmch-find-doctor { padding: 48px 0 50px; }
  #find-a-doctor .sbmch-find-doctor-heading { margin-bottom: 24px; }
  #find-a-doctor .sbmch-find-doctor-heading h2 { font-size: 29px; letter-spacing: -.4px; }
  #find-a-doctor .sbmch-find-doctor-heading p { font-size: 14px; }
  #find-a-doctor .directory-toolbar.sbmch-find-doctor-panel { padding: 21px 18px 18px; border-radius: 16px; }
  #find-a-doctor .sbmch-find-doctor-panel .form-select,
  #find-a-doctor .sbmch-find-doctor-panel .sbmch-find-doctor-submit { min-height: 53px; }
  #find-a-doctor .sbmch-find-doctor-benefits { gap: 11px 18px; margin-top: 22px; }
}

@media (max-width: 575px) {
  #find-a-doctor .sbmch-find-doctor-heading h2 { font-size: 26px; }
  #find-a-doctor .directory-toolbar.sbmch-find-doctor-panel { padding: 18px 15px 16px; }
  #find-a-doctor .sbmch-find-doctor-benefits { align-items: flex-start; flex-direction: column; width: fit-content; }
  #find-a-doctor .sbmch-find-doctor-benefit { font-size: 12px; }
}


/* ==========================================================
   HOMEPAGE REFINEMENTS | 10 NOV 2026
   Preserves main.css -> home.css -> department.css loading.
   Brand values inherited from department.css; only the on-call
   support section intentionally uses the requested #850059.
   ========================================================== */

/* 1-2. Hero quick actions: vertical on the right; details open inward. */
body.sbmch-home-page #hero .sbmch-hero-contact-actions {
  left: auto !important;
  right: clamp(8px, 1.6vw, 22px) !important;
  bottom: auto !important;
  top: 50% !important;
  transform: translateY(-50%);
  align-items: flex-end;
  flex-wrap: nowrap !important;
  max-width: min(90%, 380px);
}
body.sbmch-home-page #hero .sbmch-hero-action-item { justify-content: flex-start; }
body.sbmch-home-page #hero .sbmch-hero-action {
  background: var(--sbmch-primary) !important;
  color: var(--sbmch-white, #fff) !important;
  border-color: var(--sbmch-white, #fff) !important;
}
body.sbmch-home-page #hero .sbmch-hero-action:hover,
body.sbmch-home-page #hero .sbmch-hero-action:focus-visible {
  background: var(--sbmch-accent) !important;
}
body.sbmch-home-page #hero .sbmch-hero-action-detail {
  white-space: normal;
  max-width: 265px;
  background: var(--sbmch-white, #fff) !important;
}
body.sbmch-home-page #hero .sbmch-hero-action-detail a {
  color: var(--sbmch-primary-dark);
}

/* 3. About: reuse department.css brand tokens, no new palette. */
body.sbmch-home-page #institution {
  background: var(--sbmch-tint);
}
body.sbmch-home-page #institution .sbmch-about-photo {
  background: var(--sbmch-tint-solid);
  box-shadow: var(--sbmch-shadow-lg);
}
body.sbmch-home-page #institution .sbmch-about-panel {
  background: var(--sbmch-white, #fff);
  border-color: var(--sbmch-border);
  box-shadow: var(--sbmch-shadow-md);
}
body.sbmch-home-page #institution .sbmch-about-kicker,
body.sbmch-home-page #institution .sbmch-about-icon,
body.sbmch-home-page #institution .sbmch-about-pillar-icon {
  color: var(--sbmch-primary);
}
body.sbmch-home-page #institution .sbmch-about-icon,
body.sbmch-home-page #institution .sbmch-about-pillar-icon {
  background: var(--sbmch-tint-solid);
  box-shadow: var(--sbmch-shadow-sm);
}
body.sbmch-home-page #institution .sbmch-about-title,
body.sbmch-home-page #institution .sbmch-about-pillar h3 {
  color: var(--heading-color);
}
body.sbmch-home-page #institution .sbmch-about-title-rule {
  background: var(--sbmch-grad);
}
body.sbmch-home-page #institution .sbmch-about-intro,
body.sbmch-home-page #institution .sbmch-about-pillar p {
  color: var(--sbmch-muted);
}
body.sbmch-home-page #institution .sbmch-about-pillar,
body.sbmch-home-page #institution .sbmch-about-vision {
  background: var(--sbmch-tint-solid);
  border-color: var(--sbmch-border);
}
body.sbmch-home-page #institution .sbmch-about-cta {
  color: var(--sbmch-white, #fff);
  background: var(--sbmch-primary);
  border-color: var(--sbmch-primary);
}
body.sbmch-home-page #institution .sbmch-about-cta:hover {
  background: var(--sbmch-accent);
  border-color: var(--sbmch-accent);
}

/* 5. Department heading centered; view-all stays accessible. */
body.sbmch-home-page #featured-departments .sbmch-departments-heading {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
body.sbmch-home-page #featured-departments .sbmch-departments-heading-content {
  width: 100%;
}
body.sbmch-home-page #featured-departments .sbmch-departments-heading p {
  margin-inline: auto;
}
body.sbmch-home-page #featured-departments .sbmch-department-explore,
body.sbmch-home-page #featured-departments .sbmch-department-explore i {
  color: var(--sbmch-primary);
}
body.sbmch-home-page #featured-departments .sbmch-department-explore:hover,
body.sbmch-home-page #featured-departments .sbmch-department-explore:hover i {
  color: var(--sbmch-accent);
}

/* 6. Use one brand colour for every character of the 24/7 statistic. */
body.sbmch-home-page #hospital-statistics .metric-value,
body.sbmch-home-page #hospital-statistics .metric-value span {
  color: var(--heading-color);
}

/* 7. Featured Doctors heading is already an H2; center its group. */
body.sbmch-home-page #featured-doctors .sbmch-doctors-heading {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
body.sbmch-home-page #featured-doctors .sbmch-doctors-heading > div { width: 100%; }
body.sbmch-home-page #featured-doctors .sbmch-doctors-heading p { margin-inline: auto; }

/* 9. External review widget sits above the location section. */
body.sbmch-home-page #patient-reviews { padding: 66px 0 36px; }
body.sbmch-home-page #patient-reviews .sbmch-reviews-heading {
  margin: 0 auto 30px;
  text-align: center;
}
body.sbmch-home-page #patient-reviews h2 {
  margin-bottom: 10px;
  color: var(--heading-color);
  font-weight: 800;
}
body.sbmch-home-page #patient-reviews p { color: var(--sbmch-muted); }

/* 8. Premium rounded map without altering the embed or ratio. */
body.sbmch-home-page #hospital-location .sbmch-map-frame {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--sbmch-shadow-md);
  background: var(--sbmch-tint-solid);
}
body.sbmch-home-page #hospital-location .sbmch-map-frame iframe {
  border: 0;
  border-radius: inherit;
}

/* 10. Exact requested footer-matching on-call support colour. */
body.sbmch-home-page #on-call-support .alert-strip {
  background: #850059;
}

@media (max-width: 767.98px) {
  body.sbmch-home-page #hero .sbmch-hero-contact-actions {
    right: 7px !important;
    gap: 6px !important;
    padding: 0 !important;
  }
  body.sbmch-home-page #hero .sbmch-hero-action {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  }
  body.sbmch-home-page #hero .sbmch-hero-action i { font-size: 15px !important; }
  body.sbmch-home-page #hero .sbmch-hero-action-detail { display: none !important; }
  body.sbmch-home-page #hospital-location .sbmch-map-frame { border-radius: 14px; }
  body.sbmch-home-page #patient-reviews { padding: 45px 0 24px; }
}

/* ==========================================================
   MOBILE REFINEMENTS | INSTITUTION, STATS, ON-CALL SUPPORT
   Scoped to homepage; desktop and shared CSS remain unchanged.
   ========================================================== */
@media (max-width: 767.98px) {
  /* Fold 3: centre only the Discover Our Institution CTA. */
  body.sbmch-home-page #institution .sbmch-about-cta {
    align-self: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
  }

  /* Fold 5: replace the tall stacked statistics panel with 2x2 cards. */
  body.sbmch-home-page #hospital-statistics {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  body.sbmch-home-page #hospital-statistics .metrics-strip {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  body.sbmch-home-page #hospital-statistics .metrics-strip > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
  }
  body.sbmch-home-page #hospital-statistics .metrics-strip > .row > div {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
  }
  body.sbmch-home-page #hospital-statistics .metric-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 160px;
    padding: 19px 10px;
    border: 1px solid color-mix(in srgb, var(--heading-color) 12%, #fff);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(24, 35, 62, .06);
    text-align: center;
  }
  body.sbmch-home-page #hospital-statistics .metric-label {
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .6px;
    text-align: center;
  }
  body.sbmch-home-page #hospital-statistics .metric-value,
  body.sbmch-home-page #hospital-statistics .metric-value span {
    color: var(--heading-color);
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.15;
    text-align: center;
  }
  body.sbmch-home-page #hospital-statistics .metric-meta {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
  }

  /* Fold 9: centred support copy and consistently aligned action links. */
  body.sbmch-home-page #on-call-support .alert-strip {
    padding: 24px 18px;
    border-radius: 16px;
  }
  body.sbmch-home-page #on-call-support .alert-row,
  body.sbmch-home-page #on-call-support .alert-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    text-align: center;
  }
  body.sbmch-home-page #on-call-support .alert-icon {
    margin: 0 auto;
  }
  body.sbmch-home-page #on-call-support .alert-text {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
  body.sbmch-home-page #on-call-support .alert-text p {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
  }
  body.sbmch-home-page #on-call-support .alert-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    width: 100%;
    margin-top: 5px;
  }
  body.sbmch-home-page #on-call-support .alert-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    text-align: center;
  }
}


/* ==========================================================
   MOBILE ONLY: About section heading alignment
   No other sections or existing rules changed.
   ========================================================== */
@media (max-width: 767px) {
  body.sbmch-home-page #institution .sbmch-about-title {
    width: 100%;
    max-width: 100%;
    text-align: center !important;
  }

  body.sbmch-home-page #institution .sbmch-about-title-rule {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.sbmch-home-page #institution .sbmch-about-pillar h3 {
    width: 100%;
    text-align: center !important;
  }
}


/* ==========================================================
   MOBILE ONLY: Align About, Mission and Vision icons with titles
   All other homepage sections and desktop rules are unchanged.
   ========================================================== */
@media (max-width: 767px) {
  body.sbmch-home-page #institution .sbmch-about-kicker {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  body.sbmch-home-page #institution .sbmch-about-kicker .sbmch-about-icon {
    margin: 0;
  }

  body.sbmch-home-page #institution .sbmch-about-pillar-icon {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

/* MOBILE: GAP BETWEEN HEADER AND HERO */
@media (max-width: 767px) {

  body.sbmch-home-page #hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.sbmch-home-page #hero > .container {
    padding-top: 0 !important;
  }

  body.sbmch-home-page > .mt-5.pt-5.pb-4 {
    padding-bottom: 8px !important;
  }

}

/* ==========================================================
   SBMCH HOMEPAGE TYPOGRAPHY — DEPARTMENT FONT MATCH
   Font families only. No font sizes, weights, line heights,
   layout, spacing, colours, or component behaviour changed.
   Reference: department.css --sbmch-head / --sbmch-body.
   ========================================================== */
body.sbmch-home-page {
  --default-font: var(--sbmch-body, "Inter", sans-serif);
  --heading-font: var(--sbmch-head, "Poppins", "Inter", sans-serif);
  --nav-font: var(--sbmch-body, "Inter", sans-serif);
  font-family: var(--sbmch-body, "Inter", sans-serif);
}

body.sbmch-home-page h1,
body.sbmch-home-page h2,
body.sbmch-home-page h3,
body.sbmch-home-page h4,
body.sbmch-home-page h5,
body.sbmch-home-page h6 {
  font-family: var(--sbmch-head, "Poppins", "Inter", sans-serif);
}

body.sbmch-home-page button,
body.sbmch-home-page input,
body.sbmch-home-page select,
body.sbmch-home-page textarea {
  font-family: var(--sbmch-body, "Inter", sans-serif);
}

/* ============================================================
   HOMEPAGE TYPOGRAPHY ALIGNMENT — SHARED DEPARTMENT TOKENS
   Fixes main.css Roboto declarations on homepage text controls.
   Font-family ONLY: preserves all existing font sizes, weights,
   colours, spacing, layouts, icons, and responsive rules.
   Requires department.css to be loaded before home.css.
   ============================================================ */
body.sbmch-home-page main {
  font-family: var(--sbmch-body, "Inter", sans-serif);
}

/* Main.css sets Roboto directly on several text components.
   Explicitly select text-bearing elements, not icon elements. */
body.sbmch-home-page main :is(
  p, li, dt, dd, blockquote, figcaption, small,
  label, legend, summary, caption, th, td,
  button, input, select, textarea, option
) {
  font-family: var(--sbmch-body, "Inter", sans-serif);
}

/* Text-bearing inline elements inherit Inter from their parent.
   Exclude icon font classes to preserve Bootstrap/other icons. */
body.sbmch-home-page main :is(p, li, label, button, a, th, td) > span:not([class*="icon"]):not([class^="bi-"]):not([class*=" bi-"]) {
  font-family: inherit;
}

body.sbmch-home-page main :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--sbmch-head, "Poppins", "Inter", sans-serif);
}

/* Preserve Poppins within styled heading fragments. */
body.sbmch-home-page main :is(h1, h2, h3, h4, h5, h6) :is(span, strong, em, a) {
  font-family: inherit;
}


/* ============================================================
   PERMANENT HOMEPAGE FONT FIX — VERIFIED DEVTOOLS OVERRIDE
   Inter: body, copy, form controls and buttons.
   Poppins: headings. Scoped to the homepage only.
   Does not change sizing, weight, colour or layout.
   ============================================================ */
body.sbmch-home-page {
  --default-font: var(--sbmch-body, "Inter", sans-serif);
  --heading-font: var(--sbmch-head, "Poppins", "Inter", sans-serif);
  --nav-font: var(--sbmch-body, "Inter", sans-serif);
  font-family: var(--sbmch-body, "Inter", sans-serif) !important;
}
body.sbmch-home-page main,
body.sbmch-home-page main :is(p, li, dt, dd, blockquote, figcaption, small, label, legend, summary, caption, th, td, button, input, select, textarea, option),
body.sbmch-home-page main :is(p, li, label, button, a, th, td) > span:not([class*="icon"]):not([class^="bi-"]):not([class*=" bi-"]) {
  font-family: var(--sbmch-body, "Inter", sans-serif) !important;
}
body.sbmch-home-page main :is(h1, h2, h3, h4, h5, h6),
body.sbmch-home-page main :is(h1, h2, h3, h4, h5, h6) :is(span, strong, em, a) {
  font-family: var(--sbmch-head, "Poppins", "Inter", sans-serif) !important;
}


/* ##########################################################
   B. DOCTORS PAGE (was doctors-custom.css)
   ########################################################## */

/*
|--------------------------------------------------------------------------
| SBMCH Doctors Directory
|--------------------------------------------------------------------------
| Layout styling only.
| All colors inherit from BootstrapMade MediCare main.css.
*/

body.doctors-page .sbmch-doctors-intro {
    padding: 34px 0 18px !important;
}

body.doctors-page .sbmch-doctors-intro .container {
    max-width: 850px !important;
}

body.doctors-page .sbmch-doctors-eyebrow {
    display: inline-block !important;
    margin: 0 0 6px !important;
    color: var(--default-color) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

body.doctors-page .sbmch-doctors-intro h1 {
    margin: 0 0 7px !important;
    color: var(--heading-color) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
}

body.doctors-page .sbmch-doctors-intro p {
    max-width: 720px !important;
    margin: 0 auto !important;
    color: var(--default-color) !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}

body.doctors-page .sbmch-doctors-section {
    padding-top: 12px !important;
}

/* Filter bar */

body.doctors-page form.sbmch-doctor-filter {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 170px !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: min(100%, 880px) !important;
    margin: 0 auto 32px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%) !important;
    border-radius: 7px !important;
    background: var(--surface-color) !important;
    box-shadow: 0 3px 14px color-mix(in srgb, var(--default-color), transparent 92%) !important;
}

body.doctors-page .sbmch-filter-field {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 10px 16px !important;
}

body.doctors-page .sbmch-filter-field + .sbmch-filter-field {
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 88%) !important;
}

body.doctors-page .sbmch-filter-field label {
    display: block !important;
    margin: 0 0 4px !important;
    color: var(--sbmch-muted) !important;
    font-size: .75rem !important;
    font-weight: 600 !important;
}

body.doctors-page .sbmch-filter-field select.form-select {
    display: block !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 4px 28px 4px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--heading-color) !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    cursor: pointer;
}

body.doctors-page .sbmch-filter-actions {
    display: flex !important;
    min-width: 0 !important;
    height: auto !important;
}

body.doctors-page .sbmch-view-doctors-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 62px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

/* Doctor grid: 4 cards on large screens, 3 on laptops, 2 on tablets, 1 on phones */

body.doctors-page .sbmch-doctors-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 20px !important;
    width: 100% !important;
}

body.doctors-page article.sbmch-doctor-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%) !important;
    border-radius: 8px !important;
    background: var(--surface-color) !important;
    box-shadow: 0 2px 9px color-mix(in srgb, var(--default-color), transparent 91%) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

body.doctors-page article.sbmch-doctor-card:hover {
    transform: translateY(-2px) !important;
}

body.doctors-page .sbmch-doctor-photo-link {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.doctors-page img.sbmch-doctor-photo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    object-position: center top !important;
    margin: 0 !important;
    border: 0 !important;
}

body.doctors-page .sbmch-doctor-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 16px 14px 14px !important;
    text-align: center !important;
}

body.doctors-page .sbmch-doctor-name {
    margin: 0 0 6px !important;
    color: var(--heading-color) !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.doctors-page .sbmch-doctor-name a {
    color: inherit !important;
    text-decoration: none !important;
}

body.doctors-page .sbmch-doctor-name a:hover {
    color: var(--accent-color) !important;
}

body.doctors-page .sbmch-doctor-department {
    min-height: 0 !important;
    margin: 0 0 10px !important;
    color: var(--sbmch-muted) !important;
    font-size: .88rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

body.doctors-page .sbmch-doctor-detail {
    margin: 0 0 6px !important;
    color: var(--default-color) !important;
    font-size: .88rem !important;
    line-height: 1.5 !important;
}

body.doctors-page .sbmch-doctor-detail strong {
    color: var(--heading-color) !important;
    font-weight: 600 !important;
}

/* Card buttons */

body.doctors-page .sbmch-doctor-actions {
    display: grid !important;
    grid-template-columns: 1fr !important; /* stacked: Book Appointment above View Profile */
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding: 12px 0 0 !important;
}

body.doctors-page .sbmch-doctor-btn {
    display: flex !important;
    min-width: 0 !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    font-family: var(--sbmch-body) !important;
    font-size: .82rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body.doctors-page .sbmch-doctor-btn-primary {
    border: 1px solid var(--accent-color) !important;
    background: var(--accent-color) !important;
    color: var(--contrast-color) !important;
}

body.doctors-page .sbmch-doctor-btn-primary:hover {
    background: transparent !important;
    color: var(--accent-color) !important;
}

body.doctors-page .sbmch-doctor-btn-outline {
    border: 1px solid var(--accent-color) !important;
    background: transparent !important;
    color: var(--accent-color) !important;
}

body.doctors-page .sbmch-doctor-btn-outline:hover {
    background: var(--accent-color) !important;
    color: var(--contrast-color) !important;
}

body.doctors-page .sbmch-doctor-call-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 8px 0 0 !important;
    padding: 6px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: color-mix(in srgb, var(--accent-color), transparent 94%) !important;
    color: var(--heading-color) !important;
    font-size: .82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Empty state */

body.doctors-page .sbmch-doctors-count {
    margin-top: 20px !important;
    color: var(--sbmch-muted) !important;
    font-size: .9rem !important;
    text-align: center !important;
}

body.doctors-page .sbmch-doctors-empty {
    padding: 45px 15px !important;
    text-align: center !important;
}

body.doctors-page .sbmch-doctors-empty > i {
    display: inline-block !important;
    margin-bottom: 10px !important;
    color: var(--accent-color) !important;
    font-size: 36px !important;
}

/* Smaller screens: fewer cards per row */

@media (max-width: 1199.98px) {
    body.doctors-page .sbmch-doctors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991.98px) {
    body.doctors-page .sbmch-doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 575px) {
    body.doctors-page form.sbmch-doctor-filter {
        grid-template-columns: 1fr !important;
    }

    body.doctors-page .sbmch-filter-field + .sbmch-filter-field {
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%) !important;
        border-left: 0 !important;
    }

    body.doctors-page .sbmch-view-doctors-btn {
        min-height: 48px !important;
    }

    body.doctors-page .sbmch-doctors-grid {
        grid-template-columns: 1fr !important;
        max-width: 420px;
        margin-inline: auto;
    }
}

@media (max-width: 380px) {
    body.doctors-page form.sbmch-doctor-filter {
        grid-template-columns: 1fr !important;
    }

    body.doctors-page .sbmch-filter-field + .sbmch-filter-field {
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%) !important;
        border-left: 0 !important;
    }

    body.doctors-page .sbmch-filter-actions {
        min-height: 40px !important;
    }
}

/* Add spacing below the fixed navigation bar */

body.doctors-page main.main {
    padding-top: 85px !important;
}

body.doctors-page .sbmch-doctors-intro {
    padding-top: 35px !important;
}

/* Prevent heading from being hidden behind navbar */
body.doctors-page .sbmch-doctors-intro h1 {
    margin-top: 0 !important;
}


/* ##########################################################
   C. DEPARTMENT PAGES + SHARED COMPONENTS (was department.css)
   ########################################################## */

/* ==========================================================
   SBMCH - DEPARTMENT DETAIL PAGES (shared stylesheet)
   ----------------------------------------------------------
   Colours, fonts and component styles taken from the SBMCH
   About Us page (SBMCH-about-us/about-us.html).

   Usage on every department page (load AFTER main.css):

     <link href="../assets/css/department.css" rel="stylesheet">

     <body class="sbmch-dept-page">
       <?php include header.php ?>
       <main class="main sbmch-dept"> ... sd-* markup ... </main>
       <?php include footer.php ?>

   Change brand colours in the token block below only.
   Every .sd-* component is scoped to .sbmch-dept so nothing
   leaks into the rest of the MediCare theme.
========================================================== */


/* ----------------------------------------------------------
   1. BRAND TOKENS
---------------------------------------------------------- */

:root {
  --sbmch-primary: #8B005D;
  --sbmch-primary-dark: #650041;
  --sbmch-accent: #D2187D;
  --sbmch-accent-light: #F7A8D3;   /* links / icons on dark magenta */
  --sbmch-text: #242424;
  --sbmch-muted: #5f666e;
  --sbmch-surface: #FCFCFC;
  --sbmch-bg: #F7F5F7;
  --sbmch-border: #ece7ec;
  --sbmch-white: #FFFFFF;
  --sbmch-tint: linear-gradient(135deg, rgba(139, 0, 93, .06), rgba(210, 24, 125, .08));
  --sbmch-tint-solid: #FBF0F6;
  --sbmch-grad: linear-gradient(135deg, #8B005D, #D2187D);
  --sbmch-shadow-sm: 0 4px 12px rgba(35, 20, 42, .05);
  --sbmch-shadow-md: 0 8px 24px rgba(35, 20, 42, .08);
  --sbmch-shadow-lg: 0 15px 35px rgba(35, 20, 42, .12);
  --sbmch-warn-bg: #FEF3C7;
  --sbmch-warn-line: #D97706;
  --sbmch-head: "Poppins", "Inter", sans-serif;
  --sbmch-body: "Inter", sans-serif;
}


/* ----------------------------------------------------------
   2. MEDICARE THEME OVERRIDES (header, footer, links)
   Re-points the template's global variables to SBMCH colours
   on department pages only.
---------------------------------------------------------- */

body.sbmch-dept-page {
  --background-color: var(--sbmch-surface);
  --default-color: var(--sbmch-text);
  --heading-color: var(--sbmch-primary-dark);
  --accent-color: var(--sbmch-accent);
  --surface-color: var(--sbmch-white);
  --contrast-color: var(--sbmch-white);
  --heading-font: var(--sbmch-head);
  --nav-color: var(--sbmch-text);
  --nav-hover-color: var(--sbmch-accent);
  --nav-dropdown-color: var(--sbmch-text);
  --nav-dropdown-hover-color: var(--sbmch-accent);
  background: var(--sbmch-surface);
}

body.sbmch-dept-page .header .btn-getstarted,
body.sbmch-dept-page .header .btn-getstarted:focus {
  background: var(--sbmch-grad);
  border-radius: 0;
}

body.sbmch-dept-page .header .btn-getstarted:hover {
  background: var(--sbmch-primary-dark);
}

body.sbmch-dept-page .dark-background {
  --background-color: var(--sbmch-primary-dark);
  --surface-color: var(--sbmch-primary);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: var(--sbmch-accent-light);
}

body.sbmch-dept-page #footer .footer-contact-item a:hover {
  color: var(--sbmch-accent-light);
}

body.sbmch-dept-page .scroll-top {
  background: var(--sbmch-grad);
  border-radius: 0;
}



/* ----------------------------------------------------------
   3. BASE
---------------------------------------------------------- */

.sbmch-dept {
  color: var(--sbmch-text);
  font-family: var(--sbmch-body);
  font-size: 16px;
  line-height: 1.7;
}

.sbmch-dept * { box-sizing: border-box; }
.sbmch-dept img { max-width: 100%; }
.sbmch-dept a { color: var(--sbmch-accent); transition: color .2s, background .2s, box-shadow .2s, transform .15s; }
.sbmch-dept p { margin: 0 0 12px; line-height: 1.7; }
.sbmch-dept p:last-child { margin-bottom: 0; }

.sbmch-dept h1,
.sbmch-dept h2,
.sbmch-dept h3,
.sbmch-dept h4 {
  color: var(--sbmch-primary-dark);
  font-family: var(--sbmch-head);
  font-weight: 700;
  line-height: 1.25;
}

.sbmch-dept h2 { margin: 0 0 .7rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.sbmch-dept h3 { margin: 0 0 .4rem; font-size: 1.08rem; }

.sbmch-dept section { padding: 76px 0; }
.sbmch-dept .sd-alt { background: var(--sbmch-bg); }
.sbmch-dept .sd-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sbmch-dept .sd-center { text-align: center; }

.sbmch-dept .sd-eyebrow {
  display: block;
  margin-bottom: .6rem;
  color: var(--sbmch-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sbmch-dept .sd-lead { max-width: 760px; margin: 0 0 8px; color: var(--sbmch-muted); font-size: 1rem; }

/* Section intro (eyebrow + h2 + lead directly inside the wrap) is centred */
.sbmch-dept .sd-wrap > .sd-eyebrow,
.sbmch-dept .sd-wrap > h2,
.sbmch-dept .sd-wrap > .sd-lead { text-align: center; }
.sbmch-dept .sd-wrap > .sd-lead { margin-inline: auto; }


/* ----------------------------------------------------------
   4. BUTTONS & LINKS
---------------------------------------------------------- */

.sbmch-dept .sd-cta-row,
.sbmch-dept .sd-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.sbmch-dept .sd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

.sbmch-dept .sd-btn:hover { transform: translateY(-2px); box-shadow: var(--sbmch-shadow-md); }

.sbmch-dept .sd-btn-white { background: #fff; color: var(--sbmch-primary-dark); }
.sbmch-dept .sd-btn-white:hover { color: var(--sbmch-accent); }
.sbmch-dept .sd-btn-primary { background: var(--sbmch-grad); color: #fff; }
.sbmch-dept .sd-btn-primary:hover { color: #fff; }
.sbmch-dept .sd-btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.sbmch-dept .sd-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sbmch-dept .sd-btn-outline { border-color: var(--sbmch-primary); background: #fff; color: var(--sbmch-primary); }
.sbmch-dept .sd-btn-outline:hover { background: var(--sbmch-grad); color: #fff; border-color: transparent; }
.sbmch-dept .sd-btn-dark { background: var(--sbmch-primary-dark); color: #fff; }
.sbmch-dept .sd-btn-dark:hover { color: #fff; }

/* Click-to-call */
.sbmch-dept a.sd-tel { color: var(--sbmch-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.sbmch-dept .sd-hero a.sd-tel,
.sbmch-dept .sd-emergency a.sd-tel,
.sbmch-dept .sd-checkup a.sd-tel,
.sbmch-dept .sd-cta-band a.sd-tel { color: #fff; }


/* ----------------------------------------------------------
   5. HERO
   Top padding clears the fixed MediCare header.
---------------------------------------------------------- */

.sbmch-dept section.sd-hero {
  position: relative;
  padding: 150px 0 120px;
  /* Deep burgundy base with a soft magenta glow (calmer than the bright brand gradient) */
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(210, 24, 125, .28), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(139, 0, 93, .35), transparent 65%),
    linear-gradient(135deg, #3a0025 0%, #560036 48%, #6e0a49 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.sbmch-dept .sd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* Tags and ghost buttons sit on the darker base */
.sbmch-dept .sd-hero .sd-tags span { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); }

@media (max-width: 767px) {
  .sbmch-dept section.sd-hero {
    padding: 120px 0 80px;
    background:
      radial-gradient(420px 320px at 100% 0%, rgba(210, 24, 125, .2), transparent 65%),
      linear-gradient(160deg, #3a0025 0%, #520034 60%, #620842 100%);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  }
}

.sbmch-dept .sd-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.sbmch-dept .sd-hero-copy { flex: 1 1 540px; }

.sbmch-dept .sd-crumbs { margin-bottom: 18px; color: rgba(255, 255, 255, .8); font-size: .8rem; }
.sbmch-dept .sd-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.sbmch-dept .sd-crumbs a:hover { color: #fff; }
.sbmch-dept .sd-crumbs span { margin: 0 6px; }

.sbmch-dept .sd-hero .sd-eyebrow { color: rgba(255, 255, 255, .85); }
.sbmch-dept .sd-hero h1 { margin: 0 0 16px; color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.sbmch-dept .sd-hero-copy > p { max-width: 620px; color: rgba(255, 255, 255, .9); font-size: 1rem; }
.sbmch-dept .sd-hero .sd-cta-row { margin-top: 26px; }

.sbmch-dept .sd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sbmch-dept .sd-tags span { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-size: .8rem; }

/* "At a glance" card */
.sbmch-dept .sd-stat-card {
  flex: 0 1 360px;
  padding: 24px;
  border-top: 4px solid var(--sbmch-accent);
  background: #fff;
  color: var(--sbmch-text);
  box-shadow: var(--sbmch-shadow-lg);
}

.sbmch-dept .sd-stat-card h2 { margin-bottom: 14px; font-size: 1.1rem; text-align: left; }

.sbmch-dept .sd-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.sbmch-dept .sd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 6px 14px;
  border: 1px solid var(--sbmch-border);
  background: var(--sbmch-tint-solid);
  color: var(--sbmch-accent);
  text-align: center;
}

.sbmch-dept .sd-stat small {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
  color: var(--sbmch-primary-dark);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}

.sbmch-dept .sd-hours {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--sbmch-primary);
  background: var(--sbmch-bg);
  font-size: .84rem;
}

.sbmch-dept .sd-hours svg { flex: 0 0 18px; margin-top: 2px; color: var(--sbmch-primary); }
.sbmch-dept .sd-hours strong { display: block; color: var(--sbmch-primary-dark); }
.sbmch-dept .sd-hours span { display: block; color: var(--sbmch-muted); }

.sbmch-dept .sd-stat-call {
  display: block;
  margin-top: 14px;
  padding: 11px;
  background: var(--sbmch-grad);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.sbmch-dept .sd-stat-call:hover { color: #fff; box-shadow: var(--sbmch-shadow-md); }


/* ----------------------------------------------------------
   6. SYMPTOMS + EMERGENCY CALLOUT
---------------------------------------------------------- */

.sbmch-dept .sd-symptoms { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }

.sbmch-dept .sd-symptoms li {
  display: flex;
  flex: 1 1 240px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--sbmch-border);
  background: #fff;
  font-size: .92rem;
  box-shadow: var(--sbmch-shadow-sm);
}

.sbmch-dept .sd-symptoms li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px; background: var(--sbmch-accent); }

.sbmch-dept .sd-emergency {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--sbmch-grad);
  color: #fff;
  font-size: .92rem;
}

.sbmch-dept .sd-emergency > div { flex: 1 1 420px; }
.sbmch-dept .sd-emergency .sd-btn { white-space: nowrap; }


/* ----------------------------------------------------------
   7. ABOUT (split + panel + checklist)
---------------------------------------------------------- */

.sbmch-dept .sd-split { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.sbmch-dept .sd-split > * { flex: 1 1 440px; }

.sbmch-dept .sd-panel { padding: 28px; border: 1px solid var(--sbmch-border); background: #fff; box-shadow: var(--sbmch-shadow-md); }

.sbmch-dept .sd-checklist { margin: 14px 0 0; padding: 0; list-style: none; }

.sbmch-dept .sd-checklist li {
  position: relative;
  padding: 9px 0 9px 32px;
  border-bottom: 1px solid var(--sbmch-border);
  font-size: .95rem;
}

.sbmch-dept .sd-checklist li::before {
  content: "\2713";
  position: absolute;
  top: 9px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--sbmch-tint-solid);
  color: var(--sbmch-accent);
  font-size: .78rem;
  font-weight: 700;
}


/* ----------------------------------------------------------
   8. TABS (each .sd-tab-group works independently)
---------------------------------------------------------- */

.sbmch-dept .sd-tab-group { margin-top: 32px; }

.sbmch-dept .sd-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sbmch-border);
}

.sbmch-dept .sd-tab-btn {
  padding: 9px 15px;
  border: 1px solid var(--sbmch-border);
  border-radius: 0;
  background: #fff;
  color: var(--sbmch-primary-dark);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

.sbmch-dept .sd-tab-btn:hover { border-color: var(--sbmch-accent); }
.sbmch-dept .sd-tab-btn[aria-selected="true"] { border-color: transparent; background: var(--sbmch-grad); color: #fff; }

.sbmch-dept .sd-tab-panel { display: none; padding: 28px 0 0; }
.sbmch-dept .sd-tab-panel.active { display: flex; flex-wrap: wrap; gap: 30px; }

.sbmch-dept .sd-tp-copy { flex: 1 1 420px; padding: 26px; border: 1px solid var(--sbmch-border); background: #fff; box-shadow: var(--sbmch-shadow-sm); }
.sbmch-dept .sd-tp-list { flex: 1 1 340px; padding: 24px 26px; border: 1px solid var(--sbmch-border); background: var(--sbmch-tint); }
.sbmch-dept .sd-tp-list h4 { margin-bottom: 8px; color: var(--sbmch-accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.sbmch-dept .sd-tp-list ul { margin: 0; padding-left: 18px; }
.sbmch-dept .sd-tp-list li { margin: 6px 0; font-size: .95rem; }
.sbmch-dept .sd-tp-list li::marker { color: var(--sbmch-accent); }

/* Numbered equipment / test lists inside tab panels */
.sbmch-dept .sd-equip-cols { flex: 1 1 100%; padding: 26px 30px; border: 1px solid var(--sbmch-border); background: #fff; box-shadow: var(--sbmch-shadow-sm); }
.sbmch-dept .sd-equip-cols ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.sbmch-dept .sd-equip-cols li { margin: 6px 0; font-size: .95rem; break-inside: avoid; }
.sbmch-dept .sd-equip-cols li::marker { color: var(--sbmch-accent); font-weight: 700; }


/* ----------------------------------------------------------
   9. CONDITION CARDS
---------------------------------------------------------- */

.sbmch-dept .sd-cards { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.sbmch-dept .sd-card {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px;
  border: 1px solid var(--sbmch-border);
  background: #fff;
  text-align: center;
  box-shadow: var(--sbmch-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.sbmch-dept .sd-card:hover { transform: translateY(-4px); box-shadow: var(--sbmch-shadow-lg); }
.sbmch-dept .sd-card p { flex: 1; color: var(--sbmch-muted); font-size: .88rem; }
.sbmch-dept .sd-card .sd-more { margin-top: 12px; color: var(--sbmch-accent); font-size: .85rem; font-weight: 600; text-decoration: none; }

.sbmch-dept .sd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border: 1px solid var(--sbmch-border);
  background: var(--sbmch-tint-solid);
  color: var(--sbmch-primary);
}

.sbmch-dept .sd-icon img { width: 26px; height: 26px; }
.sbmch-dept .sd-icon i { font-size: 24px; line-height: 1; }   /* Bootstrap Icons fallback when no SVG is supplied */


/* ----------------------------------------------------------
   10. SUB-SPECIALITIES
---------------------------------------------------------- */

.sbmch-dept .sd-subs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.sbmch-dept .sd-sub {
  flex: 1 1 270px;
  padding: 20px;
  border: 1px solid var(--sbmch-border);
  border-top: 3px solid var(--sbmch-accent);
  background: #fff;
  box-shadow: var(--sbmch-shadow-sm);
}

.sbmch-dept .sd-sub h3 { font-size: .98rem; }
.sbmch-dept .sd-sub p { color: var(--sbmch-muted); font-size: .86rem; }
.sbmch-dept .sd-sub ul { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; }
.sbmch-dept .sd-sub li::marker { color: var(--sbmch-accent); }


/* ----------------------------------------------------------
   11. DOCTORS
---------------------------------------------------------- */

.sbmch-dept .sd-docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 30px; }

.sbmch-dept .sd-doc {
  display: flex;
  flex: 1 1 250px;
  flex-direction: column;
  max-width: 270px;
  padding: 26px 20px;
  border: 1px solid var(--sbmch-border);
  background: #fff;
  text-align: center;
  box-shadow: var(--sbmch-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.sbmch-dept .sd-doc:hover { transform: translateY(-4px); box-shadow: var(--sbmch-shadow-lg); }

.sbmch-dept .sd-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 126px;
  margin: 0 auto 14px;
  overflow: hidden;
  background: var(--sbmch-grad);
  color: #fff;
  font-family: var(--sbmch-head);
  font-size: 1.6rem;
}

.sbmch-dept .sd-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.sbmch-dept .sd-doc h3 { margin-bottom: 2px; font-size: 1rem; }
.sbmch-dept .sd-doc h3 a { color: inherit; text-decoration: none; }
.sbmch-dept .sd-doc h3 a:hover { color: var(--sbmch-accent); }
.sbmch-dept .sd-role { color: var(--sbmch-accent); font-size: .85rem; font-weight: 600; }
.sbmch-dept .sd-qual { flex: 1; margin: 4px 0 16px; color: var(--sbmch-muted); font-size: .82rem; }

/* Buttons stacked: Book Appointment on top, View Profile below, full width */
.sbmch-dept .sd-doc-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.sbmch-dept .sd-doc-book,
.sbmch-dept .sd-doc-profile {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid var(--sbmch-primary);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.sbmch-dept .sd-doc-book { border-color: transparent; background: var(--sbmch-grad); color: #fff; }
.sbmch-dept .sd-doc-book:hover { color: #fff; box-shadow: var(--sbmch-shadow-md); }
.sbmch-dept .sd-doc-profile { background: #fff; color: var(--sbmch-primary); }
.sbmch-dept .sd-doc-profile:hover { background: var(--sbmch-tint-solid); color: var(--sbmch-primary-dark); }

/* Disabled doctor-card actions (SD_DOCTOR_ACTIONS_ENABLED = false in
   departments/includes/department-config.php). Rendered as <span>, not links,
   so they look exactly like the normal buttons but do nothing when clicked. */
.sbmch-dept .sd-doc-book.is-disabled,
.sbmch-dept .sd-doc-profile.is-disabled {
  pointer-events: none;
  user-select: none;
}

.sbmch-dept .sd-docs-empty {
  margin-top: 30px;
  padding: 24px;
  border: 1px dashed var(--sbmch-accent);
  background: #fff;
  text-align: center;
}


/* ----------------------------------------------------------
   12. VISIT STEPS (auto-numbered)
---------------------------------------------------------- */

.sbmch-dept .sd-steps { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; counter-reset: sd-step; }

.sbmch-dept .sd-step {
  position: relative;
  flex: 1 1 230px;
  padding: 26px 22px 22px;
  border: 1px solid var(--sbmch-border);
  background: #fff;
  box-shadow: var(--sbmch-shadow-sm);
  counter-increment: sd-step;
}

.sbmch-dept .sd-step::before {
  content: counter(sd-step);
  position: absolute;
  top: -16px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--sbmch-grad);
  color: #fff;
  font-family: var(--sbmch-head);
  font-weight: 700;
}

.sbmch-dept .sd-step h3 { margin-top: 6px; font-size: 1rem; }
.sbmch-dept .sd-step p { color: var(--sbmch-muted); font-size: .88rem; }


/* ----------------------------------------------------------
   13. HEALTH CHECK-UP BAND
---------------------------------------------------------- */

.sbmch-dept .sd-checkup-section { padding-top: 0; }

.sbmch-dept .sd-checkup {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: var(--sbmch-grad);
  color: #fff;
}

.sbmch-dept .sd-checkup > div { flex: 1 1 380px; }
.sbmch-dept .sd-checkup h2,
.sbmch-dept .sd-checkup h3 { color: #fff; text-align: left; }
.sbmch-dept .sd-checkup .sd-eyebrow { color: rgba(255, 255, 255, .85); }
.sbmch-dept .sd-checkup p,
.sbmch-dept .sd-checkup li { color: rgba(255, 255, 255, .92); font-size: .95rem; }
.sbmch-dept .sd-checkup ul { margin: 10px 0 0; padding-left: 18px; }

.sbmch-dept .sd-hours-box { padding: 24px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); }


/* ----------------------------------------------------------
   14. FAQ
---------------------------------------------------------- */

.sbmch-dept .sd-faq { max-width: 880px; margin: 30px auto 0; }

.sbmch-dept .sd-faq details { margin-bottom: 12px; border: 1px solid var(--sbmch-border); background: #fff; box-shadow: var(--sbmch-shadow-sm); }
.sbmch-dept .sd-faq details[open] { border-left: 3px solid var(--sbmch-accent); }

.sbmch-dept .sd-faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--sbmch-primary-dark);
  font-family: var(--sbmch-head);
  font-size: .98rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.sbmch-dept .sd-faq summary::-webkit-details-marker { display: none; }
.sbmch-dept .sd-faq summary::after { content: "+"; position: absolute; top: 13px; right: 20px; color: var(--sbmch-accent); font-size: 1.4rem; }
.sbmch-dept .sd-faq details[open] summary::after { content: "\2013"; }
.sbmch-dept .sd-faq details p { margin: 0; padding: 0 20px 18px; color: var(--sbmch-muted); font-size: .95rem; }


/* ----------------------------------------------------------
   15. CONTACT + MAP
---------------------------------------------------------- */

.sbmch-dept .sd-contact { display: flex; flex-wrap: wrap; gap: 30px; }
.sbmch-dept .sd-contact > div { flex: 1 1 300px; }
.sbmch-dept .sd-contact h2 { text-align: left; }

.sbmch-dept .sd-contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 0; font-size: .92rem; }
.sbmch-dept .sd-contact dt { color: var(--sbmch-primary-dark); font-weight: 700; }
.sbmch-dept .sd-contact dd { margin: 0; overflow-wrap: anywhere; }
.sbmch-dept .sd-contact dd a { font-weight: 600; text-decoration: none; }

.sbmch-dept .sd-map { min-height: 300px; overflow: hidden; border: 1px solid var(--sbmch-border); box-shadow: var(--sbmch-shadow-md); }
.sbmch-dept .sd-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

.sbmch-dept .sd-disclaimer { padding: 22px 0; color: var(--sbmch-muted); font-size: .8rem; }


/* ----------------------------------------------------------
   16. CTA BAND
---------------------------------------------------------- */

.sbmch-dept .sd-cta-band { padding: 56px 0; background: var(--sbmch-grad); }

.sbmch-dept .sd-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
}

.sbmch-dept .sd-cta-inner .sd-eyebrow { color: rgba(255, 255, 255, .85); }
.sbmch-dept .sd-cta-inner h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); text-align: left; }
.sbmch-dept .sd-cta-inner p { margin-top: 8px; color: #fff; font-size: .92rem; font-weight: 600; }
.sbmch-dept .sd-cta-inner .sd-btns { flex-direction: column; }


/* ----------------------------------------------------------
   17. NOTES / ALERTS
---------------------------------------------------------- */

.sbmch-dept .sd-note {
  margin: 16px 0;
  padding: 10px 14px;
  border-left: 4px solid var(--sbmch-warn-line);
  background: var(--sbmch-warn-bg);
  color: #78350f;
  font-size: .84rem;
}


/* ----------------------------------------------------------
   18. STICKY MOBILE BAR
---------------------------------------------------------- */

.sbmch-dept .sd-mbar { display: none; }


/* ----------------------------------------------------------
   19. RESPONSIVE
---------------------------------------------------------- */

@media (max-width: 1060px) {
  .sbmch-dept .sd-stat-card { flex: 1 1 100%; }
  .sbmch-dept .sd-hero { padding-bottom: 160px; }
}

@media (max-width: 767px) {
  .sbmch-dept section { padding: 52px 0; }
  .sbmch-dept .sd-checkup-section { padding-top: 0; }
  .sbmch-dept .sd-wrap { width: min(1180px, 100% - 32px); }

  .sbmch-dept .sd-hero { padding: 120px 0 80px; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }

  .sbmch-dept .sd-equip-cols ol { columns: 1; }

  .sbmch-dept .sd-tab-list { display: grid; grid-template-columns: 1fr 1fr; }
  .sbmch-dept .sd-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    font-size: .8rem;
    line-height: 1.3;
    text-align: center;
  }
  .sbmch-dept .sd-tab-list .sd-tab-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .sbmch-dept .sd-checkup,
  .sbmch-dept .sd-cta-inner { padding: 26px; }
  .sbmch-dept .sd-doc { max-width: none; }

  .sbmch-dept .sd-mbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: flex;
    background: #fff;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
  }

  .sbmch-dept .sd-mbar a { flex: 1; padding: 14px 6px; font-size: .92rem; font-weight: 700; text-align: center; text-decoration: none; }
  .sbmch-dept .sd-mbar a:first-child { background: var(--sbmch-grad); color: #fff; }
  .sbmch-dept .sd-mbar a:last-child { color: var(--sbmch-primary-dark); }

  body.sbmch-dept-page { padding-bottom: 50px; }
  body.sbmch-dept-page .scroll-top { bottom: 66px; }
}


/* ----------------------------------------------------------
   20. ABOUT PAGE COMPONENTS (about.php)
   Same tokens as the department pages; used by any page that
   needs big-number stats, pillars, a department directory or
   a leadership quote.
---------------------------------------------------------- */

/* Big-number stats inside .sd-stat-card */
.sbmch-dept .sd-num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sbmch-dept .sd-num {
  padding: 16px 10px 14px;
  border: 1px solid var(--sbmch-border);
  background: var(--sbmch-tint-solid);
  text-align: center;
}

.sbmch-dept .sd-num b {
  display: block;
  background: var(--sbmch-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--sbmch-head);
  font-size: 1.9rem;
  line-height: 1.1;
}

.sbmch-dept .sd-num small { display: block; margin-top: 4px; color: var(--sbmch-primary-dark); font-size: .78rem; font-weight: 600; line-height: 1.35; }

/* Vision / Mission / Quality pillars */
.sbmch-dept .sd-pillars { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.sbmch-dept .sd-pillar {
  flex: 1 1 300px;
  padding: 28px 26px;
  border: 1px solid var(--sbmch-border);
  border-top: 4px solid var(--sbmch-accent);
  background: #fff;
  box-shadow: var(--sbmch-shadow-sm);
}

.sbmch-dept .sd-pillar .sd-icon { margin-bottom: 16px; }
.sbmch-dept .sd-pillar p { color: var(--sbmch-muted); font-size: .93rem; }
.sbmch-dept .sd-pillar ul { margin: 4px 0 0; padding: 0; list-style: none; }
.sbmch-dept .sd-pillar li { position: relative; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--sbmch-border); font-size: .93rem; }
.sbmch-dept .sd-pillar li:last-child { border-bottom: 0; }
.sbmch-dept .sd-pillar li::before { content: ""; position: absolute; top: 16px; left: 0; width: 7px; height: 7px; background: var(--sbmch-accent); }

/* Department directory */
.sbmch-dept .sd-dept-group { margin-top: 34px; }
.sbmch-dept .sd-dept-group h3 { color: var(--sbmch-accent); font-size: .78rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; }

.sbmch-dept .sd-depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 14px; }

.sbmch-dept .sd-dept {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--sbmch-border);
  border-left: 3px solid var(--sbmch-accent);
  background: #fff;
  color: var(--sbmch-primary-dark);
  font-family: var(--sbmch-head);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--sbmch-shadow-sm);
}

.sbmch-dept a.sd-dept::after { content: "\2192"; color: var(--sbmch-accent); }
.sbmch-dept a.sd-dept:hover { transform: translateY(-2px); box-shadow: var(--sbmch-shadow-md); color: var(--sbmch-accent); }

/* Leadership quote (CEO) */
.sbmch-dept .sd-ceo {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 30px 32px;
  border: 1px solid var(--sbmch-border);
  border-left: 4px solid var(--sbmch-accent);
  background: #fff;
  box-shadow: var(--sbmch-shadow-md);
}

.sbmch-dept .sd-ceo .sd-avatar { flex: 0 0 110px; margin: 0; }
.sbmch-dept .sd-ceo > div:last-child { flex: 1 1 420px; }
.sbmch-dept .sd-ceo blockquote { margin: 0; color: var(--sbmch-text); font-size: 1.02rem; font-style: italic; }
.sbmch-dept .sd-ceo cite { display: block; margin-top: 12px; color: var(--sbmch-primary-dark); font-style: normal; font-weight: 700; }
.sbmch-dept .sd-ceo cite small { display: block; color: var(--sbmch-accent); font-weight: 600; }

@media (max-width: 767px) {
  .sbmch-dept .sd-ceo { padding: 24px; }
}




/* ============================================================
   INSURANCE / TPA PAGE ONLY — original page styling relocated
   Existing Department, Careers and Contact rules above unchanged.
   ============================================================ */
body.sbmch-dept-page main.sb-insurance{--sb-primary:#850059;--sb-dark:#650041;--sb-tint:#faf2f7;--sb-ink:#29212a;--sb-muted:#706873;--sb-border:#e9e0e7;color:var(--sb-ink);font-family:Inter,Roboto,sans-serif}
body.sbmch-dept-page main.sb-insurance *{box-sizing:border-box}
body.sbmch-dept-page main.sb-insurance a{text-decoration:none}
body.sbmch-dept-page main.sb-insurance section{scroll-margin-top:95px}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero{position:relative;overflow:hidden;padding:28px 0 76px;background:linear-gradient(115deg,#fff 0%,#fff 57%,#fbf5f9 100%);border-bottom:1px solid #f1e9ef}
body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:40px;color:#8a7e89;font-size:13px}
body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb a{color:var(--sb-primary);font-weight:700}
body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb i{font-size:10px;color:#b5a8b2}
body.sbmch-dept-page main.sb-insurance .sb-ins-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--sb-primary);font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
body.sbmch-dept-page main.sb-insurance .sb-ins-kicker:before{content:"";width:25px;height:2px;background:#b67a9c}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1{max-width:720px;margin:17px 0 18px;font-size:clamp(38px,4.5vw,58px);line-height:1.08;font-weight:800;letter-spacing:-1.8px;color:var(--sb-ink)}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1 em{font-style:normal;color:var(--sb-primary)}
body.sbmch-dept-page main.sb-insurance .sb-ins-lead{max-width:650px;margin:0;color:var(--sb-muted);font-size:16px;line-height:1.85}
body.sbmch-dept-page main.sb-insurance .sb-ins-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:27px}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border-radius:7px;font-size:13px;font-weight:750;transition:.2s ease}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-primary{background:var(--sb-primary);color:#fff;box-shadow:0 8px 20px #85005920}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-primary:hover{background:var(--sb-dark);color:#fff;transform:translateY(-2px)}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-outline{border:1px solid #e1cbd9;color:var(--sb-primary);background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-outline:hover{border-color:var(--sb-primary);color:var(--sb-dark)}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero-art{position:relative;min-height:285px;display:flex;align-items:center;justify-content:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-orbit{position:absolute;border:1px solid #85005920;border-radius:50%;width:265px;height:265px}
body.sbmch-dept-page main.sb-insurance .sb-ins-orbit:before, body.sbmch-dept-page main.sb-insurance .sb-ins-orbit:after{content:"";position:absolute;border:1px dashed #85005928;border-radius:50%;inset:24px}
body.sbmch-dept-page main.sb-insurance .sb-ins-orbit:after{inset:49px;border-style:solid}
body.sbmch-dept-page main.sb-insurance .sb-ins-shield{position:relative;width:145px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;clip-path:polygon(50% 0,91% 15%,88% 62%,72% 83%,50% 100%,28% 83%,12% 62%,9% 15%);background:linear-gradient(145deg,#99066b,#650041);color:#fff;filter:drop-shadow(0 20px 20px #85005926);text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-shield i{font-size:38px;margin-bottom:8px}
body.sbmch-dept-page main.sb-insurance .sb-ins-shield span{font-size:10px;font-weight:800;letter-spacing:1.2px;line-height:1.5}
body.sbmch-dept-page main.sb-insurance .sb-ins-section{padding:76px 0;background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-section-tint{background:#faf7f9;border-top:1px solid #f0e7ed;border-bottom:1px solid #f0e7ed}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro{max-width:700px;margin:0 auto 36px;text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro h2{margin:13px 0 12px;font-size:clamp(28px,3vw,39px);line-height:1.2;font-weight:800;letter-spacing:-.8px}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro p{margin:0;color:var(--sb-muted);font-size:15px;line-height:1.8}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature{height:100%;padding:26px 23px;border:1px solid var(--sb-border);border-radius:12px;background:#fff;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature:hover{transform:translateY(-4px);border-color:#d9b7cb;box-shadow:0 14px 32px #39172a0c}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:13px;background:#f5e8f0;color:var(--sb-primary);font-size:22px;margin-bottom:18px}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature h3{font-size:17px;font-weight:800;margin:0 0 9px}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature p{font-size:13px;line-height:1.75;color:var(--sb-muted);margin:0}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap{padding:34px;border:1px solid var(--sb-ins-border,var(--sb-border));border-radius:15px;background:#fff;box-shadow:0 14px 45px #2b16250e}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap h3{font-size:25px;font-weight:800;margin:8px 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap>p{font-size:13px;line-height:1.7;color:var(--sb-muted);margin-bottom:24px}
body.sbmch-dept-page main.sb-insurance .sb-ins-form label{display:block;font-size:12px;font-weight:750;margin-bottom:7px;color:#39313a}
body.sbmch-dept-page main.sb-insurance .sb-ins-form .form-control, body.sbmch-dept-page main.sb-insurance .sb-ins-form .form-select{min-height:48px;border:1px solid #e7dfe5;border-radius:7px;background:#fcfafc;font-size:13px;padding:12px 13px;box-shadow:none}
body.sbmch-dept-page main.sb-insurance .sb-ins-form textarea.form-control{min-height:105px}
body.sbmch-dept-page main.sb-insurance .sb-ins-form .form-control:focus, body.sbmch-dept-page main.sb-insurance .sb-ins-form .form-select:focus{border-color:var(--sb-primary);box-shadow:0 0 0 3px #85005916;background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-form .sb-ins-submit{width:100%;border:0;border-radius:7px;min-height:50px;background:var(--sb-primary);color:#fff;font-weight:800;font-size:14px}
body.sbmch-dept-page main.sb-insurance .sb-ins-form .sb-ins-submit:hover{background:var(--sb-dark)}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-note{font-size:11px;color:#918691;text-align:center;margin:12px 0 0;line-height:1.6}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel{height:100%;padding:34px;border-radius:14px;background:linear-gradient(150deg,#850059,#650041);color:#fff;position:relative;overflow:hidden}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel:after{content:"";position:absolute;width:220px;height:220px;border:1px solid #ffffff20;border-radius:50%;right:-95px;bottom:-95px;box-shadow:0 0 0 25px #ffffff08,0 0 0 50px #ffffff05}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel .sb-ins-kicker{color:#f3dce9}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel h2{font-size:30px;font-weight:800;line-height:1.2;margin:15px 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel>p{font-size:14px;line-height:1.85;color:#f3e8ef}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-list{list-style:none;padding:0;margin:25px 0 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-list li{display:flex;gap:12px;margin:15px 0;font-size:13px;line-height:1.6;color:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-list i{font-size:18px;color:#f1cfe1;flex:0 0 auto}
body.sbmch-dept-page main.sb-insurance .sb-ins-contact-line{display:flex;gap:12px;align-items:center;margin-top:24px;padding-top:20px;border-top:1px solid #ffffff30}
body.sbmch-dept-page main.sb-insurance .sb-ins-contact-line i{font-size:22px;color:#f1cfe1}
body.sbmch-dept-page main.sb-insurance .sb-ins-contact-line small{display:block;color:#ead6e2;font-size:11px}
body.sbmch-dept-page main.sb-insurance .sb-ins-contact-line strong{display:block;color:#fff;font-size:15px;overflow-wrap:anywhere}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner{height:100%;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:14px;padding:22px 18px 17px;border:1px solid var(--sb-border);border-radius:13px;background:#fff;text-align:center;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;box-shadow:0 5px 18px #39172a08}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner:hover{border-color:#d8b5ca;box-shadow:0 14px 30px #39172a12;transform:translateY(-4px)}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-logo{height:105px;width:100%;display:flex;align-items:center;justify-content:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-name{width:100%;padding-top:12px;border-top:1px solid #f0e8ee;color:var(--sb-ink);font-size:12px;font-weight:800;line-height:1.45}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-tag{display:block;margin-top:4px;color:var(--sb-primary);font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
body.sbmch-dept-page main.sb-insurance .sb-ins-note{display:flex;gap:13px;padding:18px 20px;border:1px solid #eadce5;border-radius:10px;background:#fcf8fb;color:#625560;font-size:12px;line-height:1.75;margin-top:24px}
body.sbmch-dept-page main.sb-insurance .sb-ins-note i{font-size:21px;color:var(--sb-primary);flex:0 0 auto}
body.sbmch-dept-page main.sb-insurance .sb-ins-exclusion{display:flex;gap:13px;align-items:flex-start;height:100%;padding:19px;border:1px solid var(--sb-border);border-radius:10px;background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-exclusion i{font-size:19px;color:var(--sb-primary);margin-top:2px}
body.sbmch-dept-page main.sb-insurance .sb-ins-exclusion p{margin:0;font-size:13px;line-height:1.7;color:#5f5660}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq{max-width:900px;margin:0 auto}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-item{border:1px solid var(--sb-border)!important;border-radius:9px!important;margin-bottom:11px;overflow:hidden;background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-button{font-size:14px;font-weight:750;color:var(--sb-ink);padding:19px 21px;box-shadow:none;background:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-button:not(.collapsed){color:var(--sb-primary);background:#fcf8fb}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-button:after{filter:sepia(1) saturate(4) hue-rotate(265deg)}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-body{font-size:13px;line-height:1.85;color:var(--sb-muted);padding:0 21px 20px}
body.sbmch-dept-page main.sb-insurance .sb-ins-disclaimer{padding:20px 0;background:#f5eff3;color:#746774;font-size:11px;line-height:1.8}
body.sbmch-dept-page main.sb-insurance .sb-ins-disclaimer strong{color:var(--sb-primary)}
@media (max-width:991px){body.sbmch-dept-page main.sb-insurance .sb-ins-hero{padding-bottom:55px}
body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb{margin-bottom:30px}
body.sbmch-dept-page main.sb-insurance .sb-ins-section{padding:60px 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero-art{min-height:230px}
body.sbmch-dept-page main.sb-insurance .sb-ins-orbit{width:220px;height:220px}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap, body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel{padding:27px}}
@media (max-width:575px){body.sbmch-dept-page main.sb-insurance .sb-ins-hero{padding:22px 0 44px}
body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb{font-size:12px;margin-bottom:25px}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1{font-size:38px;letter-spacing:-1.1px}
body.sbmch-dept-page main.sb-insurance .sb-ins-lead{font-size:14px}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero-art{min-height:200px}
body.sbmch-dept-page main.sb-insurance .sb-ins-orbit{width:190px;height:190px}
body.sbmch-dept-page main.sb-insurance .sb-ins-shield{transform:scale(.88)}
body.sbmch-dept-page main.sb-insurance .sb-ins-section{padding:48px 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro{margin-bottom:26px}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature{padding:22px 19px}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap, body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel{padding:23px 18px}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel h2{font-size:26px}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn{padding:13px 16px}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner{min-height:165px;padding:16px 12px 13px}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-logo{height:88px}
body.sbmch-dept-page main.sb-insurance .sb-ins-partner-name{font-size:11px}}
/* Insurance-page-only design refinements. Global department/home CSS is unchanged. */
body.sbmch-dept-page main.sb-insurance{--sb-primary:#850059;--sb-dark:#650041;--sb-ink:#322533;--sb-muted:#706873;--sb-border:#eadfe7}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero{background:linear-gradient(120deg,#fff 0%,#fff 55%,#fcf3f9 100%)}
body.sbmch-dept-page main.sb-insurance .sb-ins-kicker, body.sbmch-dept-page main.sb-insurance .sb-ins-breadcrumb a{color:var(--sb-primary)}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1 em{color:var(--sb-primary)}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-primary, body.sbmch-dept-page main.sb-insurance .sb-ins-form .sb-ins-submit{background:var(--sb-primary)}
body.sbmch-dept-page main.sb-insurance .sb-ins-btn-primary:hover, body.sbmch-dept-page main.sb-insurance .sb-ins-form .sb-ins-submit:hover{background:var(--sb-dark)}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature, body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap, body.sbmch-dept-page main.sb-insurance .sb-ins-partner, body.sbmch-dept-page main.sb-insurance .sb-ins-exclusion{border-radius:16px}
body.sbmch-dept-page main.sb-insurance .sb-ins-feature-icon{background:#faedf5;color:var(--sb-primary)}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel{background:linear-gradient(145deg,#850059,#650041)}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro h2, body.sbmch-dept-page main.sb-insurance .sb-ins-feature h3{color:var(--sb-dark)}
body.sbmch-dept-page main.sb-insurance .sb-ins-faq .accordion-button:not(.collapsed){color:var(--sb-primary)}
/* Provider logos only: seamless marquee, duplicated once for continuous travel. */
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-carousel{position:relative;overflow:hidden;width:100%;padding:14px 0}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-track{display:flex;width:max-content;animation:sbInsLogoScroll 27s linear infinite;will-change:transform}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-carousel:hover .sb-ins-logo-track, body.sbmch-dept-page main.sb-insurance .sb-ins-logo-carousel:focus-within .sb-ins-logo-track{animation-play-state:paused}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-group{display:flex;align-items:center;gap:24px;padding-right:24px;flex:0 0 auto}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-item{width:180px;height:110px;flex:0 0 180px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--sb-border);border-radius:14px;padding:18px;box-shadow:0 5px 16px rgba(71,18,51,.04)}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-item img{display:block;width:100%;height:100%;max-width:150px;max-height:78px;object-fit:contain}
@keyframes sbInsLogoScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:767px){body.sbmch-dept-page main.sb-insurance .sb-ins-logo-group{gap:14px;padding-right:14px}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-item{width:135px;height:86px;flex-basis:135px;padding:12px}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-item img{max-width:112px;max-height:62px}
body.sbmch-dept-page main.sb-insurance .sb-ins-intro{text-align:center}}
@media (max-width:480px){body.sbmch-dept-page main.sb-insurance .sb-ins-logo-item{width:120px;height:78px;flex-basis:120px}}
@media (prefers-reduced-motion:reduce){body.sbmch-dept-page main.sb-insurance .sb-ins-logo-track{animation:none}
body.sbmch-dept-page main.sb-insurance .sb-ins-logo-carousel{overflow-x:auto}}
/* Hero clearance below the fixed navigation — insurance page only. */
body.sbmch-dept-page main.sb-insurance .sb-ins-hero{padding-top:125px}
@media (max-width:767px){body.sbmch-dept-page main.sb-insurance .sb-ins-hero{padding-top:105px}}
/* Targeted insurance-page refinements — no global CSS changes. */
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel h2{color:#fff}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel .sb-ins-kicker{color:#f3dce9}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-note a{color:#850059;text-decoration:underline;text-underline-offset:2px;font-weight:700}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-note a:hover{color:#650041}
@media (max-width:767px){body.sbmch-dept-page main.sb-insurance .sb-ins-hero .col-lg-8{text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1{margin-left:auto;margin-right:auto;text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero .sb-ins-lead{margin-left:auto;margin-right:auto;text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero .sb-ins-actions{justify-content:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap{text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap .sb-ins-kicker{justify-content:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap h3, body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap>p{text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap .sb-ins-form{text-align:left}
body.sbmch-dept-page main.sb-insurance .sb-ins-form-wrap .sb-ins-form-note{text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-final-cta .col-lg-8{text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-final-cta .col-lg-8 .sb-ins-kicker{justify-content:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-final-cta .col-lg-8 p{margin-left:auto!important;margin-right:auto!important;text-align:center}
body.sbmch-dept-page main.sb-insurance .sb-ins-final-cta .col-lg-4{text-align:center}}

/* Insurance typography — inherit the Department standard, while
   preserving intentional white text on the dark insurance help panel. */
body.sbmch-dept-page main.sb-insurance {
  font-family:var(--sbmch-body,"Inter",sans-serif);
}
body.sbmch-dept-page main.sb-insurance :is(h1,h2,h3,h4,h5,h6) {
  font-family:var(--sbmch-head,"Poppins","Inter",sans-serif);
  font-weight:700;
  line-height:1.25;
  color:#650041;
  letter-spacing:normal;
}
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1 {
  font-size:clamp(2rem,4.4vw,3rem);
}
body.sbmch-dept-page main.sb-insurance :is(.sb-ins-intro h2,.sb-ins-help-panel h2,.sb-ins-final-cta h2) {
  font-size:clamp(1.6rem,3vw,2.3rem);
}
body.sbmch-dept-page main.sb-insurance :is(.sb-ins-feature h3,.sb-ins-form-wrap h3) {
  font-size:1.08rem;
}
body.sbmch-dept-page main.sb-insurance .sb-ins-help-panel h2 { color:#fff; }
body.sbmch-dept-page main.sb-insurance .sb-ins-hero h1 em {color:var(--sb-primary);}


/* =====================================================================
   SBMCH SHARED TYPOGRAPHY AUDIT FIX — 2026-11-19
   APPENDED ONLY: all existing Department, Careers, Contact and Insurance
   rules above remain byte-for-byte unchanged.
   Page-scoped font families only; no spacing, colour, sizing, layout,
   animation, or interaction changes. Does not style the shared header.
   ===================================================================== */

/* Department font tokens are already declared in this stylesheet.
   Match the body copy, links, labels and form controls to Inter across
   the pages using the shared stylesheet. */
body.sbmch-home-page main,
body.career-page main.sbmch-dept,
body.sbmch-dept-page main.sbmch-contact-page,
body.sbmch-dept-page main.sb-insurance {
  font-family: var(--sbmch-body, "Inter", sans-serif);
}

/* Override explicit font-family declarations from home.css/main.css,
   without altering component styles or icon-font elements. */
body.sbmch-home-page main :is(p, li, a, label, small, blockquote, button, input, select, textarea),
body.career-page main.sbmch-dept :is(p, li, a, label, small, blockquote, button, input, select, textarea),
body.sbmch-dept-page main.sbmch-contact-page :is(p, li, a, label, small, blockquote, button, input, select, textarea),
body.sbmch-dept-page main.sb-insurance :is(p, li, a, label, small, blockquote, button, input, select, textarea) {
  font-family: var(--sbmch-body, "Inter", sans-serif) !important;
}

/* Headings only: Poppins. Existing page-specific heading sizes, weights,
   colours and dark-panel contrast remain untouched. */
body.sbmch-home-page main :is(h1, h2, h3, h4, h5, h6),
body.career-page main.sbmch-dept :is(h1, h2, h3, h4, h5, h6),
body.sbmch-dept-page main.sbmch-contact-page :is(h1, h2, h3, h4, h5, h6),
body.sbmch-dept-page main.sb-insurance :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--sbmch-head, "Poppins", "Inter", sans-serif) !important;
}


/* ##########################################################
   D. MEDIA CENTRE (was media-centre.css)
   ########################################################## */

/* ==========================================================
   SBMCH - MEDIA CENTRE: INFRASTRUCTURE & FACILITIES
   Gallery-style page built on department.css brand tokens.
   Load AFTER main.css and department.css.
========================================================== */

.mc-page { --mc-ink: #4a0030; --mc-line: rgba(255, 255, 255, .18); }
.mc-main { overflow-x: clip; }
.mc-main section { padding: 84px 0; }

/* ---------- Gentle reveal on scroll (media-centre.js adds .is-in) ---------- */

.mc-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.mc-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Skeleton placeholder + image fade-in ---------- */

.mc-ph {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(100deg, #f3e8ef 30%, #fbf4f8 50%, #f3e8ef 70%) 0 0 / 300% 100%;
  animation: mc-shimmer 1.4s linear infinite;
}
.mc-ph.is-loaded { animation: none; background: #f3e8ef; }
.mc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, opacity .4s ease; }
.mc-js .mc-ph img { opacity: 0; }
.mc-js .mc-ph.is-loaded img { opacity: 1; }
@keyframes mc-shimmer { to { background-position: -300% 0; } }

/* =========================================================
   HERO - immersive full-bleed photograph
========================================================= */

.sbmch-dept .mc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 82vh, 780px);
  padding: 150px 0 0;
  background: var(--sbmch-grad);
  color: #fff;
  isolation: isolate;
}

.mc-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: mc-kenburns 18s ease-out both;
}
@keyframes mc-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.mc-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(74, 0, 48, .94) 0%, rgba(101, 0, 65, .55) 34%, rgba(101, 0, 65, 0) 64%),
    linear-gradient(90deg, rgba(60, 0, 39, .78) 0%, rgba(60, 0, 39, .25) 50%, rgba(60, 0, 39, 0) 75%);
}

.sbmch-dept .mc-hero-inner { position: relative; width: min(1320px, 100% - 40px); padding-bottom: 0; }
.mc-hero-inner > p { max-width: 600px; margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.sbmch-dept .mc-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.sbmch-dept .mc-hero .sd-eyebrow,
.sbmch-dept .mc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(6px);
}
.mc-hero .sd-crumbs { margin-bottom: 22px; }
.mc-hero .sd-crumbs span[aria-current] { margin: 0; color: #fff; }

/* Quick links strip along the bottom of the hero */
.mc-hero-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 300px));
  margin-top: 40px;
  border-top: 1px solid var(--mc-line);
}
.mc-hero-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 22px 0;
  color: #fff;
  text-decoration: none;
}
.mc-hero-links a + a { padding-left: 24px; border-left: 1px solid var(--mc-line); }
.mc-hero-links i {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--sbmch-grad);
  font-size: 1.2rem;
  transition: transform .25s;
}
.mc-hero-links strong { display: block; font-family: var(--sbmch-head); font-size: 1rem; }
.mc-hero-links small { display: block; color: rgba(255, 255, 255, .7); font-size: .8rem; }
.mc-hero-links a:hover i { transform: translateY(-3px); }
.mc-hero-links a:hover strong { color: var(--sbmch-accent-light); }

/* =========================================================
   INTRODUCTION - split layout
========================================================= */

.mc-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sbmch-dept .mc-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sbmch-dept .mc-intro h2 span { color: var(--sbmch-accent); }
.sbmch-dept .mc-intro .sd-eyebrow,
.sbmch-dept .mc-intro h2 { text-align: left; }
.mc-intro .sd-lead { margin-bottom: 26px; }

.mc-intro-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: var(--sbmch-shadow-lg); }
.mc-intro-media img { width: 100%; height: 100%; object-fit: cover; }

.mc-intro-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--sbmch-border);
  border: 1px solid var(--sbmch-border);
  box-shadow: var(--sbmch-shadow-md);
}
.mc-intro-points li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px 26px;
  background: #fff;
  transition: background .25s;
}
.mc-intro-points li:hover { background: var(--sbmch-tint-solid); }
.mc-intro-points i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  background: var(--sbmch-tint-solid);
  color: var(--sbmch-primary);
  font-size: 1.35rem;
}
.mc-intro-points strong { color: var(--sbmch-primary-dark); font-family: var(--sbmch-head); font-size: 1.02rem; }
.mc-intro-points span { color: var(--sbmch-muted); font-size: .88rem; }

/* =========================================================
   GALLERY - dark, full-width photo wall
========================================================= */

.sbmch-dept .mc-gallery {
  position: relative;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(210, 24, 125, .09), transparent 65%),
    radial-gradient(700px 380px at 0% 100%, rgba(139, 0, 93, .06), transparent 65%),
    linear-gradient(180deg, #fdf8fb 0%, #f7eff4 100%);
  color: var(--sbmch-text);
}

/* thin brand line across the top of the gallery */
.sbmch-dept .mc-gallery::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--sbmch-grad);
}

.mc-gallery-wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }

.mc-gallery-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}
.sbmch-dept .mc-gallery h2 { margin: 0; color: var(--sbmch-primary-dark); font-size: clamp(2rem, 4vw, 3.1rem); }
.sbmch-dept .mc-gallery .sd-eyebrow { color: var(--sbmch-accent); }
.sbmch-dept .mc-gallery .sd-lead { margin: 0; color: var(--sbmch-muted); }

/* Sticky filter bar */
.mc-filters-bar {
  position: sticky;
  top: 108px;
  z-index: 20;
  margin: 0 0 26px;
  padding: 10px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid #efe2ea;
  box-shadow: 0 10px 30px rgba(101, 0, 65, .07);
}

.mc-filters-bar { display: flex; align-items: center; gap: 6px; }

/* Desktop & tablet: every category is visible - the chips wrap onto extra lines */
.mc-filters {
  position: relative;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

/* Arrow buttons (used only when the row scrolls, i.e. on phones) */
.mc-filters-nav {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 40px;
  padding: 0;
  border: 1px solid #efe2ea;
  background: #fff;
  color: var(--sbmch-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mc-filters-nav:hover { background: var(--sbmch-grad); color: #fff; border-color: transparent; }
.mc-filters-nav[hidden] { display: none; }

.mc-filter {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #efe2ea;
  background: #fff;
  color: var(--sbmch-text);
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.mc-filter i { color: var(--sbmch-accent); font-size: .95rem; }
.mc-filter:hover { border-color: var(--sbmch-accent); color: var(--sbmch-primary); box-shadow: 0 4px 12px rgba(139, 0, 93, .08); }
.mc-filter.is-upcoming { color: #6b6f78; }
.mc-filter.is-active { background: var(--sbmch-grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(139, 0, 93, .25); }
.mc-filter.is-active i { color: #fff; }

.mc-count { min-width: 22px; padding: 1px 6px; background: var(--sbmch-tint-solid); color: var(--sbmch-primary); font-size: .72rem; text-align: center; }
.mc-filter.is-active .mc-count { background: rgba(255, 255, 255, .22); color: #fff; }

.mc-filter:focus-visible,
.mc-card-btn:focus-visible,
.mc-video-link:focus-visible {
  outline: 3px solid var(--sbmch-accent);
  outline-offset: 3px;
}
.mc-hero-links a:focus-visible { outline: 3px solid var(--sbmch-accent-light); outline-offset: 3px; }

.mc-cat-intro { max-width: 760px; margin: 0 0 24px; padding-left: 16px; border-left: 3px solid var(--sbmch-accent); }
.mc-cat-intro[hidden] { display: none; }
.sbmch-dept .mc-cat-heading { margin: 0 0 4px; color: var(--sbmch-primary-dark); font-size: 1.35rem; }
.mc-cat-desc { margin: 0; color: var(--sbmch-muted); font-size: .95rem; }

/* Photo wall */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 14px;
}

.mc-card,
.mc-tile { position: relative; margin: 0; overflow: hidden; }
.mc-card {
  background: #fff;
  box-shadow: 0 12px 32px rgba(101, 0, 65, .12);
  outline: 1px solid rgba(255, 255, 255, .6);
  outline-offset: -7px; /* fine inner frame, gallery style */
}
.mc-card[hidden],
.mc-tile[hidden] { display: none; }
.mc-card.is-entering,
.mc-tile.is-entering { animation: mc-in .4s ease both; }
@keyframes mc-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.mc-card--large { grid-column: span 2; grid-row: span 2; }
.mc-card--wide { grid-column: span 2; }
.mc-card--tall { grid-row: span 2; }

/* A lone visible item (e.g. one category selected) is shown wide */
.mc-grid.is-solo > :not([hidden]) { grid-column: 1 / -1; grid-row: span 2; }

.mc-card-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mc-card-btn:hover .mc-ph img,
.mc-card-btn:focus-visible .mc-ph img { transform: scale(1.06); }

.mc-card-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 60px 20px 18px;
  background: linear-gradient(0deg, rgba(74, 0, 48, .9), rgba(101, 0, 65, .45) 55%, transparent);
  color: #fff;
  pointer-events: none;
}
.mc-card-cap strong { font-family: var(--sbmch-head); font-size: 1.05rem; line-height: 1.3; }
.mc-card--large .mc-card-cap strong { font-size: 1.4rem; }
.mc-card-cat { color: var(--sbmch-accent-light); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mc-card-desc { color: rgba(255, 255, 255, .82); font-size: .84rem; line-height: 1.45; }

.mc-card-view {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .95);
  color: var(--sbmch-primary);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s, transform .25s;
}
.mc-card-btn:hover .mc-card-view,
.mc-card-btn:focus-visible .mc-card-view { opacity: 1; transform: none; }
@media (hover: none) { .mc-card-view { opacity: 1; transform: none; } }

/* "Photos coming soon" facility tiles */
.mc-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  border: 1px solid #f0e1ea;
  background: linear-gradient(160deg, #ffffff 0%, #fdf3f8 100%);
  color: var(--sbmch-text);
  box-shadow: 0 6px 18px rgba(101, 0, 65, .05);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.mc-tile--1 { background: linear-gradient(160deg, #ffffff 0%, #f8eef6 100%); }
.mc-tile--2 { background: linear-gradient(160deg, #fffafd 0%, #fbeef4 100%); }
.mc-tile--3 { background: linear-gradient(160deg, #ffffff 0%, #f6f0f7 100%); }

/* brand accent bar that grows on hover */
.mc-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--sbmch-grad);
  transform: scaleY(.35);
  transform-origin: bottom;
  transition: transform .35s ease;
  pointer-events: none;
}
.mc-tile:hover { transform: translateY(-3px); border-color: #e8c9db; box-shadow: 0 16px 34px rgba(101, 0, 65, .12); }
.mc-tile:hover::before { transform: scaleY(1); }

.mc-tile-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(139, 0, 93, .07);
  color: var(--sbmch-primary);
  font-size: 1.9rem;
  line-height: 1;
  transition: background .3s, color .3s, transform .3s;
}
.mc-tile:hover .mc-tile-icon { background: var(--sbmch-grad); color: #fff; transform: scale(1.05); }
.sbmch-dept .mc-tile-title { position: relative; margin: 0; color: var(--sbmch-primary-dark); font-size: 1.1rem; }
.sbmch-dept .mc-tile-desc {
  position: relative;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--sbmch-muted);
  font-size: .82rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.mc-tile-soon {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--sbmch-tint-solid);
  color: var(--sbmch-primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.mc-grid.is-solo .mc-tile { align-items: center; justify-content: center; text-align: center; }
.mc-grid.is-solo .mc-tile-soon { align-self: center; }
.mc-grid.is-solo .mc-tile-icon { position: static; width: 88px; height: 88px; margin-bottom: 8px; font-size: 2.6rem; }

/* =========================================================
   FEATURED SHOWCASE
========================================================= */

.mc-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 34px;
}
.mc-show-item { position: relative; margin: 0; overflow: hidden; grid-column: span 2; }
.mc-show-item--1 { grid-column: span 4; grid-row: span 2; }
.mc-showcase-grid--4 .mc-show-item--4 { grid-column: span 6; }
.mc-showcase-grid--5 .mc-show-item--4,
.mc-showcase-grid--5 .mc-show-item--5 { grid-column: span 3; }

/* =========================================================
   VIDEO GALLERY
========================================================= */

.mc-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.mc-video { margin: 0; background: #fff; box-shadow: var(--sbmch-shadow-sm); }
.mc-video--main { grid-column: 1 / -1; }
.mc-video-link { position: relative; display: block; aspect-ratio: 16 / 9; }
.mc-video figcaption { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; }
.mc-video figcaption strong { color: var(--sbmch-primary-dark); font-family: var(--sbmch-head); }
.mc-video figcaption span { color: var(--sbmch-muted); font-size: .88rem; }
.mc-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--sbmch-primary);
  font-size: 2.3rem;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .25s;
}
.mc-video-link:hover .mc-play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Lightbox (GLightbox) brand touches ---------- */

.glightbox-container .gslide-description { background: #1b0612; }
.glightbox-clean .gslide-title { margin-bottom: 4px; color: #fff; font-family: var(--sbmch-head); }
.glightbox-clean .gslide-desc { color: rgba(255, 255, 255, .8); }
.glightbox-clean .gdesc-inner { padding: 14px 20px; }
.mc-lb-counter { display: block; margin-top: 6px; color: var(--sbmch-accent-light); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
  .mc-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .mc-filters-bar { top: 82px; }
}

@media (max-width: 991px) {
  .mc-main section { padding: 64px 0; }
  .mc-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .mc-gallery-head { grid-template-columns: 1fr; gap: 12px; }
  .mc-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .mc-showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .mc-show-item,
  .mc-showcase-grid--4 .mc-show-item--4,
  .mc-showcase-grid--5 .mc-show-item--4,
  .mc-showcase-grid--5 .mc-show-item--5 { grid-column: span 1; }
  .mc-show-item--1 { grid-column: 1 / -1; grid-row: span 2; }
  .mc-video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .sbmch-dept .mc-hero { min-height: 560px; padding-top: 120px; }
  .mc-hero-inner > p { font-size: 1rem; }
  .mc-hero-links { grid-template-columns: 1fr; margin-top: 26px; }
  .mc-hero-links a { padding: 14px 0; }
  .mc-hero-links a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--mc-line); }
  .mc-hero-links i { width: 40px; height: 40px; }
  .mc-intro-points li { padding: 22px 18px; }
  .mc-filters-bar { top: 70px; padding: 8px; }

  /* Phones: one scrollable row, with arrows and faded edges hinting at more */
  .mc-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .mc-filters::-webkit-scrollbar { display: none; }
  .mc-filter { scroll-snap-align: start; }
  .mc-filters-bar.can-right .mc-filters { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mc-filters-bar.can-left .mc-filters { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
  .mc-filters-bar.can-left.can-right .mc-filters { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
}

@media (max-width: 575px) {
  .mc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 8px; }
  .mc-card--large,
  .mc-card--wide { grid-column: 1 / -1; }
  .mc-card--large { grid-row: span 2; }
  .mc-tile { padding: 14px; }
  .mc-tile-icon { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 1.25rem; }
  .sbmch-dept .mc-tile-title { font-size: .95rem; }
  .sbmch-dept .mc-tile-desc { display: none; }
  .mc-tile-soon { padding: 3px 7px; font-size: .62rem; white-space: nowrap; }
  .mc-tile-soon i { display: none; }
  .mc-intro-points { grid-template-columns: 1fr 1fr; }
  .mc-showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mc-show-item--1 { grid-row: span 1; }
  .mc-video-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .mc-ph,
  .mc-hero-img { animation: none; }
  .mc-ph img,
  .mc-card-view,
  .mc-play,
  .mc-tile,
  .mc-tile-icon { transition: none; }
  .mc-card-btn:hover .mc-ph img { transform: none; }
  .mc-card.is-entering,
  .mc-tile.is-entering { animation: none; }
  .mc-tile:hover { transform: none; }
  .mc-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}


/* ##########################################################
   E. PAGE-ONLY STYLES (moved from each page's <style> block)
   ########################################################## */

/* ---- blogs.php (page only: body.page-blogs) ---- */
/* SBMCH Blog design — uses brand tokens from department.css */

/* Site-level tokens are supplied by /assets/css/department.css. */
body.page-blogs.sbmch-dept-page .sbmch-blog-page,
body.page-blogs.sbmch-dept-page .sbmch-article-page {
 --blog-primary: var(--sbmch-primary, #8B005D);
 --blog-dark: var(--sbmch-primary-dark, #650041);
 --blog-accent: var(--sbmch-accent, #D2187D);
 --blog-text: var(--sbmch-text, #242424);
 --blog-muted: var(--sbmch-muted, #5f666e);
 --blog-bg: var(--sbmch-bg, #F7F5F7);
 --blog-border: var(--sbmch-border, #ece7ec);
 --blog-tint: var(--sbmch-tint-solid, #FBF0F6);
 --blog-shadow: var(--sbmch-shadow-sm, 0 4px 12px rgba(35,20,42,.05));
 background:var(--blog-bg); color:var(--blog-text);
 padding:clamp(112px,11vw,148px) 0 72px;
 font-family:var(--sbmch-body, Inter, sans-serif);
}
body.page-blogs.sbmch-dept-page .sbmch-blog-page h1,
body.page-blogs.sbmch-dept-page .sbmch-blog-page h2,
body.page-blogs.sbmch-dept-page .sbmch-article-page h1,
body.page-blogs.sbmch-dept-page .sbmch-article-page h2,
body.page-blogs.sbmch-dept-page .sbmch-article-page h3 {font-family:var(--sbmch-head,Inter,sans-serif);}
body.page-blogs.sbmch-dept-page .sbmch-blog-page a:focus-visible,
body.page-blogs.sbmch-dept-page .sbmch-article-page a:focus-visible,
body.page-blogs.sbmch-dept-page .sbmch-blog-page button:focus-visible {outline:3px solid var(--blog-accent);outline-offset:3px;}
body.page-blogs.sbmch-dept-page .sbmch-blog-page .blog-emergency,
body.page-blogs.sbmch-dept-page .sbmch-article-page .emergency-strip {
 background:var(--blog-primary);color:#fff;border-radius:16px;
 box-shadow:var(--blog-shadow);
}
body.page-blogs.sbmch-dept-page .sbmch-blog-page .blog-emergency h2,
body.page-blogs.sbmch-dept-page .sbmch-article-page .emergency-strip h2 {color:#fff;}
body.page-blogs.sbmch-dept-page .sbmch-blog-page .blog-emergency p,
body.page-blogs.sbmch-dept-page .sbmch-article-page .emergency-strip p {color:#fff;opacity:.9;}
@media(max-width:767px) {
 body.page-blogs.sbmch-dept-page .sbmch-blog-page,
body.page-blogs.sbmch-dept-page .sbmch-article-page {padding:108px 0 50px;}
}


body.page-blogs .sbmch-blog-page .blog-heading {font-size:clamp(2rem,4vw,2.8rem);font-weight:750;color:var(--blog-dark);margin-bottom:9px;}
body.page-blogs .sbmch-blog-page .blog-subheading {color:var(--blog-muted);margin-bottom:0;}
body.page-blogs .sbmch-blog-page .blog-emergency {padding:25px 29px;margin:30px 0 38px;display:flex;justify-content:space-between;align-items:center;gap:20px;}
body.page-blogs .sbmch-blog-page .blog-emergency h2 {font-size:1.35rem;font-weight:750;margin:0 0 6px;}
body.page-blogs .sbmch-blog-page .blog-emergency p {margin:0;}
body.page-blogs .sbmch-blog-page .blog-emergency a {background:#fff;color:var(--blog-dark);border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:700;white-space:nowrap;}
body.page-blogs .sbmch-blog-page .blog-emergency a:hover {background:var(--blog-tint);color:var(--blog-primary);}
body.page-blogs .sbmch-blog-page .blog-card,
body.page-blogs .sbmch-blog-page .blog-side-panel {background:#fff;border:1px solid var(--blog-border);border-radius:14px;overflow:hidden;box-shadow:var(--blog-shadow);}
body.page-blogs .sbmch-blog-page .blog-card {margin-bottom:26px;transition:transform .2s ease,box-shadow .2s ease;}
body.page-blogs .sbmch-blog-page .blog-card:hover {transform:translateY(-3px);box-shadow:var(--sbmch-shadow-md,0 8px 24px rgba(35,20,42,.08));}
body.page-blogs .sbmch-blog-page .blog-card-image {width:100%;height:245px;object-fit:cover;display:block;background:var(--blog-tint);}
body.page-blogs .sbmch-blog-page .blog-card-placeholder {height:245px;display:flex;align-items:center;justify-content:center;background:var(--blog-tint);color:var(--blog-primary);font-size:3rem;}
body.page-blogs .sbmch-blog-page .blog-card-body {padding:24px;}
body.page-blogs .sbmch-blog-page .blog-meta {display:flex;flex-wrap:wrap;gap:14px;color:var(--blog-muted);font-size:.85rem;margin-bottom:12px;}
body.page-blogs .sbmch-blog-page .blog-meta i {color:var(--blog-primary);margin-right:5px;}
body.page-blogs .sbmch-blog-page .blog-category {color:var(--blog-primary);font-weight:700;font-size:.82rem;text-decoration:none;text-transform:uppercase;letter-spacing:.035em;}
body.page-blogs .sbmch-blog-page .blog-card-title {font-size:1.35rem;line-height:1.35;font-weight:750;margin:9px 0 11px;}
body.page-blogs .sbmch-blog-page .blog-card-title a {color:var(--blog-dark);text-decoration:none;}
body.page-blogs .sbmch-blog-page .blog-card-title a:hover,
body.page-blogs .sbmch-blog-page .read-more:hover {color:var(--blog-accent);}
body.page-blogs .sbmch-blog-page .blog-excerpt {color:var(--blog-muted);line-height:1.75;margin-bottom:18px;}
body.page-blogs .sbmch-blog-page .read-more {color:var(--blog-primary);text-decoration:none;font-weight:700;}
body.page-blogs .sbmch-blog-page .blog-side-panel {padding:22px;margin-bottom:24px;}
body.page-blogs .sbmch-blog-page .blog-side-title {font-size:1.12rem;font-weight:750;margin-bottom:17px;color:var(--blog-dark);}
body.page-blogs .sbmch-blog-page .blog-search {display:flex;gap:8px;}
body.page-blogs .sbmch-blog-page .blog-search-mobile {display:none;}
body.page-blogs .sbmch-blog-page .blog-search input {min-width:0;border-color:var(--blog-border);}
body.page-blogs .sbmch-blog-page .blog-search input:focus {border-color:var(--blog-primary);box-shadow:0 0 0 .2rem rgba(139,0,93,.10);}
body.page-blogs .sbmch-blog-page .blog-search button {background:var(--blog-primary);border:0;color:#fff;border-radius:7px;padding:0 15px;min-height:43px;}
body.page-blogs .sbmch-blog-page .blog-search button:hover {background:var(--blog-dark);}
body.page-blogs .sbmch-blog-page .category-list,
body.page-blogs .sbmch-blog-page .latest-list {list-style:none;padding:0;margin:0;}
body.page-blogs .sbmch-blog-page .category-list li {border-bottom:1px solid var(--blog-border);padding:10px 0;display:flex;justify-content:space-between;gap:10px;}
body.page-blogs .sbmch-blog-page .category-list li:last-child {border-bottom:0;}
body.page-blogs .sbmch-blog-page .category-list a {color:var(--blog-text);text-decoration:none;}
body.page-blogs .sbmch-blog-page .category-list a:hover,
body.page-blogs .sbmch-blog-page .category-list a.active {color:var(--blog-primary);font-weight:700;}
body.page-blogs .sbmch-blog-page .category-count {color:var(--blog-muted);font-size:.85rem;}
body.page-blogs .sbmch-blog-page .latest-item {display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--blog-border);}
body.page-blogs .sbmch-blog-page .latest-item:last-child {border-bottom:0;padding-bottom:0;}
body.page-blogs .sbmch-blog-page .latest-thumb {width:72px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 72px;background:var(--blog-tint);}
body.page-blogs .sbmch-blog-page .latest-title {display:block;color:var(--blog-dark);text-decoration:none;font-weight:650;font-size:.92rem;line-height:1.4;}
body.page-blogs .sbmch-blog-page .latest-title:hover {color:var(--blog-primary);}
body.page-blogs .sbmch-blog-page .latest-date {color:var(--blog-muted);font-size:.78rem;margin-top:5px;}
body.page-blogs .sbmch-blog-page .tag-cloud {display:flex;flex-wrap:wrap;gap:8px;}
body.page-blogs .sbmch-blog-page .tag-cloud a {color:var(--blog-primary);background:var(--blog-tint);border:1px solid var(--blog-border);padding:6px 10px;border-radius:6px;text-decoration:none;font-size:.82rem;}
body.page-blogs .sbmch-blog-page .tag-cloud a:hover {background:var(--blog-primary);border-color:var(--blog-primary);color:#fff;}
body.page-blogs .sbmch-blog-page .blog-pagination .page-link {color:var(--blog-primary);border-color:var(--blog-border);}
body.page-blogs .sbmch-blog-page .blog-pagination .active .page-link {background:var(--blog-primary);border-color:var(--blog-primary);color:#fff;}
body.page-blogs .sbmch-blog-page .blog-empty {background:#fff;border:1px dashed var(--blog-border);border-radius:14px;padding:55px 20px;text-align:center;color:var(--blog-muted);}
body.page-blogs .sbmch-blog-page .blog-empty .bi {color:var(--blog-primary);}
body.page-blogs .sbmch-blog-page .btn-outline-secondary {color:var(--blog-primary);border-color:var(--blog-primary);}
body.page-blogs .sbmch-blog-page .btn-outline-secondary:hover {background:var(--blog-primary);color:#fff;}
@media(max-width:767px) {
 body.page-blogs .sbmch-blog-page .blog-search-mobile {display:block;margin-bottom:22px;}
 body.page-blogs .sbmch-blog-page .blog-search-sidebar {display:none;}
 body.page-blogs .sbmch-blog-page .blog-emergency {display:block;padding:22px;text-align:center;}
 body.page-blogs .sbmch-blog-page .blog-emergency a {display:inline-block;margin-top:16px;white-space:normal;}
 body.page-blogs .sbmch-blog-page .blog-card-image,
body.page-blogs .sbmch-blog-page .blog-card-placeholder {height:210px;}
 body.page-blogs .sbmch-blog-page .blog-card-body {padding:19px;}
}

/* ---- blog-details.php (page only: body.page-blog-details) ---- */
/* SBMCH Blog design — uses brand tokens from department.css */

/* Site-level tokens are supplied by /assets/css/department.css. */
body.page-blog-details.sbmch-dept-page .sbmch-blog-page,
body.page-blog-details.sbmch-dept-page .sbmch-article-page {
 --blog-primary: var(--sbmch-primary, #8B005D);
 --blog-dark: var(--sbmch-primary-dark, #650041);
 --blog-accent: var(--sbmch-accent, #D2187D);
 --blog-text: var(--sbmch-text, #242424);
 --blog-muted: var(--sbmch-muted, #5f666e);
 --blog-bg: var(--sbmch-bg, #F7F5F7);
 --blog-border: var(--sbmch-border, #ece7ec);
 --blog-tint: var(--sbmch-tint-solid, #FBF0F6);
 --blog-shadow: var(--sbmch-shadow-sm, 0 4px 12px rgba(35,20,42,.05));
 background:var(--blog-bg); color:var(--blog-text);
 padding:clamp(112px,11vw,148px) 0 72px;
 font-family:var(--sbmch-body, Inter, sans-serif);
}
body.page-blog-details.sbmch-dept-page .sbmch-blog-page h1,
body.page-blog-details.sbmch-dept-page .sbmch-blog-page h2,
body.page-blog-details.sbmch-dept-page .sbmch-article-page h1,
body.page-blog-details.sbmch-dept-page .sbmch-article-page h2,
body.page-blog-details.sbmch-dept-page .sbmch-article-page h3 {font-family:var(--sbmch-head,Inter,sans-serif);}
body.page-blog-details.sbmch-dept-page .sbmch-blog-page a:focus-visible,
body.page-blog-details.sbmch-dept-page .sbmch-article-page a:focus-visible,
body.page-blog-details.sbmch-dept-page .sbmch-blog-page button:focus-visible {outline:3px solid var(--blog-accent);outline-offset:3px;}
body.page-blog-details.sbmch-dept-page .sbmch-blog-page .blog-emergency,
body.page-blog-details.sbmch-dept-page .sbmch-article-page .emergency-strip {
 background:var(--blog-primary);color:#fff;border-radius:16px;
 box-shadow:var(--blog-shadow);
}
body.page-blog-details.sbmch-dept-page .sbmch-blog-page .blog-emergency h2,
body.page-blog-details.sbmch-dept-page .sbmch-article-page .emergency-strip h2 {color:#fff;}
body.page-blog-details.sbmch-dept-page .sbmch-blog-page .blog-emergency p,
body.page-blog-details.sbmch-dept-page .sbmch-article-page .emergency-strip p {color:#fff;opacity:.9;}
@media(max-width:767px) {
 body.page-blog-details.sbmch-dept-page .sbmch-blog-page,
body.page-blog-details.sbmch-dept-page .sbmch-article-page {padding:108px 0 50px;}
}


body.page-blog-details .sbmch-article-page .article-breadcrumb {font-size:.9rem;color:var(--blog-muted);margin-bottom:22px;overflow-wrap:anywhere;}
body.page-blog-details .sbmch-article-page .article-breadcrumb a {color:var(--blog-primary);text-decoration:none;}
body.page-blog-details .sbmch-article-page .article-shell,
body.page-blog-details .sbmch-article-page .article-side {background:#fff;border:1px solid var(--blog-border);border-radius:14px;box-shadow:var(--blog-shadow);}
body.page-blog-details .sbmch-article-page .article-shell {padding:clamp(20px,4vw,42px);}
body.page-blog-details .sbmch-article-page .article-title {font-size:clamp(1.8rem,4vw,2.65rem);font-weight:780;line-height:1.2;color:var(--blog-dark);margin:10px 0 18px;}
body.page-blog-details .sbmch-article-page .article-meta {display:flex;flex-wrap:wrap;gap:15px;color:var(--blog-muted);font-size:.88rem;margin-bottom:24px;}
body.page-blog-details .sbmch-article-page .article-meta i {color:var(--blog-primary);margin-right:5px;}
body.page-blog-details .sbmch-article-page .article-category {color:var(--blog-primary);text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;font-weight:750;text-decoration:none;}
body.page-blog-details .sbmch-article-page .article-featured {width:100%;max-height:480px;object-fit:cover;border-radius:12px;margin:0 0 28px;}
body.page-blog-details .sbmch-article-page .article-excerpt {font-size:1.08rem;line-height:1.75;color:var(--blog-muted);border-left:4px solid var(--blog-primary);padding:8px 0 8px 18px;margin-bottom:28px;}
body.page-blog-details .sbmch-article-page .article-toc {background:var(--blog-tint);border:1px solid var(--blog-border);border-radius:12px;padding:22px;margin:0 0 30px;}
body.page-blog-details .sbmch-article-page .article-toc h2 {font-size:1.15rem;font-weight:750;margin:0 0 12px;color:var(--blog-dark);}
body.page-blog-details .sbmch-article-page .article-toc ol {margin:0;padding-left:22px;}
body.page-blog-details .sbmch-article-page .article-toc li {padding:5px 0;color:var(--blog-primary);}
body.page-blog-details .sbmch-article-page .article-toc a {color:var(--blog-text);text-decoration:none;}
body.page-blog-details .sbmch-article-page .article-toc a:hover {color:var(--blog-primary);}
body.page-blog-details .sbmch-article-page .article-content {font-size:1.02rem;line-height:1.85;color:var(--blog-text);overflow-wrap:anywhere;}
body.page-blog-details .sbmch-article-page .article-content h2 {font-size:1.65rem;line-height:1.3;color:var(--blog-dark);font-weight:750;margin:36px 0 14px;scroll-margin-top:115px;}
body.page-blog-details .sbmch-article-page .article-content h3 {font-size:1.3rem;color:var(--blog-dark);font-weight:720;margin:28px 0 12px;scroll-margin-top:115px;}
body.page-blog-details .sbmch-article-page .article-content p {margin-bottom:18px;}
body.page-blog-details .sbmch-article-page .article-content a {color:var(--blog-primary);}
body.page-blog-details .sbmch-article-page .article-content img {max-width:100%;height:auto;border-radius:10px;margin:12px 0 22px;}
body.page-blog-details .sbmch-article-page .article-content table {width:100%;border-collapse:collapse;margin:20px 0;font-size:.95rem;display:block;overflow-x:auto;}
body.page-blog-details .sbmch-article-page .article-content th,
body.page-blog-details .sbmch-article-page .article-content td {border:1px solid var(--blog-border);padding:10px;text-align:left;}
body.page-blog-details .sbmch-article-page .article-content th {background:var(--blog-tint);color:var(--blog-dark);}
body.page-blog-details .sbmch-article-page .article-content blockquote {border-left:4px solid var(--blog-primary);padding:12px 20px;background:var(--blog-tint);margin:22px 0;}
body.page-blog-details .sbmch-article-page .article-side {padding:22px;margin-bottom:22px;}
body.page-blog-details .sbmch-article-page .side-title {font-size:1.1rem;font-weight:750;margin:0 0 16px;color:var(--blog-dark);}
body.page-blog-details .sbmch-article-page .related-item {display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--blog-border);}
body.page-blog-details .sbmch-article-page .related-item:last-child {border:0;padding-bottom:0;}
body.page-blog-details .sbmch-article-page .related-image {width:76px;height:66px;object-fit:cover;border-radius:8px;background:var(--blog-tint);flex:0 0 76px;}
body.page-blog-details .sbmch-article-page .related-title {font-size:.9rem;line-height:1.4;font-weight:650;color:var(--blog-dark);text-decoration:none;}
body.page-blog-details .sbmch-article-page .related-title:hover {color:var(--blog-primary);}
body.page-blog-details .sbmch-article-page .article-tags {display:flex;flex-wrap:wrap;gap:8px;}
body.page-blog-details .sbmch-article-page .article-tags span {background:var(--blog-tint);border:1px solid var(--blog-border);color:var(--blog-primary);padding:6px 10px;border-radius:6px;font-size:.83rem;}
body.page-blog-details .sbmch-article-page .comment-card {border-bottom:1px solid var(--blog-border);padding:15px 0;}
body.page-blog-details .sbmch-article-page .comment-card:last-child {border:0;}
body.page-blog-details .sbmch-article-page .comment-name {font-weight:700;color:var(--blog-dark);}
body.page-blog-details .sbmch-article-page .comment-date {font-size:.8rem;color:var(--blog-muted);}
body.page-blog-details .sbmch-article-page .comment-text {color:var(--blog-muted);white-space:pre-line;margin:7px 0 0;}
body.page-blog-details .sbmch-article-page .emergency-strip {padding:22px 26px;margin-bottom:25px;}
body.page-blog-details .sbmch-article-page .emergency-strip h2 {font-size:1.2rem;font-weight:750;margin:0 0 5px;}
body.page-blog-details .sbmch-article-page .emergency-strip p {margin:0;}
body.page-blog-details .sbmch-article-page .btn-outline-secondary {color:var(--blog-primary);border-color:var(--blog-primary);}
body.page-blog-details .sbmch-article-page .btn-outline-secondary:hover {background:var(--blog-primary);color:#fff;}
@media(max-width:767px) {
 body.page-blog-details .sbmch-article-page .article-meta {gap:9px;}
 body.page-blog-details .sbmch-article-page .article-content h2 {font-size:1.4rem;}
 body.page-blog-details .sbmch-article-page .emergency-strip {text-align:center;}
}

/* ---- privacy-policy.php (page only: body.page-privacy) ---- */
body.page-privacy .sbmch-privacy-page {
      --sbmch-policy-primary: #721752;
      --sbmch-policy-dark: #54103d;
      --sbmch-policy-ink: #29212a;
      --sbmch-policy-muted: #706873;
      --sbmch-policy-border: #e9e0e7;
      --accent-color: var(--sbmch-policy-primary);
      --heading-color: var(--sbmch-policy-ink);
      --default-color: var(--sbmch-policy-ink);
      --surface-color: #fff;
      --background-color: #fff;
      --contrast-color: #fff;
      color: var(--sbmch-policy-ink);
      background: #fff;
    }
    /* Clearance for the same fixed header used on the Contact Us page. */
    body.page-privacy .sbmch-privacy-page #privacy.privacy {
      padding: 125px 0 78px;
      margin-top: 0 !important;
    }
    body.page-privacy .sbmch-privacy-page .policy-header { padding: 0 0 46px; }
    body.page-privacy .sbmch-privacy-page .policy-header .effective-badge {
      background: #f8f2f6;
      color: var(--sbmch-policy-primary);
      border: 1px solid #f0e1ea;
    }
    body.page-privacy .sbmch-privacy-page .policy-header h1 {
      color: var(--sbmch-policy-primary);
      font-size: clamp(36px, 4.5vw, 56px);
      font-weight: 750;
      letter-spacing: -1.4px;
    }
    body.page-privacy .sbmch-privacy-page .policy-header .lead-text { color: var(--sbmch-policy-muted); }
    body.page-privacy .sbmch-privacy-page .policy-card {
      background: #fff;
      border: 1px solid var(--sbmch-policy-border);
      box-shadow: 0 12px 34px rgba(43,22,37,.045);
    }
    body.page-privacy .sbmch-privacy-page .policy-card:hover {
      border-color: #ddc2d2;
      box-shadow: 0 14px 38px rgba(43,22,37,.075);
    }
    body.page-privacy .sbmch-privacy-page .policy-card .card-number { color: #d9a9c5; }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content .card-icon {
      background: var(--sbmch-policy-primary);
    }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content .card-icon i { color: #fff; }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content h2,
body.page-privacy .sbmch-privacy-page .policy-card .card-body-content h3 { color: var(--sbmch-policy-primary); }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content p,
body.page-privacy .sbmch-privacy-page .policy-card .card-body-content li { color: #514851; }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content a { color: var(--sbmch-policy-primary); }
    body.page-privacy .sbmch-privacy-page .policy-card .card-body-content a:hover { color: var(--sbmch-policy-dark); text-decoration: underline; }
    body.page-privacy .sbmch-privacy-page .sub-card,
body.page-privacy .sbmch-privacy-page .usage-item { background: #fcf9fb; border-color: #f0e6ed; }
    body.page-privacy .sbmch-privacy-page .privacy .table { --bs-table-striped-bg: #faf5f8; }
    body.page-privacy .sbmch-privacy-page .contact-banner {
      background: linear-gradient(125deg, #721752, #54103d);
      color: #fff;
    }
    body.page-privacy .sbmch-privacy-page .contact-banner h2,
body.page-privacy .sbmch-privacy-page .contact-banner p,
body.page-privacy .sbmch-privacy-page .contact-banner .info-item { color: #fff; }
    @media (max-width: 767px) {
      body.page-privacy .sbmch-privacy-page #privacy.privacy { padding: 105px 0 48px; }
      body.page-privacy .sbmch-privacy-page .policy-header { padding-bottom: 28px; }
      body.page-privacy .sbmch-privacy-page .policy-header h1 { font-size: 36px; }
      body.page-privacy .sbmch-privacy-page .policy-header .lead-text { font-size: 15px; }
      body.page-privacy .sbmch-privacy-page .policy-card { padding: 58px 20px 25px; border-radius: 13px; }
      body.page-privacy .sbmch-privacy-page .policy-card .card-number { left: 20px; top: 18px; }
      body.page-privacy .sbmch-privacy-page .sub-card { padding: 18px; }
      body.page-privacy .sbmch-privacy-page .contact-banner { padding: 26px 20px; }
    }

/* ---- services.php (page only: body.page-services) ---- */
body.page-services.services-page .services-grid .service-card {
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 14px;
        }

        body.page-services.services-page .service-card .service-card-image {
            position: relative;
            width: 100%;
            height: 230px;
            min-height: 230px;
            overflow: hidden;
            background: #eef3f8;
        }

        body.page-services.services-page .service-card .service-card-image img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .45s ease;
        }

        body.page-services.services-page .service-card:hover .service-card-image img {
            transform: scale(1.045);
        }

        body.page-services.services-page .service-card .service-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0d477e;
            background: linear-gradient(135deg, #eaf3fb, #d8e8f7);
            font-size: 3.5rem;
        }

        body.page-services.services-page .service-card .service-image-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            max-width: calc(100% - 28px);
            padding: 7px 14px;
            border-radius: 30px;
            background: rgba(255, 255, 255, .96);
            color: #16395d;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.2;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
        }

        body.page-services.services-page .service-card .card-content {
            flex: 1;
            padding: 16px 18px 10px;
        }

        body.page-services.services-page .service-card .card-title {
            margin-bottom: 8px;
            font-weight: 700;
        }

        body.page-services.services-page .service-card .card-description {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
            overflow: hidden;
        }

        body.page-services.services-page .service-card .service-department {
            margin-top: 12px;
            color: #526477;
            font-size: 13px;
            line-height: 1.5;
        }

        body.page-services.services-page .service-card .service-department i {
            margin-right: 5px;
            color: #0d6efd;
        }

        body.page-services.services-page .service-card .card-foot {
            padding: 8px 18px 18px;
            margin-top: auto;
        }

        body.page-services.services-page .services-empty-state {
            padding: 65px 20px;
            text-align: center;
            border: 1px dashed #cbd8e5;
            border-radius: 14px;
            background: #f8fbfe;
        }

        body.page-services.services-page .services-empty-state i {
            font-size: 54px;
            color: #7892aa;
        }

        @media (max-width: 767px) {
            body.page-services.services-page .service-card .service-card-image {
                height: 215px;
                min-height: 215px;
            }
        }


/* ##########################################################
   F. HEADER LOGO / NAME (was sbmch-name.css)
   ########################################################## */

/* =========================================
   SBMCH INSTITUTION NAME (header + footer)
   Two lines of equal width:
   SRI BALAJI MEDICAL COLLEGE
   HOSPITAL & RESEARCH INSTITUTE

   Line 2 is sized (0.89em) so its natural width almost
   matches line 1 in Poppins; justify then only closes the
   last few pixels, so no wide gaps appear between words.
========================================= */

.sbmch-name {
    display: inline-block !important;   /* shrink-wrap to the widest line */
    margin: 0;
    font-family: "Poppins", var(--heading-font), sans-serif !important;
    color: #650041 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
}

.sbmch-name .sbmch-name-line1,
.sbmch-name .sbmch-name-line2 {
    display: block;
    font-family: inherit !important;
    color: inherit !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    line-height: inherit !important;
    text-align: justify;
    text-align-last: justify;
}

.sbmch-name .sbmch-name-line1 {
    font-size: 1em !important;
    font-weight: 700 !important;
}

.sbmch-name .sbmch-name-line2 {
    font-size: 0.89em !important;
    font-weight: 500 !important;
    margin-top: 0.12em;
}

/* ---------- Header ---------- */

.header .logo h1.sbmch-name {
    font-size: 26px !important;
    margin-left: 12px !important;
    margin-right: 0 !important;
}

/* Desktop: the name block and the menu are separated by a thin divider
   and a fixed gap, so they never run into each other. */
@media (min-width: 1200px) {
    .header .header-container {
        max-width: min(1340px, calc(100% - 30px)) !important;
    }

    .header .logo {
        flex-shrink: 0;
        padding-right: 22px;
        border-right: 1px solid #ece7ec;
    }

    .header .logo img {
        max-height: 62px !important;
    }

    .header .logo h1.sbmch-name {
        font-size: 22px !important;
    }

    .header .navmenu {
        margin-left: 18px;
    }

    .header .navmenu a,
    .header .navmenu a:focus {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        margin-left: 14px;
        flex-shrink: 0;
    }
}

/* Large desktops */
@media (min-width: 1500px) {
    .header .logo h1.sbmch-name { font-size: 24px !important; }
    .header .navmenu a,
    .header .navmenu a:focus { padding-left: 12px; padding-right: 12px; }
}

/* Small desktops (1200-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .header .logo { padding-right: 16px; }
    .header .logo h1.sbmch-name { font-size: 19px !important; }
    .header .navmenu { margin-left: 12px; }
    .header .navmenu a,
    .header .navmenu a:focus { padding-left: 8px; padding-right: 8px; }
}

/* 1200-1299px: tightest desktop width */
@media (min-width: 1200px) and (max-width: 1299px) {
    .header .logo img { max-height: 54px !important; }
    .header .logo h1.sbmch-name { font-size: 17px !important; }
    .header .navmenu a,
    .header .navmenu a:focus { padding-left: 7px; padding-right: 7px; font-size: 13.5px; }
    .header .btn-getstarted,
    .header .btn-getstarted:focus { margin-left: 10px; padding: 8px 14px; }
}

/* Tablets (menu collapses into the toggle) */
@media (max-width: 1199.98px) {
    .header .logo h1.sbmch-name {
        font-size: 22px !important;
    }
}

/* Phones */
@media (max-width: 576px) {
    .header .logo img {
        max-height: 40px !important;
    }

    .header .logo h1.sbmch-name {
        font-size: clamp(9.5px, 2.8vw, 16px) !important;
        margin-left: 6px !important;
        margin-right: 6px !important;
    }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        font-size: 11px;
        padding: 4px 8px;
        margin-right: 6px;
        white-space: nowrap;
    }
}

/* ---------- Footer (white on the dark footer) ---------- */

#footer .footer-logo .sbmch-name {
    color: #FFFFFF !important;
    font-size: 19px !important;
}

@media (max-width: 1199.98px) {
    #footer .footer-logo .sbmch-name { font-size: 15px !important; }
}

@media (max-width: 576px) {
    #footer .footer-logo .sbmch-name { font-size: 15px !important; }
}


/* ##########################################################
   G. HERO THEME (was sbmch-theme.css)
   ########################################################## */

/* ==========================================================
   SBMCH THEME OVERRIDES
   Loaded from header.php with a version number (?v=...) so changes
   reach visitors immediately, without waiting for CDN/browser caches.
========================================================== */

/* ----------------------------------------------------------
   Department & About page hero: light, clinical background
   (soft white-to-blush) with burgundy text and buttons.
---------------------------------------------------------- */

.sbmch-dept section.sd-hero {
  background:
    radial-gradient(760px 460px at 92% 0%, rgba(210, 24, 125, .10), transparent 65%),
    radial-gradient(620px 420px at 0% 100%, rgba(139, 0, 93, .07), transparent 65%),
    linear-gradient(135deg, #ffffff 0%, #fdf5f9 50%, #f8e9f1 100%);
  color: var(--sbmch-text, #242424);
  border-bottom: 1px solid #f1dfe9;
}

/* faint burgundy dot texture */
.sbmch-dept section.sd-hero::before {
  background-image: radial-gradient(rgba(139, 0, 93, .07) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Breadcrumb */
.sbmch-dept section.sd-hero .sd-crumbs { color: #6b6f78; }
.sbmch-dept section.sd-hero .sd-crumbs a { color: #6b6f78; }
.sbmch-dept section.sd-hero .sd-crumbs a:hover { color: var(--sbmch-primary, #8B005D); }

/* Text */
.sbmch-dept section.sd-hero .sd-eyebrow { color: var(--sbmch-accent, #D2187D); }
.sbmch-dept section.sd-hero h1 { color: var(--sbmch-primary-dark, #650041); }
.sbmch-dept section.sd-hero .sd-hero-copy > p,
.sbmch-dept section.sd-hero p { color: #4b5160; }
.sbmch-dept section.sd-hero a.sd-tel { color: var(--sbmch-accent, #D2187D); }

/* Buttons: primary filled + burgundy outline */
.sbmch-dept section.sd-hero .sd-btn-white {
  background: var(--sbmch-grad, linear-gradient(135deg, #8B005D, #D2187D));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 0, 93, .2);
}
.sbmch-dept section.sd-hero .sd-btn-white:hover { color: #fff; }

.sbmch-dept section.sd-hero .sd-btn-ghost {
  background: #fff;
  border-color: var(--sbmch-primary, #8B005D);
  color: var(--sbmch-primary, #8B005D);
}
.sbmch-dept section.sd-hero .sd-btn-ghost:hover {
  background: var(--sbmch-grad, linear-gradient(135deg, #8B005D, #D2187D));
  border-color: transparent;
  color: #fff;
}

/* Topic tags */
.sbmch-dept section.sd-hero .sd-tags span {
  border: 1px solid #ecd6e3;
  background: #fff;
  color: var(--sbmch-primary-dark, #650041);
}

/* "At a glance" card: lift it off the light background */
.sbmch-dept section.sd-hero .sd-stat-card {
  box-shadow: 0 18px 44px rgba(101, 0, 65, .12);
  border: 1px solid #f1dfe9;
}

@media (max-width: 767px) {
  .sbmch-dept section.sd-hero {
    padding: 120px 0 70px;
    background:
      radial-gradient(360px 260px at 100% 0%, rgba(210, 24, 125, .09), transparent 65%),
      linear-gradient(170deg, #ffffff 0%, #fcf2f7 60%, #f8e9f1 100%);
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  }
}


/* ##########################################################
   H. HOME PAGE FIXES
   ########################################################## */

/* ----------------------------------------------------------
   HOME PAGE FIXES (2026-11-21)
---------------------------------------------------------- */

/* About section: wide photo column (7/12) beside a shorter text panel
   (5/12), so the landscape campus photo is shown almost in full and is
   the same height as the panel. Mission / Vision sit in a row below. */
body.sbmch-home-page #institution .sbmch-about-image-column { display: flex; }

body.sbmch-home-page #institution .sbmch-about-photo {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

body.sbmch-home-page #institution .sbmch-about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center 60%;
}

body.sbmch-home-page #institution .sbmch-about-panel { justify-content: center; }
body.sbmch-home-page #institution .sbmch-about-cta { align-self: flex-start; margin-top: 18px; }
body.sbmch-home-page #institution .sbmch-about-pillars { margin-top: 24px; }

/* Stacked layout (tablet / phone): the photo keeps its natural shape */
@media (max-width: 991.98px) {
  body.sbmch-home-page #institution .sbmch-about-photo { aspect-ratio: 1672 / 941; }
}

/* Map: compact height instead of a full-width 16:9 box. */
body.sbmch-home-page #hospital-location { padding: 40px 0; }

body.sbmch-home-page #hospital-location .sbmch-map-frame {
  height: 360px;
  max-width: 1000px;
  margin-inline: auto;
}

body.sbmch-home-page #hospital-location .sbmch-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  body.sbmch-home-page #hospital-location .sbmch-map-frame { height: 260px; }
}

/* Featured doctor cards: readable details. */
body.sbmch-home-page #featured-doctors .sbmch-home-doctor-body { padding: 16px 16px 14px; }

body.sbmch-home-page #featured-doctors .sbmch-home-doctor-department {
  min-height: 0;
  margin-bottom: 10px;
  color: var(--sbmch-accent);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}

body.sbmch-home-page #featured-doctors .sbmch-home-doctor-detail {
  margin-bottom: 6px;
  color: var(--sbmch-text);
  line-height: 1.5;
}

body.sbmch-home-page #featured-doctors .sbmch-home-doctor-detail strong { color: var(--sbmch-primary-dark); font-weight: 600; }

body.sbmch-home-page #featured-doctors .sbmch-home-doctor-actions { margin-top: auto; padding-top: 10px; }

body.sbmch-home-page #featured-doctors .sbmch-home-doctor-btn {
  min-height: 40px;
  font-family: var(--sbmch-body);
  font-size: .8rem;
  font-weight: 600;
}


/* ##########################################################
   I. SITE-WIDE TYPOGRAPHY
   ########################################################## */

/* ==========================================================
   SITE-WIDE TYPOGRAPHY: DEPARTMENT PAGE STANDARD
   ----------------------------------------------------------
   Every page uses the same fonts, sizes and heading colours as
   the department pages:

     Body text ......... Inter 16px, line-height 1.7, #242424
     Headings .......... Poppins 700, #650041 (white on dark bands)
     H1 ................ clamp(2rem, 4.4vw, 3rem)       max 48px
     H2 ................ clamp(1.6rem, 3vw, 2.3rem)     max 36.8px
     H2 inside a card .. 1.08rem                       17.28px
     H3 ................ 1.08rem                       17.28px
     Paragraph ......... 1rem                          16px
     Paragraph in card . .88rem                        14px
     Small label ....... .72rem uppercase, magenta     11.5px

   These rules load last and use !important with a raised
   specificity (:not(#_sx):not(#_sy) never matches an element, it
   only adds weight) so older page-specific sizes cannot override
   them. To change the site's type scale, edit the values below.
========================================================== */

/* Template theme variables: SBMCH fonts and colours on every page */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Poppins", "Inter", sans-serif;
  --nav-font: "Inter", sans-serif;
  --default-color: #242424;
  --heading-color: #650041;
  --accent-color: #D2187D;
  --nav-hover-color: #D2187D;
  --nav-dropdown-hover-color: #D2187D;
}

body {
  font-family: var(--sbmch-body) !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sbmch-text);
}

/* Form controls and buttons follow the body font */
body main :is(button, input, select, textarea, .btn) { font-family: var(--sbmch-body); }

/* All headings: Poppins, bold */
body main :is(h1, h2, h3, h4, h5, h6):not(#_sx):not(#_sy) {
  font-family: var(--sbmch-head) !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

/* Heading colour on light backgrounds (dark bands keep white text) */
body main :is(h1, h2, h3):not(:is(.sd-checkup, .sd-cta-band, .sd-emergency, .sb-ins-help-panel,
  .appointment-banner, .contact-banner, .support-banner, .blog-emergency, .mc-hero,
  .alert-strip, .dark-background, .h2-dark) *):not(#_sx):not(#_sy) {
  color: var(--sbmch-primary-dark) !important;
}

body main h1:not(#_sx):not(#_sy) {
  font-size: clamp(2rem, 4.4vw, 3rem) !important;
  line-height: 1.2 !important;
}

body main h2:not(#_sx):not(#_sy) {
  font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
  line-height: 1.25 !important;
}

body main h3:not(#_sx):not(#_sy) {
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
}

/* An h2 used as a card / tile / sidebar title is card-sized */
body main :is([class*="card"], [class*="tile"], aside, [class*="sidebar"], [class*="side-panel"], [class*="widget"]) h2:not(#_sx):not(#_sy) {
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
}

/* Booking band and other coloured call-to-action strips (department standard) */
body main :is(.sd-cta-inner, .blog-emergency, .sb-ins-help-panel, .contact-banner,
  .support-banner, .appointment-banner) h2:not(#_sx):not(#_sy) {
  font-size: clamp(1.4rem, 2.6vw, 2rem) !important;
}

/* Paragraphs */
body main p:not(#_sx):not(#_sy) {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

body main :is([class*="card"], [class*="tile"], .sd-step, [class*="pillar"], [class*="benefit"]) p:not(#_sx):not(#_sy) {
  font-size: .88rem !important;
  line-height: 1.6 !important;
}

/* Paragraph colour: one grey (department muted text) on light backgrounds.
   Department pages and the About page keep their own mix, which this
   standard is taken from. */
body:not(.department-details-page):not(.page-about) main p:not(:is(.sd-checkup, .sd-cta-band,
  .sd-emergency, .sb-ins-help-panel, .appointment-banner, .contact-banner, .support-banner,
  .blog-emergency, .mc-hero, .alert-strip, .dark-background, .alert, .h2-dark) *):not(#_sx):not(#_sy) {
  color: var(--sbmch-muted) !important;
}

/* Plain content lists */
body main :is(ul, ol):not([class]) > li:not(#_sx):not(#_sy) { font-size: 1rem; line-height: 1.7; }

/* Small uppercase labels above headings ("eyebrows") */
body main :is(.sd-eyebrow, .sbmch-find-doctor-eyebrow, .sbmch-doctors-eyebrow, .sbmch-section-eyebrow,
  .sbmch-about-kicker, .departments-eyebrow, .sbmch-eyebrow, .career-kicker, .sb-ins-kicker,
  .sbmch-sidebar-kicker, .mc-hero-eyebrow, .alert-eyebrow):not(#_sx):not(#_sy) {
  font-family: var(--sbmch-body) !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

/* Labels on light backgrounds use the brand magenta */
body main :is(.sbmch-find-doctor-eyebrow, .sbmch-doctors-eyebrow, .sbmch-section-eyebrow,
  .sbmch-about-kicker, .departments-eyebrow, .sbmch-eyebrow, .career-kicker,
  .sbmch-sidebar-kicker):not(#_sx):not(#_sy),
body main .sb-ins-kicker:not(.sb-ins-help-panel *):not(#_sx):not(#_sy) {
  color: var(--sbmch-accent) !important;
}

/* Intro paragraph directly under a section heading */
body main :is(.sd-lead, .sbmch-find-doctor-heading > p, .sbmch-doctors-heading p,
  .sbmch-departments-heading-content > p, .sbmch-reviews-heading > p):not(#_sx):not(#_sy) {
  color: var(--sbmch-muted) !important;
}

/* Page-specific colour palettes mapped onto the SBMCH palette */
body.sbmch-dept-page main.sbmch-contact-page {
  --sbmch-primary: #8B005D;
  --sbmch-primary-dark: #650041;
  --sbmch-ink: #242424;
  --sbmch-muted: #5f666e;
}

body.sbmch-dept-page main.sb-insurance {
  --sb-primary: #8B005D;
  --sb-dark: #650041;
  --sb-ink: #242424;
  --sb-muted: #5f666e;
}

body.career-page .sbmch-dept {
  --career-brand: #8B005D;
  --career-dark: #242424;
}

/* ==========================================================
   SBMCH FOOTER - DEFINITIVE LOGO & TEXT OVERLAP FIX
   Does not modify the website header or other sections.
========================================================== */

/* Footer logo alignment */
#footer .footer-about .footer-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    white-space: normal !important;
    overflow: visible !important;
}

/* Footer logo image */
#footer .footer-about .footer-logo img {
    display: block !important;

    width: 70px !important;
    height: 85px !important;
    max-width: 70px !important;
    max-height: 85px !important;

    flex: 0 0 70px !important;
    object-fit: contain !important;

    margin: 0 !important;
}

/* Hospital name container */
#footer .footer-about .footer-logo .sbmch-name {
    display: flex !important;
    flex-direction: column !important;

    flex: 1 1 0% !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    color: #FFFFFF !important;

    white-space: normal !important;
    text-align: left !important;
    text-align-last: left !important;

    letter-spacing: 0 !important;
    word-spacing: normal !important;

    overflow-wrap: normal !important;
}

/* First and second lines */
#footer .footer-about .footer-logo .sbmch-name-line1,
#footer .footer-about .footer-logo .sbmch-name-line2 {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    white-space: normal !important;

    text-align: left !important;
    text-align-last: left !important;

    letter-spacing: 0 !important;
    word-spacing: normal !important;

    overflow-wrap: normal !important;
    line-height: 1.4 !important;
}

/* First line */
#footer .footer-about .footer-logo .sbmch-name-line1 {
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* Second line */
#footer .footer-about .footer-logo .sbmch-name-line2 {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
}

/* Prevent the logo and name from overflowing their column */
#footer .footer-about {
    min-width: 0 !important;
}

#footer .footer-about .footer-logo + .footer-contact {
    width: 100%;
    min-width: 0;
}

/* Tablet */
@media (max-width: 991px) {
    #footer .footer-about .footer-logo img {
        width: 65px !important;
        height: 75px !important;
        max-width: 65px !important;
        flex-basis: 65px !important;
    }

    #footer .footer-about .footer-logo .sbmch-name {
        font-size: 14px !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    #footer .footer-about .footer-logo {
        gap: 10px !important;
    }

    #footer .footer-about .footer-logo img {
        width: 60px !important;
        height: 70px !important;
        max-width: 60px !important;
        flex-basis: 60px !important;
    }

    #footer .footer-about .footer-logo .sbmch-name-line1 {
        font-size: 13px !important;
    }

    #footer .footer-about .footer-logo .sbmch-name-line2 {
        font-size: 12px !important;
    }
}


/* ==========================================================
   FOOTER COLUMN POSITIONS (desktop, 992px and wider)
   About on the left, Contact in the centre, Quick Links on the
   right, with EQUAL space between the three blocks.
   Classes footer-col-center / footer-col-right / footer-col-inner
   are in footer.php. Tablets and phones keep the stacked layout.
========================================================== */
@media (min-width: 992px) {
    #footer .footer-top .row {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    /* Each column only as wide as its content */
    #footer .footer-top .row > .footer-about {
        flex: 0 1 410px;
        width: auto;
        max-width: 410px;
    }

    #footer .footer-top .row > .footer-col-center,
    #footer .footer-top .row > .footer-col-right {
        flex: 0 1 auto;
        width: auto;
    }

    #footer .footer-col-center .footer-col-inner {
        max-width: 360px;
    }
}


/* ==========================================================
   J. CONTACT + CAREER PAGES (department page design)
   Extra components used by contact.php and career.php, built
   from the department tokens. Everything else on those pages
   uses the existing .sd-* department components.
========================================================== */

/* Hero "at a glance" card: Bootstrap icons, linked tiles, text */
.sbmch-dept .sd-stat > i { color: var(--sbmch-accent); font-size: 22px; line-height: 1; }
.sbmch-dept a.sd-stat { text-decoration: none; }
.sbmch-dept a.sd-stat:hover { border-color: var(--sbmch-accent); box-shadow: var(--sbmch-shadow-sm); }
.sbmch-dept .sd-hours > i { flex: 0 0 18px; margin-top: 1px; color: var(--sbmch-primary); font-size: 18px; line-height: 1.2; }
.sbmch-dept .sd-stat-card h2 i { margin-right: 6px; color: var(--sbmch-accent); }
.sbmch-dept .sd-stat-card > p { margin: 0 0 4px; font-size: .92rem; }

/* Contact: information panel beside the enquiry form */
.sbmch-dept .sd-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: start;
  margin-top: 30px;
}

.sbmch-dept .sd-panel > .sd-eyebrow { margin-bottom: .4rem; }
.sbmch-dept .sd-panel > h3 { margin-bottom: .4rem; }

.sbmch-dept .sd-contact-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }

.sbmch-dept .sd-contact-list li > a,
.sbmch-dept .sd-contact-list li > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--sbmch-border);
  background: var(--sbmch-surface);
  color: inherit;
  text-decoration: none;
}

.sbmch-dept .sd-contact-list li > a:hover { border-color: var(--sbmch-accent); background: #fff; box-shadow: var(--sbmch-shadow-sm); }
.sbmch-dept .sd-contact-list .sd-icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.sbmch-dept .sd-contact-list .sd-icon i { font-size: 20px; }
.sbmch-dept .sd-contact-list small { display: block; color: var(--sbmch-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sbmch-dept .sd-contact-list strong { display: block; color: var(--sbmch-primary-dark); font-family: var(--sbmch-head); font-size: 1rem; overflow-wrap: anywhere; }
.sbmch-dept .sd-contact-list em { display: block; color: var(--sbmch-muted); font-size: .85rem; font-style: normal; }
.sbmch-dept .sd-contact-list li > div a { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 600; text-decoration: none; }

.sbmch-dept .sd-contact-tip { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; }
.sbmch-dept .sd-contact-tip i { color: var(--sbmch-accent); }

/* Forms (contact enquiry + career application) */
.sbmch-dept .sd-form { margin-top: 20px; }
.sbmch-dept .sd-form label { display: block; margin-bottom: 6px; color: var(--sbmch-primary-dark); font-size: .85rem; font-weight: 600; }
.sbmch-dept .sd-form label > span[aria-hidden="true"],
.sbmch-dept .sd-form .sd-req { color: var(--sbmch-accent); }

.sbmch-dept .sd-form input:not([type="checkbox"]):not([type="hidden"]),
.sbmch-dept .sd-form select,
.sbmch-dept .sd-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #dcd0d8;
  border-radius: 0;
  background-color: #fff;
  color: var(--sbmch-text);
  font-family: var(--sbmch-body);
  font-size: .95rem;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}

.sbmch-dept .sd-form textarea { min-height: 130px; resize: vertical; }
.sbmch-dept .sd-form input[type="file"] { padding: 9px 12px; background: var(--sbmch-surface); }

.sbmch-dept .sd-form input:focus,
.sbmch-dept .sd-form select:focus,
.sbmch-dept .sd-form textarea:focus {
  border-color: var(--sbmch-accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(210, 24, 125, .12);
}

.sbmch-dept .sd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.sbmch-dept .sd-form-wide { grid-column: 1 / -1; }

.sbmch-dept .sd-form-note { display: block; margin: 8px 0 0; color: var(--sbmch-muted); font-size: .82rem; }
.sbmch-dept .sd-form-note i { margin-right: 6px; color: var(--sbmch-accent); }
.sbmch-dept .sd-form-note span { color: var(--sbmch-accent); }

.sbmch-dept .sd-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 16px; color: var(--sbmch-text); font-size: .88rem; font-weight: 400; line-height: 1.6; }
/* Career consent is itself a <label>: beat the general .sd-form label rule (display:block) */
.sbmch-dept .sd-form label.sd-consent { display: flex; gap: 12px; align-items: flex-start; color: var(--sbmch-text); font-weight: 400; }
.sbmch-dept .sd-form label.sd-consent > span { flex: 1 1 auto; }
.sbmch-dept .sd-consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sbmch-accent); }
.sbmch-dept .sd-consent label { margin: 0; color: var(--sbmch-text); font-weight: 400; }

.sbmch-dept .sd-form-submit { width: 100%; border: 0; cursor: pointer; }

/* Career: note under the career areas */
.sbmch-dept .sd-callout {
  margin-top: 26px;
  padding: 16px 20px;
  border: 1px solid var(--sbmch-border);
  border-left: 4px solid var(--sbmch-accent);
  background: #fff;
  color: var(--sbmch-text);
  font-size: .95rem;
  box-shadow: var(--sbmch-shadow-sm);
}

.sbmch-dept .sd-callout strong { color: var(--sbmch-primary-dark); }

/* Career: openings, empty state, application panel */
.sbmch-dept .sd-opening { align-items: stretch; text-align: left; }
.sbmch-dept .sd-opening-details { margin: 6px 0 16px; padding: 0; list-style: none; font-size: .9rem; }
.sbmch-dept .sd-opening-details li { padding: 4px 0; border-bottom: 1px solid var(--sbmch-border); }
.sbmch-dept .sd-opening-details strong { color: var(--sbmch-primary-dark); }

.sbmch-dept .sd-empty { max-width: 760px; margin: 30px auto 0; text-align: center; }
.sbmch-dept .sd-empty .sd-btn { margin-top: 8px; }

.sbmch-dept .sd-form-panel { max-width: 920px; margin: 40px auto 0; }

.sbmch-dept .sd-alert { margin-bottom: 20px; padding: 14px 18px; border-left: 4px solid; font-size: .92rem; }
.sbmch-dept .sd-alert ul { margin: 8px 0 0; padding-left: 18px; }
.sbmch-dept .sd-alert-success { border-color: #198754; background: #edf7f0; color: #0f5132; }
.sbmch-dept .sd-alert-error { border-color: #b42318; background: #fdecec; color: #7a1a12; }

/* Spam trap field: hidden from people, visible to bots */
.sbmch-dept .career-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 991.98px) {
  .sbmch-dept .sd-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .sbmch-dept .sd-form-grid { grid-template-columns: 1fr; }
  .sbmch-dept .sd-panel { padding: 22px 18px; }
}

/* About: Vision / Mission / Quality cards, paragraph and list text the same size */
body main .sd-pillar :is(p, li):not(#_sx):not(#_sy) { font-size: .93rem !important; line-height: 1.6 !important; }

/* Form helper notes stay small (the site-wide paragraph rule would make them 16px) */
body main .sd-form .sd-form-note:not(#_sx):not(#_sy) { font-size: .82rem !important; line-height: 1.5 !important; }


/* ==========================================================
   L. HOME PAGE (PREMIUM REDESIGN) - index-new.php
   Scoped to body.hp-home, so no other page changes.
   Brand colours from the SBMC logo: #81005A and #D21A82.
   No red is used on this page (client request).
========================================================== */

body.hp-home {
  --hp-primary: #81005A;
  --hp-pink: #D21A82;
  --hp-dark: #59003F;
  --hp-blush: #FDF3F8;
  --hp-blush-2: #F9E8F1;
  --hp-neutral: #F8F9FB;
  --hp-ink: #20212B;
  --hp-text: #5B616E;
  --hp-line: #EDE6EB;
  --hp-radius: 10px;
  --hp-shadow: 0 6px 20px rgba(32, 33, 43, .06);
  --hp-shadow-lg: 0 16px 38px rgba(32, 33, 43, .10);
}

/* ---------- Type scale (sections 28-34px, hero 44px) ---------- */
body.hp-home main h2:not(#_sx):not(#_sy):not(#_sz) { font-size: clamp(1.7rem, 2.3vw, 2.05rem) !important; line-height: 1.25 !important; }
body.hp-home main .hp-hero h1:not(#_sx):not(#_sy):not(#_sz) { font-size: clamp(2rem, 3.2vw, 2.75rem) !important; line-height: 1.16 !important; color: var(--hp-primary) !important; }
body.hp-home main .hp-hero p:not(#_sx):not(#_sy):not(#_sz) { color: #3b3f4a !important; font-size: 1.05rem !important; }
body.hp-home main .hp-finder-intro h2:not(#_sx):not(#_sy):not(#_sz) { font-size: 1.25rem !important; color: var(--hp-primary) !important; }
body.hp-home main .hp-finder-intro p:not(#_sx):not(#_sy):not(#_sz) { font-size: .88rem !important; }
body.hp-home main .hp-assist-intro h2:not(#_sx):not(#_sy):not(#_sz) { font-size: 1.5rem !important; color: #fff !important; }
body.hp-home main .hp-assist-intro p:not(#_sx):not(#_sy):not(#_sz) { color: rgba(255, 255, 255, .85) !important; }

/* ---------- Shared pieces ---------- */
body.hp-home .hp-ico { display: block; flex: 0 0 auto; }

body.hp-home .hp-eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--hp-pink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.hp-home .hp-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
body.hp-home .hp-heading .hp-eyebrow::before,
body.hp-home .hp-heading .hp-eyebrow::after { content: ""; width: 34px; border-top: 1px solid currentColor; opacity: .6; }
body.hp-home .hp-heading h2 { margin: 0 0 6px; }
body.hp-home .hp-heading p { margin: 0; }

body.hp-home .hp-heading-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; max-width: none; text-align: left; }
body.hp-home .hp-heading-row h2 { text-align: left; }
body.hp-home .hp-slider-nav.swiper-navigation-disabled,
body.hp-home .hp-slider-nav:has(.swiper-button-lock + .swiper-button-lock) { display: none; }
body.hp-home .hp-heading-row .hp-eyebrow::before { display: none; }
body.hp-home .hp-heading-actions { display: flex; gap: 12px; align-items: center; }

body.hp-home .sbmch-dept .hp-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--sbmch-body);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}

body.hp-home .sbmch-dept .hp-btn-primary { background: var(--hp-primary); color: #fff; }
body.hp-home .sbmch-dept .hp-btn-primary:hover { background: var(--hp-dark); color: #fff; box-shadow: var(--hp-shadow); }
body.hp-home .sbmch-dept .hp-btn-outline { border-color: var(--hp-primary); background: #fff; color: var(--hp-primary); }
body.hp-home .sbmch-dept .hp-btn-outline:hover { background: var(--hp-blush); color: var(--hp-dark); }
body.hp-home .sbmch-dept .hp-btn-sm { padding: 10px 14px; font-size: .84rem; }

body.hp-home .sbmch-dept .hp-link { color: var(--hp-primary); font-weight: 600; text-decoration: none; }
body.hp-home .sbmch-dept .hp-link:hover { color: var(--hp-dark); }
body.hp-home .hp-center-action { margin: 26px 0 0; text-align: center; }

body.hp-home .sbmch-dept section.hp-section { padding: 60px 0; background: #fff; }
body.hp-home .sbmch-dept section.hp-alt { background: var(--hp-neutral); }

/* ---------- Hero ---------- */
body.hp-home .sbmch-dept section.hp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 100px 0 110px;
  overflow: hidden;
  background: #f4f6f8;
}

body.hp-home .hp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }

body.hp-home .hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .84) 30%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, 0) 60%);
}

body.hp-home .hp-hero-inner { position: relative; z-index: 2; }
body.hp-home .hp-hero-copy { max-width: 640px; }
body.hp-home .hp-label { display: inline-block; margin-bottom: 14px; color: var(--hp-pink); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
body.hp-home .hp-hero h1 { margin: 0 0 16px; }
body.hp-home .hp-hero-copy > p { max-width: 520px; margin: 0; }
body.hp-home .hp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Statistics bar (one white bar, dividers, line icons) ---------- */
body.hp-home .sbmch-dept section.hp-stats {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.hp-home .hp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 10px;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--hp-shadow-lg);
}

body.hp-home .hp-stat { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 6px 16px; }
body.hp-home .hp-stat + .hp-stat { border-left: 1px solid var(--hp-line); }
body.hp-home .hp-stat .hp-ico { width: 44px; height: 44px; color: var(--hp-primary); }
body.hp-home .hp-stat strong { display: block; color: var(--hp-ink); font-family: var(--sbmch-head); font-size: 1.75rem; line-height: 1.1; }
body.hp-home .hp-stat span { display: block; margin-top: 2px; color: var(--hp-text); font-size: .86rem; }

/* ---------- Find a doctor ---------- */
body.hp-home .sbmch-dept section.hp-finder-section { padding: 28px 0 8px; background: #fff; }

body.hp-home .hp-finder {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .85fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--hp-blush);
}

body.hp-home .hp-finder-intro { display: flex; gap: 16px; align-items: center; }
body.hp-home .hp-finder-icon .hp-ico { width: 46px; height: 46px; color: var(--hp-primary); }
body.hp-home .hp-finder-intro h2 { margin: 0 0 2px; text-align: left; }
body.hp-home .hp-finder-intro p { margin: 0; }
body.hp-home .sbmch-dept .hp-finder select { min-height: 48px; border-color: #e6d6e0; border-radius: 8px; }
body.hp-home .sbmch-dept .hp-finder-submit { min-height: 48px; padding-inline: 28px; border: 0; }

/* ---------- Departments: icon tiles ---------- */
body.hp-home .hp-dept-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }

body.hp-home .sbmch-dept .hp-dept {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 18px 10px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: #fff;
  color: var(--hp-ink);
  text-align: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}

body.hp-home .sbmch-dept .hp-dept:hover { transform: translateY(-3px); border-color: rgba(129, 0, 90, .28); background: var(--hp-blush); box-shadow: var(--hp-shadow); }
body.hp-home .hp-dept .hp-ico { width: 36px; height: 36px; color: var(--hp-primary); }
body.hp-home .hp-dept span { font-size: .88rem; font-weight: 600; line-height: 1.3; }

/* ---------- About ---------- */
body.hp-home .sbmch-dept section.hp-about-section { padding-top: 20px; }
body.hp-home .hp-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
body.hp-home .hp-about-photo { position: relative; margin: 0; }
body.hp-home .hp-about-photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--hp-shadow-lg); }

body.hp-home .hp-since {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--hp-primary);
  font-family: var(--sbmch-head);
  font-size: .88rem;
  font-weight: 700;
  box-shadow: var(--hp-shadow);
}

body.hp-home .hp-about-copy h2 { margin: 0 0 12px; text-align: left; }
body.hp-home .hp-about-copy > p { margin: 0; }
body.hp-home .hp-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 24px; }
body.hp-home .hp-mv-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; box-shadow: var(--hp-shadow); }
body.hp-home .hp-mv-icon { flex: 0 0 auto; color: var(--hp-primary); font-size: 28px; line-height: 1; }
body.hp-home .hp-mv-card h3 { margin: 0 0 4px; color: var(--hp-primary); }
body.hp-home .hp-mv-card p { margin: 0; }

/* ---------- Key services ---------- */
body.hp-home .hp-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

body.hp-home .sbmch-dept .hp-service {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: #fff;
  color: var(--hp-ink);
  text-decoration: none;
  box-shadow: var(--hp-shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

body.hp-home .sbmch-dept .hp-service:hover { transform: translateY(-3px); border-color: rgba(129, 0, 90, .28); box-shadow: var(--hp-shadow-lg); }

body.hp-home .hp-service-icon {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--hp-blush);
  color: var(--hp-primary);
}

body.hp-home .hp-service-icon .hp-ico { width: 28px; height: 28px; }
body.hp-home .hp-service-text { flex: 1; min-width: 0; }
body.hp-home .hp-service-text strong { display: block; color: var(--hp-ink); font-family: var(--sbmch-head); font-size: .98rem; line-height: 1.3; }
body.hp-home .hp-service-text small { display: block; margin-top: 3px; color: var(--hp-text); font-size: .84rem; }
body.hp-home .hp-service-arrow { color: var(--hp-primary); font-size: 1.1rem; }

/* ---------- Preventive health check-ups (family banner) ---------- */
body.hp-home .sbmch-dept section.hp-checkup-section { padding: 0 0 60px; background: #fff; }

body.hp-home .hp-checkup {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding-right: 32px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--hp-blush-2), var(--hp-blush));
}

body.hp-home .hp-checkup-photo { align-self: stretch; margin: 0; }
body.hp-home .hp-checkup-photo img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: 60% center; }
body.hp-home .hp-checkup-copy { padding: 26px 0; }
body.hp-home .hp-checkup-copy h2 { margin: 0 0 8px; text-align: left; }
body.hp-home .hp-checkup-copy > p { margin: 0 0 10px; }
body.hp-home .sbmch-dept .hp-counter { display: flex; gap: 8px; align-items: baseline; margin: 0; color: var(--hp-text); font-size: .82rem; line-height: 1.5; }
body.hp-home .hp-counter i { color: var(--hp-primary); }
body.hp-home .hp-counter strong { color: var(--hp-dark); }
body.hp-home .hp-checkup-action { display: flex; flex-direction: column; gap: 8px; align-items: center; }
body.hp-home .hp-checkup-action small { color: var(--hp-text); font-size: .82rem; }

/* ---------- Trust strip ---------- */
body.hp-home .sbmch-dept section.hp-trust { padding: 28px 0; background: var(--hp-dark); }
body.hp-home .hp-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
body.hp-home .hp-trust-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .18); }
body.hp-home .hp-trust-grid strong { display: block; color: #fff; font-family: var(--sbmch-head); font-size: 1.6rem; line-height: 1.2; }
body.hp-home .hp-trust-grid span { display: block; color: rgba(255, 255, 255, .8); font-size: .82rem; letter-spacing: .04em; }

/* ---------- Featured doctors ---------- */
body.hp-home .sbmch-dept section.hp-doctors-section { background: linear-gradient(180deg, var(--hp-blush) 0%, #fff 70%); }
body.hp-home .hp-doctors-slider { padding: 4px 4px 12px; }
body.hp-home .hp-doctors-slider .swiper-slide { height: auto; }

body.hp-home .hp-doc {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--hp-shadow);
  transition: transform .2s, box-shadow .2s;
}

body.hp-home .hp-doc:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-lg); }
body.hp-home .hp-doc-photo { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: 10px; background: var(--hp-neutral); }
body.hp-home .hp-doc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

body.hp-home .hp-doc-dept {
  position: absolute;
  bottom: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 10px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  color: var(--hp-primary);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(32, 33, 43, .08);
}

body.hp-home .hp-doc-body { display: flex; flex: 1; flex-direction: column; padding: 14px 6px 4px; }
body.hp-home .hp-doc-body h3 { margin: 0 0 4px; }
body.hp-home .hp-doc-meta { color: var(--hp-text); font-size: .84rem; line-height: 1.45; }
body.hp-home .hp-doc-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; text-align: center; }
body.hp-home .hp-doc-actions .hp-btn { width: 100%; white-space: nowrap; }
body.hp-home .hp-doc-profile { color: var(--hp-text); font-size: .82rem; font-weight: 600; white-space: nowrap; }
body.hp-home .hp-doc-profile.is-disabled { opacity: .6; cursor: not-allowed; }

body.hp-home .hp-slider-nav { display: flex; gap: 8px; }

body.hp-home .hp-slider-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hp-primary);
  font-size: 16px;
  cursor: pointer;
}

body.hp-home .hp-slider-nav button:hover { border-color: var(--hp-primary); }
body.hp-home .hp-slider-nav .swiper-button-disabled { opacity: .35; pointer-events: none; }

/* ---------- Reviews ---------- */
body.hp-home .hp-reviews { margin-top: 4px; }

/* ---------- Location ---------- */
body.hp-home .hp-location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: stretch; }
body.hp-home .hp-location-info h2 { text-align: left; }
body.hp-home .hp-location address { margin: 10px 0 18px; color: var(--hp-text); font-style: normal; line-height: 1.6; }
body.hp-home .hp-location address strong { color: var(--hp-ink); }
body.hp-home .hp-contact-list { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
body.hp-home .hp-contact-list li { display: grid; grid-template-columns: 22px 96px 1fr; gap: 8px; align-items: center; font-size: .95rem; }
body.hp-home .hp-contact-list i { color: var(--hp-primary); }
body.hp-home .hp-contact-list span { color: var(--hp-text); }
body.hp-home .sbmch-dept .hp-contact-list a { color: var(--hp-ink); font-weight: 600; text-decoration: none; }
body.hp-home .sbmch-dept .hp-contact-list a:hover { color: var(--hp-primary); }
body.hp-home .hp-location-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.hp-home .hp-map { min-height: 380px; overflow: hidden; border: 1px solid var(--hp-line); border-radius: 12px; box-shadow: var(--hp-shadow); }
body.hp-home .hp-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Need medical assistance (brand band, no red) ---------- */
body.hp-home .sbmch-dept section.hp-assist-section { padding: 0 0 60px; background: #fff; }

body.hp-home .hp-assist {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--hp-dark), var(--hp-primary));
}

body.hp-home .hp-assist-intro h2 { margin: 0 0 6px; text-align: left; }
body.hp-home .hp-assist-intro p { margin: 0; }
body.hp-home .hp-assist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

body.hp-home .sbmch-dept .hp-assist-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--hp-radius);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

body.hp-home .sbmch-dept .hp-assist-card:hover { background: rgba(255, 255, 255, .16); color: #fff; }
body.hp-home .hp-assist-card > i { font-size: 24px; }
body.hp-home .hp-assist-card .hp-ico { width: 28px; height: 28px; }
body.hp-home .hp-assist-card strong { display: block; color: #fff; font-family: var(--sbmch-head); font-size: .92rem; line-height: 1.3; }
body.hp-home .hp-assist-card small { display: block; color: rgba(255, 255, 255, .8); font-size: .84rem; }
body.hp-home .sbmch-dept .hp-assist-main { border-color: #fff; background: #fff; color: var(--hp-primary); }
body.hp-home .sbmch-dept .hp-assist-main:hover { background: var(--hp-blush); color: var(--hp-primary); }
body.hp-home .hp-assist-main strong { color: var(--hp-primary); }
body.hp-home .hp-assist-main small { color: var(--hp-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  body.hp-home .hp-dept-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body.hp-home .hp-finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  body.hp-home .hp-finder-intro { grid-column: 1 / -1; }
  body.hp-home .hp-assist { grid-template-columns: 1fr; }
  body.hp-home .hp-checkup { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); padding-right: 28px; }
  body.hp-home .hp-checkup-action { grid-column: 2; align-items: flex-start; padding-bottom: 26px; }
  body.hp-home .hp-checkup-copy { padding-bottom: 0; }
}

/* Tablets and phones: picture on top (doctors fully visible), text below */
@media (max-width: 991.98px) {
  body.hp-home .sbmch-dept section.hp-hero { display: block; min-height: 0; padding: 76px 0 84px; background: #fff; }
  body.hp-home .hp-hero-img { position: static; height: clamp(220px, 36vw, 330px); object-position: 100% center; }
  body.hp-home .hp-hero::before { display: none; }
  body.hp-home .hp-hero-inner { padding-top: 26px; }
  body.hp-home .hp-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  body.hp-home .hp-stat:nth-child(3) { border-left: 0; }
  body.hp-home .hp-dept-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.hp-home .hp-about,
  body.hp-home .hp-location { grid-template-columns: 1fr; }
  body.hp-home .hp-about { gap: 28px; }
  body.hp-home .hp-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hp-home .hp-checkup { grid-template-columns: 1fr; padding: 0; }
  body.hp-home .hp-checkup-photo img { height: auto; aspect-ratio: 16 / 8; }
  body.hp-home .hp-checkup-copy { padding: 0 24px; }
  body.hp-home .hp-checkup-action { grid-column: auto; align-items: flex-start; padding: 0 24px 24px; }
  body.hp-home .hp-assist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hp-home .hp-heading-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  body.hp-home .sbmch-dept section.hp-section { padding: 40px 0; }
  body.hp-home .hp-br { display: none; }
  body.hp-home .hp-hero-actions .hp-btn { width: 100%; }
  body.hp-home .sbmch-dept section.hp-stats { margin-top: -58px; }
  body.hp-home .hp-stat { justify-content: flex-start; gap: 10px; padding: 4px 10px; }
  body.hp-home .hp-stat .hp-ico { width: 34px; height: 34px; }
  body.hp-home .hp-stat strong { font-size: 1.35rem; }
  body.hp-home .hp-finder { grid-template-columns: 1fr; padding: 18px; }
  body.hp-home .hp-dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.hp-home .hp-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  body.hp-home .hp-trust-grid > div:nth-child(3) { border-left: 0; }
  body.hp-home .sbmch-dept section.hp-checkup-section,
  body.hp-home .sbmch-dept section.hp-assist-section { padding-bottom: 40px; }
}

@media (max-width: 575px) {
  body.hp-home .hp-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.hp-home .hp-mv,
  body.hp-home .hp-service-grid,
  body.hp-home .hp-assist-grid { grid-template-columns: 1fr; }
  body.hp-home .hp-contact-list li { grid-template-columns: 22px 84px 1fr; }
  body.hp-home .hp-map,
  body.hp-home .hp-map iframe { min-height: 280px; }
  body.hp-home .hp-heading-actions { width: 100%; justify-content: space-between; }
}

/* ---------- Home refinements (2026-11-25, round 2) ---------- */

/* Statistics bar: burgundy so it stands apart from the light hero */
body.hp-home .hp-stats-bar {
  border: 0;
  background: linear-gradient(120deg, var(--hp-dark) 0%, var(--hp-primary) 100%);
  box-shadow: 0 18px 40px rgba(89, 0, 63, .28);
}
body.hp-home .hp-stat + .hp-stat { border-left-color: rgba(255, 255, 255, .18); }
body.hp-home .hp-stat strong { color: #fff; }
body.hp-home .hp-stat span { color: rgba(255, 255, 255, .82); }
body.hp-home .hp-stat .hp-ico {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

/* Icons: shown inside soft round badges */
body.hp-home .hp-dept .hp-ico,
body.hp-home .hp-finder-icon .hp-ico {
  box-sizing: content-box;
  width: 26px;
  height: 26px;
  padding: 14px;
  border-radius: 50%;
  background: var(--hp-blush);
  color: var(--hp-primary);
  transition: background .2s, color .2s;
}
body.hp-home .hp-finder-icon .hp-ico { background: #fff; box-shadow: var(--hp-shadow); }
body.hp-home .sbmch-dept .hp-dept:hover { background: #fff; }
body.hp-home .sbmch-dept .hp-dept:hover .hp-ico { background: var(--hp-primary); color: #fff; }
body.hp-home .hp-service-icon { border-radius: 50%; }
body.hp-home .sbmch-dept .hp-service:hover .hp-service-icon { background: var(--hp-primary); color: #fff; }

/* About: larger hospital photo */
body.hp-home .hp-about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; }
body.hp-home .hp-about-photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 35% center; }

/* Patient reviews: compact */
body.hp-home .sbmch-dept section#home-reviews { padding: 40px 0; }
body.hp-home #home-reviews .hp-heading { margin-bottom: 14px; }
body.hp-home .hp-reviews { max-width: 960px; margin: 0 auto; zoom: .85; }

/* Need medical assistance: white cards on the brand band */
body.hp-home .sbmch-dept .hp-assist-card {
  border-color: #fff;
  background: #fff;
  color: var(--hp-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
body.hp-home .sbmch-dept .hp-assist-card:hover { background: var(--hp-blush); color: var(--hp-primary); transform: translateY(-2px); }
body.hp-home .hp-assist-card > i,
body.hp-home .hp-assist-card .hp-ico {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 10px;
  border-radius: 50%;
  background: var(--hp-blush);
  color: var(--hp-primary);
  font-size: 22px;
  line-height: 22px;
  text-align: center;
}
body.hp-home .hp-assist-card strong { color: var(--hp-ink); }
body.hp-home .hp-assist-card small { color: var(--hp-text); }
body.hp-home .sbmch-dept .hp-assist-main { border-color: #fff; background: #fff; }
body.hp-home .hp-assist-main > i,
body.hp-home .hp-assist-main .hp-ico { background: var(--hp-primary); color: #fff; }
body.hp-home .hp-assist-main strong { color: var(--hp-primary); }

@media (max-width: 991.98px) {
  body.hp-home .hp-about { grid-template-columns: 1fr; }
  body.hp-home .hp-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 767.98px) {
  body.hp-home .hp-stat .hp-ico { width: 20px; height: 20px; padding: 10px; }
  body.hp-home .hp-reviews { zoom: 1; }
}

/* Hero (desktop, 1200px+): taller; photo starts below the fixed menu, keeps its
   true proportions and is pinned bottom-right. Its size is limited so the doctors
   always sit beside the text, never under it (doctors fill the right 48% of the photo). */
@media (min-width: 1200px) {
  body.hp-home .sbmch-dept section.hp-hero {
    --hp-copy: 520px;
    min-height: 760px;
    padding: 150px 0 140px;
    background: #fbfbfc;
  }
  body.hp-home .hp-hero-copy { max-width: var(--hp-copy); }
  body.hp-home .hp-hero-img {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    width: auto;
    max-width: none;
    height: min(calc(100% - 112px), calc((100vw - max(20px, (100vw - 1180px) / 2) - var(--hp-copy) - 30px) / 1.44));
    object-fit: contain;
    object-position: right bottom;
    /* soft top and left edges blend into the background */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%), linear-gradient(to right, transparent 0, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%), linear-gradient(to right, transparent 0, #000 22%);
    mask-composite: intersect;
  }
  body.hp-home .hp-hero::before {
    background: linear-gradient(90deg, rgba(251, 251, 252, .95) 0%, rgba(251, 251, 252, .8) 28%, rgba(251, 251, 252, 0) 48%);
  }
  body.hp-home main .hp-hero h1:not(#_sx):not(#_sy):not(#_sz) { font-size: 2.3rem !important; }
}
@media (min-width: 1400px) {
  body.hp-home main .hp-hero h1:not(#_sx):not(#_sy):not(#_sz) { font-size: 2.7rem !important; }
}
@media (min-width: 1400px) {
  body.hp-home .sbmch-dept section.hp-hero { --hp-copy: 600px; }
}

/* 992-1199px: same stacked hero as tablets (photo on top, text below) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  body.hp-home .sbmch-dept section.hp-hero { display: block; min-height: 0; padding: 100px 0 90px; background: #fff; }
  body.hp-home .hp-hero-img { position: static; height: 360px; object-position: 100% center; }
  body.hp-home .hp-hero::before { display: none; }
  body.hp-home .hp-hero-inner { padding-top: 28px; }
}
