@media (max-width: 767px) {
  /* The existing 2048 × 768 background artwork has a 8:3 aspect ratio. */
  .hero-image.renal-hero {
    position: relative;
    display: flow-root;
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 37.5vw !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    overflow: visible !important;
  }

  /* Avoid a full-section overlay washing out the text and the following content. */
  .hero-image.renal-hero::before {
    display: none !important;
  }
  .hero-image.renal-hero::after {
    top: 0 !important;
    bottom: auto !important;
    height: 37.5vw !important;
    pointer-events: none;
  }

  /* Text block begins after the reserved image area and remains in normal flow. */
  .hero-image.renal-hero > .relative.z-10 {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 1rem 1rem 1.25rem !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  .hero-image.renal-hero > .relative.z-10 > div {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  .hero-image.renal-hero .hero-glass {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem !important;
    margin: 0 !important;
  }
  .hero-image.renal-hero .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: normal;
  }
  .hero-image.renal-hero .absolute.bottom-0.left-0.right-0 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
@media (max-width: 430px) {
  .hero-image.renal-hero > .relative.z-10 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .hero-image.renal-hero .hero-glass {
    padding: 0.5rem !important;
  }
  .hero-image.renal-hero .eyebrow {
    max-width: 100%;
    white-space: normal;
    letter-spacing: 0.1em;
  }
  .hero-image.renal-hero .flex.flex-wrap.gap-3.mt-7 > a {
    justify-content: center;
    white-space: normal;
  }
}
