/* ===================================
   NEWS SECTION STYLES (ARCH DESIGN)
   =================================== */

.news {
    padding: var(--space-8) 0 var(--space-20);
    background-color: var(--color-white);
    text-align: center;
}

.news .section__title {
    margin-bottom: var(--space-10);
    /* Increased space before cards */
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* News Grid */
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

/* News Card - Arched Design */
.news-card {
    background: #1ba89c;
    /* Teal background for the text part */
    border-radius: 200px 200px 40px 40px;
    /* Arched top and rounded bottom */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-bottom: 5px solid #158F84;
    /* Slightly darker base */
}

.news-card:hover {
    transform: translateY(-10px);
}

/* Image Container (The Arched Part) */
.news-card__image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content (The Rectangular Bottom) */
.news-card__content {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.news-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: white;
}

.news-card__meta {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.news-card__meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card__meta svg {
    opacity: 0.9;
}

.news-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: white;
    /* Changed to solid white */
    opacity: 1;
    /* Maximum opacity for better readability */
    flex: 1;
}

/* Read More Button */
.news-card__btn {
    display: inline-block;
    background-color: #f37021;
    /* Orange button */
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.3);
}

.news-card__btn:hover {
    background-color: #e56012;
    transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1100px) {
    .news__grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .news .section__title {
        font-size: 2.2rem;
    }

    .news__grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .news-card__image-container {
        height: 300px;
    }
}