/*
  Projet : Site 15A
  Fichier : css/actu.css
  Version : 0.10.0 — 2026-07-03
  Objectif : Styles propres à la page Actualité (actualite.html). Rendu
             strictement identique à la version riche du dépôt. Les fonds
             décoratifs (fond de page + fonds des fenêtres) passent en WebP via
             image-set (repli JPG automatique) — visuellement identiques, plus
             légers au chargement. Curseur main sur toute la ligne de carte
             (devenue cliquable dans son ensemble). Style du bouton flèche
             retiré (bouton supprimé de la carte). Hauteur commune aux 3
             onglets de la fenêtre de détail (Photos/Vidéos/Innovation) pour
             que la fenêtre ne bouge plus au clic. Mini calendrier maison pour
             le filtre de date (remplace le sélecteur natif du navigateur).
*/

html {
    /* max-height: 100vh;
    overflow: hidden; */
}

body {
    background-image: url(/images/actu/fond-actu-2.jpg);
    background-image: -webkit-image-set(
        url(/images/actu/fond-actu-2.webp) type("image/webp"),
        url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
    );
    background-image: image-set(
        url(/images/actu/fond-actu-2.webp) type("image/webp"),
        url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
    );
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
    font-family: "nulshock", sans-serif;
}

  body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(/images/actu/fond-actu-2.jpg);
  background-image: -webkit-image-set(
      url(/images/actu/fond-actu-2.webp) type("image/webp"),
      url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
  );
  background-image: image-set(
      url(/images/actu/fond-actu-2.webp) type("image/webp"),
      url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
  );
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateZ(0);
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    /* width: 100%; */
}

button {
    cursor: pointer;
    border: none;
    background: transparent;
}

.tournois-titre-gauche {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 6rem;
    z-index: 1;
}

.content-wrapper {
    margin: 8rem 1rem 8rem 1rem;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1095px;
    margin: auto;
}

.outlined-title {
    color: white;
    /* margin: 1em auto; */
    font-size: 64px;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 4px 6px;

}

.events-list {
    /* display: flex;
    flex-direction: column; */
    align-items: center;
    /* gap: 18px; */
}

.events-scroll-wrap {
    position: relative;
    width: 100%;
}

.events-scroll-wrap::before,
.events-scroll-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    z-index: 50;
    opacity: 1;
    transition: opacity .15s ease;
}

.events-scroll::-webkit-scrollbar {
    width: 0;
}

#events {
    transform-origin: top center;
}

.events-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.events-scroll-wrap::before,
.events-scroll-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
    z-index: 50;
    background-image: url(/images/actu/fond-actu-2.jpg);
    background-image: -webkit-image-set(
        url(/images/actu/fond-actu-2.webp) type("image/webp"),
        url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
    );
    background-image: image-set(
        url(/images/actu/fond-actu-2.webp) type("image/webp"),
        url(/images/actu/fond-actu-2.jpg) type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1;
    transition: opacity .15s ease;
}

.events-scroll-wrap::before {
    top: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.events-scroll-wrap::after {
    bottom: 0;
    -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
    mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}

.events-scroll-wrap.is-top::before {
    opacity: 0;
}

.events-scroll-wrap.is-bottom::after {
    opacity: 0;
}

.events-scroll-wrap.is-top.is-bottom::before,
.events-scroll-wrap.is-top.is-bottom::after {
    opacity: 0;
}

section {
    display: flex;
    justify-content: center;
}

.event-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.event-card {
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    width: 960px;
    height: 117px;
    /* scale: 0.9; */
    margin-block: 9px;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 92%,
            rgba(0, 0, 0, 0) 100%);

    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 92%,
            rgba(0, 0, 0, 0) 100%);

}

.event-card>* {
    position: relative;
    z-index: 1;
}

.event-card--event::before {
    background-image: url("/images/actu/bg-event.svg");
}

.event-card--club::before {
    background-image: url("/images/actu/bg-club.svg");
}

.event-card--update::before {
    background-image: url("/images/actu/bg-update.svg");
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 117px;
    height: 117px;
    line-height: 1.2;
    border-radius: 20px;
    margin-right: 16px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
    border: solid 1px white;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: white;
    font-family: 'montserrat';
    text-transform: uppercase;
    /* margin-left: 20px; */
}


