:root {
    --navy: #1C335C;
    --navy-dark: #12233F;
    --teal: #0F827A;
    --teal-bg: #E1F5EE;
    --teal-text: #085041;
    --gold: #A87C0A;
    --gold-bg: #F5EFE0;
    --gold-text: #6B4E06;
    --orange: #D45802;
    --orange-bg: #FAECE7;
    --orange-text: #8C3901;
    --green: #2E7D46;
    --green-bg: #EAF3DE;
    --green-text: #27500A;
    --indigo: #5E4B8B;
    --indigo-bg: #EEEDFE;
    --indigo-text: #26215C;
    --gray: #7E8893;
    --ink: #2C2C2A;
    --paper: #FFFFFF;
    --page-bg: #F7F6F2;
    --line: #EDEBE3;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--page-bg);
    line-height: 1.6;
}

.wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
    background: var(--navy);
    color: #FFFFFF;
    padding: 28px 0 20px;
}
.site-logo {
    color: var(--gold);
    font-size: 34px;
    font-weight: bold;
    display: inline-block;
}
.site-tagline {
    color: #B9C4D6;
    font-size: 14px;
    margin: 4px 0 16px;
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    font-size: 15px;
}
.site-nav a.nav-link {
    color: #DCE3EE;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.site-nav a.nav-link:hover,
.site-nav a.nav-link.nav-current {
    color: #FFFFFF;
    border-bottom-color: var(--gold);
    text-decoration: none;
}
.nav-subscribe {
    margin-left: auto;
    color: var(--gold) !important;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: right;
}
.nav-subscribe-sub {
    font-weight: normal;
    font-size: 11px;
    color: #DCE3EE;
}

/* About block */
.about-block {
    display: flex;
    gap: 28px;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 28px;
    margin: 32px 0;
}
.about-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--navy);
    color: #FFFFFF;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-text h2 {
    color: var(--navy);
    margin: 0 0 8px;
    font-size: 20px;
}
.about-text p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #4A4A48;
}
.about-link {
    font-weight: bold;
    font-size: 14px;
}
@media (max-width: 600px) {
    .about-block { flex-direction: column; text-align: center; }
}

/* Post feed / cards */
.post-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0 48px;
}
.post-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.post-card-link { color: inherit; display: block; }
.post-card-link:hover { text-decoration: none; }
.post-card-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: var(--line);
}
.post-card-body { padding: 16px; }
.post-card-title {
    font-size: 17px;
    color: var(--navy);
    margin: 8px 0 6px;
    line-height: 1.35;
}
.post-card-excerpt {
    font-size: 14px;
    color: #4A4A48;
    margin: 0 0 10px;
}
.post-card-meta {
    font-size: 12px;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
}

/* Badges by tag */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
}
.badge-analyse { background: var(--teal-bg); color: var(--teal-text); }
.badge-actualite { background: var(--indigo-bg); color: var(--indigo-text); }
.badge-parution { background: var(--green-bg); color: var(--green-text); }
.badge-video { background: var(--orange-bg); color: var(--orange-text); }
.badge-atelier { background: var(--gold-bg); color: var(--gold-text); }

/* Single post */
.post-full { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 32px; margin: 32px 0; }
.post-full-header h1 { color: var(--navy); font-size: 28px; margin: 10px 0; }
.post-full-meta { font-size: 13px; color: var(--gray); display: flex; gap: 16px; margin-bottom: 20px; }
.post-full-image img { width: 100%; border-radius: 8px; margin-bottom: 20px; }
.post-full-content { font-size: 16px; }
.post-full-content h2 { color: var(--navy); }
.post-full-content h3 { color: var(--teal); }
.post-full-content a { color: var(--teal); }
.post-full-content blockquote {
    border-left: 3px solid var(--gold);
    margin: 20px 0;
    padding: 4px 20px;
    color: #4A4A48;
    font-style: italic;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 40px;
    font-size: 13px;
    color: var(--gray);
    display: flex;
    justify-content: space-between;
}

/* Requis GScan : classes pour les images pleine largeur du contenu */
.kg-width-wide { width: 100%; max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
