.baseContainer {
    width: 100%;
    max-width: 1050px;
}

.categorie-title {
    font-size: 22px;
    font-weight: bold;
    padding: 8px 0;
}

.categorie-texte {
    padding: 0;
    font-size: 18px;
}


.informationsEvenement {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    line-height: 1.5;
}

.informationDate dd {
    font-size: 1.15rem;
    font-weight: 600;
}

.informationsEvenement div {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.informationsEvenement dt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 5px;
}

.informationsEvenement address {
    font-style: normal;
}

.lienOrganisateur {
    text-decoration: underline;
    font-weight: 600;
    color: #ffffff;
}

.lienOrganisateur:hover {
    text-decoration: none;
}

.lienOrganisateur::after {
    content: " ↗";
    font-size: 0.85em;
}




.encadreOrganisateur {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    font-size: 18px;
    border-left: 3px solid rgb(255, 140, 0);
    /* border-radius: 8px; */
}

.encadreOrganisateur h2 {
    margin: 0;
    color: rgb(255, 140, 0);
    /* font-size: 20px; */
}

.encadreOrganisateur p {
    text-align: start;
}
.encadreOrganisateur p:last-child {
    font-size: 16px;
}

.encadreOrganisateur ul {
    padding-left: 1.5rem;
    text-align: start;
}

.encadreOrganisateur li {
    list-style: inside;
}

.lienOrganisateur a {
    text-decoration: underline;
    color: #fff;
}
.lienOrganisateur a::after {
    content: " ↗";
    font-size: 0.85em;
}

.boutonInscription {
    display: inline-block;
    margin: 16px 0 8px 0;
    padding: 8px;
    border: 1px solid rgb(255, 140, 0);
    border-radius: 6px;
    color: rgb(255, 140, 0);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.boutonInscription:hover {
    background-color: rgb(255, 140, 0);
    color: white;
}




.grille-evenements {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.carte-evenement {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    min-height: 190px;
    padding: 16px;
    box-sizing: border-box;

    border: 1px solid #e1e1e1;
    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.carte-evenement:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carte-evenement-lien {
    display: flex;
    flex-direction: column;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.carte-evenement:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carte-evenement-lien:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.carte-evenement h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.35;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.carte-evenement dl {
    margin-top: auto;
}

.carte-evenement dl > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.carte-evenement dt {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 700;
}

.carte-evenement dd {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: start;
}

.indicateurs-scroll {
    display: none;
    justify-content: center;
    gap: 10px;
}

.point-scroll {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #ccc;
    transition: transform 0.2s ease, background 0.2s ease;
}

.point-scroll.actif {
    background: #ccc;
    /* transform: scale(1.1); */
}


@media (max-width: 767px) {

    .categorie-contour:has(.grille-evenements) {
        padding: 0;
    }

    .baseContainer h2 {
        text-align: center;
    }



    .grille-evenements {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        gap: 1rem;
        padding: 0 16px 8px 16px;

        scrollbar-width: none;
    }

    .grille-evenements::-webkit-scrollbar {
        display: none;
    }

    .carte-evenement {
        flex: 0 0 101%;
        max-width: none;
        scroll-snap-align: center;
        padding: 8px;
        min-height: 170px;
    }

    .carte-evenement h3 {
        font-size: 16px;
        text-align: center;
    }

    .carte-evenement dl > div {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 2px;
    }

    .carte-evenement dt, .carte-evenement dd {
        text-align: start;
        font-size: 14px;
    }

    .carte-evenement dt img {
        width: 15px;
        height: 15px;
    }
    .carte-evenement dt span {
        display: none;
    }

    .indicateurs-scroll {
        display: flex;
        margin-bottom: 16px;
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    .baseContainer {
        padding: 0
    }

    .categorie-title {
        font-size: 16px;
    }

    .categorie-texte {
        padding: 8px;
        font-size: 14px;
    }

    .informationsEvenement {
        width: 100%;
        font-size: 14px;
        line-height: 1.5;
    }

    .informationsEvenement > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0px;
        padding: 8px;
        border-top:  1px solid rgba(255, 255, 255, 0.5);
    }

    .informationsEvenement dt {
        font-size: 14px;
        margin: 0;
        font-weight: 700;
        gap: 4px;
    }
    .informationsEvenement dt img {
        width: 15px;
        height: 15px;
    }
    .informationsEvenement dt span {
        display: none;
    }

    .informationsEvenement dd {
        font-size: 14px;
        text-align: start;
        /* margin: 0 0 0 28px; */
    }

    .informationDate dd {
        font-size: 14px
    }

    .informationsEvenement address {
        line-height: 1.6;
    }

    .encadreOrganisateur ul {
        margin-top: 8px;
        padding-left: 4px;
        text-align: start;
    }
    .encadreOrganisateur ul li {
        margin-bottom: 8px;
    }
    .encadreOrganisateur ul li::marker {
        margin: 0;
        margin-bottom: 4px;
    }

    .boutonInscription {
        margin: 8px 0 8px 0;
        font-size: 14px;
    }

    .encadreOrganisateur p:last-child {
        font-size: 13px;
    }
}