.hs-banner-wrapper {
  aspect-ratio: 21 / 9 !important;
  max-height: 300px !important;
  width: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  overflow: hidden !important;
}

.hs-banner-wrapper .page-center {
  height: 100% !important;
}

.hs-banner-wrapper .hs-banner-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 21 / 9) {
  .hs-banner-wrapper {
    position: relative !important;
    padding-top: 42.85% !important; /* 9/21 = 0.4285 */
    height: 0 !important;
  }
  .hs-banner-wrapper .page-center {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 720px) {
  .hs-banner-wrapper {
    max-height: 200px !important;
  }
}