.news-ticker {
    font-family: var(---roboto-font);
    font-size: var(---highlight-title);
    /* border: 1px solid #ddd; */
    white-space: nowrap;
    position: relative;
    margin: 0 auto;
    border-radius: 5px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
}

.highlight-title {
    font-weight: bold;
    font-size: 18px;
    color: white;
    margin-right: 20px;
    background: green;
    padding: 10px;
    position: relative;
    z-index: 10;
}

.ticker-container {
    display: flex;
    overflow: hidden;
    flex: 1;
}

.news-content {
    display: flex;
    white-space: nowrap;
    position: relative;
}

.highlight-item {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.highlight-item:hover {
    color: green;
}

.seperator {
    color: #999;
    margin: 0 10px;
}

.new-badge {
    color: red;
    font-weight: bold;
    font-size: 12px;
    margin-right: 5px;
    /* margin-bottom: 15px; */
    animation: blink 1s infinite;
}

a {
    color: green;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* MOBILE VIEW */
@media screen and (max-width: 768px) {
    .news-ticker {
        font-size: var(---mobile-title);
        flex-direction: row;
        text-align: center;
        gap: 10px;
    }

    .highlight-title {
        font-size: 16px;
        padding: 8px;
        margin-right: 0;
        text-align: center;
    }

    .ticker-container {
        /* border: 2px solid red; */
        flex-direction: row;
        overflow: hidden;
        width: 100%;
    }

    .news-content {
        flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 5px;
    }

    .highlight-item {
        font-size: 14px;
        display: block;
        padding: 5px 0;
    }

    .seperator {
        /* display: none; */
    }
}

/* TABLET VIEW */
@media (min-width: 768px) and (max-width: 1024px) {
    .highlight .container {
        padding: 0;
    }
    .highlight-content {
        margin: 15px auto;
        flex-direction: row;
        /* padding: 10px;  */
    }

    .highlight-title {
        font-size: 1em;
        padding: 8px 10px;
        margin-right: 0;
        border-radius: 5px 0 0 5px;
    }

    marquee {
        font-size: 1em;
    }

    .highlight-item {
        font-size: 14px;
        margin: 10px 0;
        text-align: center;
    }

    .highlight-item.new {
        font-size: 14px;
        padding: 3px 6px;
    }
}
