/* ============================
   SILENCEEXPERT — CSS GLOBAL
   À coller dans : Apparence → Personnaliser → CSS additionnel
   ============================ */

/* FOND GÉNÉRAL */
body {
    background: #f7f5ef !important;
    font-family: 'DM Sans', -apple-system, sans-serif;
}

/* HEADER */
.site-header {
    background: rgba(255,255,255,0.95) !important;
    border-bottom: 1px solid rgba(27,67,50,0.08);
    backdrop-filter: blur(12px);
}
.site-title, .site-title a {
    font-family: 'Playfair Display', serif !important;
    color: #1b4332 !important;
    font-weight: 800 !important;
}
.main-navigation a {
    color: #5a5a5a !important;
    font-weight: 600 !important;
}
.main-navigation a:hover {
    color: #2d6a4f !important;
}

/* CONTENU ARTICLES */
.entry-content, .single-content {
    background: #ffffff;
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(27,67,50,0.06);
    max-width: 820px;
    margin: 0 auto;
}

/* TITRE ARTICLE */
.entry-title, h1.entry-title, h1.wp-block-post-title {
    font-family: 'Playfair Display', serif !important;
    color: #1b4332 !important;
    font-weight: 800 !important;
    font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px;
    margin-bottom: 24px !important;
}

/* SOUS-TITRES H2 */
.entry-content h2 {
    font-family: 'Playfair Display', serif !important;
    color: #1b4332 !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    margin-top: 48px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #95d5b2;
}

/* SOUS-TITRES H3 */
.entry-content h3 {
    font-family: 'DM Sans', sans-serif !important;
    color: #2d6a4f !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-top: 36px !important;
    margin-bottom: 14px !important;
    padding-left: 14px;
    border-left: 4px solid #52b788;
}

/* PARAGRAPHES */
.entry-content p {
    color: #2c2c2c;
    line-height: 1.8;
    font-size: 1.02rem;
    margin-bottom: 18px;
}

/* LIENS */
.entry-content a {
    color: #2d6a4f !important;
    text-decoration: underline;
    text-decoration-color: #95d5b2;
    text-underline-offset: 3px;
    transition: all 0.2s;
}
.entry-content a:hover {
    color: #1b4332 !important;
    text-decoration-color: #2d6a4f;
}

/* STRONG / BOLD */
.entry-content strong {
    color: #1b4332;
}

/* TABLEAU */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 0.92rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 10px rgba(27,67,50,0.08);
}
.entry-content thead tr {
    background: #2d6a4f !important;
    color: #fff !important;
}
.entry-content thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff !important;
    border: none !important;
}
.entry-content tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #ede9df;
}
.entry-content tbody tr:nth-child(odd) {
    background: #f7f5ef;
}
.entry-content tbody tr:nth-child(even) {
    background: #ffffff;
}
.entry-content tbody tr:hover {
    background: #e8f5ee;
}

/* CATÉGORIE */
.entry-categories a, .post-categories a {
    background: #e8f5ee !important;
    color: #2d6a4f !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

/* META (date, auteur) */
.entry-meta, .post-meta {
    color: #5a5a5a !important;
    font-size: 0.85rem;
    margin-bottom: 28px;
}

/* FOOTER */
.site-footer {
    background: #1b4332 !important;
    color: rgba(255,255,255,0.7) !important;
}
.site-footer a {
    color: rgba(255,255,255,0.7) !important;
}
.site-footer a:hover {
    color: #fff !important;
}

/* SIDEBAR (si activée) */
.widget-area {
    background: transparent;
}
.widget-area .widget {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(27,67,50,0.06);
    margin-bottom: 24px;
}

/* BOUTONS */
.wp-block-button__link, button, .button {
    background: #2d6a4f !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    border: none !important;
}
.wp-block-button__link:hover, button:hover {
    background: #1b4332 !important;
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .entry-content, .single-content {
        padding: 24px 18px;
    }
    .entry-content h2 {
        font-size: 1.35rem !important;
    }
}

/* GOOGLE FONTS (si pas déjà chargées) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
