/* =========================================
   Student News Ticker
========================================= */

.student-news-ticker-wrapper {
    width: 100%;
    /*background: #00293c;*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}


/* Main Ticker */

.student-news-ticker {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


/* Latest News Label */

.student-news-label {
    height: 100%;
    min-width: 150px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ff5b0e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}


/* Label Icon */

.student-news-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}


/* Scrolling Content */

.student-news-ticker-content {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}


/* Moving Track */

.student-news-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    animation: studentNewsTickerMove 80s linear infinite;
}


/* News Item */

.student-news-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 50px;
    color: #062660;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1;
    transition: opacity 0.2s ease;
}


.student-news-item:hover {
    color: #062660;
    opacity: 0.75;
}


/* Dot */

.student-news-dot {
    width: 6px;
    height: 6px;
    background: #062660;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}


/* News Title */

.student-news-title {
    display: inline-block;
}


/* Pause Button */

.student-news-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    background: #ff5b0e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    font-size: 18px;
}


.student-news-toggle:hover {
   background: #ff5b0e;
}


/* Ticker Animation */

@keyframes studentNewsTickerMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* Pause Animation */

.student-news-ticker.is-paused
.student-news-ticker-track {
    animation-play-state: paused;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 767.98px) {

    .student-news-ticker {
        height: 44px;
    }


    .student-news-label {
        min-width: 110px;
        padding: 0 12px;
        font-size: 11px;
    }


    .student-news-label-icon {
        font-size: 12px;
    }


    .student-news-item {
        font-size: 12px;
        margin-right: 35px;
    }


    .student-news-toggle {
        width: 42px;
        height: 44px;
        font-size: 16px;
    }

}