.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: 15px;
}

.highlight-title {
    font-weight: bold;
    font-size: 18px;
    color: white;
    margin-right: 20px;
    background: #4e8abf;
    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-content {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

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

.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;
}

/* .highlight-content {
    z-index: 10;
    margin: 20px auto;
    margin-bottom: 0;
    display: flex; 
    align-items: center;
    position: relative;
    border-radius: 5px;
    outline: 0.5px solid #D4D4D4;
}

.highlight-title {
    color: white;
    background-color: var(---highlight-bg);
    font-family: var(---roboto-font);
    font-size: var(---highlight-title);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px 0px 0px 5px;
    margin-right: 20px;
    display: inline-block;
    font-size: 1.2em;
    z-index: 11;
}

marquee {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

marquee a{
    color: var(---text-color);
}

marquee a:hover{
    color: var(---menu-bg-color);
}

.seperator{
    color: #4E8ABF;
}

.highlight-item {
    font-size: 16px;
    font-weight: normal;
    margin-right: 15px;
    margin-left: 15px;
}

.highlight-item.new {
    background-color: red;
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
} */

/* 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;
    }
}
