/* The still photograph remains the default, including when JavaScript is unavailable. */
.industrial-hero > .hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  pointer-events: none;
}

.hero-video[hidden],
.hero-video-toggle[hidden] {
  display: none;
}

.hero-media-controls {
  position: absolute;
  right: max(50px, calc((100% - 1320px) / 2));
  bottom: 100px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(340px, calc(100% - 40px));
}

.hero-video-toggle {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ffffff90;
  border-radius: 0;
  background: #101710eb;
  color: #f2f0e9;
  font: 500 12px/1.5 Inter, Arial, sans-serif;
}

.hero-video-toggle:hover:not(:disabled) {
  background: #cfb18b;
  color: #171c17;
  border-color: #cfb18b;
}

.hero-video-toggle:focus-visible {
  outline: 2px solid #ead2b2;
  outline-offset: 4px;
}

.hero-video-toggle:disabled {
  cursor: default;
  color: #d0d5cc;
  border-style: dashed;
}

.hero-video-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-video-unavailable .hero-video-status {
  position: static;
  width: auto;
  height: auto;
  padding: 9px 12px;
  clip-path: none;
  white-space: normal;
  background: #101710eb;
  color: #f2f0e9;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 1150px) {
  .hero-media-controls {
    right: 32px;
  }
}

@media (max-width: 950px) {
  .industrial-hero.hero-has-video {
    height: auto;
    min-height: 660px;
  }

  .hero-has-video .hero-content {
    padding-bottom: 220px;
  }
}

@media (max-width: 650px) {
  .industrial-hero > .hero-video {
    object-position: 60% center;
  }

  .industrial-hero.hero-has-video {
    min-height: min(730px, calc(100svh - 78px));
  }

  .hero-has-video .hero-content {
    padding-bottom: 220px;
  }

  .hero-media-controls {
    right: 20px;
    bottom: 86px;
  }
}

@media (forced-colors: active) {
  .hero-video-toggle {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
  }
}
