/* articles.html — page-specific styles */

.article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

.article-card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

.article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(47, 128, 2, 0.15);
            border-color: var(--primary-light);
        }

.article-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

.article-info {
            padding: 1.8rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

.article-date {
            font-size: 0.85rem;
            color: #888;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }

.article-date::before {
            content: '🗓️';
            font-size: 0.9rem;
        }

.article-info h4 {
            margin: 0 0 12px 0;
            color: var(--primary-color);
            font-size: 1.25rem;
            line-height: 1.4;
            font-weight: 700;
        }

.article-excerpt {
            color: #555;
            font-size: 0.95rem;
            margin-bottom: 20px;
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
        }

.article-card .btn-primary {
            margin-top: auto;
            align-self: flex-start;
            padding: 10px 24px !important;
            font-size: 0.9rem !important;
            border-radius: 12px !important;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

.section-header h2 {
            font-size: 2.2rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

.section-header .divider {
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            margin: 0 auto;
            border-radius: 2px;
        }