.day {
    font-size: 18px;
}

.number {
    font-size: 38px;
}

.month {
    font-size: 16px;
}


.event-card__logo {
    margin-left: 20px;
    margin-right: 35px;
}

.event-card__name {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 40px;
    line-height: 103%;
    width: 555px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

}

.event-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.event-modal.is-open {
    display: flex;
}

.event-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.event-modal__dialog {
    position: relative;
    z-index: 1;
    background: #111;
    color: #fff;
    max-width: 1280px;
    width: 100%;
    font-family: 'montserrat';
    margin-inline: 2rem;
}

.event-modal--event .event-modal__dialog {
    background-image: url("/images/actu/modal-bg-event.jpg");
    background-image: -webkit-image-set(
        url("/images/actu/modal-bg-event.webp") type("image/webp"),
        url("/images/actu/modal-bg-event.jpg") type("image/jpeg")
    );
    background-image: image-set(
        url("/images/actu/modal-bg-event.webp") type("image/webp"),
        url("/images/actu/modal-bg-event.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
}

.event-modal--club .event-modal__dialog {
    background-image: url("/images/actu/modal-bg-club.jpg");
    background-image: -webkit-image-set(
        url("/images/actu/modal-bg-club.webp") type("image/webp"),
        url("/images/actu/modal-bg-club.jpg") type("image/jpeg")
    );
    background-image: image-set(
        url("/images/actu/modal-bg-club.webp") type("image/webp"),
        url("/images/actu/modal-bg-club.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
}

.event-modal--update .event-modal__dialog {
    background-image: url("/images/actu/modal-bg-update.jpg");
    background-image: -webkit-image-set(
        url("/images/actu/modal-bg-update.webp") type("image/webp"),
        url("/images/actu/modal-bg-update.jpg") type("image/jpeg")
    );
    background-image: image-set(
        url("/images/actu/modal-bg-update.webp") type("image/webp"),
        url("/images/actu/modal-bg-update.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
}

.event-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.event-modal__content>* {
    margin-left: 88px;
}

.event-modal__body {
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.45) 6px 8px 9px;
}

.event-modal__image-wrapper {
    flex: 0 0 34%;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
}

.event-modal__logo {
    width: 140px;
    height: auto;
}

.event-modal__logo img {
    width: 100%;
    margin-block: 10px;
}

.event-modal__image {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    filter: drop-shadow(0 9px 9px rgba(0, 0, 0, 0.45));
}

.event-modal__image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #200071 0%,
            #202D8A 58%,
            #21509E 100%);
    clip-path: polygon(24% 0, 100% 0, 100% 86%, 76% 100%, 0 100%, 0 14%);
    z-index: 0;
}

.event-modal__image--update::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #661907 0%,
            #740300 100%);
    clip-path: polygon(24% 0, 100% 0, 100% 86%, 76% 100%, 0 100%, 0 14%);
    z-index: 0;
}

.event-modal__image--event::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            #5C0071 0%,
            #2E1E9D 98%,
            #2E1F9E 100%);
    clip-path: polygon(24% 0, 100% 0, 100% 86%, 76% 100%, 0 100%, 0 14%);
    z-index: 0;
}

.event-modal__image-inner {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    overflow: hidden;
    clip-path: polygon(24% 0, 100% 0, 100% 86%, 76% 100%, 0 100%, 0 14%);
    z-index: 1;
}

.inner-update {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    clip-path: none;
}

.event-modal__image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    ;
}

.inner-update img {
    object-fit: contain;
}

.event-modal__version-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    flex-direction: column;
    width: 255px;
}

.event-modal__version-badge p {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    font-family: "nulshock", sans-serif;
}

.event-modal__tag {
    position: absolute;
    top: 50%;
    left: 13.5px;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
    margin: 0;
    font-size: 11rem;
    line-height: 1;
    font-family: 'Nulshock', sans-serif;
    white-space: nowrap;
    z-index: 2;
    text-shadow: black 0px 0px 6px
}

.event-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 66%;
}

.event-modal__date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-modal__date img {
    width: auto;
    height: 28px;
}

