.Hero {
  min-height: calc(100vh - 100px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.Hero:before, .Hero:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  height: 30%;
  z-index: 1;
}
.Hero:before {
  top: 0;
  transform: rotate(180deg);
}
.Hero:after {
  bottom: 0;
}
.Hero .Hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  overflow: hidden;
}
.Hero .Hero__bg > img, .Hero .Hero__bg > video {
  object-position: center;
  object-fit: cover;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  will-change: transform;
}
.Hero .Hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--base-spacing);
  padding-top: calc(var(--base-spacing) * 2);
  padding-bottom: calc(var(--base-spacing) * 2);
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.Hero .Hero__content:before, .Hero .Hero__content:after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  height: var(--base-spacing);
  filter: blur(10px);
}
.Hero .Hero__content:before {
  top: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.Hero .Hero__content:after {
  bottom: 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.Hero .Hero__title,
.Hero .Hero__subtitle {
  color: var(--color-white);
  text-align: left;
  margin: 0;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.3), 0 0 0.7em rgba(0, 0, 0, 0.7);
}
.Hero.__invert_text:before, .Hero.__invert_text:after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
}
.Hero.__invert_text .Hero__title,
.Hero.__invert_text .Hero__subtitle {
  color: var(--color-black);
  text-shadow: 0 0 0.2em rgba(255, 255, 255, 0.3), 0 0 0.7em rgba(255, 255, 255, 0.7);
}
.Hero.__darken_image .Hero__bg {
  filter: brightness(0.5);
}
.Hero.__invert_text.__darken_image .Hero__bg {
  filter: brightness(1.5);
}
.Hero.__blur_image .Hero__bg {
  filter: blur(5px);
  transform: scale(1.1);
}
.Hero.__blur_image.__darken_image .Hero__bg {
  filter: brightness(0.5) blur(5px);
}
.Hero.__invert_text.__blur_image.__darken_image .Hero__bg {
  filter: brightness(1.5) blur(5px);
}
