/* Impression : rendu propre des communiqués et prises de parole,
   utilisable seule si aucune bibliothèque PDF n'est employée. */
@media print {
  @page { size: A4; margin: 18mm 16mm 20mm; }

  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; line-height: 1.5; }

  .entete__actions, .navigation, .bouton-menu, .bouton-theme, .recherche, .filtres,
  .pagination, .partage, .lien-evitement, .panneau-lateral, .section--alt,
  .admin__lateral, .barre-outils, .barre-actions, .bandeau-statut, form { display: none !important; }

  .entete, .pied { background: #fff !important; color: #000 !important; border: 0; }
  .entete { border-bottom: 1pt solid #000; padding-bottom: 6pt; margin-bottom: 12pt; }
  .marque__logo { border: 0; padding: 0; color: #000; }
  .marque__sous, .pied__statut { color: #333 !important; }
  .pied { border-top: .5pt solid #999; margin-top: 18pt; padding-top: 8pt; font-size: 8.5pt; }
  .pied a { color: #000; }

  .conteneur, .colonnes, .article__corps, .mesure { max-width: none; width: auto; padding: 0; margin: 0; display: block; }

  h1 { font-size: 19pt; margin-bottom: 6pt; }
  h2 { font-size: 13pt; margin-top: 14pt; page-break-after: avoid; }
  h3 { font-size: 11.5pt; page-break-after: avoid; }
  p, li, blockquote { orphans: 3; widows: 3; }
  .article__chapo { font-size: 12pt; font-weight: 600; }
  .meta { font-size: 8.5pt; color: #444; border-bottom: .5pt solid #999; padding-bottom: 5pt; }

  img, figure, table, blockquote { page-break-inside: avoid; max-width: 100% !important; }
  table { border-collapse: collapse; width: 100%; font-size: 9.5pt; }
  th, td { border: .5pt solid #666; padding: 4pt 5pt; }

  /* Les URL des liens sont explicitées sur papier. */
  .article__corps a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #444; word-break: break-all; }
  a { color: #000; text-decoration: underline; }

  .encadre { border: .5pt solid #999; padding: 8pt; page-break-inside: avoid; }
  .etiquette { border: .5pt solid #666; color: #000; }
}
