.acf-block-index-theme-articles {
  max-width: var(--wp--style--global--content-size);
  width: 100%;
  margin-right: var(--wp--style--root--padding-right);
  margin-left: var(--wp--style--root--padding-left);
}

.acf-block-index-theme-articles button {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
  border: 2px solid var(--wp--preset--color--primary);
  padding: 10px 15px;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--circular-standard);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 500;
  width: fit-content;
}

.acf-block-index-theme-articles button.active {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}

.acf-block-index-theme-articles-buttons-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--wp--preset--color--grey);
  padding: 26px 0;
}
.acf-block-index-theme-articles-subject {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.acf-block-index-theme-articles-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.fccq-article-index-category-item {
  width: fit-content;

  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  padding: 10px;
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
}

.acf-block-index-theme-articles-label-link {
  text-decoration: none;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
  padding: 5px 10px;
  font-size: 15px;
}
.acf-block-index-theme-articles-subject-wrapper {
  height: 0;
  overflow: hidden;
}
.acf-block-index-theme-articles-types-wrapper {
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--wp--preset--color--grey);
}
.acf-block-index-theme-articles-showcasing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4%;
  width: 100%;
  cursor: pointer;
  margin-bottom: 40px;
}
.acf-block-index-theme-articles-showcasing-item:hover svg {
  transform: translateY(-5px);
}
.acf-block-index-theme-articles-showcasing-item {
  width: 48%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.acf-block-index-theme-articles-showcasing-item-image {
  width: 100%;
  padding-bottom: calc(100% * 9 / 16);
  background-color: var(--wp--preset--color--bleu-clair);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
  position: relative;
}

.acf-block-index-theme-articles-showcasing-item-image.no-bg {
  padding-bottom: 0;
  min-height: 160px;
}

.acf-block-index-theme-articles-showcasing-item-info {
  padding: 20px 0;
  color: var(--wp--preset--color--primary);
  width: 100%;
}
.acf-block-index-theme-articles-showcasing-item-info p {
  margin: 5px 0;
}
.acf-block-index-theme-articles-showcasing-item-info h3 {
  margin: 0;
  font-size: 25px;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: var(--wp--custom--typography--line-height--medium);
}
.acf-block-index-theme-articles-showcasing-item-info-wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
  border-bottom: 1px solid var(--wp--preset--color--primary);
  background-color: transparent;
}
.acf-block-index-theme-articles-showcasing-item-arrow {
  display: flex;
  align-items: end;
}
.acf-block-index-theme-articles-showcasing-item-arrow svg {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
  transition: 0.2s;
}
.nav-links {
  justify-content: end;
  margin-top: 40px;
  margin-bottom: 20px;
}

.fccq-article-index-category-absolute {
  position: absolute;
  bottom: 0;
  right: 10px;
}
.fccq-article-index-category {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .acf-block-index-theme-articles-showcasing {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  .acf-block-index-theme-articles-showcasing-item {
    width: 100%;
  }
}
