/* -------------------------------------------------------
 * 🛠️ MAIN EVENTS
 * ------------------------------------------------------- */
.main-news {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 145px 0 210px;
  position: relative;
  z-index: 5;
}

.main-news-container {
  width: 1920px;
  margin: 0 auto;
  position: relative;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  padding: 0 30vw;
}

.main-news-container::-webkit-scrollbar-track {
  border: 0;
}
.main-news-container::-webkit-scrollbar {
  width: 0;
  height: 0;
  border: 0;
}
.main-news-container:-webkit-scrollbar-button {
  border: 0;
  width: 0;
  height: 0;
}

/* -------------------------------------------------------
 * 🛠️ FLECHES GAUCHE ET DROITE
 * ------------------------------------------------------- */

.main-news::before {
  content: "";
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: var(--color-black);
  background-image: url("/images/arrow-left.png");
  background-size: 50px 39px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(0%, -50%);
  z-index: 10;
  cursor: pointer;
  transition: all 350ms ease-out;
}

.main-news::after {
  content: "";
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: var(--color-black);
  background-image: url("/images/arrow-right.png");
  background-size: 50px 39px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  z-index: 10;
  cursor: pointer;
  transition: all 350ms ease-out;
}

.news-event {
  position: relative;
  display: inline-block;
  width: 560px;
  height: 890px;
  margin: 0 33px;
  scroll-snap-align: center;
}

.news-event img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 690px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.event-date {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 546px;
  padding: 45px 25px;
  background-color: var(--site-color2);
  z-index: 15;
}

.event-date-title {
  color: var(--color-black);
  font-family: "Isidora", sans-serif;
  font-size: 30px;
  margin-bottom: 0px;
}

.event-date-span {
  font-family: "Roboto Flex", serif;
  color: var(--color-black);
  font-weight: 800;
  font-size: 90px;
  margin-bottom: 15px;
}

.event-date img {
  width: 350px;
  height: 200px;
  margin-bottom: 15px;
}

.event-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.event-details-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.event-details-left h3 {
  font-family: "Roboto Flex", serif;
  font-weight: 100;
  font-size: 15px;
  color: var(--color-black);
  margin-bottom: 0px;
}

.event-details-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.event-details-right h4 {
  font-family: "Roboto Flex", serif;
  font-weight: bold;
  font-size: 20px;
  color: var(--color-black);
  margin-bottom: 5px;
  text-transform: uppercase;
  text-wrap: nowrap;
}
.event-details-right span {
  font-family: "Roboto Flex", serif;
  font-weight: bold;
  font-size: 28px;
  color: var(--color-black);
  margin-bottom: 0px;
  text-transform: uppercase;
}

