﻿.news-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin: 10px 6px 20px 6px;
    font-family: 'Verdana', sans-serif;
    transition: transform 0.1s;
}

.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.news-category-badge {
    color: #1a73e8;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.news-subcategory {
    color: #5f6368;
    font-weight: 600;
    margin-left: 5px;
    font-size: 0.95em;
    text-transform: none;
}

.news-subcategory a {
    color: #777;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-subcategory a:hover {
    color: #555;
}

.news-date {
    background-color: #f0f0f0;
    color: #555;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.news-headline {
    margin: 0 0 12px 0;
    font-size: 1.3em;
    color: #202124;
    font-weight: bold;
    line-height: 1.3;
    padding: 0;
}

.news-description {
    font-size: 1.05em;
    color: #444;
    line-height: 1.6;
}

@media(max-width:600px) {
    .news-item {
        padding: 15px;
    }

    .news-headline {
        font-size: 1.2em;
    }

    .news-header-row {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
}