.banner-v54__text {
  position: absolute;
  z-index: 2;
  top: 55%;
  transform: var(--translate, translateY(-50%));
}
[dir=ltr] .banner-v54__text {
  left: var(--l);
  right: var(--r);
}
[dir=rtl] .banner-v54__text {
  right: var(--l);
  left: var(--r);
}
@media (max-width: 575px) {
  [dir=ltr] .banner-v54__text {
    left: var(--lm);
    right: var(--rm);
  }
  [dir=rtl] .banner-v54__text {
    right: var(--lm);
    left: var(--rm);
  }
}

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

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

.banner-v54__item {
  position: relative;
}

.banner-v54__title {
  font-family: var(--font-custom-family);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: capitalize;
  font-size: clamp(2.8rem, calc(1.5vw + 2.2rem), 4rem);
  font-weight: 500;
  padding-bottom: 2.4rem;
  margin-bottom: 0;
}
[dir=ltr] .banner-v54__title {
  left: 4rem;
}
[dir=rtl] .banner-v54__title {
  right: 4rem;
}
@media (max-width: 1300px) {
  .banner-v54__title {
    font-size: 2.4rem;
  }
}
@media (max-width: 992px) {
  .banner-v54__title {
    font-size: 2rem;
  }
}
@media (max-width: 375px) {
  .banner-v54__title {
    left: 2rem;
  }
}

.banner-v54__subtitle {
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  text-transform: uppercase;
  color: rgb(var(--color-foreground), 0.8);
  padding-bottom: 1.4rem;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
[dir=ltr] .banner-v54__subtitle {
  left: 4rem;
}
[dir=rtl] .banner-v54__subtitle {
  right: 4rem;
}