/****** Bannière ******/
.espaces p {
  margin: 0;
}

@media (max-width: 375px) {
  .espaces h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
}

@media (max-width: 781px) {
  .banner-home-mobile .espaces {
    gap: 8px;
    margin-top: -75px;
  }

  .banner-home-mobile .espaces .wp-block-column {
    flex-basis: calc(50% - (8px * 2)) !important;
  }

  .banner-home-mobile .banner-home-content {
    padding: 24px 8px;
  }

  .banner-home-mobile img {
    transition: opacity 0.5s ease-in-out;
  }
}

/****** Nos actualités ******/
/****** ACTUALITES ******/
@media (max-width: 781px) {
  .swiper.actus-swiper {
    overflow: visible;
    width: 75%;
    margin: unset;
  }
}

.actus-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (max-width: 781px) {
  .actus-thumbnail {
    height: 164px;
  }
}

@media (min-width: 782px) {
  .actus-thumbnail {
    height: 250px;
  }
}

.actus-thumbnail {
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.actus-thumbnail img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.actus-card:hover .actus-thumbnail img {
  transform: scale(1.05);
}

.actus-date {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

.actus-date img {
  vertical-align: baseline;
  height: 10px;
  width: auto;
  margin-right: 5px;
}

.actus-title {
  margin-top: 5px;
  margin-bottom: 16px;
}

.actus-excerpt {
  color: var(--grey-color);
  margin-bottom: 16px;
}

.actus-read-more {
  color: var(--blue-dark-color);
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: color 0.3s ease-out;
}

.actus-card:hover .actus-read-more {
  color: var(--green-dark-color);
}

.actus-read-more svg {
  width: 20px;
  height: 20px;
}

.actus-read-more svg path {
  fill: var(--blue-dark-color);
  transition: fill 0.3s ease-out;
}

.actus-card:hover .actus-read-more svg path {
  fill: var(--green-dark-color);
}

.actus-read-more svg {
  margin-right: 10px;
}
