/* ==========================================================================
   Sri Chakra Multispeciality Hospital - Doctors 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
   ========================================================================== */

/* ---------------- Desktop Breakpoint (<= 1200px) ---------------- */
@media (max-width: 1200px) {
  .doctor-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

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

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

  .doctors-section {
    margin-bottom: 56px;
  }

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

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

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

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

  .doctor-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 14px;
  }
}

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

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

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

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

  .doctors-section {
    margin-bottom: 20px !important;
  }

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

  .feature-icon {
    width: 50px;
    height: 50px;
  }

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

  .feature-title {
    font-size: 15px;
  }

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

  .doctor-search-box {
    max-width: 100%;
  }

  .doctor-search-box input {
    padding: 11px 16px 11px 44px;
    font-size: 14px;
  }

  .doctor-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 12px;
  }

  .doc-card {
    padding: 16px 8px 14px;
    border-radius: 12px;
  }

  .doc-icon-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

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

  .doc-name {
    font-size: 13px;
    min-height: 32px;
  }

  .doc-specialty {
    font-size: 11px;
  }
}

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

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

  .doctors-hero-title {
    font-size: 28px;
  }

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

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doctor-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
  }

  .doc-card {
    padding: 14px 6px 12px;
  }

  .doc-name {
    font-size: 12.5px;
  }

  .doc-specialty {
    font-size: 10.5px;
  }
}

/* ---------------- Extra Small Screens (<= 360px) ---------------- */
@media (max-width: 360px) {
  .doctor-cards-grid {
    grid-template-columns: 1fr;
  }
}
