/* Load AFTER Bootstrap and the site's existing styles. All selectors are scoped. */
.ee-video-hero {
  /* Lower these three opacities to make the overlay lighter. */
  --hero-shade-left: .45;
  --hero-shade-middle: .20;
  --hero-shade-right: .05;
  --hero-focus: 50% 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(36rem, 45vw, 56rem);
  overflow: hidden;
  background: #173e36;
  color: #fff;
}
.ee-video-hero, .ee-video-hero * { box-sizing: border-box; }
.ee-video-hero .ee-video-hero__poster,
.ee-video-hero .ee-video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-focus);
  pointer-events: none;
}
.ee-video-hero .ee-video-hero__poster { z-index: 0; }
.ee-video-hero .ee-video-hero__video { z-index: 1; opacity: 0; }
.ee-video-hero.ee-video-hero--has-frame .ee-video-hero__video { opacity: 1; }
.ee-video-hero .ee-video-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(3,22,20,var(--hero-shade-left)),
    rgba(3,22,20,var(--hero-shade-middle)) 65%,
    rgba(3,22,20,var(--hero-shade-right)));
}
.ee-video-hero .ee-video-hero__content {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 8rem;
}
.ee-video-hero .ee-video-hero__eyebrow {
  margin: 0 0 1.75rem;
  color: #e8ce92;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ee-video-hero .ee-video-hero__title {
  max-width: 56rem;
  margin: 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.75rem, 6vw, 6.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.ee-video-hero .ee-video-hero__description {
  max-width: 30rem;
  margin: 1.75rem 0 0;
  color: #fff;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
}
.ee-video-hero .ee-video-hero__rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 2rem;
  background: #e8ce92;
}
.ee-video-hero .ee-video-hero__controls {
  position: absolute;
  right: calc(1.5rem + 40px);
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
}
.ee-video-hero [hidden] { display: none !important; }
.ee-video-hero .ee-video-hero__toggle {
  appearance: none;
  margin: 0;
  padding: .75rem 1.125rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 2rem;
  background: rgba(3,22,20,.85);
  color: #fff;
  font: inherit;
  font-size: .875rem;
  line-height: 1.4;
  cursor: pointer;
}
.ee-video-hero .ee-video-hero__toggle:hover { background: #173e36; }
.ee-video-hero .ee-video-hero__toggle:focus-visible {
  outline: 3px solid #e8ce92;
  outline-offset: 4px;
}
.ee-video-hero .ee-video-hero__status {
  max-width: 28rem;
  padding: .25rem .5rem;
  color: #fff;
  background: rgba(3,22,20,.85);
  font-size: .875rem;
}
.ee-video-hero .ee-video-hero__status:empty { display: none; }
@media (max-width: 575.98px) {
  .ee-video-hero { min-height: 32rem; }
  .ee-video-hero .ee-video-hero__content { padding-top: 3.5rem; padding-bottom: 8rem; }
}
