.apux-home-banners { width: 100%; max-width: 960px; margin: 0 auto 30px; }
.apux-banner-media { position: relative; }
.apux-home-banners .apux-banner-viewport {
  width: 100%; max-width: 960px; height: auto; max-height: none;
  aspect-ratio: 16 / 5; overflow: hidden; border-radius: 25px; background: #111;
}
.apux-home-banners .swiper-slide { height: 100%; }
.apux-home-banners .swiper-slide img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
/* The outpainted 3:1 master has background-only bleed above and below.
   Crop that bleed to 16:5 without changing the image proportions or copy. */
.apux-home-banners .swiper-slide img.apux-banner-adapted { object-fit: cover; object-position: center; }
.apux-home-banners button { cursor: pointer; }
.apux-home-banners button:focus-visible { outline: 2px solid #d91d2c; outline-offset: 2px; }
.apux-banner-prev, .apux-banner-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; padding: 0;
  background: #fff; color: #202124; box-shadow: 0 2px 6px #00000024;
}
.apux-banner-prev { left: -20px; }
.apux-banner-next { right: -20px; }
.apux-banner-prev:hover, .apux-banner-next:hover { background: #f5f5f6; }
.apux-banner-media svg { display: block; width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.apux-banner-pagination { display: flex; width: auto !important; align-items: center; justify-content: center; height: 32px; }
.apux-banner-pagination .swiper-pagination-bullet { position: relative; width: 16px; height: 32px; margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: transparent; opacity: 1; }
.apux-banner-pagination .swiper-pagination-bullet::after { content: ''; position: absolute; top: 12px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: #e3e4e8; }
.apux-banner-pagination .swiper-pagination-bullet-active::after { background: #808595; }
.apux-home-banners [hidden] { display: none; }
@media (max-width: 1020px) {
  .apux-home-banners { width: calc(100% - 32px); }
}
@media (max-width: 600px) {
  .apux-home-banners { margin-bottom: 20px; }
  .apux-home-banners .apux-banner-viewport { border-radius: 14px; }
  .apux-banner-prev, .apux-banner-next { width: 32px; height: 32px; }
  .apux-banner-prev { left: -16px; }
  .apux-banner-next { right: -16px; }
  .apux-banner-media svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .apux-home-banners .swiper-wrapper { transition-duration: 0ms !important; }
}
