/* ===========================
   Articles Page Specific Styles
   =========================== */
.articles-hero {
    margin-top: 70px;
    height: 250px;
    background: linear-gradient(to right, #6b8e23, #556b2f);
    /* Green tint for articles */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.articles-hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.articles-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.articles-hero-subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.articles-page-section {
    padding: var(--spacing-xl) 0;
    background-color: #f9f9f9;
}

/* Re-using the article-card style from global/home but forcing it in a grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.articles-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: #888;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .articles-hero {
        height: 200px;
    }

    .articles-hero-title {
        font-size: 2.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}