/* ================================
   MAIN WRAPPER
=================================== */
.rna-slider-wrapper {
  max-width: 3000px;

  margin: 0 auto;
  position: relative;
  background: #2b0b3a;
}

/* ================================
   MAIN SLIDER
=================================== */
.rna-slider {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.rna-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.rna-slide.active { opacity: 1; }

.rna-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
   CAPTION
=================================== */
.rna-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 40px 35px 30px;
}
.rna-caption .title {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 500;
}
.rna-caption .desc {
  font-size: 14px;
  margin: 0;
  font-weight: 400;
  line-height: 1.4em;
}

/* ================================
   ARROWS
=================================== */
.rna-prev, .rna-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 60px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.3s;
}
.rna-prev:hover, .rna-next:hover {
  background: rgba(0,0,0,0.7);
}
.rna-prev { left: 20px; }
.rna-next { right: 20px; }

/* ================================
   THUMBNAILS
=================================== */
.rna-thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 20px 40px;
  background: #c80000;
  overflow: hidden; /* 👈 no scroll */
}

.rna-thumb {
  position: relative;
  flex: 1; /* 👈 auto adjust to fit all 9 */
  min-width: 0;
  max-width: 120px;
  height: 80px;
  border: 3px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border 0.3s, transform 0.3s;
  overflow: hidden;
}
.rna-thumb:hover, .rna-thumb.active {
  border: 3px solid #fff;
  transform: scale(1.03);
}
.rna-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 restored to original style */
  border-radius: 3px;
}

/* ================================
   RESPONSIVE DESIGN
=================================== */

/* Large Screens (1360px and below) */
@media (max-width: 1360px) {
  .rna-slider { height: 700px; }
}

/* Tablets (~992px) */
@media (max-width: 992px) {
  .rna-slider { height: 600px; }
  .rna-caption { padding: 30px 25px 20px; }
  .rna-caption .title { font-size: 22px; }
  .rna-caption .desc { font-size: 13px; }
  .rna-prev, .rna-next { width: 36px; height: 50px; font-size: 18px; }

  .rna-thumbnails {
    gap: 8px;
    padding: 15px 30px;
  }
  .rna-thumb {
    max-width: 100px;
    height: 70px;
  }
}

/* Mobiles (~768px) */
@media (max-width: 768px) {
  .rna-slider { height: 450px; }
  .rna-caption { padding: 20px 15px; }
  .rna-caption .title { font-size: 18px; }
  .rna-caption .desc { font-size: 12px; }

  .rna-thumbnails {
    padding: 10px 10px;
    gap: 6px;
  }
  .rna-thumb {
    max-width: 70px; /* 👈 smaller but all 9 fit */
    height: 50px;
  }
}

/* Extra Small (~480px) */
@media (max-width: 480px) {
  .rna-slider { height: 380px; }
  .rna-thumb {
    max-width: 60px;
    height: 45px;
  }
  .rna-caption .title { font-size: 16px; }
  .rna-caption .desc { font-size: 11px; }
}
