.banner-v3__item {
  position: relative;
  display: block;
  cursor: pointer;
}
@media (min-width: 768px) {
  .banner-v3__item .xo-image {
    height: 100%;
  }
}
.banner-v3__item img {
  border-radius: 2rem;
  height: 100%;
}

.banner-v3__content {
  text-align: center;
  z-index: 1;
  background-color: rgba(var(--color-background));
  border-radius: 2rem;
}
@media (min-width: 768px) {
  .banner-v3__content {
    text-align: unset;
    position: absolute;
    width: 50%;
  }
}

.banner-v3__content-left {
  left: -1px;
  padding: 2rem 2rem 2rem 1rem;
}

.banner-v3__item-row .banner-v3__content-left {
  bottom: -1px;
}

.banner-v3__item-r2-c2 .banner-v3__content-left {
  bottom: -1px;
}

.banner-v3__content-right {
  right: -1px;
  bottom: -1px;
  padding: 2rem 1rem 2rem 2rem;
}

.banner-v3__content-left::before,
.banner-v3__content-left::after,
.banner-v3__content-right::before,
.banner-v3__content-right::after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border-radius: 50%;
  z-index: 2;
}
@media (max-width: 767px) {
  .banner-v3__content-left::before,
  .banner-v3__content-left::after,
  .banner-v3__content-right::before,
  .banner-v3__content-right::after {
    display: none;
  }
}

.banner-v3__content-left::before {
  left: 1px;
  top: -4rem;
  box-shadow: -22px 22px 0 2px rgba(var(--color-background));
}

.banner-v3__content-left::after {
  box-shadow: -22px 22px 0 2px rgba(var(--color-background));
  right: -4rem;
  bottom: 1px;
}

.banner-v3__content-right::before {
  right: 1px;
  top: -4rem;
  box-shadow: 22px 22px 0 2px rgba(var(--color-background));
}

.banner-v3__content-right::after {
  box-shadow: 22px 22px 0 2px rgba(var(--color-background));
  left: -4rem;
  bottom: 1px;
}

.banner-v3__title {
  font-family: var(--font-custom-family);
  font-weight: 500;
  color: rgba(var(--color-foreground));
  font-size: clamp(2rem, calc(2.5vw + 1rem), 4rem);
}

.banner-v3__desc {
  color: rgba(var(--color-foreground));
}

.banner-v3__grid {
  display: grid;
  gap: var(--gap);
}
@media (min-width: 768px) {
  .banner-v3__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .banner-v3__item-row {
    grid-column: 1;
    grid-row: 1/3;
  }
}

@media (min-width: 768px) {
  .banner-v3__item-r2-c1 {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 768px) {
  .banner-v3__item-r2-c2 {
    grid-column: 2;
    grid-row: 2;
  }
}