/* ================================================ */
/* News Section Styles
/* ================================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    display: block;
    background-color: #fff;
    border-radius: 0; /* Sharp corners */
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.news-card-image {
    width: 100%;
    height: auto; /* Let aspect-ratio control the height */
    aspect-ratio: 1 / 1; /* Make it a square */
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-date {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #222;
}

.news-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive for News Section */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
