/* Photos des pages de lecture uniquement : aucun changement de taille,
   de cadrage ou de flottement des images et des modèles SPIP. */
.bgz-photo-reading .spip_document_image {
  margin-bottom: 18px;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead) .spip_doc_inner {
  margin-bottom: 0;
}
/* Le conteneur de Une porte l'espacement final, sans cumul avec le modèle. */
.bgz-photo-reading .bgz-photo-lead {
  margin: 0 0 18px;
}
.bgz-photo-reading .bgz-photo-lead .spip_document_image {
  margin-bottom: 0;
}
/* Le modèle natif ne produit ce conteneur que si un champ est renseigné. */
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead) .spip_doc_legende {
  margin: 6px 0 0;
  padding: 0;
  font: italic 400 13px/1.5 'Montserrat', 'Roboto', sans-serif;
  color: #60636B;
  text-align: left;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
:is(.spip_doc_titre, .spip_doc_descriptif) {
  margin: 0;
  font: inherit;
  color: inherit;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
.spip_doc_titre strong {
  font-weight: inherit;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
.spip_doc_titre + .spip_doc_descriptif {
  margin-top: 2px;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
:is(.spip_doc_credits, .spip_doc_credit) {
  margin: 0;
  font: normal 400 11px/1.4 'Montserrat', 'Roboto', sans-serif;
  color: #777777;
  text-align: left;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
:is(.spip_doc_titre, .spip_doc_descriptif) + :is(.spip_doc_credits, .spip_doc_credit) {
  margin-top: 2px;
}
/* Neutraliser les marges et la typographie des paragraphes du thème,
   uniquement à l'intérieur des légendes photographiques. */
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
.spip_doc_legende p {
  margin: 0;
  font: inherit;
  color: inherit;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
.spip_doc_legende p + p {
  margin-top: 2px;
}
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
.spip_doc_legende a {
  color: inherit;
}
/* Rétrocompatibilité locale : un <small>, même imbriqué, reste à 11px.
   Aucun contenu supprimé, aucun changement des autres <small> du site. */
.bgz-photo-reading :is(.spip_document_image, .bgz-photo-lead)
:is(.spip_doc_credits, .spip_doc_credit) small {
  font: inherit;
  color: inherit;
}
