.news-container {
    max-width: 600px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.news-item {
    background-color: #2d2e30;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 2px solid #2d2e30;
    transition: background-color 0.3s;
}

.news-header:hover {
    background-color: #3b3c3e;
}

.news-date {
    font-size: 14px;
    color: #a0a0a0;
    margin-right: 15px;
}

.news-title {
    font-size: 20px;
    flex-grow: 1;
    text-align: left;
}

.news-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.news-item.open .news-content {
    max-height: 900px; /* change when context is bigger */
    padding: 15px 20px;
    overflow: scroll;
}

.news-item.open .news-header i {
    transform: rotate(180deg);
}

.news-header i {
    transition: transform 0.3s ease;
    font-size: 18px;
    color: #fff;
}

.news-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-signature {
    text-align: right;
    font-style: italic;
    color: #a0a0a0;
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}
::-webkit-scrollbar-corner {
    background-color: transparent;
    border-radius: 4px;
}