/* Match the Upper GI banner without changing the remaining editorial page. */
#bariatric-banner .hero-copy h1.display {
  max-width: 12ch;
  color: #fff !important;
  font-family: "Inter";
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}

#bariatric-banner .hero-copy .lead {
  max-width: 590px;
  margin: 13px 0 8px;
  color: rgba(255,255,255,.94) !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

#bariatric-banner .hero-art::after {
  background: var(--surgical-bronze-hero-overlay);
  mix-blend-mode: multiply;
}

#bariatric-banner .hero-art { isolation: isolate; }

#bariatric-banner.hero-splash.bariatric-hero .hero-art > :last-child .media-card img {
  object-position: center 22%;
}

#bariatric-banner .hero-art > :first-child {
  justify-content: flex-end;
  padding-bottom: clamp(36px, 5vw, 64px);
}

@media (min-width: 681px) {
  #bariatric-banner .hero-art > :first-child {
    align-items: flex-start;
    text-align: left;
  }
  #bariatric-banner .hero-copy {
    margin-inline: 0;
    text-align: left;
  }
  #bariatric-banner .hero-copy > * {
    margin-inline: 0;
  }
  #bariatric-banner .hero-copy .btn-row {
    justify-content: flex-start;
  }
}

#bariatric-banner .hero-copy .btn-row {
  gap: 10px;
  margin-top: 2px;
}

#bariatric-banner .hero-copy .btn {
  padding: 13px 22px;
  border: 1px solid rgba(255,255,255,.74);
  background: transparent;
  color: #fff !important;
  font-family: "Inter";
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 1.55;
  white-space: nowrap;
}

#bariatric-banner .hero-copy .btn:hover {
  background: rgba(255,255,255,.16);
  border-color: #fff;
}

@media (min-width: 681px) and (max-width: 880px) {
  #bariatric-banner .hero-copy .btn { padding: 13px 20px; }
}

@media (max-width: 680px) {
  #bariatric-banner .hero-art > :first-child {
    align-items: center;
    text-align: center;
  }
  #bariatric-banner .hero-copy {
    margin-inline: auto;
    text-align: center;
  }
  #bariatric-banner .hero-copy > * {
    margin-inline: auto;
  }
  #bariatric-banner .hero-copy .btn-row {
    justify-content: center;
  }

  body.has-event-registration-promo #bariatric-banner .hero-art > :first-child {
    padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px));
  }

  #bariatric-banner .hero-copy h1.display {
    max-width: 13ch;
    font-size: clamp(29px, 9.2vw, 38px);
  }

  #bariatric-banner .hero-copy .lead {
    margin: 11px 0 7px;
    font-size: 14px;
    line-height: 1.43;
  }

  #bariatric-banner .hero-art::after {
    background: var(--surgical-bronze-hero-overlay);
  }

  #bariatric-banner .hero-copy .btn-row {
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  #bariatric-banner .hero-copy .btn {
    flex: 0 0 auto;
    width: auto;
    padding: 11px 7px;
    font-size: clamp(10px, 2.75vw, 11px);
    letter-spacing: .25px;
    line-height: 1.15;
  }

  #bariatric-banner.hero-splash.bariatric-hero .hero-art > :last-child .media-card img {
    object-position: center 22%;
  }
}

@media (max-width: 360px) {
  #bariatric-banner .hero-copy .btn-row { gap: 6px; }
  #bariatric-banner .hero-copy .btn {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
    letter-spacing: 0;
  }
}
