/* StrategicRX portrait replacements, v24. Kept separate from the compiled site CSS. */
.operator-photo img {
  object-position: center top !important;
}

.about-hero-wide,
.eds-hero-wide {
  background: #f6f1e8;
  color: var(--navy);
}

.about-hero-wide > img,
.eds-hero-wide > img {
  object-position: center center !important;
}

.about-hero-shade {
  background: linear-gradient(90deg, #f6f1e8 0%, #f6f1e8f7 36%, #f6f1e88a 55%, #f6f1e800 74%);
}

.eds-hero-shade {
  background: linear-gradient(270deg, #f6f1e8 0%, #f6f1e8f7 36%, #f6f1e878 55%, #f6f1e800 74%);
}

.about-hero-content h1,
.eds-hero-content h1,
.about-hero-content .eyebrow,
.eds-hero-content .eyebrow {
  color: var(--navy);
}

.about-hero-content > p:not(.eyebrow),
.eds-hero-content > p:not(.eyebrow) {
  color: #304455;
}

.eds-hero-content {
  padding-left: 52%;
}

.enterprise-hero .subpage-hero-inner {
  grid-template-columns: minmax(0, 760px);
}

.enterprise-hero-note {
  display: none !important;
}

.enterprise-advisor-photo img {
  object-fit: cover !important;
  object-position: center top !important;
}

.enterprise-advisor-card:first-child .enterprise-advisor-photo,
.enterprise-advisor-card:last-child .enterprise-advisor-photo {
  background: #fff;
}

.enterprise-advisor-card:last-child .enterprise-advisor-photo img {
  object-position: center top !important;
  transform: none !important;
}

.insights-hero {
  background-color: #f6f1e8;
  background-image: linear-gradient(90deg, #f6f1e8 0%, #f6f1e8 48%, #f6f1e8a8 64%, #f6f1e800 80%), url('/chris-kaempf-thought-leadership.webp');
  background-repeat: no-repeat;
  background-position: center, right 3% center;
  background-size: cover, auto 94%;
  color: var(--navy);
}

.insights-hero::after {
  display: none;
}

.insights-hero .subpage-hero-copy h1,
.insights-hero .eyebrow {
  color: var(--navy);
}

.insights-hero .subpage-hero-copy > p:not(.eyebrow) {
  color: #304455;
}

/* Homepage: blazer-and-desk hero with copy on the right. */
@media (min-width: 981px) {
  .hero-shade {
    background: linear-gradient(270deg, rgba(246, 241, 232, 0.99) 0%, rgba(246, 241, 232, 0.96) 31%, rgba(246, 241, 232, 0.68) 49%, rgba(246, 241, 232, 0.08) 68%, rgba(246, 241, 232, 0) 100%) !important;
  }

  .hero-shell {
    justify-content: flex-end;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-image {
    object-position: center 42% !important;
  }
}

@media (max-width: 980px) {
  .hero-image-mobile {
    object-position: 24% center !important;
  }
}

@media (max-width: 980px) {
  .enterprise-hero .subpage-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-hero-wide > img {
    content: url('/chris-kaempf-about-hero-mobile.webp');
  }

  .eds-hero-wide > img {
    content: url('/chris-kaempf-eds-hero-mobile.webp');
  }

  .about-hero-shade,
  .eds-hero-shade {
    display: block;
    background: linear-gradient(180deg, #f6f1e800 0%, #f6f1e814 42%, #f6f1e8f2 66%, #f6f1e8 100%);
  }

  .eds-hero-content {
    padding-left: 20px;
  }

  .insights-hero {
    padding-bottom: 430px;
    background-image: linear-gradient(180deg, #f6f1e8 0%, #f6f1e8 48%, #f6f1e8b8 61%, #f6f1e800 77%), url('/chris-kaempf-thought-leadership.webp');
    background-position: center, center bottom 18px;
    background-size: cover, auto 54%;
  }
}
