.heritage-reference{margin-block:2.5rem;scroll-margin-top:7rem;overflow-wrap:anywhere}.heritage-facts{margin:1.5rem 0;border-top:1px solid var(--sand)}.heritage-facts>div{padding:.8rem 0;border-bottom:1px solid var(--sand)}.heritage-facts dt{font-weight:700}.heritage-facts dd{margin:.3rem 0 0}.heritage-sources{padding:1.2rem;background:var(--cream);border-radius:12px;margin-block:1.5rem}.heritage-sources h3{margin-top:0}.heritage-filter{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;padding:1rem;background:var(--cream);border-radius:12px}.heritage-filter[hidden],[data-heritage-text][hidden],[data-heritage-empty][hidden]{display:none}.heritage-filter>div{flex:1 1 240px;min-width:0}.heritage-filter label{display:block;font-weight:700;margin-bottom:.5rem}.heritage-filter input{width:100%;min-width:0;padding:.8rem;border:1px solid var(--muted);border-radius:7px;font:inherit;background:#fff}.heritage-filter p{flex-basis:100%;margin:0}.heritage-table{width:100%;max-width:100%;overflow:auto;border:1px solid var(--sand);border-radius:12px;overscroll-behavior-x:contain}.heritage-table table{border-collapse:collapse;width:100%;min-width:720px;table-layout:fixed;font-size:.95rem}.heritage-table caption{padding:1rem;text-align:left}.heritage-table th,.heritage-table td{padding:1rem;text-align:left;vertical-align:top;white-space:normal;border-bottom:1px solid var(--sand);width:27%}.heritage-table tr>th:first-child{width:19%}.heritage-table thead th{background:var(--ink);color:#fff}.heritage-table tbody th{background:var(--cream)}.heritage-table :focus-visible,.heritage-filter :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.heritage-table:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.heritage-reference .field-photo{margin:1.8rem 0}.heritage-reference .field-photo img,[id^="photo-patrimoine-"] img{display:block;width:100%;height:auto;max-height:660px;object-fit:contain;aspect-ratio:auto;background:var(--cream)}@media print{.heritage-filter{display:none}.heritage-table{overflow:visible}.heritage-table table{min-width:0}}
