﻿/* ===== BREAKING NEWS STRIP ===== */
.news--ticker {
    background: #03213B;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

    .news--ticker .container {
        display: flex;
        align-items: center;
    }

    /* Title Box */
    .news--ticker .title {
        background: #ffffff;
        padding: 6px 15px;
        margin-right: 15px;
        border-radius: 3px;
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
    }

        .news--ticker .title h2 {
            margin: 0;
            font-size: 18px;
            font-weight: 800;
            color: #d60000;
            text-transform: uppercase;
        }

            /* Flashing LIVE */
            .news--ticker .title h2::after {
                content: " LIVE";
                color: #fff;
                background: #ba1708;
                padding: 2px 7px;
                border-radius: 3px;
                margin-left: 8px;
                animation: blink 1s infinite;
                font-size: 12px;
            }

@keyframes blink {
    0% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }

    100% {
        opacity: 1
    }
}

.news--ticker .title span {
    font-size: 12px;
    color: #555;
}

/* ===== Continuous News Scroller ===== */
.news-updates--list {
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 50px;
    padding: 0;
    margin: 0;
    list-style: none;
    animation: scrollNews 50s linear infinite;
}

    .marquee-content li {
        white-space: nowrap;
    }

    .marquee-content a {
        color: white;
        font-size: 14px;
        font-weight: 600;
        padding: 8px !important;
    }

@keyframes scrollNews {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


/* =========================
        📱 MOBILE DESIGN
   ========================= */
@media(max-width:768px) {
    .news--ticker {
        padding: 3px 0;
    }

        .news--ticker .container {
            flex-wrap: wrap;
            gap: 5px;
        }

        .news--ticker .title {
            margin-right: 0;
            padding: 0px 10px !important;
        }

            .news--ticker .title h2 {
                font-size: 14px;
            }

            .news--ticker .title span {
                display: none;
            }

    .marquee-content a {
        font-size: 13px;
        padding: 3px;
    }

    .marquee-content {
        gap: 30px;
        animation-duration: 50s;
    }
}


/* =========================
        📱 EXTRA SMALL
   ========================= */
@media(max-width:480px) {
    .news--ticker .title {
        padding: 4px 8px;
    }

        .news--ticker .title h2 {
            font-size: 12px;
            letter-spacing: .3px;
        }

    .marquee-content a {
        font-size: 12px;
        font-weight: 500;
        padding: 0px !important;
    }

    .marquee-content {
        gap: 20px;
        animation-duration: 40s;
    }
}
