/* GCGT — Article du Journal (modèle single « Article », FR et EN)
   Illustration en tête, puis titre et date, chapô et texte sur la largeur de lecture. */

.article__corps {
  display: flex;
  flex-direction: column;
}

/* — Illustration — */
.journal-illustration {
  margin: 0;
}
.journal-illustration img {
  display: block;
  width: 100%;
  height: auto;
}
.journal-illustration__legende {
  margin-top: var(--esp-xs);
  text-align: start;
  max-width: var(--largeur-texte);
}

/* — Titre et date — */
.article__entete {
  display: flex;
  flex-direction: column;
  gap: var(--esp-s);
  margin-top: var(--esp-l);
  max-width: var(--largeur-texte);
}
.article__titre {
  margin: 0;
}
.article__date {
  color: var(--gris);
}

/* — Chapô et texte — */
.article__corps > .brxe-shortcode:empty {
  display: none;
}
.article__chapo {
  margin: var(--esp-m) 0 0;
  font-style: italic;
  font-size: var(--titre-s);
  line-height: 1.35;
}
.article__texte {
  margin-top: var(--esp-l);
  max-width: var(--largeur-texte);
  font-family: var(--police-texte);
  font-size: var(--texte-m);
  line-height: 1.6;
  color: var(--encre);
  hyphens: auto;
}
.article__texte > :first-child {
  margin-top: 0;
}
.article__texte p {
  margin: 0 0 .8em;
}
.article__texte h2 {
  margin: 1.6em 0 .5em;
  font-family: var(--police-titre);
  font-size: var(--titre-s);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  hyphens: manual;
}
.article__texte h3 {
  margin: 1.4em 0 .4em;
  font-family: var(--police-titre);
  font-size: var(--texte-l);
  font-weight: 600;
  line-height: 1.3;
  hyphens: manual;
}
.article__texte ul,
.article__texte ol {
  margin: 0 0 .8em;
  padding-left: 1.2em;
}
.article__texte li {
  margin-bottom: .3em;
}
.article__texte blockquote {
  margin: 1.2em 0;
  font-style: italic;
}
.article__source {
  margin: var(--esp-m) 0 0;
  max-width: var(--largeur-texte);
}
/* — Relance : question + flèche, formulaire de contact déplié au clic — */
.article__relance {
  width: 100%;
  margin-top: var(--esp-m);
}
.article__relance-bouton {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  max-width: var(--largeur-texte);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--police-texte);
  font-style: italic;
  font-size: var(--texte-m);
  line-height: 1.6;
  text-align: start;
  color: var(--encre);
  cursor: pointer;
  transition: color .25s;
}
.article__relance-bouton:hover,
.article__relance-bouton:focus-visible {
  color: var(--rouge);
}
.article__relance-fleche {
  flex: none;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M536.92-480.62 342.77-675.15l32.61-32.62 226.77 227.15-226.77 226.77-32.61-32.61 194.15-194.16Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M536.92-480.62 342.77-675.15l32.61-32.62 226.77 227.15-226.77 226.77-32.61-32.61 194.15-194.16Z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.article__relance-bouton:hover .article__relance-fleche {
  transform: translateX(4px);
}
.article__relance.est-ouvert .article__relance-fleche {
  transform: rotate(90deg);
}
.article__relance-panneau {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  opacity: 0;
  transition: grid-template-rows .5s cubic-bezier(.25,.8,.25,1), opacity .35s;
}
.article__relance.est-ouvert .article__relance-panneau {
  grid-template-rows: 1fr;
  opacity: 1;
}
.article__relance-interieur {
  min-height: 0;
  overflow: hidden;
  width: 100%;
}
.article__relance-interieur .atelier-contact {
  padding: var(--esp-l) 0 0;
  margin: 0;
}
.article__relance-interieur .atelier-contact > .brxe-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
/* La question tient lieu de titre : on masque le libellé, le titre et l'introduction du composant. */
.article__relance-interieur .atelier-contact > .brxe-container > :not(.atelier-contact-grille) {
  display: none;
}
.article__relance-interieur address {
  font-style: normal;
}
@media (prefers-reduced-motion: reduce) {
  .article__relance-panneau,
  .article__relance-fleche {
    transition: none;
  }
}

/* — Pied d'article : rubrique et étiquettes, partage — */
.article__pied {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--esp-s) var(--gouttiere);
  margin-top: var(--esp-xl);
  padding: var(--esp-m) 0;
  border-top: var(--trait);
  width: 100%;
}
.article__pied > .brxe-shortcode {
  width: auto;
}
.article__partage-bloc {
  width: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  margin-left: auto;
}
.article__partage-libelle {
  margin: 0;
  color: var(--gris);
}
.article__filtres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 44px;
  gap: var(--esp-xs) 1.25rem;
}
.article__filtre {
  font-family: var(--police-titre);
  font-size: var(--texte-s);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-feature-settings: "case", "lnum";
  color: var(--gris);
  text-decoration: none;
  transition: color .25s;
}
.article__filtre--rubrique {
  color: var(--encre);
}
.article__filtre:hover,
.article__filtre:focus-visible {
  color: var(--rouge);
}

/* Partage : logos en noir (blanc en mode sombre), sans couleur de marque. */
.article__partage.brxe-post-sharing {
  display: flex;
  flex-wrap: nowrap;
  gap: .25rem;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
  position: relative;
  left: 12px; /* aligne le dernier logo sur le filet (zone de clic de 44 px) */
  padding: 0;
  list-style: none;
}
.article__partage li {
  margin: 0;
}
.article__partage a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none !important;
  color: var(--encre);
  transition: color .25s;
}
.article__partage svg {
  width: 20px;
  height: 20px;
  fill: currentColor !important;
}
.article__partage svg path {
  fill: currentColor;
}
.article__partage a:hover,
.article__partage a:focus-visible {
  color: var(--rouge);
}

/* — Article précédent / suivant — */
.article__nav {
  width: 100%;
}
.article__nav .projets-nav {
  border-top: 0;
  padding-top: var(--esp-m);
}
/* — Mesure : 55 à 75 signes par ligne (ch = largeur du zéro dans la police de l'élément) — */
.article__texte,
.article__source {
  max-width: min(var(--largeur-texte), 56ch);
}
.article__chapo {
  max-width: 56ch;
}
.journal-illustration__legende {
  max-width: 64ch;
}