/* Homepage banner: grow to the photo's aspect ratio so the full image is visible. */
.hero.banner-pending { visibility: hidden; }

.hero.banner-carousel {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  background: #7a1220;
}

.hero.banner-carousel:before,
.hero.banner-carousel:after {
  content: none !important;
  display: none !important;
}

.banner-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform .42s ease;
}

.banner-slide {
  position: relative;
  min-width: 100%;
  height: auto;
  overflow: hidden;
  background: #7a1220;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.banner-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(17, 49, 87, .62);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(4px);
}

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.banner-dots:has(.banner-dot:only-child) {
  display: none;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .65);
}

.banner-dot.active {
  width: 18px;
  border-radius: 5px;
  background: #fff;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #2167d8;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 24px;
}

.banner-prev { left: 10px; }
.banner-next { right: 10px; }

@media (max-width: 480px) {
  .hero.banner-carousel {
    border-radius: 18px;
  }
  .banner-arrow { display: none; }
}
