.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #09005c;
}

.news-article {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgb(52, 52, 134);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.news-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-details {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex: 1;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.news-sentiment {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #ffffff;
}

.news-sentiment.POSITIVE {
    background-color: #28a745;
}

.news-sentiment.NEGATIVE {
    background-color: #dc3545;
}

.news-sentiment.NEUTRAL {
    background-color: #6c757d;
}

.news-body {
    font-size: 14px;
    color: #d7d0d0;
    margin: 10px 0;
    flex: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-link {
    color: #abb9c9;
    text-decoration: none;
    font-size: 14px;
}

.news-link:hover {
    text-decoration: underline;
}

.news-source {
    font-size: 12px;
    color: #999999;
    margin: 0;
}

@media (min-width: 600px) {
    .news-article {
        flex-direction: row;
    }

    .news-image {
        width: 150px;
        height: auto;
    }
}
