/* Container */
.ms-container-279776f4 {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Fade Edges */
.ms-fade-edges::before,
.ms-fade-edges::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}
.ms-fade-edges::before {
    left: 0;
    /* Background color is now controlled dynamically from widget settings via Elementor selectors */
}
.ms-fade-edges::after {
    right: 0;
    /* Background color is now controlled dynamically from widget settings via Elementor selectors */
}

/* Row & Track */
.ms-row-279776f4 {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.ms-track-279776f4 {
    display: flex;
    align-items: center;
    width: max-content;
    /* CSS animation controlled by JS variables */
    animation: marquee-scroll-279776f4 var(--marquee-duration, 10s) linear infinite;
}

.ms-pause-hover .ms-row-279776f4:hover .ms-track-279776f4 {
    animation-play-state: paused;
}

/* Alternate Directions based on settings */
.ms-container-279776f4[data-direction="left"] .ms-row-279776f4:nth-child(even) .ms-track-279776f4 {
    animation-direction: reverse;
}
.ms-container-279776f4[data-direction="right"] .ms-row-279776f4:nth-child(odd) .ms-track-279776f4 {
    animation-direction: reverse;
}

@keyframes marquee-scroll-279776f4 {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--marquee-original-width))); }
}

/* Items */
.ms-item-wrap-279776f4 {
    display: flex;
    align-items: center;
    gap: inherit;
    flex-shrink: 0;
}

.ms-item-279776f4 {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.ms-item-279776f4 img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.ms-icon-279776f4 svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Styles */
.ms-style-pill-filled .ms-item-279776f4 {
    background-color: #f1f1f1;
    border-radius: 50px;
    padding: 10px 25px;
}

.ms-style-pill-outline .ms-item-279776f4 {
    border: 2px solid #ddd;
    border-radius: 50px;
    padding: 8px 23px;
    background-color: transparent;
}

.ms-style-card .ms-item-279776f4 {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}

.ms-style-plain .ms-item-279776f4 {
    padding: 0;
    background: none;
    border: none;
}

/* Separators */
.ms-sep-279776f4 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 20px;
}
.ms-sep-dot-279776f4 {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #888;
    border-radius: 50%;
}
.ms-sep-279776f4 svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}
