/* ==========================================================================
   Impression

   Les blocs de contenu sont masqués par défaut, .reveal les révèle au
   défilement. À l'impression aucun défilement n'a lieu, la page sortait donc
   blanche. On les rend visibles, on retire les aplats et on ne garde que ce
   qu'un patient vient chercher sur papier, l'adresse, les horaires, le
   téléphone.
   ========================================================================== */

@media print {
  .reveal,
  .band-content > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .site-header,
  .skip-link,
  .nav-toggle,
  .site-nav,
  .band-video,
  .band-shade,
  .band-actions,
  .footer-social,
  .callout-actions,
  .office-actions,
  .section-foot,
  #map,
  .office-front,
  .map-note {
    display: none !important;
  }

  body,
  .band,
  .callout,
  .page-hero,
  .site-footer,
  main > .section,
  .card,
  .reference,
  .affiliation,
  .timeline {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .site-footer,
  main > .section {
    clip-path: none !important;
  }

  .band,
  .page-hero {
    padding-top: 0;
  }

  .band-lead,
  .band-list,
  .callout p,
  .prose p,
  .card-body p {
    color: #000 !important;
  }

  /* Les illustrations de thème ne portent aucune information. */
  .card-media,
  .theme-panel,
  .expertise-media {
    display: none !important;
  }

  .card,
  .reference,
  .office-card,
  .person,
  .timeline {
    break-inside: avoid;
  }

  a {
    text-decoration: none;
  }

  /* L'adresse d'un lien externe est perdue sur papier, on l'imprime. */
  .prose a[href^="http"]::after,
  .footer-links a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    word-break: break-all;
  }
}
