.banner-v8 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap);
}
@media (max-width: 991px) {
  .banner-v8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

.banner-v8__text {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 6rem;
  z-index: 2;
  text-align: right;
}
@media (max-width: 767px) {
  .banner-v8__text {
    right: 2rem;
    top: 60%;
  }
}

.banner-v8__title1 {
  font-size: calc(var(--font-heading-scale) * 4rem);
  margin: 0 0 3rem;
  letter-spacing: 0.32rem;
  line-height: calc(1 + 0.12 / var(--font-heading-scale));
  color: #fff;
  font-family: var(--font-custom-family);
}
@media (max-width: 1199px) {
  .banner-v8__title1 {
    font-size: calc(var(--font-heading-scale) * 2rem);
  }
}
@media (max-width: 991px) {
  .banner-v8__title1 {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}

.banner-v8__border {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  text-align: center;
  padding: 3rem 1.5rem;
  z-index: 2;
}

.banner-v8__text2 {
  position: absolute;
  z-index: 2;
  top: 8rem;
  right: 4rem;
}

.banner-v8__title2 {
  letter-spacing: 1.6px;
  font-weight: 400;
  font-size: calc(var(--font-heading-scale) * 2.6rem);
  color: black;
}
@media (max-width: 1199px) {
  .banner-v8__title2 {
    font-size: calc(var(--font-heading-scale) * 2rem);
  }
}
@media (max-width: 991px) {
  .banner-v8__title2 {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}

.banner-v8__text3 {
  position: absolute;
  z-index: 2;
  top: 7rem;
  left: 4rem;
}

.banner-v8__title3 {
  letter-spacing: 1.6px;
  font-weight: 400;
  font-size: calc(var(--font-heading-scale) * 2.6rem);
  color: black;
}
@media (max-width: 1199px) {
  .banner-v8__title3 {
    font-size: calc(var(--font-heading-scale) * 2rem);
  }
}
@media (max-width: 991px) {
  .banner-v8__title3 {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}
@media (max-width: 575px) {
  .banner-v8__title3 {
    left: 2rem;
    grid-template-areas: "top top top" "bottom-left bottom-right bottom-right";
  }
}
@media (max-width: 767px) {
  .banner-v8__title3 {
    display: flex;
    flex-direction: column;
  }
}

.banner-v8__img--hover1 img {
  width: 100%;
  height: auto;
  transition: transform 0.8s;
}

.banner-v8__img--hover1 img:hover {
  transform: scale(1.1);
}

.banner-v8__img--hover2 img {
  width: 100%;
  height: auto;
  transition: transform 0.6s;
}

.banner-v8__img--hover2 img:hover {
  transform: scale(1.4) rotate(10deg);
}

.banner-v8__img--hover3 img {
  width: 100%;
  height: auto;
  transition: transform 1s;
}

.banner-v8__img--hover3 img:hover {
  transform: translateY(-15px);
}

.banner-v8__img--hover4 img {
  width: 100%;
  height: auto;
  transition: transform 1s;
}

.banner-v8__img--hover5 {
  overflow: hidden;
}
.banner-v8__img--hover5 img {
  transition: filter 0.5s, color 0.5s;
}
.banner-v8__img--hover5 :hover {
  filter: blur(3px);
  filter: grayscale(100%);
}

.banner-v8__img {
  overflow: hidden;
  height: 100%;
}
.banner-v8__img a img {
  height: 100%;
  transition: transform 0.5s;
}

.banner-v8__img-link {
  display: flex;
  height: 100%;
}
@media (max-width: 991px) {
  .banner-v8__img-link {
    display: unset;
  }
}

.banner-v8__img-link2 {
  display: grid;
  height: 100%;
}
.banner-v8__img-link2 .xo-image {
  height: 100%;
}
.banner-v8__img-link2 .xo-image img {
  height: 100%;
}

.banner-v8__img-link3 {
  display: block;
  height: 100%;
}
.banner-v8__img-link3 .xo-image {
  height: 100%;
}

.banner-v8__img--hover4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.6s, height 0.6s, opacity 0.6s 0.6s;
  pointer-events: none;
}

.banner-v8__img--hover4 .img {
  transform: scale(1.2);
}

.banner-v8__img--hover4:hover::after {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.grid-row-span {
  position: relative;
  grid-row: span 2;
}
@media (max-width: 991px) {
  .grid-row-span {
    grid-area: top;
  }
}

.grid-row-span-1 {
  position: relative;
}

@media (max-width: 991px) {
  .left {
    grid-area: bottom-left;
  }
  .right {
    grid-area: bottom-right;
  }
}
.grid-col-span-2 {
  position: relative;
  grid-column: span 2;
}
@media (max-width: 991px) {
  .grid-col-span-2 {
    grid-column: span 3;
  }
}

.banner-v8__title {
  font-weight: 500;
  font-size: calc(var(--font-heading-scale) * 3.2rem);
  letter-spacing: 0.32rem;
  color: rgb(var(--color-foreground));
  max-width: 20rem;
  font-family: var(--font-custom-family);
}
@media (max-width: 1199px) {
  .banner-v8__title {
    font-size: calc(var(--font-heading-scale) * 2rem);
  }
}
@media (max-width: 991px) {
  .banner-v8__title {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}

.banner-v8__subtitle {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.32px;
  color: #fff;
  font-size: calc(var(--font-heading-scale) * 1.6rem);
  margin: 0 0 2.8rem;
}