/* Marquee styling */
.marquee-container {
    background-color: var(--brand-primary);
    color: white;
    overflow: hidden;
}

.marquee-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Style the actual marquee element */
marquee {
    color: var(--marquee-text);
    background-color: var(--marquee-bg);
}

/* Enhanced Marquee Styling */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
}

.marquee-container {
    background-color: var(--brand-primary);
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.marquee-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    letter-spacing: 0.2px;
}

/* CSS-based animations for continuous scrolling */
@keyframes scrollLeftToRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* News items styling - make them more prominent */
.marquee-news-item {
    display: inline-block;
    padding: 3px 8px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
    font-weight: 700;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.marquee-regular-item {
    display: inline-block;
    padding: 3px 0;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.marquee-separator {
    display: inline-block;
    margin: 0 20px;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
}

.marquee-separator-large {
    display: inline-block;
    margin: 0 60px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 8px;
    font-weight: bold;
}

.marquee-separator-special {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

/* RTL support for marquee items */
html[lang="ar"] .marquee-icon, 
body[dir="rtl"] .marquee-icon {
    margin-right: 0;
    margin-left: 5px;
}

html[lang="ar"] .marquee-regular-item, 
html[lang="ar"] .marquee-news-item,
body[dir="rtl"] .marquee-regular-item,
body[dir="rtl"] .marquee-news-item {
    margin-right: 0;
    margin-left: 5px;
}