.edenred-articles-list { padding: 3rem 1.5rem; }
.edenred-articles-list__slider { 
    max-width: calc(70rem + 30px);
}
.edenred-articles-list__swiper { overflow: visible; }

.swiper-slide.edenred-articles-list__slide {
    max-width: 390px;
    padding: 15px 13px;
    height: auto;
}
.edenred-article-card {
    height: 100%;
}
.edenred-article-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0px 10px 20px 0px #101A7733;
    height: 100%;
    padding-bottom: 30px;
    background-color: #FFF;
}
.edenred-article-card__see-more{
    display: flex;
    gap: 7px;
    align-items: center;
}
.edenred-articles-list__swiper { overflow: visible; }

/* Pagination */
.edenred-articles-list__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}

.edenred-articles-list__pages {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.edenred-articles-list__page {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #F1F5F9;
  background: transparent;
  cursor: pointer;
}

.edenred-articles-list__page.is-active {
  background: #0067F0;
  border-color: #0067F0;
  color: #fff;
  font-weight: 700!important;
}

.edenred-articles-list__ellipsis {
  padding: 0 .25rem;
  opacity: .7;
}

.edenred-articles-list__arrow {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.edenred-articles-list__next { transform: rotate(180deg); }

.edenred-articles-list__page:disabled {
  opacity: .35;
  cursor: default;
}
.edenred-articles-list__arrow:disabled {
    cursor: default;
}
.edenred-articles-list__arrow:disabled svg,
.edenred-articles-list__arrow:disabled svg *{
    stroke: #CBD5E1;
}

/* Card content */
.edenred-article-card__content {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

/* Titre: clamp visuel (fallback) */
.edenred-article-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.edenred-article-card__media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 165px;
}

.edenred-article-card__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* Laisse les ombres visibles */
.edenred-articles-list__swiper {
  overflow: visible;
}

/* Donne de l'air à l'ombre (10px + un peu de marge) */
.edenred-articles-list__swiper .swiper-wrapper {
  padding: 0 0 24px 0;
  align-items: stretch;
}

/* Optionnel : un peu d’espace horizontal aussi */
.edenred-articles-list__swiper {
  padding: 0 12px;
}

/* Si tu vois une petite “barre” de scroll horizontale */
.edenred-articles-list__slider {
  overflow: hidden; /* cache le débordement global, sans clipper les ombres internes grâce au padding */
}