/* Main Grid Container */
.news-grid {
    display: grid;
    gap: 25px;
    padding: 20px 0;
    grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
}

/* Card Styling */
.news-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 15px;    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-logo {
    width: 100%;
    margin-bottom: 20px;
    display: block;
}

.news-card-title {
    color: #1a3a63; 
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.news-card-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.news-card-button {
    background-color: #1a3a63;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Desktop / Large Tablet */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .news-card-title {
        font-size: 1.15rem;
    }
}
