/**
 * EMA Ticker — front-end styles
 * Defaults match the original .ticker section from the EMA Catering home page.
 * Colors, fonts, padding, gap, and speed are all overridden by Elementor controls.
 */

.ema-ticker{
    position: relative;
    overflow: hidden;
    background: #12110F;
    width: 100%;
        padding: 11px 0px 11px 0px;
}

/* The scrolling rail */
.ema-ticker-track{
    display: flex;
    width: max-content;
    gap: 48px;
    animation: ema-tick 60s linear infinite;
    will-change: transform;
}

/* Two duplicated groups sit side-by-side; shifting -50% loops seamlessly */
.ema-ticker-group{
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Each item (text or link) */
.ema-ticker-item{
    display: inline-flex;
    align-items: center;
    color: #F5EFD9;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1.4;
    transition: color .2s ease;
}
a.ema-ticker-item:hover{
    color: #C2A862;
}

/* Separator (text symbol or SVG icon) */
.ema-ticker-separator{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A01428;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}
.ema-ticker-separator svg{
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
}

/* Animation */
@keyframes ema-tick{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
}

.ema-ticker.ema-direction-right .ema-ticker-track{
    animation-name: ema-tick-reverse;
}
@keyframes ema-tick-reverse{
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Pause on hover */
.ema-ticker.ema-pause-hover:hover .ema-ticker-track{
    animation-play-state: paused;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
    .ema-ticker-track{
        animation: none;
        transform: translateX(0);
    }
}

/* Keep it running inside the Elementor editor preview */
.elementor-editor-active .ema-ticker-track{
    animation-play-state: running;
}

@media (max-width: 780px){
 .ema-ticker-item{
        font-size: 13px;
    }
    .ema-ticker-group{
                gap: 32px;
    }
}