.actualite--teaser-block-page {
  margin-bottom: 4rem;
}

.actualites-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0;
}

.actualite-teaser__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  overflow: hidden;
  height: 100%;
  margin-bottom: 0;
  max-width: 300px;
}

.actualite-teaser__content-wrapper {
  padding-bottom: 2.5rem;
}

.actualite-teaser__image {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.actualite-teaser__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actualite-teaser__content {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex-grow: 1;
  padding: 0 1rem 1rem;
}

.actualite-teaser__date {
  font-size: var(--content-size--s);
  color: var(--color-tertiary--dark);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: .5em;
  background: var(--color-white);
  padding: 1rem;
  border: 1px solid var(--color-tertiary--xclear);
  margin-top: -73px;
  width: fit-content;
  position: relative;
  z-index: 2;
}

.actualite-teaser__date::before {
  content: url('../../images/actualite/icon-agenda.svg');
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.actualite-teaser__date time {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
}

.actualite-teaser__date time:nth-of-type(2)::before {
  content: url('../../images/actualite/icon-arrow.svg');
  width: 16px;
  height: 16px;
  margin-right: .3em;
  vertical-align: middle;
}

.actualite-teaser__category,
.actualite-teaser__title,
.actualite-teaser__cta {
  padding: 0 1rem;
  margin: .5rem 0;
}

.actualite-teaser__category {
  font-size: var(--content-size--s);
  font-weight: 600;
  color: var(--color-secondary-dark);
  margin-top: 12px;
}

.actualite-teaser__title {
  font-weight: 700;
  color: var(--color-dark);
  font-size: var(--content-size--l);
  line-height: 1.3;
  flex-grow: 1;
}

.actualite-teaser__cta {
  font-size: var(--content-size--s);
  color: var(--color-tertiary--dark);
}



.actualite--teaser-block-page .pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .3rem;
  margin: 2rem 0;
  list-style: none;
  padding: 0;
}

.actualite--teaser-block-page .pager__item {
  padding: .5em .3rem;
}

.actualite--teaser-block-page .pager__item--first,
.actualite--teaser-block-page .pager__item--last {
  display: none;
}

.actualite--teaser-block-page .pager__item--previous a,
.actualite--teaser-block-page .pager__item--next a {
  display: block;
  width: 52px;
  height: 52px;
  background: url('../../images/actualite/orange-arrow.svg') center/contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  transition: opacity .3s ease, transform .3s ease;
  transform: scale(1);
}

.actualite--teaser-block-page .pager__item--next a {
  transform: rotate(180deg) scale(1);
}

.actualite--teaser-block-page .pager__item--previous a:hover,
.actualite--teaser-block-page .pager__item--next a:hover {
  opacity: 1.1;
  transform: scale(1.1);
}

.actualite--teaser-block-page .pager__item--next a:hover {
  transform: rotate(180deg) scale(1.1);
}

.actualite--teaser-block-page .pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(.pager__item--last) a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 35px;
  padding: 0 .6rem;
  background: transparent;
  color: var(--color-dark, #333);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--content-size--l);
  transition: color .3s ease, letter-spacing .3s ease;
}

.actualite--teaser-block-page .pager__item.is-active a {
  font-weight: 700!important;
  color: var(--color-tertiary)!important;
}

.actualite--teaser-block-page .pager__item a:hover {
  color: var(--color-tertiary)!important;
  letter-spacing: .5px;
}

.actualite--teaser-block-page .pager__item--previous a *,
.actualite--teaser-block-page .pager__item--next a * {
  display: none;
}

.actualites-page-title {
  color: var(--color-primary);
  font-size: var(--heading-size--m);
  text-align: center;
  font-weight: 800;
  padding: 1.5rem 0 2rem 0;
  margin: 0;
}

@media (min-width: 768px) {
  .actualites-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actualite--teaser-block-page .pager__items {
    gap: .5rem 0;
  }

  .actualite--teaser-block-page .pager__item:not(.pager__item--previous):not(.pager__item--next):not(.pager__item--first):not(.pager__item--last) a {
    min-width: 40px;
    height: 40px;
    padding: 0 .8rem;
  }
  .actualites-page-title {
    padding: 3rem 0 6rem 0;
  }
}

@media (min-width: 1000px) {
  .actualites-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .actualite-teaser__category,
  .actualite-teaser__title,
  .actualite-teaser__cta {
    padding: 0 2rem;
  }
  .actualite-teaser__wrapper {
    max-width: 405px;
  }
}
