/* ===== NEWS SECTION ===== */

.news {
    padding: 5rem 8%;
    background: #f8f9fa;
    text-align: center;
}

.news h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #222;
    font-weight: 700;
    position: relative;
}

.news h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #007bff;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-box {
    display: flex;
    justify-content: center;
}

.news-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 380px;
    text-align: left;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.news-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-item h3 {
    font-size: 1.5rem;
    margin: 1.2rem;
    color: #333;
    line-height: 1.4;
}

.news-item p {
    font-size: 1.3rem;
    margin: 0 1.2rem 1.2rem;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin: 0 1.2rem 1.5rem;
    font-size: 0.95rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* Responsive tweaks */

@media (max-width: 768px) {
    .news {
        padding: 3rem 5%;
    }
    .news h1 {
        font-size: 2.2rem;
    }
    .news-item h3 {
        font-size: 1.3rem;
    }
    .news-item p {
        font-size: 0.9rem;
    }
}