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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .protocol-card {
    padding: 22px 14px;
    border-radius: 14px;
  }

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

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

  .protocol-title {
    font-size: 14px;
    line-height: 1.4;
  }
}

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

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

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

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

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

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

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

  .protocol-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .protocol-title {
    font-size: 13.5px;
    text-align: left;
  }
}
