.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main-slider {
    width: 940px;
    height: 602px;
    overflow: hidden;
}

.main-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    width: 250px;
    height: 602px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-slide {
    width: 250px;
    height: 143px;
    cursor: pointer;
}

.nav-slide.slick-current {
    opacity: 1;
}

.nav-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.slick-current .nav-slide {
    position: relative;
}

.slick-current .nav-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D5C390;
    opacity: 0.6;
    z-index: 1;
  }

  /* Tablets: 768px–1023px */
@media screen and (max-width: 1023px) {
    .slider-container {
      flex-direction: column;
      align-items: center;
    }
  
    .main-slider {
      width: 100%;
      height: auto;
    }
  
    .slider-nav {
      flex-direction: row;
      width: 100%;
      height: auto;
      justify-content: center;
      flex-wrap: wrap;
      padding: 0 1rem;
    }
  
    .nav-slide {
      width: 22%;
      height: auto;
      aspect-ratio: 16/9;
    }
  }
  
  /* Mobile: 375px–767px */
  @media screen and (max-width: 767px) {
    .slider-container {
      flex-direction: column;
      gap: 1rem;
    }
  
    .main-slider {
      width: 100%;
      height: auto;
    }
  
    .slider-nav {
      flex-direction: row;
      width: 100%;
      height: auto;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  
    .nav-slide {
      width: 45%;
      aspect-ratio: 16/9;
    }
  
    .nav-slide img {
      border-radius: 4px;
    }
  
    .slide .absolute.bottom-0 {
      position: relative;
      bottom: 0;
      left: 0;
      border-radius: 0;
      padding: 1rem;
    }
  }