/* =============================================
   Elementor Marquee Widget — marquee.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Wrapper */
.emw-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

/* Inner flex row: two track copies side by side */
.emw-marquee-inner {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}

/* Each track: one full set of items */
.emw-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 50px;                        /* overridden by Elementor selector */
    animation: emw-scroll linear infinite;
    /* duration & direction set inline by PHP / JS */
}

/* Pause on hover */
.emw-marquee-wrapper.pause-on-hover:hover .emw-marquee-track {
    animation-play-state: paused;
}

/* ---- Items ---- */
.emw-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Default: hollow / outline text */
.emw-item-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffffff;
    user-select: none;
    display: inline-block;
    /* GPU-accelerated rendering */
    transform: translateZ(0);
}

/* Solid alternates: filled text */
.emw-item.is-solid .emw-item-text {
    color: #ffffff;
    -webkit-text-stroke-width: 0;
    -webkit-text-stroke-color: transparent;
}

/* ---- Separator dot ---- */
.emw-separator {
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    /* Pull separator out of gap flow so it sits between items */
    margin-left: 0;
    margin-right: 0;
}

/* =============================================
   Keyframes
   ============================================= */

/* Scroll LEFT (default) */
@keyframes emw-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   Elementor Editor — live preview parity
   ============================================= */
.elementor-widget-emw_marquee .emw-marquee-wrapper {
    /* nothing extra needed — inherits all above */
}
