.zhf-rounded .zhf-rounded__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: 0.3s;
  padding: 2px;
}

.zhf-rounded .zhf-rounded__image {
  position: relative;
}

.zhf-rounded .zhf-rounded__image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 2px #757575;
  border-radius: 100%;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
}

.zhf-rounded .zhf-rounded__image:hover::before {
  opacity: 1;
  visibility: visible;
}

.zhf-rounded .zhf-rounded__image img {
  position: relative;
  display: block;
  border-radius: 100%;
}

.zhf-rounded .zhf-rounded__title {
  font-weight: bold;
  font-size: 0.875rem;
}

.zhf-countdown {
  background-color: #000; 
  color: #fff; 
  text-align: center; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%;
}

.zhf-countdown--hidden {
  visibility: hidden;
}

.zhf-banner img,
.zhf-banner picture {
  width: 100%;
  height: auto;
  display: block;
}

.zhf-banner img.zhf-banner__responsive-img {
  aspect-ratio: var(--zhf-ar-mobile);
}

@media (min-width: 801px) {
  .zhf-banner img.zhf-banner__responsive-img {
    aspect-ratio: var(--zhf-ar-desktop);
  }
}

.zhf-banners-hidden {
  overflow: auto;
  visibility: hidden;
}

.zhf-banner--priority {
  width: 100%;
  contain: layout style;
}

.zhf-banner--priority .swiper-slide {
  height: auto;
}

.zhf-banner--priority.swiper-initialized .swiper-wrapper {
  height: auto !important;
  align-items: flex-start;
}

.zhf-banner--priority.swiper-initialized {
  height: auto !important;
}

.zhf-banner--priority.swiper-initialized .swiper-slide {
  height: auto !important;
  align-self: flex-start;
}

.zhf-banner--priority img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
}

/* Priority hero: visible without JS (CG Turbo / delay-JS safe). */
.zhf-banner--priority:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.zhf-banner--priority:not(.swiper-initialized) .swiper-wrapper {
  visibility: visible;
}

.zhf-banner--priority .swiper-pagination,
.zhf-banner--priority .swiper-button-next,
.zhf-banner--priority .swiper-button-prev {
  visibility: hidden;
  pointer-events: none;
}

.zhf-banner--priority.swiper-initialized .swiper-pagination,
.zhf-banner--priority.swiper-initialized .swiper-button-next,
.zhf-banner--priority.swiper-initialized .swiper-button-prev {
  visibility: visible;
  pointer-events: auto;
}

.swiper picture{ 
  vertical-align: bottom; 
  line-height: 0; 
}

/* Navigation & pagination — modern, compact, white */
.zhf-banner {
  --swiper-navigation-size: 22px;
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-size: 6px;
  --swiper-pagination-bullet-horizontal-gap: 5px;
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.45);
  --swiper-pagination-bullet-inactive-opacity: 1;
  position: relative;
}

.zhf-banner .swiper-button-next,
.zhf-banner .swiper-button-prev {
  width: 32px;
  height: 32px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.zhf-banner .swiper-button-prev {
  left: 8px;
}

.zhf-banner .swiper-button-next {
  right: 8px;
}

.zhf-banner .swiper-button-next:after,
.zhf-banner .swiper-button-prev:after {
  font-size: 11px;
  font-weight: 700;
}

.zhf-banner .swiper-button-next:hover,
.zhf-banner .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.32);
}

.zhf-banner .swiper-pagination {
  bottom: 10px !important;
  line-height: 0;
}

.zhf-banner .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.zhf-banner .swiper-pagination-bullet-active {
  width: 18px;
  background: #fff;
  transform: none;
}

