/* =============================================================
   ACC Sponsors — Front-end logo bar
   ============================================================= */

.acc-sponsors {
    background-color: #e8dfd0;
    padding: 0.75rem var(--wp--preset--spacing--40, 1.5rem) var(--wp--preset--spacing--40, 1.5rem);
}

.acc-sponsors__label {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #7a6a56;
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin: 0 auto var(--wp--preset--spacing--30, 1rem);
}

.acc-sponsors__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin: 0 auto;
}

.acc-sponsors__link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.acc-sponsors__link:hover {
    transform: none;
}

.acc-sponsors__logo {
    display: block;
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6) sepia(100%) saturate(300%) hue-rotate(5deg);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.acc-sponsors__link:hover .acc-sponsors__logo {
    filter: grayscale(0%) brightness(0.5) sepia(100%) saturate(400%) hue-rotate(5deg);
    opacity: 1;
}

/* Mobile: horizontal scroll slider */
@media (max-width: 781px) {
    .acc-sponsors__grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 2rem;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .acc-sponsors__grid::-webkit-scrollbar {
        display: none;
    }

    .acc-sponsors__link {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    .acc-sponsors__logo {
        max-width: 100px;
        max-height: 36px;
    }
}
