/*

BLOG

*/
/* Listing */
.list-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 58px;
}

#wrapperInner ul li.list-categories__categorie::before {
  content: unset;
}

.list-categories__categorie {
  font-size: 1.4rem;
  text-transform: uppercase;
  background-color: var(--gray-100);
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: var(--bold);
  transition: all .2s;
}

@media (max-width: 767px) {
  .list-categories__categorie {
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) {
  .list-categories__categorie {
    margin-bottom: 0;
  }
}

.list-categories__categorie:hover,
.list-categories__categorie.active {
  background-color: var(--gray-400);
}

.list-categories__categorie:not(:first-child) {
  margin-left: 12px;
}

.list-categories__categorie a {
  color: var(--blue-dark);
}

.blog__main {
  padding: 50px 0 42px;
}

@media (max-width: 767px) {
  .blog #wrapper {
    padding: 30px 0 0;
  }
}

@media (min-width: 768px) {
  .blog #wrapper {
    padding: 72px 0 0;
  }
}

.headerPage__picture {
  width: 100%;
  aspect-ratio: 768 / 473;
}

.headerPage__blog h1 {
  margin-bottom: 43px;
}

@media (max-width: 767px) {
  .headerPage__blog {
    padding: 0;
  }

  .headerPage__blog .breadcrumb {
    margin-bottom: 15px;
  }
}


/* Résumé */
.tease__item {
  overflow: hidden;
  background-color: var(--gray-100);
  position: relative;
  height: 100%;
}

.tease__item>a {
  display: flex;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all .2s;
}

.tease__item>a:hover {
  background-color: var(--yellow);
}

.tease__item span.icon-arrow-long {
  transform: scaleX(-1);
  transition: transform .2s;
}

.tease__item>a:hover span.icon-arrow-long {
  transform: scaleX(-1) translateX(5px);
}

.tease-post {
  padding: 0 8px;
  margin-bottom: 16px;
}

@media (max-width:767px) {
  .tease-post {
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) {

  .tease-post:nth-child(6n+1),
  .tease-post:nth-child(6n+2) {
    flex: 0 0 50%;
  }

  .tease-post:nth-child(6n+3),
  .tease-post:nth-child(6n+4),
  .tease-post:nth-child(6n+5),
  .tease-post:nth-child(6n+6) {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {

  .tease-post:nth-child(6n+3),
  .tease-post:nth-child(6n+4),
  .tease-post:nth-child(6n+5),
  .tease-post:nth-child(6n+6) {
    flex: 0 0 25%;
  }
}

.tease-post:nth-child(6n+1) .tease-post_picture,
.tease-post:nth-child(6n+2) .tease-post_picture {
  aspect-ratio: 572 / 353;
}

.tease-post:nth-child(6n+3) .tease-post_picture,
.tease-post:nth-child(6n+4) .tease-post_picture,
.tease-post:nth-child(6n+5) .tease-post_picture,
.tease-post:nth-child(6n+6) .tease-post_picture {
  aspect-ratio: 279 / 160;
}

@media (max-width: 1199px) {

  .tease-post:nth-child(6n+1) .tease__content,
  .tease-post:nth-child(6n+2) .tease__content {
    padding: 18px 20px 98px;
  }
}

@media (min-width: 1200px) {

  .tease-post:nth-child(6n+1) .tease__content,
  .tease-post:nth-child(6n+2) .tease__content {
    padding: 18px 98px 18px 35px;
  }
}

.tease-post:nth-child(6n+3) .tease__content,
.tease-post:nth-child(6n+4) .tease__content,
.tease-post:nth-child(6n+5) .tease__content,
.tease-post:nth-child(6n+6) .tease__content {
  padding: 18px 20px 60px;
}

.tease__content h2 {
  font-weight: var(--light);
  margin-bottom: 10px;
}

.tease__content h2 a {
  color: var(--color-primary);
}

.tease__content .more {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--color-primary);
}

.tease__content-category {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: var(--bold);
  text-transform: uppercase;
}

.list-posts {
  margin-bottom: 26px;
}

.tease-news {
  padding: 0 8px;
  margin-bottom: 16px;
}

.tease-news .tease-post_picture {
  aspect-ratio: 279 / 160;
}

.tease-news .tease__content {
  padding: 18px 20px 60px;
}
