/* Home Page Featured Articles CSS */

/* added for related articles images*/
.home-featured-image {
    width: 100%;
    height: 180px;
    /* mobile default */
    overflow: hidden;
    background: #eaeaea;
    /* fallback while image loads */
}

.home-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-content {
    padding: 20px;
}

.article-card-category {
    color: #FF8C00;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
}

.article-card-title {
    font-size: 18px;
    color: #003366;
    margin-bottom: 12px;
    font-weight: 600;
}

.article-card-title:hover {
    text-decoration: underline;
}

.article-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-card-meta {
    color: #999;
    font-size: 13px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}




/* Tablet and up (≥641px - 768px) */
@media (min-width: 641px) {

    .articles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    .home-featured-image {
        height: 200px;

    }

}


/* Small desktop and up (≥769px - 1025px)  */
@media (min-width: 769px) {

    /* not required */

}


/* Large desktop (≥1025px - ∞) /*/
@media (min-width: 1025px) {

    .articles-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;

    }

    .home-featured-image {
        height: 220px;

    }


    .home-featured-image img {
        transition: transform 0.2s ease;
    }

    .article-card:hover img {
        transform: scale(1.05);
    }
}