/* Slider RSS blog - pleine largeur */
/* Conteneur global : titre + slider */
.rss-slider-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 40px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 12px;
  background: #fff;
  padding: 18px 18px 20px;
  box-sizing: border-box;
}

/* Bandeau du slider (flèches + vignettes) */
.rss-slider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

/* Boutons de navigation */
.rss-slider-nav {
  flex: 0 0 auto;
  border: none;
  background: #eee;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border-radius: 4px;
}

.rss-slider-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.rss-slider-viewport {
  overflow: hidden;
  flex: 1 1 auto;
}

.rss-slider-track {
  display: flex;
  gap: 16px;
  transition: opacity 0.4s ease;
}

/* Classe utilisée pendant la transition */
.rss-slider-track.is-fading {
  opacity: 0;
}

/* Carte d'article */
.rss-slide {
  display: none; /* géré par le JS */
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  overflow: hidden;
  box-sizing: border-box;
  height: 280px; /* fixe, à ajuster selon ton rendu */
}

/* Lien qui englobe toute la slide */
.rss-slide-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image */
.rss-slide-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Corps */
.rss-slide-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px; /* moins d’espace, puisqu’il n’y a plus que le titre */
}

.rss-slide-title {
  font-size: 1.5rem;
  line-height: 1.7rem;
  font-weight: 600;
  margin: 0;
}

.rss-slide-excerpt {
  display: none;
}

/* Slide visible (gérée en JS) */
.rss-slide.is-visible {
  display: flex;
  flex: 1 0 0;
}

/* Responsive simple */
@media (max-width: 700px) {
  .rss-slider-nav {
    padding: 6px 8px;
    font-size: 16px;
  }
}
.rss-slide-image {
  height: 180px;
  overflow: hidden;
}

.rss-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rss-slide:hover {
  background-color: #f3f3f3;
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.25) 0 6px 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.rss-slide:hover img {
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}
.rss-slider-heading {
  font-size: 1.6rem; /* taille lisible */
  font-weight: 600; /* un peu de présence */
  color: #222; /* gris foncé neutre */
  margin: 0 0 18px 0; /* espace sous le titre */
  text-align: left; /* ou center selon ton goût */
  letter-spacing: 0.3px;
}
.blink-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 6px; /* espace identique AVANT et APRÈS */
  background: #999;
  border-radius: 50%;
  animation: blink 1.2s infinite ease-in-out;
  vertical-align: middle;
}

@keyframes blink {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
.rss-slider-heading a {
  color: #333; /* couleur normale du lien */
  text-decoration: none;
  transition: color 0.25s ease;
}

.rss-slider-heading a:hover {
  color: #000; /* noir au survol */
}
.rss-slider-heading {
  color: #666;
}

.rss-slider-heading a:hover .blink-dot {
  background: #8a2432; /* bordeaux */
}
