/* Eleven cinematic service heroes, following the homepage reference. */
body.editorial-site main#main-content #service-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - var(--site-header-height,80px)) !important;
  min-height: calc(100svh - var(--site-header-height,80px)) !important;
  margin: 0;
  padding: 56px 0 72px !important;
  overflow: hidden;
  border: 0;
  background: #102129 !important;
  color: #fffaf1;
}
body.editorial-site main#main-content #service-hero::before { display: none; }
body.editorial-site main#main-content #service-hero::after {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg,rgb(5 17 25 / 48%),transparent 38%),linear-gradient(90deg,rgb(5 20 29 / 92%) 0%,rgb(5 20 29 / 84%) 30%,rgb(5 20 29 / 66%) 48%,rgb(5 20 29 / 24%) 72%,rgb(5 20 29 / 10%) 100%);
}
body.editorial-site main#main-content #service-hero > :is(.pdf-service-hero-grid, .container) {
  position: static;
  display: block;
  width: min(1440px, 88.8%);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}
body.editorial-site main#main-content #service-hero .service-hero-copy {
  position: relative;
  z-index: 2;
  display: block;
  width: 64%;
  max-width: 840px;
  margin: 0;
  padding: 0;
}
body.editorial-site main#main-content #service-hero :is(.pdf-service-photo, .service-hero-background) {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #102129;
}
body.editorial-site main#main-content #service-hero :is(.pdf-service-photo, .service-hero-background) img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  opacity: 1;
  filter: none;
}
/* Keep factory subjects visible within the full-section photograph. */
body.editorial-site:is(.page-business-diagnosis,.page-export-readiness) main#main-content #service-hero .pdf-service-photo img { object-position: center 24%; }
body.editorial-site main#main-content #service-hero h1 {
  max-width: 22ch !important;
  margin: 0 0 26px;
  color: #fffaf1 !important;
  font-size: clamp(44px, 4.5vw, 68px) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
body.editorial-site main#main-content #service-hero :is(.pdf-service-eyebrow, .eyebrow) {
  margin: 0 0 28px;
  color: #efc58d !important;
}
body.editorial-site main#main-content #service-hero .pdf-service-eyebrow::before { background: #efc58d; }
body.editorial-site main#main-content #service-hero :is(.pdf-service-lead, .section-lead) {
  width: 100%;
  max-width: 65ch;
  margin: 0 0 28px;
  color: #f0eee8 !important;
  font: 400 clamp(15px,1.15vw,18px)/1.7 Arial, sans-serif;
}
body.editorial-site main#main-content #service-hero .ez-text-link { color: #fffaf1 !important; border-color: #efc58d; }
body.editorial-site main#main-content #service-hero h1 .service-hero-accent { color: #e3b683 !important; }
body.editorial-site main#main-content #service-hero .btn { min-height: 50px; padding:15px 24px; border-radius:3px!important; font-size:13px; }
body.editorial-site main#main-content #service-hero :is(a,button):focus-visible { outline: 2px solid #fffaf1; outline-offset: 5px; }
/* Bring the first content section closer to the bottom of every service hero. */
body.editorial-site main#main-content #service-hero + section {
  margin-top: 0;
  padding-top: 28px !important;
}
body.editorial-site main#main-content #service-hero + section > .ez-editorial-split { align-items: start; }
@media (max-width: 1000px) {
  body.editorial-site main#main-content #service-hero + section { padding-top: 20px !important; }
  body.editorial-site main#main-content #service-hero { padding-block: 44px !important; }
  body.editorial-site main#main-content #service-hero > :is(.pdf-service-hero-grid, .container) { width: calc(100% - 40px); }
  body.editorial-site main#main-content #service-hero .service-hero-copy { width: 100%; max-width: 760px; }
  body.editorial-site main#main-content #service-hero :is(.pdf-service-photo, .service-hero-background) img { width: 100%; }
  body.editorial-site main#main-content #service-hero::after { background: linear-gradient(90deg, rgb(6 18 26 / 94%), rgb(6 18 26 / 78%)); }
  body.editorial-site main#main-content #service-hero h1 { font-size: clamp(36px, 5.4vw, 54px) !important; max-width: 24ch !important; }
  body.editorial-site main#main-content #service-hero :is(.pdf-service-lead, .section-lead) { font-size: 15px; line-height: 1.75; }
}
@media print {
  body.editorial-site main#main-content #service-hero { min-height: 0 !important; background: white !important; color: #26332e; }
  body.editorial-site main#main-content #service-hero::after, body.editorial-site main#main-content #service-hero :is(.pdf-service-photo,.service-hero-background) { display: none !important; }
  body.editorial-site main#main-content #service-hero :is(h1,p,a) { color: #26332e !important; }
}
