/* Instagram-style vertical video reels slider */
.rr-reels-section {
  padding: 48px 0 56px;
  background: #fff;
  overflow: hidden;
}

.rr-reels {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.rr-reels__swiper {
  overflow: visible;
  padding: 8px 0 28px;
}

.rr-reels__swiper .swiper-slide {
  width: 260px;
  height: auto;
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rr-reels__swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.rr-reels__swiper .swiper-slide-next,
.rr-reels__swiper .swiper-slide-prev {
  opacity: 0.78;
  transform: scale(0.96);
}

.rr-reels__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 18px 40px rgba(40, 28, 12, 0.18),
    0 2px 8px rgba(40, 28, 12, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rr-reels__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rr-reels__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -36px;
  border: 0;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.rr-reels__nav:hover {
  transform: scale(1.06);
  background-color: #fffaf3;
}

.rr-reels__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.rr-reels__nav--prev {
  left: 8px;
}

.rr-reels__nav--next {
  right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.rr-reels__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.rr-reels__dots .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: #c4b49a;
  opacity: 1;
  transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.rr-reels__dots .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: #f7941d;
}

@media (max-width: 768px) {
  .rr-reels-section {
    padding: 36px 0 44px;
  }

  .rr-reels {
    padding: 0 44px;
  }

  .rr-reels__swiper .swiper-slide {
    width: 220px;
  }

  .rr-reels__nav {
    width: 36px;
    height: 36px;
    margin-top: -28px;
  }
}

@media (max-width: 480px) {
  .rr-reels {
    padding: 0 36px;
  }

  .rr-reels__swiper .swiper-slide {
    width: 200px;
  }

  .rr-reels__nav--prev {
    left: 4px;
  }

  .rr-reels__nav--next {
    right: 4px;
  }
}

@supports not (aspect-ratio: 9 / 16) {
  .rr-reels__frame {
    padding-bottom: 177.78%;
    height: 0;
  }
}
