﻿/* General Container Styling */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
    margin-top: 200px;
}

/* Article Card Styling */
.article-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    /* Image Styling */
    .article-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    /* Title Styling */
    .article-card h3 {
        font-size: 22px;
        color: #333;
        margin: 15px 10px;
        text-transform: capitalize;
    }

    /* Summary Text */
    .article-card p {
        font-size: 16px;
        color: #666;
        padding: 0 15px 15px;
        flex-grow: 1;
    }

    /* Button Styling */
    .article-card a {
        display: inline-block;
        margin: 15px;
        padding: 12px 18px;
        font-size: 16px;
        color: #fff;
        background-color: #0077cc;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

        .article-card a:hover {
            background-color: #005fa3;
        }
