.banner-v204:hover .top-left {
  width: 65%;
}
.banner-v204:hover .top-right {
  width: 20%;
}
.banner-v204:hover .bottom-left {
  width: 20%;
}
.banner-v204:hover .bottom-right {
  width: 65%;
}

.banner-v204-main {
  position: absolute;
  top: 50%;
  padding: 1.5rem;
  z-index: 2;
  min-width: 30rem;
}
[dir=ltr] .banner-v204-main {
  left: 50%;
  transform: translate(-50%, -50%);
}
[dir=rtl] .banner-v204-main {
  right: 50%;
  transform: translate(50%, -50%);
}

.banner-v204-main__info {
  padding: 3rem;
  background-color: color-mix(in srgb, rgba(var(--color-background)) calc(1 * 100%), transparent);
  text-align: center;
}

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

.banner-v204__item {
  position: relative;
}

.banner-v204-main__title {
  font-family: var(--font-custom-family);
  font-size: clamp(2rem, calc(2.8888888889vw + 0.8444444444rem), 4.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1rem;
  text-transform: capitalize;
  border: none;
  padding-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}
.banner-v204-main__title a {
  color: color-mix(in srgb, rgba(var(--color-foreground)) calc(1 * 100%), transparent);
}
@media (min-width: 768px) {
  .banner-v204-main__title {
    letter-spacing: 0.3rem;
  }
}
@media (max-width: 375px) {
  .banner-v204-main__title {
    left: 2rem;
  }
}

.banner-v204-main__subtitle {
  letter-spacing: 0.6rem;
  font-size: clamp(1.4rem, calc(0.5vw + 1.2rem), 1.8rem);
  font-weight: 500;
  color: color-mix(in srgb, rgba(var(--color-accent)) calc(1 * 100%), transparent);
}

.banner-v204-main__border {
  position: absolute;
  content: "";
  background-color: color-mix(in srgb, rgba(var(--color-background)) calc(1 * 100%), transparent);
  transition: width 1s ease;
}

.top-left {
  top: -0.1rem;
  left: 0;
  width: 20%;
  height: 0.5rem;
}

.top-right {
  top: -0.1rem;
  right: 0;
  width: 65%;
  height: 0.5rem;
}

.right {
  top: 0;
  right: 0;
  width: 0.5rem;
  height: 100%;
}

.bottom-right {
  bottom: -0.1rem;
  right: 0;
  width: 20%;
  height: 0.5rem;
}

.bottom-left {
  bottom: -0.1rem;
  left: 0;
  width: 65%;
  height: 0.5rem;
}

.left {
  top: 0;
  left: 0;
  width: 0.5rem;
  height: 100%;
}