/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Container principal */
.articles-container {
    width: 100%;
}

/* Section Hero avec titre */
.hero-section {
    background-color: #f5f5f5;
    position: relative;
    padding: 60px 20px 40px;
}

.hero-title {
    color: #2d4a7c;
    font-size: 48px;
    font-weight: bold;
    text-align: left;
    padding-left: 60px;
    margin: 0;
}

.hero-waves {
    display: none;
}

/* Grille d'articles */
.articles-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Carte d'article */
.article-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Image de l'article */
.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #e8f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pour les logos SVG DEFI, on adapte la taille */
.article-image img[src*="Logo_DEFI"] {
    object-fit: contain;
    max-width: 60%;
    max-height: 60%;
}

/* Contenu de l'article */
.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    color: #2d4a7c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    color: #2d4a7c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.article-link:hover {
    color: #4a73b8;
}

.article-link .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.article-link:hover .arrow {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin: 40px auto;
    }
    
    .hero-title {
        font-size: 32px;
        padding-left: 20px;
    }
    
    .hero-section {
        padding: 60px 20px 100px;
    }
    
    .article-content {
        padding: 20px;
    }
}
