/* news */
#news-view {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

#news-topbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#news-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

#news-nav > a {
    font-size: 16px;
    font-weight: bold;
}

#news-nav > img {
    height: 12px;
    opacity: 50%;
}

#news-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

#news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.news-list-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-list-item:hover {
    text-decoration: none !important;
}

.news-list-item:hover > p:first-of-type {
    text-decoration: underline;
}

.news-list-item > p {
    font-size: 16px;
}

.news-list-item > div > div > p {
    color: #0d0d0d !important;
    text-align: justify;
    font-size: 16px;
    position: relative;
    word-break: break-word;
}

.news-list-item > div {
    position: relative; /* Set stacking context for the overlay */
}

.news-list-item-overlay {
    position: absolute;
    width: 100%;
    max-height: 32px;
    height: 100%;
    /*background-color: red;*/
    opacity: 75%;
    background: linear-gradient(0deg, #f2f2f2, transparent);
    bottom: 0;
    left: 0;
    pointer-events: none;
}

#news-display {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

#news-display-title {
    display: flex;
    flex-direction: column;
}

#news-display-title > p:nth-of-type(1) {
    font-size: 16px;
}

#news-display-title > p:nth-of-type(2) {
    font-size: 22px;
    font-weight: bold;
}

#newsDisplayContents * {
    font-size: 12px;
}

#newsDisplayContents > *:not(:last-child) {
    margin-bottom: 8px;
}

#newsDisplayContents iframe, #newsDisplayContents table, #newsDisplayContents img {
    margin-left: auto;
    margin-right: auto;
}

#newsDisplayContents table {
    border-collapse: collapse;
}

#newsDisplayContents a, #newsDisplayContents a:visited, #newsDisplayContents a:active {
    color: #3C21ED !important;
    font-weight: bold;
}

#newsDisplayContents a:hover {
    text-decoration: underline !important;
}

#news-list-control {
    display: flex;
    width: 100%;
}

#newsButtonForward {
    margin-left: auto;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    #news-topbar {
        gap: 16px;
        flex-direction: column;
    }

    #news-search {
        margin-left: initial;
    }
}