/* ==========================================================================
   Sri Chakra Multispeciality Hospital - ICU Page Responsive Stylesheet
   Strictly adhering to mobile typography guidelines (< 768px):
   - H1: 32px / line-height 1.3 / weight 700
   - H2: 26px / line-height 1.32 / weight 600
   - H3: 20px - 22px / line-height 1.35 / weight 600
   - P : 15px - 16px / line-height 1.6 / weight 400
   ========================================================================== */

/* ---------------- Medium / Tablet Screens (<= 1100px) ---------------- */
@media (max-width: 1100px) {
  .icu-page-wrapper {
    padding: 24px 24px 60px;
  }

  .icu-hero-card {
    min-height: 280px;
    margin-bottom: 50px;
    border-radius: 20px;
  }

  .icu-hero-title {
    font-size: 40px;
  }

  .icu-two-col-grid,
  .specialist-grid {
    gap: 36px;
  }
}

/* ---------------- Tablet Screens (<= 900px) ---------------- */
@media (max-width: 900px) {
  .icu-section {
    margin-bottom: 56px;
  }

  .icu-section-heading {
    font-size: 30px;
    margin-bottom: 32px;
  }

  .icu-two-col-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .specialist-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    display: flex;
    flex-direction: column-reverse;
  }

  .icu-img-frame,
  .specialist-img-frame {
    height: 320px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------------- Mobile Screens (<= 768px) ---------------- */
@media (max-width: 768px) {
  .icu-page-wrapper {
    padding: 16px 16px 50px;
  }

  .icu-hero-card {
    min-height: 240px !important;
    border-radius: 16px !important;
    margin-bottom: 0px !important;
  }

  .icu-hero-content {
    padding: 24px 16px;
  }

  /* Typography guideline: H1 -> 32px, line-height 1.3, font-weight 700 */
  .icu-hero-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
  }

  .breadcrumb-nav {
    font-size: 14px;
    padding: 6px 16px;
  }

  /* Typography guideline: H2 -> 26px, line-height 1.32, font-weight 600 */
  .icu-section-heading {
    font-size: 26px;
    line-height: 1.32;
    font-weight: 600;
    margin-bottom: 24px;
  }

  /* Typography guideline: P -> 15-16px, line-height 1.6, font-weight 400 */
  .icu-body-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .icu-section {
    margin-bottom: 10px;
  }

  .icu-img-frame,
  .specialist-img-frame {
    height: 260px;
    border-radius: 16px;
  }

  .specialist-credentials-wrap {
    padding-left: 0;
    border-left: none;
    gap: 14px;
  }

  .credential-item {
    padding: 12px 16px;
    gap: 14px;
  }

  .credential-icon {
    width: 38px;
    height: 38px;
  }

  .credential-icon svg {
    width: 20px;
    height: 20px;
  }

  .credential-text {
    font-size: 14px;
  }

  .treatment-pills-wrap {
    gap: 10px 12px;
  }

  .treatment-pill {
    font-size: 13.5px;
    padding: 9px 18px;
  }
}

/* ---------------- Small Mobile Screens (<= 480px) ---------------- */
@media (max-width: 480px) {
  .icu-page-wrapper {
    padding: 12px 12px 40px;
  }

  .icu-hero-card {
    min-height: 200px;
    border-radius: 12px;
    margin-bottom: 32px;
  }

  .icu-hero-title {
    font-size: 26px;
  }

  .icu-section-heading {
    font-size: 23px;
    margin-bottom: 20px;
  }

  .icu-img-frame,
  .specialist-img-frame {
    height: 210px;
    border-radius: 12px;
  }

  .credential-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .credential-text {
    font-size: 13px;
  }

  .treatment-pills-wrap {
    gap: 8px 10px;
  }

  .treatment-pill {
    font-size: 12px;
    padding: 8px 14px;
  }
}
