/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.article-list-container {
font-family: 'Vazirmatn', sans-serif;
direction: rtl;
background-color: whitesmoke;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Article Image */
.article-image-container {
    height: 200px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

/* Article Body */
.article-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-summary {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-read-more {
    color: #ff9800;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.article-read-more:hover {
    color: #e65100;
}

@media (max-width: 768px) {
    .article-body {
        padding: 1rem;
    }

    .article-title {
        font-size: 1.1rem;
    }

    .article-summary {
        font-size: 0.95rem;
    }

    .article-read-more {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .article-body {
        padding: 0.8rem;
    }

    .article-title {
        font-size: 1rem;
    }

    .article-summary {
        font-size: 0.85rem;
    }

    .article-read-more {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}

.hero-section.articles {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-articles-bg.jpg');
}