.actu-wrap {
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/public/assets/imgs/page_home/halftone_bandeau_down.png");
    background-size: cover;
}

.actu-content {
    margin-top: 4rem;
    width: 60%;
    height: 550px;
    background-color: var(--main-yellow);
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

.actu-decor {
    height: 100%;
}

.actu-img-wrap {
    border: solid 1px #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actu-img {
    height: 98%;
    padding: 0 8px;
    user-select: none;
    -webkit-user-drag: none;
}

.kalendar-img {
    height: 98%;
    padding: 0 8px;
    user-select: none;
    -webkit-user-drag: none;
}

.actu-info {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
}

.actu-info-holder {
    background-color: #fff;
    box-shadow: 4px 4px 0px #000;
    padding: 1.1rem;
    font-family: "Mono";
    line-height: 25.5px;
}

.actu-info-holder u {
    text-decoration-thickness: 3px;
}

.actu-info-holder-label {
    background-color: #000;
    color: #fff;
    font-family: "Mono";
    width: fit-content;
}


/*----------Phylo---------------*/
.filo-wrap {
    margin-top: 6rem;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filo-content {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
}

/*----Sigl----*/

.sigl {
    border: solid 2px #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    align-self: flex-start;
    aspect-ratio: 1;

}

.sigl-right {
    border: solid 2px #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    align-self: flex-end;
    aspect-ratio: 1;
}

.sigl-msg {
    align-self: flex-start;
    border: solid 2px #000;
    padding: 2rem;
    font-family: "Mono";
    display: flex;
    flex-direction: column;
    row-gap: 0.8rem;
}

.sigl-letter {
    font-family: 'Mohave';
    font-weight: bold;
    font-size: 3rem;
}

.sigl-label {
    font-family: 'Mono';
}


/*---btn-decouvrir---*/
.btn-decouvrir-wrap {
    margin-top: 1.3rem;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-decouvrir-content {
    display: flex;
    width: 60%;
    flex-direction: row;
    justify-content: end;
}

.btn-decouvrir {
    text-decoration: none;
}

.btn-decouvrir p {
    color: #000;
    padding: 0.5rem 1rem;
    /*border-radius: 25px;*/
    background-color: var(--main-yellow);
    box-shadow: 4px 4px 0px #000;
    font-family: "MonomaniacOne";
    font-size: x-large;
    border: solid 4px #fff;
    text-transform: capitalize;
    letter-spacing: 2px;
}

/*----Kalendar----*/
.kalendar-wrap {
    margin-top: 6rem;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.kalendar-content {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
}

.kalendar-scroll-wrap {
    width: 100%;
    height: 500px;
    background-image: url("/public/assets/imgs/page_home/grid25p.svg");

    display: flex;
    flex-direction: row;
    align-items: center;

    overflow-x: auto;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
}

.kalendar-scroll-wrap.active {
    cursor: grabbing;
}

.scroller-item {
    display: inline-block;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/3;
    user-select: none;
}

.scroller-item-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: "MonomaniacOne";
    font-size: 6rem;
    margin-left: 5rem;
    margin-right: 2rem;
}


/*---Team---*/

.team-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 2.4rem;
    row-gap: 2.5rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member .tm-img {
    aspect-ratio: 1;
    width: 250px;
    border-radius: 150px;
    background-image: var(--bgimgurl);
    background-position: center;
    background-size: cover;
}

.tm-name {
    background-color: #fff;
    box-shadow: 4px 4px 0px #000;
    padding: 0.5rem 1rem;
    font-family: "Mono";
    line-height: 25.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* ======= BASE (petits écrans) ======= */

/* Évite le scroll horizontal causé par 100vw */
html,
body {
    overflow-x: hidden;
}

.actu-wrap,
.filo-wrap,
.btn-decouvrir-wrap,
.kalendar-wrap {
    width: 100%;
}

/* Conteneurs : de 60% -> 92% max, centrés */
.actu-content,
.filo-content,
.btn-decouvrir-content,
.kalendar-content {
    width: min(92%, 72rem);
}

/* ACTU : passe en colonne, hauteur auto */


.actu-content {
    margin-top: 2rem;
    height: auto;
    /* <- remplace 550px */
    flex-direction: column;
    /* row -> column */
    gap: 1rem;
    padding: 1rem;
}

.actu-decor {
    display: none;
}

/* Bouton découvrir : droite -> gauche, touch-friendly */
.btn-decouvrir-content {
    justify-content: flex-end;
}

.btn-decouvrir p {
    font-size: clamp(1rem, 2.5vw + .8rem, 1.25rem);
}

/* PHILO : blocs carrés plus compacts */
.sigl,
.sigl-right {
    padding: 1rem;
}

.sigl-letter {
    font-size: clamp(1.6rem, 3vw + 1rem, 2rem);
}

/* KALENDAR : hauteur auto + éléments plus petits */

.scroller-item {
    height: 400px;
    /* taille raisonnable par défaut */
    aspect-ratio: auto;
    /* évite les ratios trop étroits */
    padding: 0 .5rem;
}

.scroller-item-date {
    font-size: clamp(2rem, 3rem, 4rem);
    /* <- 6rem devient fluide */
    margin-left: 1rem;
    margin-right: 1rem;
}



/* TEAM : 1 colonne, images fluides */

.sigl-team {
    padding: 2rem;
    align-self: center;
}

.team-wrap {
    display: grid;
    grid-template-columns: 1fr;
    /* <- 3 -> 1 col */
}

.team-member .tm-img {
    width: clamp(140px, 60vw, 220px);
    /* 250px -> fluide */
    border-radius: 999px;
}

@media only screen and (max-width: 850px) {
    .actu-wrap {
        background-image: none;
    }

    /* Sigl*/
    .sigl-hidden {
        display: none;
    }

    .actu-img {
        width: 100%;
        height: auto;
        max-height: fit-content;
    }
}

/* ======= >= 800px ======= */
@media only screen and (min-width: 800px) {
    .actu-content {
        flex-direction: row;
    }

    .actu-decor {
        display: block;
        height: auto;
        max-height: 480px;
        align-self: center;
    }

    .actu-img-wrap {
        height: fit-content;
        align-self: center;
    }

    .actu-img {
        width: auto;
        height: 100%;
        max-height: 480px;
    }

    .kalendar-img {
        width: auto;
        height: 100%;
        max-height: 480px;
    }

    .btn-decouvrir-content {
        justify-content: flex-end;
    }

    .kalendar-scroll-wrap {
        padding: 1.25rem 0;
    }

    .scroller-item {
        height: 360px;
    }

    .team-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======= >= 1024px ======= */
@media (min-width: 64rem) {
    .actu-content {
        margin-top: 4rem;
        padding: 1.25rem;
    }

    .scroller-item {
        height: 420px;
    }

    .team-wrap {
        grid-template-columns: repeat(3, 1fr);
    }

    /* revient à 3 cols */
}

/* Petites touches d’accessibilité / confort */
.actu-info-holder,
.tm-name {
    line-height: 1.6;
}

/* lisibilité */
.kalendar-scroll-wrap:active {
    cursor: grabbing;
}

/* déjà prévu */