/* ============================================================
   SOC Logo Slider
   ============================================================ */

.soc-ls {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
}

/* Le déplacement est géré pixel par pixel via JS (requestAnimationFrame) */
.soc-ls__track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.soc-ls__item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.soc-ls__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.soc-ls__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.soc-ls__item:hover .soc-ls__img {
    filter: grayscale(100%);
    opacity: 0.55;
}

.soc-ls__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.soc-ls__name {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.35);
    word-break: break-word;
}

@media (max-width: 1024px) {
    .soc-ls__item {
        width: 160px;
        height: 72px;
        margin: 0 16px;
        padding: 10px 16px;
    }
}

@media (max-width: 600px) {
    .soc-ls__item {
        width: 130px;
        height: 60px;
        margin: 0 12px;
        padding: 8px 12px;
        border-radius: 8px;
    }
}
