/**
 * DS Presentations - Carousel Styles
 * Version: 1.0.5
 */

/* Main wrapper - FORCE FULL WIDTH */
.ds-presentations-wrapper {
    position: relative;
    margin: 40px 0;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
}

/* Carousel container */
.ds-presentations-carousel {
    overflow: hidden;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}

/* Carousel track */
.presentations-track {
    display: flex;
    gap: 30px;
    padding: 0 15px !important;
    margin: 0 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Individual presentation item */
.presentation-item {
    flex: 0 0 calc(20% - 24px);
    background: #fff;
    text-align: center !important;
    position: relative;
}

/* Presentation link */
.presentation-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Presentation image */
.presentation-image {
    width: 100%;
    max-width: 200px !important;
    height: auto;
    margin: 0 auto 30px auto !important;
    overflow: hidden;
    display: block;
    pointer-events: all;
}

.presentation-image img {
    width: 100%;
    height: 100px !important;
    max-width: 200px !important;
    object-fit: contain;
    display: block;
}

/* Presentation content */
.presentation-content {
    padding: 0 5px;
    text-align: center !important;
}

/* Title */
.presentation-title {
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    margin: 0 0 8px 0;
    color: #333;
    text-decoration: none;
    text-align: center !important;
    transition: text-decoration 0.2s ease;
}

/* Title hover - only underline */
.presentation-link:hover .presentation-title {
    text-decoration: underline;
}

/* Navigation container - BELOW CONTENT */
.presentations-navigation {
    text-align: center !important;
    margin-top: 40px !important;
    padding: 20px 0;
}

/* Navigation arrows */
.presentations-nav {
    position: relative !important;
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    margin: 0 10px;
    transition: background 0.2s ease;
    outline: none;
}

.presentations-nav:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.9);
}

.presentations-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Hide navigation when not needed */
.ds-presentations-wrapper.no-scroll .presentations-navigation {
    display: none;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .presentation-item {
        flex: 0 0 calc(25% - 22.5px);
    }
}

@media (max-width: 900px) {
    .presentation-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .presentations-track {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .presentation-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .presentations-track {
        gap: 15px;
    }
    
    .presentations-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .presentation-item {
        flex: 0 0 calc(80% - 12px);
    }
    
    .presentation-title {
        font-size: 18px !important;
    }
}