/* Location page — layout and responsive overrides */

/* Hero banner typography */
.location-banner__title {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.location-banner__subtitle {
  color: #222;
  font-size: clamp(22px, 3.5vw, 32px) !important;
  line-height: 1.2;
}

.location-banner__desc {
  font-size: 15px !important;
  max-width: 420px;
  letter-spacing: 0 !important;
}

.location-banner .mini-stat-card {
  min-height: 88px;
  padding: 10px 8px;
}

.location-banner .mini-stat-card__value {
  font-size: 14px !important;
}

.location-banner .mini-stat-card__label {
  font-size: 11px !important;
  line-height: 1.25;
  letter-spacing: 0 !important;
}

/* Mobile: clear fixed phone logo bar so hero title is fully visible */
@media (max-width: 991.98px) {
  .location-banner.hero-image-banner {
    padding-top: 110px !important;
    min-height: auto;
  }

  .location-banner .hero-image-banner__inner {
    position: relative;
    z-index: 3;
    padding-top: 8px;
  }

  .location-banner__title {
    color: #8d2954 !important;
    font-size: 1.6rem;
    line-height: 1.3;
    position: relative;
    z-index: 3;
  }

  .location-banner__desc {
    color: #5e5661 !important;
    position: relative;
    z-index: 3;
  }

  .location-banner .hero-image-banner__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 55%,
      rgba(255, 255, 255, 0.82) 100%
    );
  }

  .location-banner .hero-image-banner__bg {
    object-position: center top;
  }
  .faq-section .section-heading {
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
  .location-banner.hero-image-banner {
    padding-top: 100px !important;
  }

  .location-banner__title {
    font-size: 1.45rem !important;
  }

  .location-banner .row-cols-2 > .col:nth-child(5) {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Map section — Google Map */
.hospitals-map .location-map-panel {
  margin-top: 0;
}

.map-card.map-card--gmap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #eef1f4;
  min-height: 320px;
}

.map-card__gmap {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 280px;
  border: 0;
  border-radius: 10px;
}

.map-card--gmap .map-nav {
  z-index: 2;
}

@media (max-width: 767.98px) {
  .map-card__gmap {
    height: 280px;
  }
}

/* Hospital location cards */
.hospital-locations .section-heading {
  margin-bottom: 24px;
}

.hospital-locations-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -12px;
  padding: 0 12px 8px;
}

.hospital-locations-scroll > .row {
  flex-wrap: nowrap;
}

.hospital-locations-scroll .col {
  flex: 0 0 auto;
  width: min(280px, 88vw);
}

@media (min-width: 576px) {
  .hospital-locations-scroll .col {
    width: min(300px, 46vw);
  }
}

@media (min-width: 1200px) {
  .hospital-locations-scroll {
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .hospital-locations-scroll > .row {
    flex-wrap: wrap;
  }

  .hospital-locations-scroll .col {
    flex: 0 0 auto;
    width: auto;
  }
}

/* Why choose — title above maroon bar (design match) */
.why-choose-bar-section__heading {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.why-choose-bar--stacked {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* legacy title-inside-bar (unused when heading is external) */
.why-choose-bar__title {
  margin: 0 0 22px;
  padding: 0 16px;
  color: #fff;
  font-size: clamp(20px, 3vw, 24px) !important;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.why-choose-bar__line {
  margin: 0;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0 !important;
}

.why-choose-bar__line--primary {
  font-size: 13px !important;
  font-weight: 700;
}

.why-choose-bar__line--secondary {
  margin-top: 3px;
  font-size: 13px !important;
  font-weight: 500;
  opacity: 0.92;
}

.why-choose-bar__icon--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.why-choose-bar__icon--img img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 575.98px) {
  .why-choose-bar--stacked .row-cols-xl-6 {
    --bs-columns: 2;
  }

  .why-choose-bar__text,
  .why-choose-bar__line--primary {
    font-size: 11px !important;
  }

  .why-choose-bar__line--secondary {
    font-size: 10px !important;
  }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .why-choose-bar--stacked .row-cols-xl-6 {
    --bs-columns: 3;
  }
}

/* Awards grid: 4-up desktop, center when fewer cards */
.awards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

.awards-grid--center {
  justify-content: center;
}

.awards-grid__item {
  flex: 0 0 calc((100% - 16px) / 2);
  max-width: calc((100% - 16px) / 2);
  min-width: 0;
}

@media (min-width: 768px) {
  .awards-grid__item {
    flex: 0 0 calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
  }
}

.award-card--logo .award-card__emblem--image {
  width: 100%;
  margin-bottom: 0;
}

.award-card--logo .award-card__text {
  margin-top: 12px;
}

/* CTA banner responsive */
.location-cta .cta-banner {
  gap: 16px;
}

@media (max-width: 575.98px) {
  .location-cta .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .location-cta .cta-banner__text {
    font-size: 15px !important;
  }

  .location-cta .btn-call-inverse {
    width: 100%;
  }
}
