/* The original image and link remain the banner's layout and accessible content. */
a.home-banner-motion[data-banner-motion] {
  position: relative;
  display: block;
  overflow: hidden;
}

a.home-banner-motion[data-banner-motion] > img {
  display: block;
}

a.home-banner-motion[data-banner-motion] > canvas.home-banner-motion__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

/* One full-width artwork per phone slide; keep tablet and desktop sizing. */
@media (max-width: 639.98px) {
  .home-page {
    padding-top: 32px;
  }

  .home-page .home-swiper {
    width: calc(100% - 12px);
  }

  .home-page .home-swiper .swiper-slide > a {
    width: 100%;
    flex: 0 0 100%;
    min-width: 0;
  }

  .home-page .home-swiper .swiper-slide > a > img {
    display: block;
    width: 100%;
    height: auto !important;
  }

  .home-page .home-nav-wrapper {
    display: none;
  }
}

.home-swiper > .home-banner-pagination {
  display: none;
}

@media (max-width: 639.98px) {
  .home-swiper > .home-banner-pagination {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 32px;
    margin: 0;
  }

  .home-banner-pagination .swiper-pagination-bullet {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    cursor: pointer;
    touch-action: manipulation;
  }

  .home-banner-pagination .swiper-pagination-bullet::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: transform 0.18s ease, background-color 0.18s ease;
  }

  .home-banner-pagination .swiper-pagination-bullet-active::after {
    background: #fff;
    transform: scale(1.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
  }

  .home-banner-pagination .swiper-pagination-bullet:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -3px;
  }
}

.home-swiper > .home-banner-pagination.swiper-pagination-lock {
  display: none;
}
