.mzero-headlines-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
}

#marquee-short {
}

/* Marquee Content */
.mzero-marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: mzero-scroll 30s linear infinite;
}

/* Speed variations */
.mzero-speed-slow .mzero-marquee-content {
    animation-duration: 60s;
}

.mzero-speed-fast .mzero-marquee-content {
    animation-duration: 15s;
}

/* Scroll animation */
@keyframes mzero-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Individual headline items */
.mzero-headline-item {
    padding: 4px 70px;
    display: inline-block;
    position: relative;
}

/* Fade effect between items */
.mzero-headline-item::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 1px;
}

.mzero-headline-item:last-child::after {
    display: none;
}

/* Category colors */
.mzero-cat-critical {
    background: #d32f2f;
    color: white;
}

.mzero-cat-accidents {
    background: #ff9800;
    color: white;
}

.mzero-cat-traffic {
    background: #ffc107;
    color: #333;
}

.mzero-cat-alerts {
    background: #2196f3;
    color: white;
}

.mzero-cat-warnings {
    background: #ff5722;
    color: white;
}

.mzero-cat-advisory {
    background: #9c27b0;
    color: white;
}

.mzero-cat-information {
    background: #4caf50;
    color: white;
}

.mzero-cat-default {
    background: #757575;
    color: white;
}

/* Alert Content Styles */
.mzero-alert-box {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    font-weight: 500;
    border-radius: 4px;
    color: #856404;
}

.mzero-location {
    background: #e3f2fd;
    padding: 10px 15px;
    margin: 15px 0;
    border-left: 3px solid #2196f3;
    border-radius: 4px;
    color: #1565c0;
}

.mzero-location strong {
    font-weight: 600;
}

.mzero-stats-box {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    border-radius: 4px;
}

.mzero-stats-box .stat-item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.mzero-stats-box .stat-item:last-child {
    border-bottom: none;
}

.mzero-stats-box .stat-label {
    font-weight: bold;
    color: #555;
    margin-right: 8px;
}

.mzero-stats-box .stat-value {
    color: #333;
}

/* Gallery Fixes */
.gallery {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .mzero-stats-box {
        grid-template-columns: 1fr;
    }

    .mzero-headlines-marquee {
        font-size: 12px;
    }

    .mzero-headline-item {
        margin: 0 30px;
    }
}