.banner-v177__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 65%;
}

@media (max-width: 767px) {
  xo-grid:has(.banner-v177__item) {
    row-gap: 1.5rem;
  }
}

.banner-v177__btn {
  position: absolute;
  bottom: 0px;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

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

.banner-v177__img-link {
  display: grid;
  height: 100%;
}
@media (max-width: 992px) {
  .banner-v177__img-link {
    display: unset;
  }
}

.banner-v177__item {
  position: relative;
}
.banner-v177__item::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  top: 0;
  height: 100%;
  transition: left 0.5s ease 0s;
}

.banner-v177__title {
  position: relative;
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 5rem);
  font-weight: 600;
  letter-spacing: 0.1rem;
  margin-bottom: 3rem;
  color: rgb(var(--color-background));
  text-transform: capitalize;
}
@media (max-width: 991px) {
  .banner-v177__title {
    font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 4.8rem);
  }
}
@media (max-width: 767px) {
  .banner-v177__title {
    font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 4.2rem);
  }
}
@media (max-width: 575px) {
  .banner-v177__title {
    font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 3.6rem);
  }
}