@media (max-width: 991px) {
  .banner-v97__grid {
    gap: 1.5rem;
  }
}

.banner-v97__item-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .banner-v97__item-wrap {
    gap: var(--gap);
  }
}

.banner-v97__item {
  position: relative;
}

.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(1),
.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(2) {
  grid-column: span 2;
}
@media (min-width: 768px) {
  .banner-v97__item-wrap:last-child .banner-v97__item:nth-child(1),
  .banner-v97__item-wrap:last-child .banner-v97__item:nth-child(2) {
    grid-column: span 1;
  }
}
.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(3) {
  grid-column: span 2;
}
.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(1) .banner-v97__item-title {
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}
.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(2) .banner-v97__item-title {
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
}
.banner-v97__item-wrap:last-child .banner-v97__item:nth-child(3) .banner-v97__item-title {
  bottom: 3rem;
}
[dir=ltr] .banner-v97__item-wrap:last-child .banner-v97__item:nth-child(3) .banner-v97__item-title {
  left: 3rem;
}
[dir=rtl] .banner-v97__item-wrap:last-child .banner-v97__item:nth-child(3) .banner-v97__item-title {
  right: 3rem;
}

.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(1) {
  grid-column: span 2;
}
.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(2),
.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(3) {
  grid-column: span 2;
}
@media (min-width: 768px) {
  .banner-v97__item-wrap:first-child .banner-v97__item:nth-child(2),
  .banner-v97__item-wrap:first-child .banner-v97__item:nth-child(3) {
    grid-column: span 1;
  }
}
.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(1) .banner-v97__item-title {
  bottom: 3rem;
}
[dir=ltr] .banner-v97__item-wrap:first-child .banner-v97__item:nth-child(1) .banner-v97__item-title {
  left: 3rem;
}
[dir=rtl] .banner-v97__item-wrap:first-child .banner-v97__item:nth-child(1) .banner-v97__item-title {
  right: 3rem;
}
.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(2) .banner-v97__item-title {
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}
.banner-v97__item-wrap:first-child .banner-v97__item:nth-child(3) .banner-v97__item-title {
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.banner-v97__img {
  display: block;
  height: 100%;
}
.banner-v97__img .xo-image {
  height: 100%;
}
.banner-v97__img img {
  height: 100%;
}

.banner-v97__item-title {
  position: absolute;
  font-size: calc(var(--font-heading-scale) * 2.5rem);
  color: #fff;
  margin-bottom: 0;
  z-index: 1;
}

.banner-v97__item:hover .banner-v97__item-label {
  opacity: 1;
}

.banner-v97__item-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.8);
  transition: 0.8s;
}