.ssu-hero {
  --hero-max-height: 816px;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-height: var(--hero-max-height);
}

.ssu-hero__media,
.ssu-hero__mask,
.ssu-hero_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: var(--hero-max-height);
}

.ssu-hero__mask {
  background: rgba(7, 41, 77, 0.4);
}

.ssu-hero__media picture {
  display: block;
}

.ssu-hero__media picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: var(--hero-max-height);
  object-fit: cover;
}

.ssu-hero_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.ssu-hero_content > span,
.ssu-hero_content > h1 {
  width: 100%;
  text-align: center;
}

@media (max-width: 575px) {
  .ssu-hero_content > span {
    font-size: 1.583rem !important;
  }

  .ssu-hero_content > h1 {
    font-size: 3rem !important;
  }

  button {
    font-size: 1.1rem !important;
    font-weight: normal !important;
  }
}

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

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

  .ssu-hero_content > span,
  .ssu-hero_content > h1 {
    max-width: 625px;
  }
}
