/* La Minute Femme : compléments propres à WordPress (le reste vient de maquette.css). */

/* Barre d'administration (connectée) : l'en-tête flottant et le crayon passent dessous. */
.admin-bar .entete, .admin-bar .lecture { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete, .admin-bar .lecture { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Article sans image à la une : fond de la couleur de la rubrique. */
.image-vide {
  display: block; width: 100%; height: 100%; min-height: 120px; aspect-ratio: 4 / 3;
  background: var(--teinte, var(--rosee, #f7efe9)) var(--grain);
}
.cliche__photo .image-vide { min-height: 0; }
.vignette__media .image-vide, .livre__photo .image-vide { aspect-ratio: 4 / 3; }
.suspendu__photo .image-vide { aspect-ratio: 1 / 1; }

/* Contenu saisi dans l'éditeur : images, légendes, tableaux, citations, vidéos. */
.corps img, .prose img { height: auto; border-radius: 12px; }
.corps figure, .prose figure { margin: 1.6em 0; max-width: 100%; }
.corps figcaption, .prose figcaption, .wp-caption-text {
  margin-top: 8px; font-family: var(--f-ui, sans-serif); font-size: 14px; color: #6b5b4b;
}
.corps .wp-block-image, .corps .wp-caption { max-width: 100%; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.corps table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.corps th, .corps td { padding: 10px 12px; border-bottom: 1px solid rgba(23, 23, 23, .18); text-align: left; vertical-align: top; }
.corps th { font-family: var(--f-ui, sans-serif); font-size: 14px; letter-spacing: .02em; }
.corps .wp-block-table { overflow-x: auto; margin: 1.4em 0; }
.corps blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--marqueur, #ff6f1e); font-style: italic; }
.corps iframe, .corps video, .corps embed { max-width: 100%; }
.corps .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.corps::after, .prose::after { content: ""; display: block; clear: both; }

/* Texte réservé aux lecteurs d'écran (classe WordPress). */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Contact : message après l'envoi. */
.formulaire__retour { margin: 0 0 18px; padding: 12px 16px; border: 2px solid var(--encre, #171717); border-radius: 12px; background: #eaf8ee; }
.formulaire__retour--incomplet, .formulaire__retour--erreur, .formulaire__retour--attente { background: #fff2c2; }

/* Recherche : résultats en liste. */
.recherche__resultats { list-style: none; padding: 0; margin-top: 30px; }
.recherche .rubriques-pilules { margin-top: 30px; }

/* Pagination : trou entre deux numéros. */
.onglet--trou { pointer-events: none; }

/* Page « La rédaction » : texte libre sous le tableau. */
.liege__mot p { margin: 0; }
