:root {
    --primary: #3BB273;
    --text-dark: #2C3E50;
    --text-light: #666;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --spacing: clamp(2rem, 5vw, 4rem);
}

.main-content {
    margin-top: 80px;
    background: var(--background);
}

.article-container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing);
}

.featured-image {
    width: 100%;
    height: 500px;
    margin-bottom: var(--spacing);
    border-radius: 12px;
    overflow: hidden;
}

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

.article {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

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

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), #2C3E50);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 4rem 0;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.linkedin { background: #0077b5; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #3b5998; }

@media (max-width: 768px) {
    .article {
        padding: 1.5rem;
    }

    .featured-image {
        height: 300px;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

/* Style pour la section newsletter */
.newsletter-container {
    background: var(--background);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Style pour les articles similaires */
.related-posts {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

/* Ajouter ces styles pour le titre principal */
.main-title-section {
    max-width: 1200px;
    margin: 0 auto 2rem;
    text-align: center;
    padding: 0 1rem;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .article-meta-top {
        flex-direction: column;
        gap: 0.5rem;
    }
} 