/*
 * Un article du site (single.php).
 * Une colonne de lecture de 720 px, centrée, SANS carte : la date, le titre,
 * le visuel en entier (les visuels du club portent du texte, on ne les rogne
 * pas), le texte, puis « Précédent / Suivant » sur un filet. La publication
 * Instagram suit la même colonne (extensions/cnpr-instagram.css).
 * ========================================================================= */
.billet {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
}

.billet__retour { margin: 28px 0 22px; font-size: 15px; }
.billet__retour a {
  color: var(--soleil-gris);
  font-weight: 600;
  text-decoration: none;
}
.billet__retour a:hover,
.billet__retour a:focus-visible { color: var(--soleil-marine); text-decoration: underline; text-underline-offset: 3px; }

.billet__tete { margin-bottom: 26px; }
.page-standard .billet__date {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--soleil-fond);
}
.billet__tete h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  color: var(--soleil-marine);
}

.billet__visuel { margin: 0 0 30px; }
.billet__visuel a { display: block; cursor: zoom-in; }
.billet__visuel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: var(--soleil-eau);
}

/* Le texte : 18 px, une mesure d'environ 70 signes, des intertitres qui
   respirent au-dessus et collent à ce qu'ils annoncent. */
.billet__corps {
  font-size: 18px;
  line-height: 1.7;
  color: var(--soleil-encre);
}
.billet__corps > :first-child { margin-top: 0; }
.billet__corps > :last-child { margin-bottom: 0; }
.billet__corps p { margin: 0 0 1em; color: var(--soleil-encre); }
.billet__corps h2 {
  margin: 1.9em 0 .5em;
  font-size: 23px;
  line-height: 1.25;
  color: var(--soleil-marine);
}
.billet__corps h3 {
  margin: 1.6em 0 .4em;
  font-family: var(--soleil-texte);
  font-size: 19px;
  font-weight: 700;
  color: var(--soleil-marine);
}
.billet__corps ul,
.billet__corps ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.billet__corps li { margin-bottom: .35em; }
.billet__corps li::marker { color: var(--soleil-piscine); }
.billet__corps a:not(.wp-element-button) {
  color: var(--soleil-marine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--soleil-ciel);
  text-underline-offset: 3px;
}
.billet__corps a:not(.wp-element-button):hover { text-decoration-color: currentColor; }
.billet__corps strong { color: var(--soleil-marine); }
.billet__corps img { max-width: 100%; height: auto; border-radius: 18px; }

/* Un bouton dans un article est une action (s'inscrire, voir les tarifs) :
   la pilule jaune du site. */
.billet__corps .wp-block-buttons { margin: 1.4em 0; }
.billet__corps .wp-block-button__link {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--soleil-jaune);
  color: var(--soleil-marine);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.billet__corps .wp-block-button__link:hover,
.billet__corps .wp-block-button__link:focus-visible { background: var(--soleil-jaune-fonce); color: var(--soleil-marine); }

@media (max-width: 600px) {
  .billet__retour { margin-top: 18px; }
  .billet__corps { font-size: 17px; }
  .billet__corps h2 { font-size: 20px; }
  .billet__visuel img { border-radius: 18px; }
}