.event-modal__content h2 {
    font-family: 'montserrat';
}

.event-modal__actions {
    display: flex;
    justify-content: space-between;
    width: 136px;
    margin-bottom: 16px;
}

.event-modal__cta {
    width: 36px;
    height: 16px;
    border-radius: 120px;
    border: solid 2px #fff;
}

.event-modal__cta--active {
    background: #fff;
}

/* Onglet sans contenu : estompé, pour qu'on voie d'un coup d'œil lesquels
   ont quelque chose à montrer (les pastilles n'ont pas de libellé écrit). */
.event-modal__cta--vide {
    opacity: 0.4;
}

.event-modal__separator {
    border: solid 2px #fff;
    width: 132px;
    margin-bottom: 15px;
}

/* Hauteur commune aux 3 onglets (Photos / Vidéos / Innovation), y compris
   les messages « aucun contenu » : sans ça, la fenêtre change de taille
   selon l'onglet et se recentre à l'écran, ce qui déplace les boutons
   sous la souris au moment de cliquer sur l'onglet suivant. */
.event-modal__list {
    min-height: 160px;
}

.event-modal__photos-wrapper {
    width: 100%;
    max-width: 420px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.event-modal__photos {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.event-modal__thumb {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.event-modal__thumb img {
    width: 60px;
    height: auto;
}


.event-modal__photos-wrapper::-webkit-scrollbar {
    height: 6px;
}

.event-modal__photos-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.event-modal__photos-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
}

.event-modal__photos-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

.event-modal__photos-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.event-modal__videos {
    display: flex;
}

.event-modal__thumb video {
    width: 60px;
    height: auto;
}

.event-modal__innovations-wrapper {
    --innovations-height: 160px;

    position: relative;
    height: var(--innovations-height);
    max-height: var(--innovations-height);

    overflow-y: auto;
    padding-right: 0.75rem;
}

.event-modal__innovations {
    margin: 0;
    padding: 0 0 0 1.5rem;
    list-style: disc;
}

.event-modal__innovations-wrapper::-webkit-scrollbar {
    width: 6px;
}

.event-modal__innovations-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.event-modal__innovations-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
}

.event-modal__innovations-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

.event-modal__innovations-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.event-modal__innovation-item {
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 13px;
}

.event-modal__content>* {
    margin-inline: 88px;
}

.event-modal__content time {
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
}

.event-modal__content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
}

.event-modal__content h3 {
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 22px;
    line-height: 22px;
}

.event-modal__content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 13px;
}

.event-modal__content .event-modal__selected {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 15px;
}


.media-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.media-modal.is-open {
    display: flex;
}

.media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.media-modal__dialog {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.media-modal__body {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10000;
}

.media-modal__image img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}


.media-modal__video-wrapper {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-modal__video {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    background: #000;
}


.media-modal__innovation {
    max-width: 70vw;
    max-height: 80vh;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    padding: 16px 8px;
    text-align: left;
    overflow-y: auto;
}

.date-mobile {
    display: none;
}

/* Filtres */
.nouveaute {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nouveaute-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
    margin-bottom: 12px;
}

.nouveaute-title {
    display: flex;
    gap: 24px;
    align-items: center;
    /* flex: 1; */
    width: 100%;
    justify-content: space-between;
}

.filtre-buttons {
    display: flex;
    gap: 12px;
    /* margin-right: 40px; */
}

.filtre-buttons button {
    width: 32px;
    height: 32px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
    border: solid 1px white;
    border-radius: 999px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filtre-buttons button img {
    width: 100%;
    height: auto;
}

.filtre-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.filtre-button__header {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
    border: solid 1px white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    width: 100%;
}

.open-filtre {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    border: solid 1px white;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px;
}

.filtre-button__header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.filtre-button__header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.filtre-button__header-left div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
    border: solid 1px white;
    border-radius: 999px;
    padding: 8px;
}

.filtre-button__header-left div img {
    width: 100%;
    height: auto;
}

.filtre-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.filtre-wrap.is-open {
    display: flex;
}

#typeButtons {
    display: none;
}

#typeButtons.is-open {
    display: flex;
}

.type-buttons {
    justify-content: center;
    gap: 14px;
}

