.occitanie-3d-slider-container-21dc07e3 {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    perspective: 1200px;
    background: transparent;
}

.occitanie-slider-track-21dc07e3 {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: center;
    gap: 0; /* JS handles spacing */
    will-change: transform;
}

.occitanie-slide-item-21dc07e3 {
    flex: 0 0 320px;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.6s ease;
    transform: scale(0.85) rotateY(15deg);
    cursor: pointer;
    margin: 0 15px; /* Fixed margin for all items */
}

/* Base overlay to ensure text is readable */
.occitanie-slide-item-21dc07e3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Active Slide Styling */
.occitanie-slide-item-21dc07e3.active {
    transform: scale(1.05) rotateY(0deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 10;
}

.occitanie-slide-item-21dc07e3:hover:not(.active) {
    transform: scale(0.9) rotateY(5deg);
}

.occitanie-slide-content-21dc07e3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    z-index: 2;
    /* Ensure content is always positioned correctly */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.occitanie-slide-title-21dc07e3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.occitanie-slide-desc-21dc07e3 {
    color: #f0f0f0;
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    /* Always visible now */
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.occitanie-slide-btn-21dc07e3 {
    display: inline-block;
    padding: 12px 28px;
    background: #35CDFF;
    color: #0D183D !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
    /* Always visible */
    opacity: 1;
    position: relative;
    z-index: 20; /* Keep above slide */
}

.occitanie-slide-btn-21dc07e3:hover {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(53, 205, 255, 0.6);
    transform: translateY(-2px);
}

/* Navigation Buttons */
.occitanie-slider-nav-prev-21dc07e3,
.occitanie-slider-nav-next-21dc07e3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 24, 61, 0.7);
    border: 2px solid #35CDFF;
    color: #35CDFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    transition: all 0.3s;
}

.occitanie-slider-nav-prev-21dc07e3:hover,
.occitanie-slider-nav-next-21dc07e3:hover {
    background: #35CDFF;
    color: #0D183D;
    box-shadow: 0 0 15px rgba(53, 205, 255, 0.5);
}

.occitanie-slider-nav-prev-21dc07e3 { left: 20px; }
.occitanie-slider-nav-next-21dc07e3 { right: 20px; }

@media (max-width: 768px) {
    .occitanie-slide-item-21dc07e3 {
        flex: 0 0 260px;
        height: 380px;
    }
    
    .occitanie-slide-title-21dc07e3 {
        font-size: 22px;
    }
    
    .occitanie-slider-nav-prev-21dc07e3,
    .occitanie-slider-nav-next-21dc07e3 {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}