.banner-v267 {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  gap: 0;
}
@media (min-width: 992px) {
  .banner-v267 {
    gap: var(--gap);
  }
}

.banner-v267__item {
  position: relative;
  transition: all 0.5s ease-in-out;
  height: 56rem;
}
@media (min-width: 992px) {
  .banner-v267__item {
    flex: 1 0 auto;
  }
}

.banner-v267__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--color-background), 0.3);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  z-index: 1;
}

@media (min-width: 992px) {
  .banner-v267__item:hover {
    flex: 5;
  }
  .banner-v267__item:hover .banner-v267__content {
    opacity: 1;
  }
}

.banner-v267__item:hover::after {
  opacity: 1;
}

.banner-v267__image {
  display: block;
  height: 100%;
}
.banner-v267__image .xo-image {
  width: 100%;
  height: 100%;
}
@media (min-width: 992px) {
  .banner-v267__image .xo-image {
    position: absolute;
  }
}
.banner-v267__image img {
  width: 100%;
  height: 100%;
}

.banner-v267__title-side {
  position: absolute;
  top: 6rem;
  font-size: calc(var(--font-body-scale) * 1.6rem);
  font-weight: 500;
  transform: rotate(-180deg);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  z-index: 1;
}
[dir=ltr] .banner-v267__title-side {
  right: 3rem;
}
[dir=rtl] .banner-v267__title-side {
  left: 3rem;
}

.banner-v267__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  max-width: 100%;
  text-align: center;
  transition: all 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .banner-v267__content {
    opacity: 0;
    width: max-content;
  }
}

.banner-v267__title {
  font-size: clamp(3rem, calc(1.75vw + 2.3rem), 4.4rem);
}

.banner-v267__title-side {
  letter-spacing: calc(var(--font-body-scale) * 0.2rem);
  font-family: var(--font-custom-family);
}
@media (max-width: 991px) {
  .banner-v267__title-side {
    display: none;
  }
}

.banner-v267__title {
  text-transform: uppercase;
  font-family: var(--font-custom-family);
}

.banner-v267__description {
  margin-bottom: 2rem;
  color: rgba(var(--color-foreground));
}
@media (min-width: 992px) {
  .banner-v267__description {
    max-width: 85rem;
  }
}