/* ========================================
   ACTUALITES PAGE STYLES
======================================== */

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

.article-card {
    background: var(--text-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.article-card.featured {
    grid-column: span 2;
}

.article-card.featured .article-image {
    height: 400px;
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.article-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-badge.promotion {
    background: #e74c3c;
}

.article-badge.occasion {
    background: #3498db;
}

.article-badge.conseils {
    background: #27ae60;
}

.article-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.article-meta i {
    margin-right: 5px;
}

.article-category {
    color: var(--secondary-color);
    font-weight: 600;
}

.article-title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-card.featured .article-title {
    font-size: 28px;
}

.article-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-link:hover {
    gap: 12px;
}

.article-link i {
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 60px;
}

.newsletter-content h3 {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.newsletter-content h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 15px 40px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-card.featured {
        grid-column: span 1;
    }
    
    .article-card.featured .article-image {
        height: 250px;
    }
    
    .article-card.featured .article-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-section {
        padding: 40px 20px;
    }
    
    .newsletter-content h3 {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}
