.wrapped-stats { position: relative; }

.swiper-container {
  width: 100%;
  max-width: 600px;
  max-height: 720px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background-color: #f0f0f0;
  position: relative;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.slide-content {
  width: 100%;
  height: 100%;
  position: relative;
  color: white;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 50px;
}

@media (max-width: 768px) {
  .slide-content { padding: 5px 20px; }
  .slide-content p, .slide-content li {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
}

img.slide-reaction { max-width: 20px; }

.slide-content h1,
.slide-content h3,
.slide-content p {
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.slide-content h1 {
  color: #fff;
  z-index: 9;
  margin-bottom: 5px;
  font-weight: 800;
}

.slide-content strong {
  color: #000;
  background: #fff;
  padding: 0px 2px;
  border-radius: 3px;
}

.slide-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.stories-progress {
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 10;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background-color: rgba(255,255,255,0.3);
  margin: 0 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background-color: white;
  transition: width 5s linear;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination { display: none; }

.pause-play-button {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 15;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pause-play-button:focus { outline: none; }
.pause-play-button i { pointer-events: none; }

.swiper-slide video { width: 100%; height: 100%; object-fit: cover; }
.swiper-slide:not(.swiper-slide-active) video { display: none; }

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

video#video-slide { z-index: 1; }

.video-play-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 60px;
  cursor: pointer;
}

.video-play-button:focus { outline: none; }

.slide-photo { z-index: 999; }
.slide-photo img {
  border-radius: 5px;
  border: 2px solid black;
}

p.intro-slide { font-weight: 500; padding-left: 0px; }

.ostale-reakcije p { margin: 0px; }
.ostale-reakcije { padding: 15px 0px; }