/* Shared layout for wide hero photographs supplied by the company. */
.brand-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: calc(100% - 24px);
  height: auto;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #edf6fd;
}
.brand-hero .hero-copy {
  position: relative;
  z-index: 1;
  width: 51%;
  max-width: 610px;
  padding: 30px 34px 32px;
}
.brand-hero .hero-copy .eyebrow {
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: 2px;
  color: #157e9c;
  border: 0;
  padding: 0;
  margin: 0 0 13px;
}
.brand-hero .hero-copy h1 {
  font-size: 43px;
  line-height: 1.2;
  letter-spacing: -.7px;
  white-space: normal;
}
.brand-hero .hero-copy h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.3px;
  color: #344e66;
  margin-top: 12px;
}
.brand-hero .hero-copy .orange-rule {
  width: 50px;
  height: 3px;
  margin: 15px 0;
}
.brand-hero .hero-copy > p:not(.eyebrow) {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.7;
  color: #486177;
}
.brand-hero .hero-copy .button-row {
  margin-top: 22px;
  gap: 12px;
}
.brand-hero .hero-copy .btn {
  font-size: 15px;
  min-height: 45px;
  padding: 10px 17px;
  gap: 10px;
}
.brand-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.brand-hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  clip-path: none;
  z-index: auto;
}
.brand-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #edf6fdf2 0%, #edf6fde6 27%, #edf6fdc4 38%, #edf6fd38 49%, #edf6fd00 61%);
  pointer-events: none;
}
.knowledge-hero .brand-hero-media::after {
  background: linear-gradient(90deg, #edf6fdfc 0%, #edf6fdf2 28%, #edf6fdd9 39%, #edf6fd57 51%, #edf6fd00 63%);
}
.contact-hero .hero-copy {
  width: 51%;
}
.contact-hero .hero-copy h2 {
  max-width: 480px;
}
.service-page .service-hero.brand-hero {
  width: calc(100% - 24px);
}
.service-page .brand-hero .hero-copy > p {
  max-width: 440px;
  text-wrap: balance;
}
.service-page .brand-hero .hero-copy h1 {
  text-wrap: balance;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .brand-hero { min-height: 410px; }
  .brand-hero .hero-copy { width: 54%; padding: 28px; }
  .brand-hero .hero-copy h1 { font-size: 39px; }
  .brand-hero .hero-copy h2 { font-size: 23px; }
  .brand-hero .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .brand-hero .hero-copy .btn { font-size: 14px; padding-inline: 14px; }
}

@media (max-width: 900px) {
  .brand-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .brand-hero .hero-copy {
    width: 100%;
    max-width: none;
    padding: 27px 28px 26px;
    background: #edf6fd;
  }
  .brand-hero .hero-copy h1 { font-size: 39px; }
  .brand-hero .hero-copy h2 { font-size: 24px; }
  .brand-hero .hero-copy > p:not(.eyebrow) { max-width: none; }
  .brand-hero .hero-copy .button-row { margin-top: 20px; }
  .brand-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(230px, 43vw, 340px);
    z-index: 0;
  }
  .brand-hero .hero-photo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: right top;
  }
  .brand-hero-media::after,
  .knowledge-hero .brand-hero-media::after {
    background: linear-gradient(180deg, #edf6fd 0%, #edf6fd00 13%);
  }
}

@media (max-width: 700px) {
  .brand-hero { width: calc(100% - 20px); border-radius: 15px; }
  .brand-hero .hero-copy { padding: 25px 21px 26px; }
  .brand-hero .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
  .brand-hero .hero-copy h1 { font-size: 35px; }
  .brand-hero .hero-copy h2 { font-size: 22px; }
  .brand-hero .hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.75; }
  .brand-hero .hero-copy .button-row { gap: 9px; }
  .brand-hero .hero-copy .btn { font-size: 13px; min-height: 43px; padding: 10px 12px; gap: 8px; }
  .brand-hero-media { height: clamp(225px, 59vw, 300px); }
}
