/*
  Fiches auteur du MAG.

  Feuille autonome, chargee par les deux habillages : elle ne s appuie ni sur
  Bootstrap ni sur les tokens de la refonte, pour que la fiche ait la meme
  allure avant et apres la bascule. Les couleurs reprennent la charte
  (navy c-1-1, vert d eau c-g-1) mais en dur, faute de variables communes aux
  deux feuilles.
*/

.mn-auteur-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.mn-auteur-fil {
    font-size: 14px;
    color: #6a6386;
    margin-bottom: 22px;
}

.mn-auteur-fil a { color: inherit; }
.mn-auteur-fil span { margin: 0 6px; }

/* ---------- La fiche ---------- */

.mn-auteur {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid #e3dfef;
}

.mn-auteur__portrait {
    flex: none;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    overflow: hidden;
    background: #9bd2c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mn-auteur__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mn-auteur__initiales {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #261c43;
    line-height: 1;
}

.mn-auteur__texte {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mn-auteur__nom {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.5px;
    color: #261c43;
    margin: 0;
}

.mn-auteur__fonction {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1c6858;
    margin: 0;
}

.mn-auteur__accroche {
    font-size: 18px;
    line-height: 1.5;
    color: #4a4363;
    margin: 0;
    max-width: 62ch;
}

.mn-auteur__bio {
    font-size: 16px;
    line-height: 1.65;
    color: #261c43;
    max-width: 66ch;
}

.mn-auteur__liens {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 0;
}

.mn-auteur__liens a {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #261c43;
    background: #eaf6f3;
    border: 1px solid #9bd2c7;
    border-radius: 999px;
    padding: 6px 16px 7px;
    text-decoration: none;
}

.mn-auteur__liens a:hover { background: #9bd2c7; }

/* ---------- Ses articles ---------- */

.mn-auteur-articles { margin-top: 36px; }

.mn-auteur-articles__titre {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.3px;
    color: #261c43;
    margin: 0 0 20px;
}

.mn-auteur-grille {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mn-auteur-carte {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.mn-auteur-carte img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.mn-auteur-carte__date {
    font-size: 13px;
    color: #6a6386;
    margin: 0;
}

.mn-auteur-carte__titre {
    font-family: 'Outfit', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #261c43;
    margin: 0;
}

.mn-auteur-carte:hover .mn-auteur-carte__titre { color: #1c6858; }

.mn-auteur-vide {
    color: #6a6386;
    font-size: 16px;
}

.mn-auteur-pagination { margin-top: 28px; }

/* ---------- La liste des signatures ---------- */

.mn-redaction-grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.mn-redaction-carte {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e3dfef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.mn-redaction-carte:hover { border-color: #9bd2c7; }

.mn-redaction-carte__portrait {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #9bd2c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mn-redaction-carte__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mn-redaction-carte__portrait span {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #261c43;
}

.mn-redaction-carte__nom {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #261c43;
    margin: 0 0 2px;
}

.mn-redaction-carte__meta {
    font-size: 14px;
    color: #6a6386;
    margin: 0;
}

/* ---------- La signature sous le titre d un article ---------- */

.mn-signature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mn-signature img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.mn-signature a {
    font-weight: 600;
    color: inherit;
}

@media (max-width: 860px) {
    .mn-auteur-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mn-redaction-grille { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .mn-auteur {
        flex-direction: column;
        gap: 18px;
    }
    .mn-auteur__portrait { width: 104px; height: 104px; }
    .mn-auteur__initiales { font-size: 40px; }
    .mn-auteur__nom { font-size: 28px; }
    .mn-auteur__accroche { font-size: 16.5px; }
    .mn-auteur-grille { grid-template-columns: 1fr; }
}
