/* Feuille de style d'impression de la fiche notaire. */

@page { margin: 14mm; }

html { font-size: 62.5%; }

body {
  background: #fff !important;
  color: #000 !important;
  font-size: 1.2rem;
}

.header,
.burger-panel,
.burger-overlay,
.skip-links,
.footer,
.back-to-top,
.office-sheet__header-tools,
.social-share-selection,
.back-link-wrap,
.office__nav-bar,
.toggle-map-form,
.map__buttons,
.office__infos {
  display: none !important;
}

.content-tools,
.glossary-tooltip,
.glossary__az,
.toc,
.arrow-link,
.content-list__more {
  display: none !important;
}

.wrap, .wrap-narrow { width: 100%; max-width: none; }

/* Pages éditoriales */
.content-layout { display: block !important; }
.theme__header--image { min-height: 0; color: #000 !important; background-image: none !important; padding: 0 0 10px; }
.theme__header--image::before { display: none; }
.theme__header--image .breadcrumb__list,
.theme__header--image .breadcrumb__list a,
.theme__header--image .breadcrumb__current { color: #000 !important; }
.theme-h1__title, .theme__updated-date { text-align: left; }

.content-list__items { display: block !important; }
.content-card { background: #fff !important; border: 1px solid #999; padding: 10px 12px; margin-bottom: 8px; page-break-inside: avoid; }
.richtext { font-size: 1.15rem; }
.richtext h2, .richtext h3 { page-break-after: avoid; }

/* Les réponses de FAQ sont dépliées à l'impression */
.accordion__panel[hidden] { display: block !important; }
.accordion__trigger .icon { display: none; }

.office-sheet__header::after { display: none; }

.h1 { font-size: 2rem; text-align: left; }
.office-sheet__header-title { flex-direction: row; align-items: center; gap: 12px; }

.section-title { font-size: 1.6rem; margin-bottom: 10px; page-break-after: avoid; }

.office-layout,
.office-layout.map-is-visible { display: block !important; }

.card {
  background: #fff !important;
  border: 1px solid #999;
  border-radius: 6px;
  padding: 14px 16px;
  page-break-inside: avoid;
}
.card__bubble { display: none !important; }

.office-sheet__geo-coordinates iframe { height: 260px; }
.map-wrapper { border: 1px solid #999; }

/* Affiche les URL des liens externes */
a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
a[href^="#"]::after,
a[href^="/"]::after { content: none; }

/* Lexique */
.glossary-link { border-bottom: 0; }
.glossary__terms { display: block !important; }
.glossary__term a { background: #fff !important; padding: 4px 0; }
.glossary__term { page-break-inside: avoid; }
.glossary__definition { background: #fff !important; border: 1px solid #999; border-left-width: 4px; }