.type-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    border: solid 1px white;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 6px 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    width: 150px;
    height: 36px;
    gap: 10px;
    font-family: nulshock, sans-serif;
}

.type-buttons button.is-active {
    background: linear-gradient(to top, #00baeb, #1a1a66);
}

.type-buttons div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-buttons button img {
    width: auto;
    height: 32px;
}

#filtreDate {
    position: relative;
}

.date-select {
    display: none;
    gap: 12px;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.date-select.is-open {
    display: flex;
}

.date-field {
    position: relative;
    display: flex;
    align-items: center;
}

.date-field input {
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    border: solid 1px white;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 36px 8px 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    width: 150px;
    height: 32px;
}

.date-field input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.date-field__icon {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.date-field__icon img {
    width: 16px;
    height: 16px;
}

/* Mini calendrier (remplace le sélecteur natif du navigateur, jugé illisible
   et non pertinent : il ne montre pas quels jours ont une actualité). */
.mini-calendar {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    width: 260px;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(20, 34, 51, 0.96), rgba(8, 14, 24, 0.98));
    border: solid 1px white;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    color: white;
    font-family: 'montserrat';
}

.mini-calendar.is-open {
    display: flex;
}

.mini-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-calendar__label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mini-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: solid 1px white;
    background: transparent;
    color: white;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.mini-calendar__weekdays,
.mini-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.mini-calendar__weekdays span {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.6;
}

.mini-calendar__day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-inline: auto;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: white;
    font-size: 12px;
    font-family: 'montserrat';
    cursor: pointer;
}

.mini-calendar__day:disabled {
    visibility: hidden;
    cursor: default;
}

.mini-calendar__day.has-event::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #00baeb;
}

.mini-calendar__day.is-in-range {
    background: rgba(0, 186, 235, 0.25);
    border-radius: 0;
}

.mini-calendar__day.is-selected {
    background: linear-gradient(to top, #00baeb, #1a1a66);
    border-radius: 999px;
}

.mini-calendar__day.is-selected.has-event::after {
    background: white;
}

#dateReset {
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px rgba(255, 255, 255, 0.342);
    border-radius: 99px;
    height: 46px;
    width: 46px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
}

#dateReset img {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.filtre-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .filtre-buttons button img {
    width: 50px;
    height: 50px;
} */

.double-fleche {
    width: 120px;
    height: auto;
}

.filter-search {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: solid 1px white;
    border-radius: 999px;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 65%);
    backdrop-filter: blur(8px);
    color: white;
    margin-top: 12px;
    font-family: 'montserrat', sans-serif;
    display: none;
}

.filter-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.filter-search.is-open {
    display: block;
}

@media (max-width: 1400px) {
    main {
        max-width: 900px;
    }

    #events {
        transform: scale(0.8);
    }

    .event-modal__tag {
        font-size: 9rem;
    }
}

@media (max-width: 1200px) {
    main {
        max-width: 700px;
    }

    .event-modal__tag {
        font-size: 8rem;
    }

    .event-modal__content>* {
        margin-inline: 30px;
    }

    #events {
        transform: scale(0.64);
    }

    .event-modal__logo {
        width: 70px;
    }

    .event-modal__version-badge {
        width: 175px;
    }

    .event-modal__version-badge p {
        font-size: 32px;
    }
}

@media (max-width: 992px) {

    main {
        margin: auto;
        max-width: 606px;
    }

    .tournois-titre-gauche {
        display: none;
    }

    .event-modal__tag {
        font-size: 7rem;
    }

    #events {
        transform: scale(0.55);
    }


    .event-modal__version-badge {
        width: 100px;
    }

    .event-modal__version-badge p {
        font-size: 20px;
    }

}

