/* Match the My Journey hero treatment across Expertise pages. */
.cm-hero,
.hp-hero,
.fh-hero,
.sd-hero,
.rs-hero,
.rv-hero,
.ow-hero {
  position: relative !important;
  width: 100% !important;
  min-height: 620px !important;
  height: 60vh !important;
  max-height: 820px !important;
  margin: 0 !important;
  padding: 0 6% 60px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #081a1c !important;
  color: #fff !important;
  isolation: isolate;
}

.cm-hero > img,
.hp-hero > img,
.fh-hero > img,
.sd-hero > img,
.rs-hero > img,
.rv-hero > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(.75) contrast(1.08) !important;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.cm-hero:hover > img,
.hp-hero:hover > img,
.fh-hero:hover > img,
.sd-hero:hover > img,
.rs-hero:hover > img,
.rv-hero:hover > img {
  transform: scale(1.06);
}

.cm-hero::after,
.hp-hero::after,
.fh-hero::after,
.sd-hero::after,
.rs-hero::after,
.rv-hero::after,
.ow-hero::after {
  content: "";
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 22, .65) 0%,
    rgba(8, 20, 22, .35) 45%,
    rgba(8, 20, 22, .9) 85%,
    rgba(8, 20, 22, .98) 100%
  ) !important;
}

.cm-hero-content,
.hp-hero-content,
.fh-hero-content,
.sd-hero-content,
.rs-hero-content,
.rv-hero-content {
  position: relative !important;
  z-index: 2 !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 !important;
  color: #fff !important;
  text-align: left !important;
}

.cm-hero .cm-eyebrow,
.hp-hero .hp-eyebrow,
.fh-hero .fh-eyebrow,
.sd-hero .sd-eyebrow,
.rs-hero .rs-eyebrow,
.rv-hero .rv-eyebrow,
.ow-hero-copy .ow-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 20px !important;
  padding: 6px 16px !important;
  border: 1px solid rgba(95, 214, 219, .3) !important;
  border-radius: 30px !important;
  background: rgba(0, 143, 149, .25) !important;
  color: #5fd6db !important;
  -webkit-text-fill-color: #5fd6db !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  letter-spacing: 3.5px !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px);
}

.cm-hero h1,
.hp-hero h1,
.fh-hero h1,
.sd-hero h1,
.rs-hero h1,
.rv-hero h1,
.ow-hero-copy h1 {
  max-width: 900px !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(3rem, 6.5vw, 5rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -1.5px !important;
  text-transform: uppercase !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .5) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
}

.cm-hero-deck,
.fh-hero-deck,
.sd-hero-deck,
.rs-hero-deck,
.rv-hero-deck,
.ow-hero-copy .ow-lead,
.hp-hero-bottom {
  display: block !important;
  max-width: 750px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .92) !important;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5) !important;
}

.hp-hero-bottom {
  border: 0 !important;
  padding: 0 !important;
}

.hp-hero-bottom span {
  display: block !important;
  color: rgba(255, 255, 255, .92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .92) !important;
}

.cm-hero-bottom,
.fh-hero-bottom,
.sd-hero-bottom,
.rs-hero-bottom,
.rv-hero-bottom,
.rs-hero-kicker,
.ow-hero-copy .ow-button,
.hp-hero-bottom a {
  display: none !important;
}

/* Offices uses a split-layout source hero; present its copy over the full-bleed image. */
.ow-hero {
  padding-top: 0 !important;
}

.ow-hero-grid {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 100% !important;
}

.ow-hero-copy {
  position: absolute !important;
  z-index: 2 !important;
  inset: auto 6% 60px !important;
  width: auto !important;
  max-width: 900px !important;
  padding: 0 !important;
  color: #fff !important;
  text-align: left !important;
}

.ow-hero-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.ow-hero-image > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(.75) contrast(1.08) !important;
}

.ow-image-label,
.ow-image-caption {
  display: none !important;
}

.cm-hero .cm-eyebrow::before,
.ow-hero .ow-eyebrow::before {
  display: none !important;
}

#cm-main:not(#footer-placeholder) section.cm-hero .cm-eyebrow,
#hp-main:not(#footer-placeholder) section.hp-hero .hp-eyebrow,
#ow-main:not(#footer-placeholder) section.ow-hero .ow-eyebrow,
#fh-main:not(#footer-placeholder) section.fh-hero .fh-eyebrow,
#sd-main:not(#footer-placeholder) section.sd-hero .sd-eyebrow,
#rs-main:not(#footer-placeholder) section.rs-hero .rs-eyebrow,
#rv-main:not(#footer-placeholder) section.rv-hero .rv-eyebrow {
  color: #5fd6db !important;
  -webkit-text-fill-color: #5fd6db !important;
  background: rgba(0, 143, 149, .25) !important;
  border-color: rgba(95, 214, 219, .3) !important;
}

#cm-main:not(#footer-placeholder) section.cm-hero h1,
#hp-main:not(#footer-placeholder) section.hp-hero h1,
#ow-main:not(#footer-placeholder) section.ow-hero h1,
#fh-main:not(#footer-placeholder) section.fh-hero h1,
#sd-main:not(#footer-placeholder) section.sd-hero h1,
#rs-main:not(#footer-placeholder) section.rs-hero h1,
#rv-main:not(#footer-placeholder) section.rv-hero h1 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-stroke: 0 !important;
}

#cm-main:not(#footer-placeholder) section.cm-hero .cm-hero-deck,
#hp-main:not(#footer-placeholder) section.hp-hero .hp-hero-bottom,
#ow-main:not(#footer-placeholder) section.ow-hero .ow-lead,
#fh-main:not(#footer-placeholder) section.fh-hero .fh-hero-deck,
#sd-main:not(#footer-placeholder) section.sd-hero .sd-hero-deck,
#rs-main:not(#footer-placeholder) section.rs-hero .rs-hero-deck,
#rv-main:not(#footer-placeholder) section.rv-hero .rv-hero-deck {
  color: rgba(255, 255, 255, .92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .92) !important;
}

#hp-main:not(#footer-placeholder) section.hp-hero .hp-hero-bottom span {
  color: rgba(255, 255, 255, .92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .92) !important;
}

@media (max-width: 700px) {
  .cm-hero h1,
  .hp-hero h1,
  .fh-hero h1,
  .sd-hero h1,
  .rs-hero h1,
  .rv-hero h1,
  .ow-hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.5rem) !important;
    line-height: 1.05 !important;
  }

  .ow-hero-copy {
    inset: auto 6% 60px !important;
  }
}
