/* Razan Testimonial Video Slider – clean full-cover videos */

/* Wrapper section */
.rtv-section {
  padding: 40px 0;
  background: #f6efe7; /* same beige tone */
}

/* Centered slider container */
.rtv-swiper {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 35px;
}

/* Only affect slides inside our slider */
.rtv-swiper .swiper-wrapper {
  align-items: stretch;
}

.rtv-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* Card – tall portrait look */
.rtv-card {
  width: 260px;
  height: 420px;       /* card height */
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #000; /* background behind video */
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

/* Video/iframe wrapper fills entire card */
.rtv-video-wrap {
  position: absolute;
  inset: 0;
}

/* Make both self‑hosted <video> and YouTube <iframe> fill the card */
.rtv-video-wrap iframe,
.rtv-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover; /* for <video>; harmless on iframe */
  pointer-events: none; /* default: prevent accidental clicks until hover */
}

/* On hover: video controls fully clickable */
.rtv-card:hover .rtv-video-wrap iframe,
.rtv-card:hover .rtv-video-wrap video {
  pointer-events: auto;
}

/* Backwards compat image class if ever used */
.rtv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle gradient overlay (NO blocking clicks) */
.rtv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.15));
  pointer-events: none;          /* never block controls */
}

/* Mobile layout */
@media (max-width: 767px) {
  .rtv-card {
    width: 85%;
    height: 360px;
    border-radius: 28px;
  }
}

/* Pagination bullets */
.rtv-section .swiper-pagination-bullet {
  background: #d2b09a;
  opacity: 1;
}
.rtv-section .swiper-pagination-bullet-active {
  background: #a97860;
}
