.actualite-slider .swiper-slide:nth-child(1) {
  width: 311px;
  height: 414px;
}

.actualite-teaser {
  color: var(--color-white);
  height: 100%;
  display: flex;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.actualite-teaser:hover {
  text-decoration: none;
}

.actualite-teaser__image img {
  display: none;
  position: absolute;
  top :0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border-radius: 25px; */
  object-fit: cover;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.75) 59.62%);
  transition: transform 0.3s ease;
}

.actualite-slider .swiper-slide:nth-child(1) .actualite-teaser__image img {
  display: initial;
}

.actualite-teaser:hover  .actualite-teaser__image img  {
  /* border-radius: 25px; */
  transform: scale(1.1);
}

.actualite-teaser__wrapper {
  width: 100%;
  height: 100%;
  padding: 25px;
  /* border-radius: 25px; */
  background-color: var(--color-primary--4);
}

.actualite-teaser__content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.actualite-slider .swiper-slide:nth-child(1) .actualite-teaser__content-wrapper {
  height: 100%;
}

.actualite-teaser__category {
  display: none;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background-color: #BE1C1C;
  font-size: 14px;
}

.actualite-slider .swiper-slide:nth-child(1) .actualite-teaser__category {
  display: initial;
  z-index: 1;
}

.actualite-teaser__title {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}

.actualite-teaser__title::before  {
  display: block;
  content: '';
  margin-top: 4px;
  max-width: 15px;
  width: 100%;
  height: 15px;
  background-color: var(--color-secondary--1);
  border-radius: 50%;
  transition: transform 0.3s ease;
}



.actualite-slider .swiper-slide:nth-child(1) .actualite-teaser__title::before {
  display: none;
}


.actualite-teaser:hover  .actualite-teaser__title::before  {
  transform: scale(1.2);
}

.actualite-teaser__description {
  font-weight: 400;
}

.actualite-teaser__description p {
  font-size: 14px;
}

.actualite-teaser__date {
  position: relative;
}

.actualite-slider .swiper-slide:nth-child(1) .actualite-teaser__date {
  display: none;
}

.actualite-teaser__date-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 193px;
  border-radius: 25px 0 25px 0;
  background-color: var(--color-primary--3);
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* Voir plus */

.actualite-slider .view-more-link {
  display: flex;
  flex-direction: row;
  justify-content: center;

  padding: 5px;
}

.actualite-slider .swiper-wrapper .view-more-link {
  display: none;
}

.actualite-slider .swiper-wrapper ~ .view-more-link {
  margin : 10px 0;
}

.actualite-slider .view-more-link .more-link a {
  display: inline-flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  background: var(--color-secondary--1);
  color : var(--color-primary--3);
  z-index: 0;
  position: relative;
}

.actualite-slider .view-more-link .more-link a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  border: 2px solid var(--color-primary--2);
  transform: rotate(-1.306deg);
  transform-origin: bottom right;
  pointer-events: none;
  z-index: -2;
  transition: transform 0.3s ease;
}

.actualite-slider .view-more-link  .more-link a{
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.actualite-slider .view-more-link  .more-link:hover a {
  text-decoration: none;
}



.actualite-slider .view-more-link .more-link a::before {
  opacity: 0;
  content:   '';
  background-image: url('../../images/cta/chevron.svg');
  background-position: center;
  background-repeat: no-repeat;
  width: 0;
  height: 24px;
  transition: all 0.3s ease;
}

.actualite-slider .view-more-link .more-link:hover a::before {
  opacity: 1;
  width: 12px;
}

.actualite-slider .view-more-link  .more-link:hover a::after {
  transform: rotate(1.306deg);
  transform-origin: bottom left;
}

.actualite-slider.swiper {
  overflow: unset;
}


/* Slider desktop */
@media all and (min-width: 1000px) {
  .actualite-slider .swiper-wrapper {
    display: grid;
    grid-template-areas: "a b b"
                          "a c d"
                          "a e e";
    gap: 25px;

  }

  .actualite-slider .swiper-wrapper ~ .view-more-link {
    display: none;
  }

  .actualite-slider .swiper-wrapper .view-more-link {
    display: flex;
    grid-area: e;
  }

  .actualite-slider .swiper-slide {
    min-height: 168px;
  }

  .actualite-slider .swiper-slide:nth-child(1) {
    max-width: 414px;
    height: 414px;
    grid-area: a;
    margin-right: 143px;
    width: 100%;
  }

  .actualite-slider .swiper-slide:nth-child(2) {

    grid-area: b;
  }

  .actualite-slider .swiper-slide:nth-child(3) {

    grid-area: c;
  }

  .actualite-slider .swiper-slide:nth-child(4) {

    grid-area: d;
  }

  /* Slides suivants - 3 colonnes */
  /* .actualite-slider .swiper-slide:nth-child(n+2) {
    flex: 1 1 calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
  } */

  /* Masquer les boutons de navigation */
  .actualite-slider .swiper-button-next,
  .actualite-slider .swiper-button-prev {
    display: none;
  }
}