/* ═══════════════════════════════════════════════════════════
   Auteurs Custom — Cartes articles (hla-*)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500&display=swap');

/* ── Grille ──────────────────────────────────────────────── */

.hla-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Carte ───────────────────────────────────────────────── */
.hla-card {
    background    : #ffffff;
    border-radius : 14px;
    overflow      : hidden;
    display       : flex;
    flex-direction: column;
    border        : 1px solid rgba(0, 0, 0, 0.10);
    transition    : transform .2s ease, box-shadow .2s ease;
}

.hla-card:hover {
    transform : translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

/* ── Image : 100% × 270px ────────────────────────────────── */
.hla-card__img-link {
    display        : block;
    text-decoration: none !important;
}

.hla-card__img {
    width              : 100%;
    height             : 270px;
    background-color   : #3C4A38;
    background-size    : cover;
    background-position: center;
    display            : flex;
    align-items        : center;
    justify-content    : center;
    transition         : opacity .2s ease;
}

.hla-card:hover .hla-card__img { opacity: .92; }

.hla-card__img-placeholder {
    color  : rgba(255, 255, 255, 0.28);
    display: flex;
}

/* ── Bloc infos : padding 24px ───────────────────────────── */
.hla-card__body {
    padding       : 24px !important;
    display       : flex;
    flex-direction: column;
    flex          : 1;
}

/* ── Tag catégorie ───────────────────────────────────────── */
/* ── Wrapper multi-catégories ────────────────────────────── */
.hla-card__cats {
    display   : flex;
    flex-wrap : wrap;
    gap       : 6px;
    margin    : 0 !important;
    padding   : 0 !important;
}

.hla-card__cat {
    display         : inline-block !important;
    font-family     : 'Roboto', sans-serif !important;
    font-size       : 13px !important;
    line-height     : 15px !important;
    font-weight     : 500 !important;
    color           : #1C3A2A !important;
    background      : #EAEEEC !important;
    border          : 1px solid #BAC7C1 !important;
    border-radius   : 12px !important;
    padding         : 4.5px 20px !important;
    width           : fit-content;
    text-decoration : none !important;
    transition      : background .15s ease;
    margin          : 0 !important;
}

.hla-card__cat:hover { background: #dde4e0 !important; }

/* ── Titre h3 : 24/29 bold Roboto, 16px sous le tag ─────── */
.hla-card__title {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 24px !important;
    line-height : 29px !important;
    font-weight : 700 !important;
    color       : #000000 !important;
    margin      : 16px 0 0 0 !important;
    padding     : 0 !important;
    border      : none !important;
}

.hla-card__title a {
    font-family     : 'Roboto', sans-serif !important;
    font-size       : 24px !important;
    line-height     : 29px !important;
    font-weight     : 700 !important;
    color           : #000000 !important;
    text-decoration : none !important;
}

.hla-card__title a:hover {
    text-decoration      : underline !important;
    text-underline-offset: 2px;
}

/* ── Extrait : 16/19 medium Roboto, 8px sous le titre ───── */
.hla-card__excerpt {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 16px !important;
    line-height : 19px !important;
    font-weight : 500 !important;
    color       : #000000 !important;
    margin      : 8px 0 0 0 !important;
    padding     : 0 !important;
    flex        : 1;
}

/* ── Footer auteur : 24px au-dessus ─────────────────────── */
.hla-card__footer {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    margin-top     : 24px !important;
    padding        : 0 !important;
}

.hla-card__author {
    display        : flex;
    align-items    : center;
    gap            : 10px;
    text-decoration: none !important;
}

.hla-card__avatar {
    width        : 36px !important;
    height       : 36px !important;
    border-radius: 50% !important;
    object-fit   : cover;
    background   : #d0d0cc;
    flex-shrink  : 0;
}

.hla-card__author-meta {
    display       : flex;
    flex-direction: column;
    gap           : 2px;
}

.hla-card__author-name {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 13px !important;
    font-weight : 600 !important;
    color       : #000000 !important;
    line-height : 1.3 !important;
    margin      : 0 !important;
    padding     : 0 !important;
}

.hla-card__date {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 11.5px !important;
    font-weight : 400 !important;
    color       : #6b6b68 !important;
    line-height : 1.3 !important;
    margin      : 0 !important;
    padding     : 0 !important;
}

/* ── Bouton Lire : 16/19 italic Roboto #1C3A2A ───────────── */
.hla-card__read-more {
    font-family     : 'Roboto', sans-serif !important;
    font-size       : 16px !important;
    line-height     : 19px !important;
    font-style      : italic !important;
    font-weight     : 400 !important;
    color           : #1C3A2A !important;
    text-decoration : none !important;
    white-space     : nowrap;
}

.hla-card__read-more:hover {
    text-decoration      : underline !important;
    text-underline-offset: 2px;
}

/* ── Responsive grille ───────────────────────────────────── */
@media (max-width: 960px) {
    .hla-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hla-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   Article à la une (hla-une)
   ═══════════════════════════════════════════════════════════ */

.hla-une {
    display       : grid;
    grid-template-columns: 55% 45%;
    border-radius : 16px;
    overflow      : hidden;
}

/* Colonne image — remplit exactement la hauteur de la grille */
.hla-une__bg {
    background-color   : #1C2E25;
    background-size    : cover;
    background-position: center;
    background-repeat  : no-repeat;
    min-height         : 100%;
}

/* Dégradé sur le bord droit de l'image */
.hla-une__bg::after {
    content    : '';
    display    : block;
    height     : 100%;
    background : linear-gradient(
        to right,
        transparent 60%,
        rgba(255,255,255,0.08) 100%
    );
}

/* Colonne carte blanche */
.hla-une__card {
    background    : #ffffff;
    padding       : 24px;
    display       : flex;
    flex-direction: column;
    justify-content: center;
    gap           : 0;
    box-shadow    : -8px 0 32px rgba(0,0,0,0.08);
}

/* Tag catégorie dans la une */
.hla-une__cat {
    margin-bottom : 16px !important;
}

/* Titre */
.hla-une__title {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 22px !important;
    line-height : 1.35 !important;
    font-weight : 700 !important;
    color       : #0a0a0a !important;
    margin      : 0 0 12px 0 !important;
    padding     : 0 !important;
    border      : none !important;
}

.hla-une__title a {
    color           : inherit !important;
    text-decoration : none !important;
}

.hla-une__title a:hover {
    text-decoration      : underline !important;
    text-underline-offset: 3px;
}

/* Extrait */
.hla-une__excerpt {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 14px !important;
    line-height : 1.65 !important;
    font-weight : 400 !important;
    color       : #3a3a38 !important;
    margin      : 0 0 24px 0 !important;
    padding     : 0 !important;
}

/* Footer auteur */
.hla-une__footer {
    margin-bottom : 24px;
}

.hla-une__author {
    display    : flex;
    align-items: center;
    gap        : 10px;
}

/* CTA */
.hla-une__cta {
    display         : inline-flex;
    align-items     : center;
    height          : 40px;
    padding         : 0 20px;
    border          : 1.5px solid #1C3A2A;
    border-radius   : 8px;
    font-family     : 'Roboto', sans-serif !important;
    font-size       : 14px !important;
    font-weight     : 500 !important;
    color           : #1C3A2A !important;
    text-decoration : none !important;
    align-self      : flex-start;
    transition      : background .2s ease, color .2s ease;
    white-space     : nowrap;
}

.hla-une__cta:hover {
    background : #1C3A2A;
    color      : #ffffff !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hla-une {
        grid-template-columns : 1fr;
    }

    .hla-une__bg {
        min-height : 240px;
    }

    .hla-une__card {
        box-shadow : none;
        border-top : 1px solid rgba(0,0,0,0.08);
    }
}


/* ═══════════════════════════════════════════════════════════
   Grille articles — [grille_articles]  v1.2.0
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────── */
.ac-grille-wrap {
    width: 100%;
}

/* ── Filtres ─────────────────────────────────────────────── */
.ac-grille-filters {
    display         : flex;
    flex-wrap       : wrap;
    justify-content : center;
    gap             : 8px;
    margin-bottom   : 32px;
    padding         : 0;
    border          : none;
    background      : none;
}

.ac-grille-filter {
    display       : inline-flex;
    align-items   : center;
    padding       : 8px 16px;
    font-family   : 'Roboto', sans-serif;
    font-size     : 13px;
    font-weight   : 500;
    line-height   : 1;
    color         : #1C3A2A;
    background    : transparent;
    border        : 1.5px solid #1C3A2A;
    border-radius : 4px;
    cursor        : pointer;
    white-space   : nowrap;
    transition    : background .15s ease, color .15s ease, border-color .15s ease;
    outline-offset: 2px;
}

.ac-grille-filter:hover {
    background   : #1C3A2A;
    border-color : #1C3A2A;
    color        : #ffffff;
}

.ac-grille-filter--active,
.ac-grille-filter--active:hover {
    background   : #1C3A2A;
    color        : #ffffff;
    border-color : #1C3A2A;
}

/* ── Footer + bouton Voir plus ───────────────────────────── */
.ac-grille-footer {
    display         : flex;
    justify-content : center;
    margin-top      : 40px;
}

.ac-grille-more {
    display         : inline-flex;
    align-items     : center;
    gap             : 10px;
    height          : 46px;
    padding         : 0 40px;
    font-family     : 'Roboto', sans-serif;
    font-size       : 15px;
    font-weight     : 500;
    color           : #1C3A2A;
    background      : transparent;
    border          : 1.5px solid #1C3A2A;
    border-radius   : 10px;
    cursor          : pointer;
    transition      : background .2s ease, color .2s ease;
    outline-offset  : 3px;
}

.ac-grille-more:hover {
    background : #1C3A2A;
    color      : #ffffff;
}

.ac-grille-more--hidden {
    display : none !important;
}

/* ── Spinner ─────────────────────────────────────────────── */
.ac-grille-more__spinner {
    display      : none;
    width        : 16px;
    height       : 16px;
    border       : 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    flex-shrink  : 0;
    animation    : ac-spin .65s linear infinite;
}

.ac-grille-more--loading .ac-grille-more__label   { opacity: .6; }
.ac-grille-more--loading .ac-grille-more__spinner { display: block; }

@keyframes ac-spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .ac-grille-filters {
        gap           : 6px;
        margin-bottom : 24px;
    }

    .ac-grille-filter {
        height    : 30px;
        padding   : 0 14px;
        font-size : 12px;
    }

    .ac-grille-more {
        width           : 100%;
        justify-content : center;
    }
}


/* ═══════════════════════════════════════════════════════════
   Bloc auteur article [auteur_article]  (ac-auteur-block-*)
   ═══════════════════════════════════════════════════════════ */

.ac-auteur-block {
}

/* ── Titre de section "Auteur" ──────────────────────────── */
.ac-auteur-block__heading {
    font-family  : 'Roboto', sans-serif !important;
    font-size    : 13px !important;
    font-weight  : 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color        : #6b6b68 !important;
    margin       : 0 0 14px 0 !important;
    padding      : 0 !important;
    border       : none !important;
}

/* ── Cadre intérieur ────────────────────────────────────── */
.ac-auteur-block__inner {
    padding : 0;
}

/* ── Ligne du haut : identité + LinkedIn ────────────────── */
.ac-auteur-block__header {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 12px;
}

.ac-auteur-block__identity {
    display         : flex;
    align-items     : center;
    gap             : 14px;
    text-decoration : none !important;
    flex            : 1;
    min-width       : 0;
}

/* ── Avatar rond 52px ───────────────────────────────────── */
.ac-auteur-block__avatar {
    width         : 52px !important;
    height        : 52px !important;
    border-radius : 50% !important;
    object-fit    : cover;
    flex-shrink   : 0;
    background    : #d0d0cc;
}

/* ── Nom + fonction ─────────────────────────────────────── */
.ac-auteur-block__meta {
    display        : flex;
    flex-direction : column;
    gap            : 3px;
    min-width      : 0;
}

.ac-auteur-block__nom {
    font-family  : 'Roboto', sans-serif !important;
    font-size    : 15px !important;
    font-weight  : 600 !important;
    color        : #000000 !important;
    line-height  : 1.3 !important;
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
}

.ac-auteur-block__identity:hover .ac-auteur-block__nom {
    text-decoration: underline;
}

.ac-auteur-block__fonction {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 12.5px !important;
    font-weight : 400 !important;
    color       : #6b6b68 !important;
    line-height : 1.3 !important;
}

/* ── Icône LinkedIn ─────────────────────────────────────── */
.ac-auteur-block__linkedin {
    flex-shrink     : 0;
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 32px;
    height          : 32px;
    border-radius   : 50%;
    background      : #2A5240;
    transition      : background .2s ease, transform .15s ease;
    text-decoration : none !important;
}

.ac-auteur-block__linkedin:hover {
    background : #1C3A2A;
    transform  : translateY(-1px);
}

.ac-auteur-block__linkedin svg {
    width  : 17px;
    height : 17px;
    fill   : #ffffff;
    display: block;
}

/* ── Bio ────────────────────────────────────────────────── */
.ac-auteur-block__bio {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 14px !important;
    font-weight : 400 !important;
    color       : #333333 !important;
    line-height : 1.7 !important;
    margin      : 16px 0 0 0 !important;
    padding     : 0 !important;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
    .ac-auteur-block__inner {
        padding : 16px 0 0 0;
    }

    .ac-auteur-block__avatar {
        width  : 44px !important;
        height : 44px !important;
    }

    .ac-auteur-block__nom {
        font-size : 14px !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   Articles similaires [articles_similaires]  (ac-similaires-*)
   ═══════════════════════════════════════════════════════════ */

.ac-similaires {
    margin-top : 0;
}

.ac-similaires__heading {
    font-family   : 'Roboto', sans-serif !important;
    font-size     : 22px !important;
    font-weight   : 700 !important;
    color         : #000000 !important;
    margin        : 0 0 24px 0 !important;
    padding       : 0 !important;
    border        : none !important;
}


/* ═══════════════════════════════════════════════════════════
   Page auteur — shortcodes [auteur_page_*]
   ═══════════════════════════════════════════════════════════ */

/* ── Photo ──────────────────────────────────────────────── */
.ac-page-photo {
    display       : block;
    width         : 280px;
    height        : 300px;
    border-radius : 12px;
    object-fit    : cover;
    flex-shrink   : 0;
}

/* ── Nom (h1) ────────────────────────────────────────────── */
.ac-page-nom {
    color       : #C9A84C !important;
    font-family : "Playfair Display", serif !important;
    font-size   : 56px !important;
    font-weight : 700 !important;
    line-height : 120% !important;
    margin      : 0 !important;
    padding     : 0 !important;
}
.ac-page-nom a {
    color           : inherit !important;
    text-decoration : none !important;
}

/* ── Fonction / Poste ────────────────────────────────────── */
.ac-page-fonction {
    color       : #E8C97A !important;
    font-family : 'Roboto', sans-serif !important;
    font-size   : 24px !important;
    font-weight : 700 !important;
    line-height : 120% !important;
    margin      : 0 !important;
}

/* ── Bio longue ──────────────────────────────────────────── */
.ac-page-bio-longue {
    color       : #F5EDD8 !important;
    font-family : 'Inter', sans-serif !important;
    font-size   : 18px !important;
    font-weight : 500 !important;
    line-height : 22px !important;
}
.ac-page-bio-longue p {
    color       : #F5EDD8 !important;
    font-family : 'Inter', sans-serif !important;
    font-size   : 18px !important;
    font-weight : 500 !important;
    line-height : 22px !important;
    margin      : 0 0 1em !important;
}

/* ── Bio courte ──────────────────────────────────────────── */
.ac-page-bio {
    color       : #F5EDD8 !important;
    font-family : 'Inter', sans-serif !important;
    font-size   : 18px !important;
    font-weight : 500 !important;
    line-height : 22px !important;
    margin      : 0 !important;
}

/* ── Réseaux sociaux ────────────────────────────────────── */
.ac-page-reseaux {
    display     : flex;
    align-items : center;
    gap         : 12px;
    flex-wrap   : wrap;
}

.ac-page-reseau {
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 24px;
    height          : 24px;
    background      : none !important;
    border-radius   : 0;
    transition      : opacity .2s, transform .15s;
    text-decoration : none !important;
}

.ac-page-reseau:hover {
    opacity   : 0.75;
    transform : translateY(-1px);
}

.ac-page-reseau img {
    width   : 24px;
    height  : 24px;
    display : block;
}

/* ── CV / Timeline ──────────────────────────────────────── */
.ac-cv-list {
    list-style : none;
    margin     : 0;
    padding    : 0;
}

.ac-cv-item {
    display     : flex;
    gap         : 24px;
    align-items : stretch;  /* bullet column s'étire sur toute la hauteur */
}

/* ── Colonne bullet + ligne ─────────────────────────────── */
.ac-cv-bullet {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    flex-shrink    : 0;
    width          : 35px;
}

.ac-cv-icon {
    width      : 35px;
    height     : 35px;
    display    : block;
    flex-shrink: 0;
}

.ac-cv-line {
    width        : 2px;
    flex         : 1;          /* prend tout l'espace restant */
    background   : #000;
    margin-top   : 10px;       /* gap sous le rond */
    margin-bottom: 32px;       /* 32px avant le prochain rond */
    align-self   : center;     /* centré horizontalement dans la colonne */
}

/* ── Contenu ────────────────────────────────────────────── */
.ac-cv-content {
    display        : flex;
    flex-direction : column;
    gap            : 8px;
    padding-top    : 4px;
    padding-bottom : 32px;     /* 32px de gap entre étapes */
}

.ac-cv-item:last-child .ac-cv-content {
    padding-bottom : 0;
}

.ac-cv-date {
    color       : #1C3A2A;
    font-family : 'Roboto', sans-serif;
    font-size   : 16px;
    font-weight : 600;
    line-height : 150%;
}

.ac-cv-titre {
    display     : block;
    color       : #000;
    font-family : 'Playfair Display', serif;
    font-size   : 24px;
    font-weight : 700;
    line-height : 130%;
}

.ac-cv-desc {
    color       : #000;
    font-family : 'Roboto', sans-serif;
    font-size   : 16px;
    font-weight : 500;
    line-height : 120%;
    margin      : 0;
}

/* ── Méthode ────────────────────────────────────────────── */
.ac-page-methode {
    display     : flex;
    align-items : stretch;
}

/* Padding asymétrique + bordure entre colonnes */
.ac-methode-item {
    display        : flex;
    flex-direction : column;
    gap            : 12px;
    flex           : 1;
    text-align     : left;
    align-items    : flex-start;
}

/* Colonne 1 : padding droite seulement */
.ac-methode-item:nth-child(1) {
    padding-right : 32px;
}

/* Colonne 2 : padding des deux côtés + bordures */
.ac-methode-item:nth-child(2) {
    padding-right : 32px;
    padding-left  : 32px;
    border-left   : 1px solid #D4B896;
    border-right  : 1px solid #D4B896;
}

/* Colonne 3 : padding gauche seulement */
.ac-methode-item:nth-child(3) {
    padding-left : 32px;
}

.ac-methode-numero {
    color          : #E8C97A;
    font-family    : 'Playfair Display', serif;
    font-size      : 48px;
    font-weight    : 600;
    line-height    : 120%;
    text-transform : uppercase;
    text-align     : left;
    margin         : 0;
}

.ac-methode-titre {
    color       : #FFF;
    font-family : 'Playfair Display', serif;
    font-size   : 24px;
    font-weight : 700;
    line-height : 140%;
    text-align  : left;
    margin      : 0;
}

.ac-methode-desc {
    color       : #F9F3E8;
    font-family : 'Roboto', sans-serif;
    font-size   : 16px;
    font-weight : 500;
    line-height : 120%;
    margin      : 0;
}

@media (max-width: 959px) {
    .ac-page-methode {
        flex-direction : column;
        gap            : 0;
    }
    .ac-methode-item:nth-child(1) {
        padding        : 0 0 32px 0;
    }
    .ac-methode-item:nth-child(2) {
        padding        : 32px 0;
        border-left    : none;
        border-right   : none;
        border-top     : none;
        border-bottom  : none;
    }
    .ac-methode-item:nth-child(3) {
        padding        : 32px 0 0 0;
    }
}


/* ═══════════════════════════════════════════════════════════
   Article à la une auteur  [auteur_page_une]
   ═══════════════════════════════════════════════════════════ */

.ac-une-article {
    border-radius : 16px;
    overflow      : hidden;
    background    : #fff;
    box-shadow    : 0 2px 16px rgba(0,0,0,.08);
    display       : flex;
    flex-direction: column;
}

.ac-une-article__img-link { display:block; }

.ac-une-article__img {
    width               : 100%;
    padding-top         : 56%;
    background-size     : cover;
    background-position : center;
    background-color    : #2A5240;
}

.ac-une-article__body {
    padding : 22px 24px 24px;
    display : flex;
    flex-direction : column;
    gap : 12px;
}

.ac-une-article__title {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 24px !important;
    font-weight : 700 !important;
    line-height : 120% !important;
    margin      : 0 !important;
    color       : #000 !important;
}

.ac-une-article__title a {
    color           : inherit !important;
    text-decoration : none !important;
}

.ac-une-article__title a:hover { text-decoration: underline !important; }

.ac-une-article__excerpt {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 16px !important;
    font-weight : 500 !important;
    line-height : 120% !important;
    color       : #000 !important;
    margin      : 0 !important;
}

.ac-une-article__footer {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    margin-top      : 4px;
}

.ac-une-article__date {
    font-family : 'Roboto', sans-serif !important;
    font-size   : 13px !important;
    font-weight : 500 !important;
    line-height : 120% !important;
    color       : #000 !important;
}

/* ── Titre section articles [auteur_page_articles] ──────── */
.ac-articles-titre {
    color          : #000 !important;
    font-family    : 'Playfair Display', serif !important;
    font-size      : 36px !important;
    font-weight    : 700 !important;
    line-height    : 150% !important;
    text-transform : uppercase !important;
    margin         : 0 0 24px 0 !important;
    padding        : 0 !important;
}
