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

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

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

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

  .lab-dept-layout {
    gap: 32px;
  }
}

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

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

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

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

  .lab-dept-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

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

  /* Typography guideline: H1 -> 32px, line-height 1.3, font-weight 700 */
  .lab-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 */
  .lab-section-heading {
    font-size: 26px;
    line-height: 1.32;
    font-weight: 600;
    margin-bottom: 26px;
  }

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

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

  .lab-img-frame,
  .lab-dept-img-frame {
    height: 260px;
    border-radius: 16px;
  }

  .dept-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .dept-card {
    padding: 14px 10px;
    border-radius: 12px;
  }

  .dept-icon {
    width: 44px;
    height: 44px;
  }

  .dept-icon svg {
    width: 22px;
    height: 22px;
  }

  .dept-title {
    font-size: 13.5px;
  }
}

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

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

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

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

  .lab-img-frame,
  .lab-dept-img-frame {
    height: 210px;
    border-radius: 12px;
  }

  .dept-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dept-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 14px;
    text-align: left;
    gap: 14px;
  }

  .dept-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .dept-title {
    font-size: 14px;
    text-align: left;
  }
}
