.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.afs-review-text {
    width: 39.54%;
    display: flex;
    padding: 20px;             
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;                
    border-radius: 4px;
    background: #000;
    position: absolute;
    bottom: 0;
    transition: height 0.3s ease; 
    overflow: hidden;
     max-height: 100%; 
    overflow-y: auto;

}

.afs-review-div{
    overflow-y: auto;
    padding: 0 8px 0 0;
    display: flex;    
    flex-direction: column;
     gap: 8px;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    
    
    
}


.afs-review-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
     align-self: stretch;
    
    
}


.review-heading{
    align-self: stretch;
    
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}






.swiper-thumbnails {
    padding-left: 50px;
    padding-right: 60px;
    margin-top: 10px; /* Adjust as needed */
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
     scroll-behavior: smooth;
    overflow: hidden;
}

.swiper-thumbnail-img {
    max-height: 80px;
    height: 80px;
    min-height: 80px;
    width: 120px;
    min-height: 80px;
    object-fit: cover;
}




.swiper-thumbnail {
display: flex;
position: relative;
cursor: pointer;
opacity: 0.5; /* Default opacity for inactive */
transition: opacity 0.3s ease;
flex-direction: column;
align-items: flex-start;
gap: 5px;
min-width: 120px !important;
max-width: 120px !important;
}






.swiper-thumbnail.active {
opacity: 1; 

}


.swiper-thumbnail-img{
    
    border-radius: 4px !important;
   background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
}



.swiper-button-prev:after, .swiper-button-next:after {
      display: none;
}


.swiper-button-next, .swiper-button-prev {
   
     color: #fcfcfc;
      }

.afs_review_heading{
    margin-top: 0;
}


.thumbnail-review-heading{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    
    color: var(--text-black__main, #111);
    text-overflow: ellipsis;
    font-family: "Alliance No.2";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 14px */

}



.review-btn, .review-btn:focus, .review-btn:hover, .review-btn:focus, .review-btn:hover, .review-btn:focus, .review-btn:hover {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: 0;
    color: var(--main-brand, #1D98FF);
    font-family: "Alliance No.2";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    letter-spacing: -0.16px;
    background: transparent;
    
}



.afs-expert-review {
position: relative;
width: 100%;
aspect-ratio: 99 / 50;
overflow: hidden;

border-radius: 4px;


}

.thumbnail-container {
position: relative;
width: 100%;
overflow: hidden;
}

.swiper-button-prev {
    left: 0n !important;
    right: auto;
               }
               

.swiper-rtl .swiper-button-next {
             left: 0;
             right: auto;
                        }



/* Works on Chrome, Edge, and Safari */
.afs-review-div::-webkit-scrollbar-track
{

background-color: #D9D9D9;
}

.afs-review-div::-webkit-scrollbar
{
width: 3px;
background-color: #D9D9D9;

}

.afs-review-div::-webkit-scrollbar-thumb
{
background-color: #1D98FF;

}


.thumbnail-container {
aspect-ratio: 99 / 50;
}



/* Responsive */
@media (max-width: 1024px) { 
.afs-expert-review {
aspect-ratio: unset;
}

.videoWrapper {
aspect-ratio: unset;
}

.thumbnail-container {
aspect-ratio: 16 / 9;
}



img.video_url_icon, img.image_url_icon {
width: 16px;
}

.afs-review-text {
    height: 200px;
   position: relative;
   max-height 200px;
   
    
}


}

/* Responsive */
@media (max-width: 768px) { 
.afs-review-text {
    height: 200px;
    padding: 0px;
   position: relative;
   max-height 200px;
   
    
}

.afs-review-div{
    
     padding: 0 4px 0 0;
  
}	
.thumbnail-container {
aspect-ratio: 16 / 9;
}


.afs-review-div {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
align-self: stretch;
margin: 16px 20px;
}
.afs-review-content {
margin: 0;
}
}		



.lightbox-overlay {
position: fixed;
top: 90px;
left: 0;
width: 100%;
height: 100%;
background: rgba(17, 17, 17, 0.60) !important;
backdrop-filter: blur(10px) !important;
display: flex;
justify-content: center;
align-items: center;
z-index: 99999999;
}

.lightbox-overlay iframe {

}

.lightbox-overlay span {
position: absolute;
top: 10px;
right: 20px;
font-size: 24px;
color: #fff;
cursor: pointer;
}

.swiper-button-next {
    width: auto !important;
    height: auto !important;
}

.swiper-button-prev {
    width: auto !important;
    height: auto !important;
}
