.etp-slideshow-category {
  color: var(--etp-text);
  font-family: var(--etp-font);
}

.etp-cat-featured-card--slideshow .etp-cat-featured-card__media,
.etp-cat-list-item__thumb--slideshow,
.etp-article-most-read__media--slideshow {
  position: relative;
}

.etp-cat-featured-card--slideshow .etp-slideshow-card__badge,
.etp-cat-list-item__thumb--slideshow .etp-slideshow-card__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 42, 85, 0.86);
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-semibold);
  line-height: 16px;
}

.db-etp-slideshow-detail .etp-slideshow-detail__download {
  margin-top: 0;
}

.etp-slideshow-detail {
  margin: 0 0 28px;
}

.etp-slideshow-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1f3a;
  touch-action: pan-y;
}

.etp-slideshow-carousel__viewport {
  overflow: hidden;
}

.etp-slideshow-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
  will-change: transform;
}

.etp-slideshow-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.etp-slideshow-detail__trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.etp-slideshow-carousel__media {
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
  background: #0b1f3a;
}

.etp-slideshow-carousel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1f3a;
}

.etp-slideshow-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 40, 0.88));
  color: #fff;
  pointer-events: none;
}

.etp-slideshow-carousel__caption-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.etp-slideshow-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--etp-blue-primary, #0b3d7a);
  cursor: pointer;
  opacity: 0.9;
  transform: translateY(-50%);
  transition: opacity 0.15s ease, background 0.15s ease;
}

.etp-slideshow-carousel__control:hover {
  opacity: 1;
  background: #fff;
}

.etp-slideshow-carousel__control svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etp-slideshow-carousel__control--prev {
  left: 12px;
}

.etp-slideshow-carousel__control--next {
  right: 12px;
}

.etp-slideshow-carousel__control:focus-visible {
  outline: 3px solid var(--etp-blue-primary, #0b3d7a);
  outline-offset: 2px;
}

.etp-slideshow-carousel__counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 42, 85, 0.82);
  color: #fff;
  font-size: 0.8rem;
  pointer-events: none;
}

.etp-slideshow-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 12px;
}

.etp-slideshow-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.etp-slideshow-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.etp-slideshow-carousel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.etp-slideshow-detail__empty {
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 12px;
  background: var(--etp-surface-muted, #f4f7fb);
  color: var(--etp-text-muted, #5b6b7c);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .etp-slideshow-carousel__track {
    transition: none;
  }
}
