.banner-v5__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.banner-v5__image img {
  max-height: clamp(40rem, calc(25vw + 30rem), 60rem);
  min-height: 35rem;
}

.banner-v5__content {
  position: absolute;
  z-index: 1;
  left: 10%;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  max-width: 100%;
  padding: 5.5rem;
  background-color: rgba(var(--color-background));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .banner-v5__content {
    text-align: left;
    max-width: 35%;
  }
}
@media (max-width: 575px) {
  .banner-v5__content {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(var(--color-background), 0.6);
    padding: 2.5rem;
    transform: translate(0);
  }
}

.banner-v5__title {
  font-size: clamp(2.8rem, calc(2.125vw + 1.95rem), 4.5rem);
  line-height: 48px;
  color: rgba(var(--color-foreground));
  font-weight: 600;
}

.banner-v5__desc {
  font-size: clamp(1.6rem, calc(0.25vw + 1.5rem), 1.8rem);
  color: rgba(var(--color-foreground), 0.7);
  padding: 2rem 0 3rem;
}

@media (min-width: 992px) {
  .banner-v5__image--mobile {
    display: none;
  }
  .banner-v5__image--desk {
    display: block;
  }
}
@media (max-width: 991px) {
  .banner-v5__image--desk {
    display: none;
  }
  .banner-v5__image--mobile {
    display: block;
  }
}