.ssu-hero-video {
  --hero-max-height: 816px;
  --hero-mask-color-rgba: rgba(7, 41, 77, 0.4);
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-height: var(--hero-max-height);
  overflow: hidden;
}

.ssu-hero-video__overlay,
.ssu-hero-video__mask,
.ssu-hero-video__poster,
.ssu-hero-video__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
}

.ssu-hero-video__video {
  background: transparent;
  object-fit: cover;
  z-index: 1;
}

.ssu-hero-video__poster {
  z-index: 2;
}

.ssu-hero-video__poster div {
  height: 100%;
}

.ssu-hero-video__poster picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ssu-hero-video__mask {
  background: rgba(7, 41, 77, 0.4);
  z-index: 3;
}

.ssu-hero-video__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 4;
}

.ssu-hero-video__content {
  position: relative;
}

.ssu-hero-video__content-heading {
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px var(--bs-primary);
}

.ssu-hero-video__content-body {
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px var(--bs-primary);
}

.ssu-hero-video__content-body :last-child {
  margin-bottom: 0;
}

.ssu-hero-video__content-link .btn {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ssu-hero-video__play-pause-btn {
  pointer-events: auto;
  background: rgba(7, 41, 77, 0.4);
  border: 1px solid white;
  border-radius: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 6;
}

.ssu-hero-video__play-pause-btn:hover {
  background: rgba(7, 41, 77, 0.6);
  transform: scale(1.1);
}

.ssu-hero-video__play-pause-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}


@media (min-width: 576px) {
  .ssu-hero-video {
    aspect-ratio: 3/2;
  }
}

@media (min-width: 768px) {
  .ssu-hero-video__content {
    max-width: 40rem;
  }

  .ssu-hero-video__content-heading {
    font-size: 3.3rem;
  }

  .ssu-hero-video__content-body {
    font-size: 1.65rem;
  }
}


@media (min-width: 992px) {
  .ssu-hero-video {
    aspect-ratio: 16/9;
  }

  .ssu-hero-video__play-pause-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}
