/* Gabarit « Articles - Archive » — templates/blogue.php. Chargé après site.css. */

.blogue-en-tete > .rv-section__inner {
  padding-bottom: 50px;
}

.blogue-section__filtres {
  display: flex;
}

.blogue-section__column {
  width: 100%;
}

.carte-article__thumb {
  height: 400px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

@media (max-width:767px) {
  .carte-article__thumb {
    width: 100%;
    height: 325px;
  }
}

.blogue-section__text {
  min-width: 200px;
}

body .carte-article__text.c-text-xl {
  padding-bottom: 0px;
}

body .blogue-section__blog-repeater.c-columns-gap-l {
  flex-direction: row;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  width: 100%;
  flex-wrap: wrap;
}

body .blogue-section__blog-repeater.c-columns-gap-l .rv-pagination__inner {
  font-size: 17px;
  color: color(23);
  margin-top: 50px;
  width: 100%;
}

body .blogue-section__blog-repeater.c-columns-gap-l .rv-pagination__inner a.page-numbers {
  color: color(21);
}

body .blogue-section__blog-repeater.c-columns-gap-l .rv-pagination {
  justify-content: center;
}

body .blogue-section__blog-repeater.c-columns-gap-l .rv-pagination__inner a {
  background-color: color(22);
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 7px;
}

body .blogue-section__blog-repeater.c-columns-gap-l .rv-pagination__inner span.current {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.rv-facet.blogue-section__facet .wpgb-facet ul:first-child,
.rv-facet.blogue-section__facet .wpgb-facet ul:first-child + ul {
  justify-content: flex-start;
}

.rv-facet.blogue-section__facet li > [role="button"] {
  background-color: rgba(0,0,0,0);
  border_radius_border-radius: 33px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-color: rgba(0,0,0,0);
  border-right-color: rgba(0,0,0,0);
  border-bottom-color: rgba(0,0,0,0);
  border-left-color: rgba(0,0,0,0);
  border-radius: 33px;
  padding-top: 10px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 15px;
  margin-left: clamp(12px,3.5vmin,30px);
}

.rv-facet.blogue-section__facet li > [role="button"][aria-pressed]:hover {
  background-color: #0b354e;
  border-color: #02304c;
}

.rv-facet.blogue-section__facet li > [role="button"][aria-pressed="true"] {
  background-color: #0b354e;
  border-color: #02304c;
}

.rv-facet.blogue-section__facet li [class^="wpgb-"][class$="-label"] {
  font-size: 19px;
}

.rv-facet.blogue-section__facet [aria-pressed]:hover [class^="wpgb-"][class$="-label"] {
  color: #ffffff;
}

.rv-facet.blogue-section__facet .wpgb-facet ul:first-child,
.rv-facet.blogue-section__facet .wpgb-facet ul:first-child + ul,
.rv-facet.blogue-section__facet .wpgb-facet li[aria-expanded="true"] > ul,
.rv-facet.blogue-section__facet .wpgb-facet li:not([aria-expanded]) > ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-direction: row;
}

.rv-facet.blogue-section__facet .wpgb-facet ul.wpgb-expanded li[hidden] {
  display: block;
}

.rv-facet.blogue-section__facet .wpgb-facet ul li {
  margin: 0 0 var(--wpgb-choices-vertical-spacing) 0;
}

.rv-facet.blogue-section__facet .wpgb-facet ul ul {
  margin-top: var(--wpgb-choices-vertical-spacing);
}

.rv-facet.blogue-section__facet .wpgb-facet ul ul li:last-child {
  margin-bottom: 0;
}

.rv-facet.blogue-section__facet .wpgb-facet ul:first-child + ul {
  margin-top: var(--wpgb-choices-vertical-spacing);
}

.rv-facet.blogue-section__facet .wpgb-facet ul:first-child,
.rv-facet.blogue-section__facet .wpgb-facet ul:first-child + ul {
  margin-bottom: calc(-1 * var(--wpgb-choices-vertical-spacing));
}

.rv-facet.blogue-section__facet .wpgb-facet ul li {
  margin-right: var(--wpgb-choices-horizontal-spacing);
}

.rv-facet.blogue-section__facet .wpgb-facet ul li[aria-expanded] li:last-child {
  margin-right: 0;
}

.rv-facet {
  width: 100%;
}

.rv-facet .wpgb-facet > fieldset:last-child,
.rv-facet .wpgb-facet > .wpgb-button {
  margin-bottom: 0;
}

.rv-facet.blogue-section__facet {
  choices-direction: row;
}

body .blogue-section__blog-repeater.c-columns-gap-l:not(:focus-visible) {
  outline: none;
}

/* Téléphone : libellé « Par catégorie » au-dessus des filtres, filtres sur toute la largeur (le libellé de
   200 px et les marges coupaient « Actualités » en « Actualit-és »). */
@media (max-width: 767px) {
  body .blogue-section__filtres.c-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-space);
  }
  .blogue-section__facet {
    width: 100%;
  }
  .rv-facet.blogue-section__facet .wpgb-facet ul {
    flex-wrap: wrap;
    gap: 8px;
  }
  .rv-facet.blogue-section__facet li > [role="button"] {
    margin-left: 0;
    min-height: 44px;
  }
}
