/* ==========================================================================
   Sri Chakra Multispeciality Hospital - X-Ray 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) {
  .xray-page-wrapper {
    padding: 24px 24px 60px;
  }

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

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

  .xray-two-col-grid {
    gap: 36px;
  }

  .imaging-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

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

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

  .xray-img-frame {
    height: 320px;
    max-width: 600px;
    margin: 0 auto;
  }
}

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

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

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

  /* Typography guideline: H1 -> 32px, line-height 1.3, font-weight 700 */
  .xray-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 */
  .xray-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 */
  .xray-body-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .xray-section {
    margin-bottom: 10px !important;
  }

  .xray-img-frame {
    height: 260px;
    border-radius: 16px;
  }

  .imaging-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .imaging-card {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .imaging-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .imaging-icon svg {
    width: 24px;
    height: 24px;
  }

  .imaging-title {
    font-size: 14.5px;
  }

  .imaging-desc {
    font-size: 13px;
  }
}

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

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

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

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

  .xray-img-frame {
    height: 210px;
    border-radius: 12px;
  }

  .imaging-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .imaging-card {
    padding: 16px 14px;
  }
}
