.elementor-news-marquee-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.news-ticker-label {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 0 24px;
    height: 100%;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.pulse-icon {
    width: 10px;
    height: 10px;
    background-color: var(--pulse-color);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    box-shadow: 0 0 8px var(--pulse-color-shadow);
}

.pulse-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: var(--pulse-color-ring);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.news-ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.news-ticker-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll var(--scroll-speed) linear infinite;
    align-items: center;
    width: max-content;
    flex-shrink: 0;
}

.elementor-news-marquee-container:hover .news-ticker-content {
    animation-play-state: paused !important;
}

.ticker-item {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    margin-right: 50px;
    transition: color 0.3s ease;
}

.ticker-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 18px;
    opacity: 0.6;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* RTL Support */
html[dir="rtl"] .news-ticker-label {
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0;
}

html[dir="rtl"] .pulse-icon {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .ticker-item {
    margin-right: 0;
    margin-left: 50px;
}

html[dir="rtl"] .ticker-dot {
    margin-right: 0;
    margin-left: 18px;
}

html[dir="rtl"] .news-ticker-content {
    animation: marquee-scroll-rtl var(--scroll-speed) linear infinite;
}

@keyframes marquee-scroll-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .elementor-news-marquee-container {
        height: 42px;
    }

    .news-ticker-label {
        font-size: 13px;
        padding: 0 15px;
    }

    .ticker-item {
        font-size: 14px;
        margin-right: 30px;
        margin-left: 30px;
    }
}
