/* PARTNERS CAROUSEL STIJLEN */

/* PARTNERS SLOT - CSS ONLY CAROUSEL */
.peppol-homepage-isolated .partners-slot {
    margin-bottom: 40px !important;
    min-height: 200px !important;
    position: relative !important;
}

.peppol-homepage-isolated .partners-carousel-simple {
    background: white !important;
    padding: 50px 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
}

.peppol-homepage-isolated .partners-title {
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin-bottom: 35px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.peppol-homepage-isolated .carousel-container {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 80px !important;
}

.peppol-homepage-isolated .carousel-track {
    display: flex !important;
    width: fit-content !important;
    animation: scroll-infinite 20s linear infinite !important;
}

.peppol-homepage-isolated .carousel-track:hover {
    animation-play-state: paused !important;
}

.peppol-homepage-isolated .partner-item {
    flex: 0 0 auto !important;
    width: 180px !important;
    height: 80px !important;
    background: white !important;
    border: 1px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    padding: 12px !important;
}

.peppol-homepage-isolated .partner-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.peppol-homepage-isolated .partner-item:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.peppol-homepage-isolated .partner-item:hover img {
    opacity: 1 !important;
    transform: scale(1.02) !important;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Gradient fade edges */
.peppol-homepage-isolated .carousel-container::before,
.peppol-homepage-isolated .carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.peppol-homepage-isolated .carousel-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.peppol-homepage-isolated .carousel-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}