/* Approved compact homepage layout for the electrical-company sample. */
.hero .sample-hero-intro {
  display: block;
  font-size: clamp(26px, 3.6vw, 42px);
  margin: 0 0 20px;
}
.hero .sample-hero-company { display: block; font-size: inherit; margin: 0; }
.hero .sample-heading-fit {
  min-width: 0;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}
.hero .sample-heading-unit {
  display: inline-block;
  font: inherit;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.hero .sample-heading-fit[data-lines="1"] { white-space: nowrap; }
/* Remove the WBR's anonymous line box after JS chooses a layout. */
.hero .sample-heading-fit[data-lines] > wbr { display: none; }
.hero .sample-heading-fit[data-lines="2"] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .sample-heading-fit[data-lines="2"] > .sample-heading-unit {
  display: block;
  width: max-content;
}
.hero .hero-copy-panel, .hero .hero-body { min-width: 0; }
.hero .hero-body > .eyebrow { margin-bottom: 8px; }
.hero .hero-copy { margin-top: 16px; line-height: 1.65; }
.hero .hero-body > .actions { margin-top: 20px; }
@media (min-width: 901px) {
  .hero.hero-split {
    min-height: calc(100vh - 75px);
    min-height: calc(100svh - 75px);
    align-items: stretch;
  }
  .hero .hero-copy-panel {
    padding-left: max(28px, calc((100vw - 1120px) / 2));
    padding-right: 32px;
  }
  .hero .hero-body {
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: clamp(20px, 4vh, 32px) 0;
  }
  /* Let content determine height, rather than the image's intrinsic size. */
  .hero .hero-photo-panel { position: relative; min-height: 0; }
  .hero .hero-photo-panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
}
@media (max-width: 900px) {
  .hero .hero-body { padding: 32px 0 36px; }
  .hero .sample-hero-intro { margin-bottom: 18px; }
}
