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

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

  .vascular-hero-card {
    min-height: 380px;
    border-radius: 22px;
    margin-bottom: 50px;
  }

  .vascular-hero-title {
    font-size: 38px;
    line-height: 46px;
  }

  .vascular-images-grid {
    gap: 18px;
    margin-bottom: 30px;
  }

  .vascular-img-card {
    height: 260px;
  }

  .vascular-info-cards-grid {
    gap: 20px;
  }

  .vascular-info-card {
    padding: 30px 24px 26px;
  }

  .advanced-care-grid,
  .general-surgery-grid,
  .specialized-grid {
    gap: 32px;
  }

  .treatments-pills-grid {
    gap: 14px 20px;
  }
}

/* ---------------- Tablet Screens (<= 900px) ---------------- */
@media (max-width: 900px) {
  .vascular-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vascular-img-card:last-child {
    grid-column: span 2;
    height: 280px;
  }

  .vascular-info-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .advanced-care-grid {
    grid-template-columns: 1fr;
  }

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

  .general-surgery-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }

  .general-img-frame {
    height: 320px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .specialized-grid {
    grid-template-columns: 1fr;
  }

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

  .general-summary-card {
    padding: 28px 24px;
  }
}

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

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

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

  /* Typography guideline: H3 -> 22px, line-height 1.35, font-weight 500 */
  .advanced-care-title,
  .general-surgery-title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 12px;
  }

  /* Typography guideline: P -> 15-16px, line-height 1.4-1.5, font-weight 400 */
  .about-body-text,
  .summary-text {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 16px;
  }

  .vascular-card-text {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
  }

  .vascular-hero-card {
    min-height: 260px !important;
    border-radius: 18px !important;
    margin-bottom: 0px !important;
  }

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

  .vascular-main-section,
  .vascular-treatments-section,
  .vascular-advanced-section,
  .general-surgery-section,
  .specialized-procedures-section,
  .general-summary-section {
    margin-bottom: 10px;
  }

  .vascular-images-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .vascular-img-card,
  .vascular-img-card:last-child {
    grid-column: auto;
    height: 230px;
    border-radius: 16px;
  }

  .vascular-info-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vascular-info-card {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .treatment-pill {
    padding: 10px 14px;
    border-radius: 30px;
    gap: 12px;
  }

  .treatment-pill-icon {
    width: 38px;
    height: 38px;
  }

  .treatment-pill-icon svg {
    width: 18px;
    height: 18px;
  }

  .treatment-tag {
    font-size: 10px;
  }

  .treatment-name {
    font-size: 12.5px;
    line-height: 17px;
  }

  .specialized-list {
    gap: 14px;
  }

  .specialized-text {
    font-size: 15px;
    line-height: 22px;
  }

  .specialized-icon {
    width: 28px;
    height: 28px;
  }

  .specialized-icon svg {
    width: 16px;
    height: 16px;
  }

  .general-summary-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .summary-icon-badge {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
  }

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

/* ---------------- Small Mobile Screens (<= 480px) ---------------- */
@media (max-width: 480px) {
  .vascular-hero-card {
    min-height: 220px;
    border-radius: 14px;
  }

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

  .section-heading-main {
    font-size: 22px;
  }

  .vascular-img-card,
  .vascular-img-card:last-child,
  .advanced-img-frame,
  .general-img-frame,
  .specialized-img-frame {
    height: 220px;
  }

  .treatment-pill {
    border-radius: 20px;
  }
}
