/* conseils-sante.css */

.service-main {
    position: relative;
    padding: 140px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-color: #f8f9fa; /* Un fond plus sobre pour la lecture */
}

/* On enlève l'animation pour une meilleure lisibilité des articles */
.background-animation {
    display: none;
}

.articles-container {
    width: 100%;
    max-width: 900px; /* Largeur optimale pour la lecture */
    text-align: center;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    margin-bottom: 40px;
}

.article-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.article-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.article-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color-start);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p, .article-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #343a40;
}

.article-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.article-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.article-content ul li::before {
    content: '\f058'; /* Icône de coche Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color-start);
    position: absolute;
    left: 0;
    top: 5px;
}


@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.2rem;
    }
    .article-card {
        padding: 25px;
    }
    .article-header h2 {
        font-size: 1.8rem;
    }
}