
.ewc-partners-bar {
    background: #fdf6e3;
    border-bottom: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.ewc-partners-label {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    width: 190px;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ewc-partners-label .ewc-p-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ewc-partners-scroll {
    flex: 1;
    overflow: hidden;
}

.ewc-partners-track {
    display: flex;
    /* gap: 40px; removed to use margin for smoother infinite loop math */
    align-items: center;
    width: max-content;
    /* Animation duration will be set inline */
    animation-name: ewcScrollP;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.ewc-partner-item {
    margin-right: 40px; /* Use margin instead of gap for precise 50% scroll */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ewc-partners-track.pause-on-hover:hover {
    animation-play-state: paused;
}

.ewc-partners-track img {
    height: 22px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
    cursor: pointer;
    display: block; /* Ensure no extra space */
}

.ewc-partners-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes ewcScrollP {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ewc-partners-bar {
        flex-direction: row;
        gap: 10px;
        padding: 8px 10px;
    }
    
    .ewc-partners-label {
        width: auto;
        text-align: left;
        justify-content: flex-start;
        max-width: 60%;
    }
}
