.tola-study-case-images-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.tola-study-case-images-slider__main {
    width: 100%;
    height: 400px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.tola-study-case-images-slider-main-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.3s;
    border-radius: 12px;
    background: #fff;
}

.tola-study-case-images-slider__main-slide {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    height: 100%;
}

.tola-study-case-images-slider__main-slide::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 76.84%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Slider Navigation */
.tola-study-case-images-slider__main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 100%;
    max-width: 180px;
    z-index: 2;
}

.tola-study-case-images-slider__main-navigation .swiper-button-arrow {
    display: block;
    position: relative;
    top: 0;
    margin-top: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='-0.00195312' width='32' height='32' rx='16' fill='%23062548'/%3E%3Cpath d='M7.63965 16.0008H24.3561M24.3561 16.0008L15.9979 7.64258M24.3561 16.0008L15.9979 24.359' stroke='white' stroke-width='2.38806' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tola-study-case-images-slider__main-navigation .swiper-button-arrow:hover {
    opacity: 0.8;
}

.tola-study-case-images-slider__main-navigation .swiper-button-arrow::after {
    display: none;
}

.tola-study-case-images-slider__main-navigation .swiper-button-prev {
    transform: rotate(180deg);
}

.tola-study-case-images-slider__main-navigation .swiper-pagination {
    width: auto;
    position: relative;
    top: 0;
    margin-top: 0;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

/* Swiper default styles override */
.tola-study-case-images-slider .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tola-study-case-images-slider .swiper-slide {
    height: 100%;
    width: 100%;
}

.tola-study-case-images-slider .swiper-wrapper {
    height: 100%;
    width: 100%;
}

.tola-study-case-images-slider .swiper {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tola-study-case-images-slider__main {
        height: 300px;
        border-radius: 8px;
    }
    
    .tola-study-case-images-slider__main-navigation {
        left: calc(50% - 90px);
        bottom: 16px;
    }
    
    .tola-study-case-images-slider__main-navigation .swiper-button-arrow {
        width: 28px;
        height: 28px;
    }
    
    .tola-study-case-images-slider__main-navigation .swiper-pagination {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tola-study-case-images-slider__main {
        height: 250px;
        border-radius: 6px;
    }
    
    .tola-study-case-images-slider__main-navigation {
        left: calc(50% - 80px);
        bottom: 12px;
    }
    
    .tola-study-case-images-slider__main-navigation .swiper-button-arrow {
        width: 24px;
        height: 24px;
    }
    
    .tola-study-case-images-slider__main-navigation .swiper-pagination {
        font-size: 11px;
    }
}

/* Loading state */
.tola-study-case-images-slider__main.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Image loading transition */
.tola-study-case-images-slider-main-img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tola-study-case-images-slider-main-img.loaded {
    opacity: 1;
}
