/* ==========================================================================
   Emergence Mag - Main Editorial Stylesheet
   ========================================================================== */

:root {
    --primary-color: #1f307a;       /* Bleu officiel Emergence Dominant */
    --accent-color: #f4b217;        /* Jaune d'or prestige */
    --accent-hover: #d99b0d;
    --accent-blue: #37a5d5;         /* Bleu azur */
    --dark-color: #111827;          /* Noir encre */
    --text-color: #1f2937;          /* Texte principal */
    --muted-color: #6b7280;         /* Gris légende / date */
    --border-color: #e5e7eb;        /* Gris bordure */
    --bg-light: #f8fafc;            /* Fond doux sections */
    --bg-white: #ffffff;
    --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typographie Éditoriale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Lignes éditoriales et séparateurs */
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .section-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.section-title .section-more:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* Style de lecture d'article */
.article-reading-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #27272a;
}

.article-reading-content p {
    margin-bottom: 1.5rem;
}

.article-reading-content h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
}

.article-reading-content h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.article-reading-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    background-color: #f8fafc;
    font-style: italic;
    font-size: 1.2rem;
    color: #334155;
    border-radius: 0 4px 4px 0;
}

.article-reading-content ul,
.article-reading-content ol {
    margin: 1.25rem 0;
    padding-left: 1.75rem;
}

.article-reading-content ul {
    list-style-type: disc;
}

.article-reading-content ol {
    list-style-type: decimal;
}

.article-reading-content li {
    margin-bottom: 0.5rem;
}

.article-reading-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.article-reading-content a:hover {
    color: var(--accent-color);
}

.article-reading-content img {
    border-radius: 4px;
    margin: 1.5rem auto;
    max-width: 100%;
    height: auto;
}

/* Lettrine (Drop Cap) pour le premier paragraphe d'un article */
.article-reading-content > p:first-of-type::first-letter {
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    font-weight: 900;
    color: var(--primary-color);
}
