.hero-block {
  background-color: var(--theme-color);
  position: relative;
}
.hero-block::before,
.hero-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-block::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 27.45%);
  z-index: 3;
}
.hero-block::after {
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 40.44%);
}
.hero {
  aspect-ratio: 1920 / 1093;
  max-width: 1920px;
  max-height: 1093px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero__picture {
  width: 100%;
  height: 100%;
  min-height: 500px;
}
.hero__img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.hero__header {
  position: absolute;
  bottom: 12%;
  right: 0;
  left: 0;
  z-index: 3;
}
.hero__heading {
  color: var(--color-white);
  line-height: 0.87em;
  letter-spacing: 0;
  font-size: 2.5rem;
  font-size: clamp(2.5rem, 1.125rem + 6.875000000000001vw, 9.375rem);
  font-family: var(--font-family-secondary);
  font-weight: 600;
  padding-left: 20px;
}

body:has(.hero-block.theme-yellow:first-of-type) .logo__full {
  filter: invert(1);
}

@media (min-width: 540px) {
  .hero__heading {
    padding-left: 40px;
  }
}

@media (min-width: 980px) {
  .hero__header {
    bottom: 22%;
  }
}