
/*==================================================
                LUNA LATEST NEWS
==================================================*/

div.luna_marquee1 {

    position: relative;

}

div.luna_marquee1 .hero_news {

    display: flex;
    align-items: center;
    background: var(--light);
    border-block: 1px solid var(--border);
    overflow: hidden;

}

/*==================================================
                NEWS LABEL
==================================================*/

div.luna_marquee1 .hero_news_label {

    flex-shrink: 0;
    padding: 12px 22px;
    background: var(--accent);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;

}

/*==================================================
            PLAY / PAUSE BUTTON
==================================================*/

div.luna_marquee1 .hero_news_toggle {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: .3s;

}

div.luna_marquee1 .hero_news_toggle:hover {

    background: var(--secondary);
    color: var(--primary);

}

/*==================================================
                NEWS SLIDER
==================================================*/

div.luna_marquee1 .hero_news_slider {

    flex: 1;
    overflow: hidden;
    white-space: nowrap;

}

div.luna_marquee1 .hero_news_track {

    display: inline-flex;
    align-items: center;
    padding-left: 100%;
    animation: hero_news_scroll 60s linear infinite;

}

div.luna_marquee1 .hero_news_track a {

    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 70px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

}

div.luna_marquee1 .hero_news_track a::before {

    content: "•";
    color: var(--accent);
    font-size: 22px;

}

div.luna_marquee1 .hero_news:hover .hero_news_track {

    animation-play-state: paused;

}

@keyframes hero_news_scroll {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-100%);

    }

}

/*==================================================
                MOBILE
==================================================*/

@media (max-width: 991px) {

    div.luna_marquee1 .hero_news {

        flex-wrap: wrap;

    }

    div.luna_marquee1 .hero_news_label {

        width: 100%;
        padding: 12px;
        font-size: 14px;
        text-align: center;

    }

    div.luna_marquee1 .hero_news_toggle {

        width: 42px;
        height: 42px;
        border-right: 1px solid var(--border);

    }

    div.luna_marquee1 .hero_news_slider {

        width: calc(100% - 42px);

    }

    div.luna_marquee1 .hero_news_track a {

        margin-right: 45px;
        font-size: 14px;

    }

}