/* Arise client feedback, 06 Nov 2026.
   Scoped home rhythm + shared footer resilience; intentionally overrides main.css.
   Does not alter CMS content, imagery, or navigation. */

/* Homepage: reduce excessive gaps and maintain a consistent section rhythm. */
.page-home .section {
  padding-block: clamp(3.5rem, 6vw, 5.25rem);
}
.page-home .section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.page-home .infusions {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.page-home .doctor-band,
.page-home .cta-band {
  padding-block: clamp(3.5rem, 6vw, 5.25rem);
}

/* Footer: prevent long addresses and labels from breaking grid columns. */
.site-footer .footer-main {
  align-items: start;
}
.site-footer .footer-main > *,
.site-footer .footer-links > *,
.site-footer .footer-contact-row > * {
  min-width: 0;
}
.site-footer .footer-contact-row {
  column-gap: clamp(1rem, 2vw, 1.5rem);
  row-gap: 1.4rem;
}
.site-footer .fc-item > span:last-child {
  min-width: 0;
}
.site-footer .fc-value,
.site-footer .footer-links address,
.site-footer .footer-links a {
  overflow-wrap: anywhere;
}
.site-footer .footer-links {
  column-gap: clamp(1rem, 3vw, 2rem);
  row-gap: 1.75rem;
}
.site-footer .footer-legal {
  column-gap: 1.4rem;
  row-gap: .5rem;
}

@media (max-width: 600px) {
  .page-home .section {
    padding-block: 3.25rem;
  }
  .page-home .section-head {
    margin-bottom: 1.75rem;
  }
  .site-footer .footer-contact-row {
    gap: 1.2rem;
    padding-block: 1.5rem;
  }
  .site-footer .footer-main {
    gap: 2rem;
    padding-block: 2.75rem;
  }
  .site-footer .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
  .site-footer .footer-links .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .site-footer .footer-base-row {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .site-footer .footer-links {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-links .footer-col:last-child {
    grid-column: auto;
  }
  .site-footer .footer-legal {
    column-gap: 1rem;
  }
}
