/* === DESKTOP === */

.actualites-home {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.actu-main {
  flex: 3;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background-color: #f8f8f8;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.actu-main:hover {
  transform: scale(1.01);
}

.actu-img {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.actu-main-content {
  padding: 1.5rem;
}

.actu-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.actu-excerpt {
  font-size: 1rem;
  color: #444;
}

.actu-side {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.actu-side a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 0.8rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
}

.actu-side a:hover {
  transform: scale(1.01);
}

.actu-img-small {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-right: 1rem;
}

.actu-side-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* === MOBILE === */

@media (max-width: 768px) {
  .actualites-home {
    display: none;
  }

  .actualites-slider {
    padding: 1rem 0;
    position: relative;
  }

  .mobile-slide {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin: 0 0.5rem;
  }

  .mobile-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
  }

  .mobile-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #333;
    width: 32px;
    height: 32px;
    top: 50%;
    transform: translateY(-50%);
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 24px;
  }
}

/* === SLIDER MOBILE === */

.swiper {
  padding-bottom: 3rem;
  width: 100%;
  overflow: hidden;
}

.swiper-slide.mobile-slide {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  margin: 0 0.5rem;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.mobile-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.mobile-title {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem;
  margin: 0;
}

.swiper-pagination-bullet {
  background: #333;
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 20px 4px !important;
}

.swiper-pagination-bullet-active {
  background: #000;
  opacity: 1;
}