.event-date h5 {
  font-family: "Roboto Flex", serif;
  color: var(--color-black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 50px;
}

/* -------------------------------------------------------
 * 🛠️ BOUTON SMALL
 * ------------------------------------------------------- */
.prog-button-small {
  position: relative;
  max-width: 338px;
  width: 100%;
  height: 90px;
  margin: 0 auto;
  background-color: var(--site-color2);
  border: none;
  border-radius: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  letter-spacing: -2px;
  z-index: 3;
  cursor: pointer;
  transition: all 350ms ease-out;
}

.prog-text-small {
  font-family: "Roboto Flex", serif;
  font-size: 22px;
  color: var(--color-black);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.prog-icon-container-small {
  width: 58px;
  height: 58px;
  background-color: black;
  border-radius: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prog-icon-small {
  width: 19px !important;
  height: 28px !important;
  animation: 3s linear 0s infinite normal none running wizz;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ===> 🖥️ MEDIA QUERY : Max-width 1920px
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1920px) {
  /* 🛠️ MAIN EVENTS */
  .main-news {
    width: 100vw;
    padding: 7.552vw 0 10.937vw;
  }
  .news-event {
    height: 46.354vw;
    width: 29.166vw;
    margin: 0 1.718vw;
  }

  /* 🛠️ FLECHES GAUCHE ET DROITE */
  .main-news::before {
    content: "";
    width: 5.208vw;
    height: 5.208vw;
    border-radius: 2.604vw;
    background-size: 2.604vw 2.031vw;
    left: 0.781vw;
  }

  .main-news::after {
    content: "";
    width: 5.208vw;
    height: 5.208vw;
    border-radius: 2.604vw;
    background-size: 2.604vw 2.031vw;
    right: 0.781vw;
  }

  .event-content {
    width: 20.833vw;
    height: 35.937vw;
  }

  .event-date {
    height: 28.437vw;
    padding: 2.343vw 1.302vw;
  }

  .event-date-title {
    font-size: 1.562vw;
  }

  .event-date-span {
    font-size: 4.687vw;
    margin-bottom: 0.781vw;
  }

  .event-date img {
    width: 18.229vw;
    height: 10.416vw;
    margin-bottom: 0.781vw;
  }

  .event-details {
    height: 2.604vw;
  }

  .event-details-left h3 {
    font-size: 0.781vw;
  }

  .event-details-right h4 {
    font-size: 1.041vw;
    margin-bottom: 0.26vw;
  }
  .event-details-right span {
    font-size: 1.458vw;
  }

  .event-date h5 {
    font-size: 0.52vw;
    margin-top: 2.604vw;
  }

  /* 🛠️ BOUTON SMALL */
  .prog-button-small {
    max-width: 17.604vw;
    height: 4.687vw;
    border-radius: 2.343vw;
    gap: 0.52vw;
    letter-spacing: -0.104vw;
  }

  .prog-text-small {
    font-size: 1.145vw;
    letter-spacing: 0.052vw;
  }

  .prog-icon-container-small {
    width: 3.02vw;
    height: 3.02vw;
    border-radius: 1.51vw;
  }

  .prog-icon-small {
    width: 0.989vw !important;
    height: 1.458vw !important;
    animation: 3s linear 0s infinite normal none running wizz;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ===> 🖥️ MEDIA QUERY : Max-width 1000px
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1000px) {
  /* 🛠️ MAIN EVENTS */
  .main-news {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 90px 0 100px;
    position: relative;
    z-index: 5;
    left: 0%;
  }

  .main-news-container::-webkit-scrollbar-track {
    border: 0;
  }
  .main-news-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    border: 0;
  }
  .main-news-container:-webkit-scrollbar-button {
    border: 0;
    width: 0;
    height: 0;
  }
  .main-news-container {
    width: 100%;
    margin: 0 auto;
    gap: 20px;
    position: relative;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
  }
  /* 🛠️ NEWS EVENTS */
  .news-event {
    display: inline-block;
    width: 315px;
    height: 500px;
    margin: 0 2vw;
    scroll-snap-align: center;
  }

  .news-event img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .event-content {
    position: absolute;
    top: 51.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 264px;
    height: 390px;
    gap: 20px;
  }

  .event-date {
    width: 223px;
    height: 300px;
    padding: 25px 15px;
  }

  .event-date-title {
    font-size: 15px;
    margin-bottom: 0px;
  }

  .event-date-span {
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 10px;
  }

  .event-date img {
    width: 188px;
    height: 110px;
    margin-bottom: 15px;
  }

  .event-details {
    height: 27px;
  }

  .event-details-left {
    width: 100%;
    height: 100%;
  }
  .event-details-left h3 {
    font-weight: 100;
    font-size: 7.5px;
    font-weight: bold;
    margin-bottom: 0px;
  }

  .event-details-right {
    width: 100%;
    height: 100%;
  }
  .event-details-right h4 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0px;
  }
  .event-details-right span {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0px;
  }

  .event-date h5 {
    font-size: 8px;
    font-weight: 700;
    margin-top: 26px;
  }

  /* -------------------------------------------------------
 * 🛠️ FLECHES GAUCHE ET DROITE
 * ------------------------------------------------------- */
  .main-news::before {
    content: "";
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background-color: var(--color-black);
    background-image: url("/images/arrow-left.png");
    background-size: 34px 25px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(0%, -50%);
    z-index: 11;
    cursor: pointer;
    transition: all 350ms ease-out;
  }

  .main-news::after {
    content: "";
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background-color: var(--color-black);
    background-image: url("/images/arrow-right.png");
    background-size: 34px 25px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0%, -50%);
    z-index: 11;
    cursor: pointer;
    transition: all 350ms ease-out;
  }

  /* 🛠️ BOUTON SMALL */
  .prog-button-small {
    max-width: 265px;
    width: 100%;
    height: 70px;
    border-radius: 35px;
    gap: 10px;
    z-index: 3;
  }

  .prog-text-small {
    font-size: 16px;
    font-weight: bold;
  }

  .prog-icon-container-small {
    width: 40px;
    height: 40px;
    border-radius: 29px;
  }

  .prog-icon-small {
    width: 19px !important;
    height: 26px !important;
  }
}
