.standard-banner-carousel {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.standard-banner-carousel__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  background: #f9fafb;
  aspect-ratio: 1440 / 280;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.standard-banner-carousel__root.is-dragging .standard-banner-carousel__viewport {
  cursor: grabbing;
}

.standard-banner-carousel__root.is-dragging .standard-banner-carousel__link {
  pointer-events: none;
}

.standard-banner-carousel--hero .standard-banner-carousel__viewport {
  aspect-ratio: 1200 / 360;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
}

.standard-banner-carousel--blog .standard-banner-carousel__viewport {
  aspect-ratio: 400 / 600;
  max-width: 20rem;
  margin-inline: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
}

.standard-banner-carousel--blog {
  padding-top: 0;
  padding-bottom: 0;
}

.standard-banner-carousel--blog .max-w-screen-xl {
  max-width: none;
  padding-inline: 0;
}

.standard-banner-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.standard-banner-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.standard-banner-carousel__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.standard-banner-carousel__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Home ad carousel — 3 equal columns on desktop */
.standard-banner-carousel--multi.standard-banner-carousel--standard .standard-banner-carousel__viewport {
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.standard-banner-carousel--multi .standard-banner-carousel__track {
  align-items: stretch;
}

.standard-banner-carousel--multi .standard-banner-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  aspect-ratio: 1440 / 280;
  height: auto;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  background: #f9fafb;
}

.standard-banner-carousel--multi .standard-banner-carousel__link,
.standard-banner-carousel--multi .standard-banner-carousel__img {
  width: 100%;
  height: 100%;
}

@media (min-width: 640px) {
  .standard-banner-carousel--multi .standard-banner-carousel__track {
    gap: 1rem;
  }

  .standard-banner-carousel--multi .standard-banner-carousel__slide {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    aspect-ratio: 1440 / 840;
  }
}

.standard-banner-carousel__root--no-arrows .standard-banner-carousel__viewport {
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.standard-banner-carousel__root--no-arrows:not(.is-transitioning) .standard-banner-carousel__slide:not(.is-active) {
  visibility: hidden;
}

.standard-banner-carousel__root--no-arrows .standard-banner-carousel__img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.standard-banner-carousel__root--no-arrows .standard-banner-carousel__slide:not(.is-active) {
  pointer-events: none;
}

.standard-banner-carousel__root--no-arrows .standard-banner-carousel__link {
  cursor: pointer;
}

.standard-banner-carousel__root.is-fits-view .standard-banner-carousel__arrow,
.standard-banner-carousel__root.is-fits-view .standard-banner-carousel__dots {
  display: none !important;
}

.standard-banner-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
  color: #374151;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.standard-banner-carousel__arrow:hover {
  background: var(--bharat-primary);
  color: #fff;
  transform: scale(1.06);
}

.standard-banner-carousel__arrow--prev { left: 0.5rem; }
.standard-banner-carousel__arrow--next { right: 0.5rem; }

.standard-banner-carousel__arrow svg {
  width: 1rem;
  height: 1rem;
}

.standard-banner-carousel__dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.standard-banner-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.standard-banner-carousel__dot.is-active {
  width: 1.5rem;
  background: var(--bharat-primary);
}

.standard-banner-carousel__root.is-paused .standard-banner-carousel__track {
  transition-duration: 0.4s;
}

@media (max-width: 639px) {
  .standard-banner-carousel__arrow {
    display: none;
  }
}