@media (max-width: 768px) {

    main {
        margin: auto;
        max-width: 480px;
    }

    .outlined-title {
        font-size: 24px;
    }

    .filtre-button__header-left div {
        width: 14px;
        height: 14px;
        padding: 4px;
    }

    .filtre-buttons button {
        width: 14px;
        height: 14px;
        padding: 4px;
    }


    .filtre-buttons button img {
        width: auto;
        height: 14px;
    }

    .open-filtre {
        width: 14px;
        height: 14px;
        padding: 4px;
    }

    .open-filtre img {
        width: 100%;
        height: auto;
    }

    .filtre-button__header {
        font-size: 10px;
        padding: 4px 16px;
    }

    .type-buttons button {
        padding: 4px 12px;
        font-size: 14px;
        width: 75px;
        height: 14px;
        gap: 10px;
        font-size: 10px;
    }

    .type-buttons button img {
        width: 14px;
        height: 14px;
    }

    .date-select {
        gap: 8px;
    }

    .date-field input {
        padding: 4px 28px 4px 12px;
        font-size: 10px;
        width: 150px;
        height: 14px;
    }

    .date-field__icon {
        width: 16px;
        height: 16px;
    }

    .date-field__icon img {
        width: 12px;
        height: 12px;
    }

    .mini-calendar {
        width: min(260px, calc(100vw - 32px));
    }

    .double-fleche {
        width: auto;
        height: 14px;
    }

    #dateReset {
        height: 22px;
        width: 24px;
    }

    #dateReset img {
        width: 14px;
        height: 14px;
        padding: 4px;
    }

    #events {
        transform: scale(0.44);
    }

    .event-modal__body {
        flex-direction: column;
        margin-inline: 0;
        max-width: 311px;
    }

    .event-modal__content,
    .event-modal__image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .event-modal__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .event-modal__content h2 {
        font-size: 19px;
        font-weight: 700;
        line-height: 36px;
        text-align: center;
    }

    .event-modal__content h3 {
        font-size: 10px;
        font-weight: 300;
        text-transform: uppercase;
        margin-bottom: 8px;
        line-height: 22px;
    }

    .event-modal__content p {
        font-size: 10px;
        font-weight: 300;
        text-align: center;
        line-height: 20px;
        margin-bottom: 13px;
        max-height: 140px;
        overflow-y: auto;
    }

    .event-modal__content .event-modal__selected {
        font-size: 10px;
        line-height: 10px;
        font-weight: 300;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .event-modal__actions {
        display: flex;
        justify-content: space-between;
        width: 136px;
        margin-bottom: 10px;
    }

    .event-modal__photos-wrapper {
        width: 100%;
        max-width: 240px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    .event-modal__image-wrapper {
        order: -1;
        margin-bottom: 10px;
    }

    .event-modal__image {
        max-width: 160px;
        margin: 0;
    }

    .event-modal__tag {
        font-size: 3.5rem;
        left: 4.5px;
    }

    .event-modal__dialog {
        position: relative;
        z-index: 1;
        background: #111;
        color: #fff;
        max-width: 1280px;
        width: 100%;
        font-family: 'montserrat';
        margin-inline: 2rem;
        max-width: 311px;
    }

    .event-modal__date {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-direction: column;
        justify-content: center;
        margin-inline: auto;
    }

    .event-modal__image-inner {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 0;
        bottom: 0;
        overflow: hidden;
        clip-path: polygon(24% 0, 100% 0, 100% 86%, 76% 100%, 0 100%, 0 14%);
        z-index: 1;
    }

    .inner-update {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        clip-path: none;
    }

    .date-mobile {
        display: flex;
    }

    .date-desktop {
        display: none;
    }

    .event-modal__date img {
        width: 100px;
        height: auto;
    }

    .event-modal__innovations-wrapper {
        --innovations-height: 50px;
        position: relative;
        height: var(--innovations-height);
        max-height: var(--innovations-height);
        overflow-y: auto;
        padding-right: 0.75rem;
    }

    .event-modal__list {
        margin-bottom: 1rem;
    }

    .event-modal__innovation-item {
        font-size: 10px;
        font-weight: 300;
        line-height: 10px;
        margin-bottom: 13px;
    }

    .event-modal__cta {
        width: 30px;
        height: 10px;
        border-radius: 120px;
        border: solid 2px #fff;
    }

    .event-modal__logo {
        display: none;
    }

}

@media (max-width: 576px) {
    main {
        margin: auto;
        max-width: 342px;
    }

    #events {
        transform: scale(0.31);
    }

    .nouveaute-wrapper {
        width: 324px;
    }
}


@media (max-width: 1200px) {}

@media (max-width: 992px) {}