.cems-home-banner {
  width: 100%;
  max-width: 1226px;
  margin: 0 auto;
}

.cems-home-banner__layout {
  display: flex;
  height: 490px;
}

.cems-home-banner__sidebar {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #A02337;
}

.cems-home-banner__dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cems-home-banner__dots .slick-dots {
  position: static;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: auto;
  bottom: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cems-home-banner__dots .slick-dots li {
  width: 10px;
  height: 10px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cems-home-banner__dots .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.cems-home-banner__dots .slick-dots li button:before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 1;
  background: transparent;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

.cems-home-banner__dots .slick-dots li.slick-active {
  height: 28px;
}

.cems-home-banner__dots .slick-dots li.slick-active button:before {
  width: 10px;
  height: 28px;
  border-radius: 5px;
  background: #fff;
  border-color: #fff;
}

.cems-home-banner__slides {
  flex: 1;
  min-width: 0;
  background: #fff;
}

.cems-home-banner__slides .cems-home-banner__carousel,
.cems-home-banner__slides .slick-list,
.cems-home-banner__slides .slick-track,
.cems-home-banner__slides .slick-slide,
.cems-home-banner__slides .slick-slide > div {
  height: 100%;
}

.cems-home-banner__slide {
  width: 100%;
  height: 490px;
  overflow: hidden;
}

.cems-home-banner__slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.cems-home-banner__slide img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
}

.cems-home-banner__bottom-bar {
  height: 8px;
  width: 100%;
  background-color: #A02337;
}

/* Hide any slick arrows or play/pause controls inside the banner */
.cems-home-banner .slick-arrow,
.cems-home-banner .slick-pause-play-btn,
.cems-home-banner .slick-pause,
.cems-home-banner .slick-play,
.cems-home-banner .js-slick-pageNo {
  display: none !important;
}

@media (max-width: 767px) {
  .cems-home-banner__layout {
    height: auto;
    aspect-ratio: 1226 / 490;
  }

  .cems-home-banner__slides .cems-home-banner__carousel,
  .cems-home-banner__slides .slick-list,
  .cems-home-banner__slides .slick-track,
  .cems-home-banner__slides .slick-slide,
  .cems-home-banner__slides .slick-slide > div,
  .cems-home-banner__slide,
  .cems-home-banner__slide img {
    height: 100%;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cems-home-banner__dots .slick-dots li button:before {
    transition: none;
  }
}
