/* =========================================================
   Sarkari Sites - Latest Updates / News Ticker
   Parent Company : Star Digital Software
   Brand          : Sarkari Sites
========================================================= */

.latest-news-bar {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 44px;

    margin-top: 8px;

    background: #ec5252;

    border-radius: 6px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LATEST UPDATES LABEL
   ========================================================= */

.latest-news-label {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 7px;

    flex: 0 0 auto;

    height: 44px;

    padding: 0 15px;

    background: #173f5f;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}


/* Small arrow on label */

.latest-news-label::after {
    content: "";

    position: absolute;

    top: 0;
    right: -12px;

    width: 24px;
    height: 44px;

    background: #173f5f;

    clip-path: polygon(
        0 0,
        50% 50%,
        0 100%
    );
}


/* =========================================================
   LABEL ICON
   ========================================================= */

.latest-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    color: #ffffff;

    font-size: 16px;
}


/* =========================================================
   MARQUEE AREA
   ========================================================= */

.latest-news-marquee {
    flex: 1 1 auto;

    min-width: 0;

    height: 44px;

    display: flex;
    align-items: center;

    overflow: hidden;
}


.latest-news-marquee marquee {
    width: 100%;

    color: #ffffff;

    line-height: 44px;

    white-space: nowrap;
}


/* =========================================================
   NEWS ITEM
   ========================================================= */

.news-item {
    display: inline-flex;
    align-items: center;

    vertical-align: middle;

    margin-right: 4px;
}


/* =========================================================
   NEW BADGE
   ========================================================= */

.new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 23px;

    margin-right: 8px;
    padding: 3px 8px;

    background: #ffffff;

    color: #ec5252;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.5px;

    vertical-align: middle;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   NEW DOT
   ========================================================= */

.new-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ec5252;

    animation: newPulse 1.5s infinite;
}


@keyframes newPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.75);
    }
}


/* =========================================================
   NEWS LINK
   ========================================================= */

.news-link {
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 500;

    line-height: 44px;

    text-decoration: none !important;

    cursor: pointer;
}


.news-link:hover {
    color: #ffffff !important;

    text-decoration: underline !important;
}


/* =========================================================
   SEPARATOR
   ========================================================= */

.news-separator {
    display: inline-block;

    margin: 0 16px;

    color: rgba(255, 255, 255, 0.65);

    font-weight: 400;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .latest-news-bar {
        min-height: 42px;

        border-radius: 5px;
    }

    .latest-news-label {
        height: 42px;

        padding: 0 10px;

        font-size: 12px;
    }

    .latest-news-label::after {
        height: 42px;
    }

    .latest-news-icon {
        width: 19px;
        height: 19px;

        font-size: 14px;
    }

    .latest-news-marquee {
        height: 42px;
    }

    .latest-news-marquee marquee {
        line-height: 42px;
    }

    .news-link {
        font-size: 13px;

        line-height: 42px;
    }

    .new-badge {
        min-height: 21px;

        margin-right: 6px;
        padding: 3px 6px;

        font-size: 9px;
    }

    .news-separator {
        margin: 0 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .latest-news-label span:last-child {
        display: none;
    }

    .latest-news-label {
        padding: 0 11px;
    }

    .new-badge {
        padding: 3px 5px;

        font-size: 8px;
    }

    .news-link {
        font-size: 12px;
    }
}