/* History & Heritage; shared typography and guide layout stay in the existing files. */
.heritage-hero{gap:60px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.heritage-hero h1{font-size:clamp(53px,5.1vw,75px)}
.heritage-hero .guide-lede{max-width:505px}
.heritage-hero-figure{max-width:400px}
.heritage-photo{display:block;position:relative;background:var(--paper-dark);border:1px solid var(--line);overflow:hidden}
.heritage-photo img{display:block;width:100%;height:auto}
.heritage-hero-photo{height:455px;display:flex;align-items:center;justify-content:center;padding:17px;box-shadow:9px 9px 0 #cbb49c26}
.heritage-hero-photo img{width:auto;max-width:100%;height:100%;object-fit:contain}
.heritage-photo:hover .guide-enlarge,.heritage-photo:focus-visible .guide-enlarge{background:var(--red);color:var(--paper);border-color:var(--red)}
.heritage-hero-figure figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:12px}
.heritage-hero-figure figcaption strong{font:27px/1.3 var(--serif);margin-top:3px}
.heritage-kicker{display:block;color:var(--red);font:700 10px/1.6 var(--sans);letter-spacing:1.5px;text-transform:uppercase}
.heritage-rights{font-size:10px;letter-spacing:.8px;text-transform:uppercase}
.heritage-map-study{margin:32px 0 0;padding:24px;border:1px solid var(--line);background:#eee3d180}
.heritage-feature-heading h3{margin:7px 0 22px;font-size:32px;line-height:1.2}
.heritage-region-map{display:block;width:100%;height:auto}
.heritage-map-key{display:none}
.heritage-map-study figcaption{margin-top:17px;font:12px/1.8 var(--sans);color:var(--muted)}
.heritage-form-table table{min-width:610px}
.heritage-form-table caption{padding:13px 18px;text-align:left;border-bottom:1px solid var(--line);font:700 10px/1.6 var(--sans);letter-spacing:1.4px;text-transform:uppercase;color:var(--red);background:#f6f0e5}
.heritage-form-table tbody th{width:24%}
.heritage-form-table td:nth-child(2){width:32%}
.heritage-table-hint{display:none}
.heritage-objects{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:22px;margin:32px 0 36px;scroll-margin-top:28px}
.heritage-object{margin:0;min-width:0}
.heritage-object>.heritage-kicker{margin-bottom:11px}
.heritage-object .heritage-photo{height:270px;padding:14px;display:flex;align-items:center;justify-content:center}
.heritage-object .heritage-photo img{width:100%;height:100%;object-fit:contain}
.heritage-object figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:16px;font:12px/1.8 var(--sans);color:var(--muted)}
.heritage-object figcaption strong{font:25px/1.15 var(--serif)}
.heritage-object figcaption a{font-size:11px}
.heritage-object figcaption .heritage-rights{font-size:9px}
.heritage-voice-panel,.heritage-record-panel,.heritage-timeline-panel{padding:25px 27px;margin:31px 0 34px;border:1px solid var(--line);border-top:3px solid var(--red);background:#eee3d180}
.heritage-voice-panel h3,.heritage-record-panel h3,.heritage-timeline-panel h3{margin:0 0 19px}
.heritage-voice-panel p,.heritage-record-panel p{font-size:15px;line-height:1.9}
.heritage-voice-panel p:last-child,.heritage-record-panel p:last-child{margin-bottom:0}
.heritage-timeline-panel>p{font-size:14px;line-height:1.85;color:var(--muted)}
.heritage-timeline{list-style:none!important;padding:0!important;margin:25px 0 0!important}
.heritage-timeline li{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);gap:23px;margin:0;padding:21px 0 21px 26px;border-top:1px solid #cbb49c90}
.heritage-timeline li::before{content:'';position:absolute;left:0;top:29px;width:8px;height:8px;background:var(--red);border-radius:50%}
.heritage-timeline-year{font:24px/1.2 var(--serif);color:var(--red)}
.heritage-timeline-text{font:14px/1.85 var(--sans)}
.heritage-label-fields{display:grid;grid-template-columns:1fr 1.1fr .8fr;gap:20px;margin:25px 0 0;padding-top:21px;border-top:1px solid var(--line)}
.heritage-label-fields dt{font:700 9px/1.6 var(--sans);text-transform:uppercase;letter-spacing:1.1px;color:var(--red)}
.heritage-label-fields dd{margin:8px 0 0;font:13px/1.7 var(--sans);color:var(--ink)}
.heritage-unesco-panel{display:grid;grid-template-columns:125px minmax(0,1fr);gap:27px;align-items:center;margin:29px 0;padding:27px 29px;border:1px solid var(--line);background:var(--red);color:var(--paper)}
.heritage-unesco-year{font:58px/1 var(--serif);letter-spacing:-2px;color:#e2c49e}
.heritage-unesco-panel p{font-size:15px;line-height:1.85;margin:0}
.heritage-unesco-panel .guide-ref{color:var(--paper);border-color:#f6f0e566}
.heritage-image-credits{margin-top:31px;padding:22px 24px;border:1px solid var(--line);background:#eee3d14d}
.heritage-image-credits h3{font-size:27px;margin:0 0 16px}
.heritage-image-credits p{font-size:13px;line-height:1.85}
.heritage-image-credits p:last-child{margin-bottom:0}
.heritage-image-dialog{margin:auto;width:min(980px,calc(100% - 32px));max-height:91dvh;overflow:auto;padding:20px;border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:0 25px 90px #0005}
.heritage-image-dialog::backdrop{background:#1f1912b5;backdrop-filter:blur(3px)}
.heritage-dialog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.heritage-dialog-toolbar h2{font-size:28px;line-height:1.2;letter-spacing:-.3px}
.heritage-dialog-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:44px;padding:8px 11px;border:1px solid var(--line);background:transparent;font:12px/1.5 var(--sans);color:var(--red)}
.heritage-dialog-toolbar button span{font-size:23px;line-height:1}
.heritage-image-dialog>img{display:block;width:100%;height:auto;max-height:69dvh;object-fit:contain;background:var(--paper-dark)}
.heritage-image-dialog>p{margin-top:15px;font:12px/1.8 var(--sans);color:var(--muted)}
.heritage-image-dialog>p a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
@media(max-width:1150px){.heritage-hero{gap:42px}.heritage-hero h1{font-size:64px}.heritage-hero-photo{height:430px}.heritage-hero-figure{max-width:350px}}
@media(max-width:1000px){.heritage-hero{gap:32px}.heritage-hero h1{font-size:56px}.heritage-hero-photo{height:390px;padding:13px}.heritage-hero .guide-lede{font-size:16px}.heritage-hero-figure figcaption{font-size:11px}.heritage-hero-figure figcaption strong{font-size:25px}.heritage-hero .guide-plate-top{font-size:9px;letter-spacing:1.1px}}
@media(max-width:700px){
 .heritage-hero{grid-template-columns:1fr;gap:32px}
 .heritage-hero h1{font-size:clamp(42px,11.1vw,61px)}
 .heritage-hero-figure{max-width:410px;justify-self:center}
 .heritage-hero-photo{height:385px;padding:16px}
 .heritage-hero-figure figcaption{font-size:12px}
 .heritage-map-study{padding:19px;margin-top:27px}
 .heritage-feature-heading h3{font-size:30px;margin-bottom:18px}
 .heritage-map-study figcaption{font-size:11px}
 .heritage-map-key{display:flex;flex-wrap:wrap;gap:9px 15px;margin:15px 0 0!important;padding:0!important;list-style:none;font:12px/1.6 var(--sans)}
 .heritage-map-key li{display:flex;align-items:center;gap:7px;margin:0;padding:0}
 .heritage-map-key li::before{content:'';display:block;width:9px;height:9px;flex:none;background:#ddcdb5;border:1px solid #b8a58d}
 .heritage-map-key li:first-child::before{background:var(--red);border-color:var(--red)}
 .heritage-form-table caption{padding:12px}
 .heritage-table-hint{display:block;margin-top:5px;letter-spacing:0;text-transform:none;font-weight:400;color:var(--muted)}
 .heritage-objects{grid-template-columns:1fr;gap:29px;margin-block:27px}
 .heritage-object .heritage-photo{height:300px;padding:16px}
 .heritage-object:last-child .heritage-photo{height:auto;min-height:175px;padding:21px 16px}
 .heritage-object:last-child .heritage-photo img{height:auto}
 .heritage-object figcaption{font-size:12px}
 .heritage-voice-panel,.heritage-record-panel,.heritage-timeline-panel{padding:22px 20px}
 .heritage-voice-panel p,.heritage-record-panel p{font-size:14px}
 .heritage-timeline li{grid-template-columns:1fr;gap:9px;padding-left:22px;padding-block:20px}
 .heritage-timeline-year{font-size:24px;max-width:230px}
 .heritage-timeline-text{font-size:14px}
 .heritage-label-fields{grid-template-columns:1fr;gap:17px;margin-top:21px;padding-top:19px}
 .heritage-label-fields dd{margin-top:4px}
 .heritage-unesco-panel{grid-template-columns:1fr;gap:14px;padding:24px 22px}
 .heritage-unesco-year{font-size:53px}
 .heritage-unesco-panel p{font-size:14px}
 .heritage-image-credits{padding:20px}
 .heritage-image-credits h3{font-size:26px}
 .heritage-image-dialog{padding:14px}
 .heritage-dialog-toolbar{gap:12px}
 .heritage-dialog-toolbar h2{font-size:24px}
 .heritage-dialog-toolbar button{padding:7px 9px;gap:7px;font-size:11px}
 .heritage-image-dialog>p{font-size:11px}
}
@media(max-width:360px){.heritage-hero h1{font-size:40px}.heritage-hero-photo{height:345px}.heritage-map-study{padding:15px}.heritage-kicker{font-size:9px;letter-spacing:1.2px}.heritage-voice-panel,.heritage-record-panel,.heritage-timeline-panel{padding:21px 17px}.heritage-object .heritage-photo{height:270px}.heritage-dialog-toolbar h2{font-size:22px}}
@media print{.heritage-image-dialog,.guide-quick-links{display:none!important}.heritage-hero{grid-template-columns:1fr 220px;gap:25px}.heritage-hero h1{font-size:36px}.heritage-hero-photo{height:280px;box-shadow:none}.heritage-map-study{break-inside:avoid;max-width:480px;padding:15px}.heritage-map-study figcaption{font-size:9px}.heritage-form-table table{min-width:0}.heritage-form-table caption{font-size:9px}.heritage-objects{grid-template-columns:1fr 1fr;break-inside:avoid}.heritage-object .heritage-photo{height:200px}.heritage-object figcaption{font-size:9px}.heritage-object figcaption strong{font-size:20px}.heritage-voice-panel p,.heritage-record-panel p,.heritage-unesco-panel p{font-size:10px}.heritage-timeline li{grid-template-columns:140px 1fr;gap:15px;break-inside:avoid;padding-block:12px}.heritage-timeline-year{font-size:19px}.heritage-timeline-text{font-size:10px}.heritage-label-fields{grid-template-columns:1fr 1fr 1fr}.heritage-unesco-panel{grid-template-columns:100px 1fr;background:transparent;color:var(--ink)}.heritage-unesco-year{color:var(--red);font-size:48px}.heritage-image-credits p{font-size:10px}}
