/* Histoire */
.histoire {
    max-width: 760px;
    margin: 0 auto var(--espace-xl);
    font-size: 1.05rem;
    line-height: 1.75;
}

.histoire h2 {
    margin-bottom: var(--espace-m);
}

.histoire__frise {
    list-style: none;
    margin: var(--espace-l) 0;
    padding: 0 0 0 var(--espace-m);
    border-left: 3px solid var(--orange);
}

.histoire__frise li {
    position: relative;
    padding-left: var(--espace-m);
}

.histoire__frise li + li {
    margin-top: var(--espace-m);
}

.histoire__frise li::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--espace-m) - 8px);
    top: 0.55em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--orange);
    border: 3px solid var(--creme);
}

.histoire__frise strong {
    display: block;
    font-family: var(--police-titres);
    font-weight: normal;
    color: var(--orange-texte);
}

#histoire,
#actus {
    scroll-margin-top: calc(var(--hauteur-header) + var(--espace-m));
}

.suivre {
    margin-top: var(--espace-xl);
    text-align: center;
}


/* Article */
.article {
    padding-block: var(--espace-l) var(--espace-xl);
}

.article__entete {
    max-width: 760px;
    margin-bottom: var(--espace-l);
}

.article__retour {
    display: inline-block;
    margin-bottom: var(--espace-m);
    font-weight: bold;
    text-decoration: none;
}

.article__entete h1 {
    margin-bottom: var(--espace-s);
}

.article__visuel {
    max-width: 760px;
    margin-bottom: var(--espace-l);
}

.article__image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.article__texte {
    max-width: 760px;
    font-size: 1.1rem;
    line-height: 1.75;
}

.article__texte ul,
.article__texte ol {
    margin: 0 0 var(--espace-m);
    padding-left: 1.3rem;
}

.article__texte li + li {
    margin-top: var(--espace-xs);
}


/* Autres actus */
.autres-actus__entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--espace-m);
    margin-bottom: var(--espace-l);
}

.autres-actus__entete h2 {
    margin: 0;
}

.autres-actus__fleches {
    display: flex;
    gap: var(--espace-s);
}

.autres-actus__fleches[hidden] {
    display: none;
}

/* Sur mobile, une carte et un bout de la suivante : on comprend qu'il faut faire glisser */
.defilement {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 290px);
    gap: var(--espace-m);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Place pour le contour de focus clavier, sinon coupé par overflow */
    padding: var(--espace-s) var(--espace-s) var(--espace-m);
    margin: 0 calc(-1 * var(--espace-s));
    scroll-padding-inline: var(--espace-s);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--bleu-clair) transparent;
}

.defilement > * {
    scroll-snap-align: start;
}

.defilement::-webkit-scrollbar {
    height: 8px;
}

.defilement::-webkit-scrollbar-thumb {
    background-color: var(--bleu-clair);
    border-radius: 999px;
}

/* Pas de soulèvement au survol : la carte serait coupée en haut par overflow */
.defilement .carte--survol:hover,
.defilement .carte--survol:focus-within {
    transform: none;
}

.autres-actus__bouton {
    margin-top: var(--espace-l);
}
