/**
 * Article Section Styles
 * Grid of article cards linking to standalone article pages
 */

.article-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.article-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.article-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-card-meta {
    margin-bottom: 0.75rem;
}

.article-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin: 0;
}

.article-card-body {
    padding: 1.5rem;
}

.article-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 1rem 0;
}

.article-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0ea5e9;
    transition: gap 0.2s ease;
}

.article-card:hover .article-card-read-more {
    gap: 0.75rem;
}

.article-card-read-more svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-section {
        padding: 3rem 0;
    }

    .article-section .section-title {
        font-size: 1.5rem;
    }
}
