/* ==========================================================
   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: #1687c9; 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: #1687c9; }
#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: #1687c9; box-shadow: 0 0 0 .2rem rgba(22,135,201,.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: #1687c9;
  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: #1687c9;
  background: #e8f5fd;
  box-shadow: 0 5px 14px rgba(22,135,201,.10);
  font-size: 23px;
}
#institution .sbmch-about-title {
  max-width: 720px;
  margin: 0;
  color: #17325b;
  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, #1687c9, #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: #17325b;
  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 #17325b;
  border-radius: 10px;
  color: #fff;
  background: #17325b;
  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: #1687c9;
  border-color: #1687c9;
}
#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: #1687c9; }

/* 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: #1687c9;
  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: #17325b; 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: #1687c9; 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: #1687c9; }
.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: #1687c9; 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: #17325b; 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: #1687c9; font-size: 13px; }
.sbmch-doctor-info { display: flex; flex: 1; flex-direction: column; padding: 23px 23px 21px; }
.sbmch-doctor-designation { margin-bottom: 8px; color: #1687c9; 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: #1687c9; 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: #17325b; 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: #1687c9; }
.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: #1687c9; 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: #1687c9;
}

#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;
  }

}
