.nation-directory{max-width:100%;text-align:center}
.nation-directory h1{margin:0 0 12px}
.nation-directory-links{display:inline-block;text-align:left}
.nation-historic-link,.nation-pagination{margin:22px 0}
.nation-detail{width:min(100%,900px);box-sizing:border-box;padding:0 10px 30px}
.nation-detail h1{margin:0 0 16px}
.nation-detail .parish{max-width:100%}
.nation-detail .parish td{overflow-wrap:anywhere}
.nation-source{font-size:13px;color:#40564c;line-height:1.45}
#council-area-map{width:100%;max-width:900px;margin:12px 0 24px}
#council-area-map .snap-map-stage{height:min(80vh,500px);min-height:300px;border:0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1)}
#council-area-map .snap-map-canvas{height:100%}
#council-area-map .snap-map-key{display:none}
@media(max-width:600px){.nation-detail{padding:0 4px 24px}}
.directory-map{display:block;width:100%;max-height:660px;margin:auto}
.directory-map a path{fill:var(--directory-primary,#75b5aa);stroke:#fff;stroke-width:1.7;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s ease}
.directory-map a[data-included-authority]:not(:hover,:focus) path{fill:var(--directory-included)}
.directory-map a[data-restored-boundary]:not(:hover,:focus) path{fill:var(--directory-restored)}
.directory-map a:hover path,.directory-map a:focus path{fill:#116f73;stroke:#04343b;stroke-width:2.5}
.directory-map a:focus{outline:none}
.directory-browse{--directory-primary:#75b5aa;--directory-included:#8daec2;--directory-restored:#c3ab78;width:min(100%,850px);margin:16px auto 0}
.directory-map-key{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:12px 0;padding:0;list-style:none;font-size:.875rem}
.directory-map-key li{display:flex;align-items:center;gap:6px}
.directory-map-key span{width:.85em;height:.85em;border:1px solid #516970;border-radius:2px;background:var(--directory-primary)}
.directory-map-key .included{background:var(--directory-included)}
.directory-map-key .restored{background:var(--directory-restored)}
.directory-browse nav h2{margin:20px 0 0;font-size:1.2rem}
.directory-browse .country-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));margin-top:10px}
.directory-browse .country-links a{height:100%;min-height:44px;box-sizing:border-box;display:grid;place-content:center;overflow-wrap:anywhere;transition:background .18s ease}
@media(max-width:640px){.directory-map{max-height:520px}}
