/* Mobile-only final correction: show the full hero artwork first, then its text. */
@media (max-width: 767px) {
  .hero-image {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 37.5vw !important; /* original hero artwork is 2048 × 768 */
    overflow: visible !important;
    background-image: url("../../images/orthopaedic-operating-room-hero.png") !important;
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
  }
  .hero-image::before {
    display: none !important;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 37.5vw;
    background-image: url("../../images/orthopaedic-operating-room-hero.png");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
  }
  .hero-image::after { display: none !important; }
  .hero-image > .relative.z-10 {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 1.1rem 1rem 1.25rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-image > .relative.z-10 > .max-w-2xl {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  .hero-image .hero-glass {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .hero-image .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.35rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: normal !important;
  }
  .hero-image .hero-glass p {
    font-size: .9rem !important;
    line-height: 1.55 !important;
  }
  .hero-image .hero-glass > .flex.flex-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .6rem !important;
    margin-top: 1.1rem !important;
  }
  .hero-image .hero-glass > .flex.flex-wrap a {
    max-width: 100% !important;
    white-space: normal !important;
    justify-content: center;
    padding: .7rem .85rem !important;
    font-size: .8rem !important;
  }
  .hero-image > .absolute.bottom-0.left-0.right-0 {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .hero-image > .absolute.bottom-0.left-0.right-0 > div {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
    padding: 1rem !important;
  }
  .hero-image > .absolute.bottom-0.left-0.right-0 > div > div { min-width: 0; }
  .hero-image > .absolute.bottom-0.left-0.right-0 > div > div > div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 374px) {
  .hero-image { padding-top: 37.5vw !important; }
  .hero-image > .relative.z-10 { padding-left: .85rem !important; padding-right: .85rem !important; }
  .hero-image .hero-title { font-size: 1.65rem !important; }
  .hero-image .hero-glass > .flex.flex-wrap a { width: 100%; }
}
