/* Heritage discovery: isolated styles, existing portal typography and colours. */
.hd-root{margin-block:1.5rem 2rem;color:inherit;min-width:0}
.hd-root section{scroll-margin-top:100px;margin-block:1.5rem 2.5rem}
.hd-root h2{font-size:clamp(1.45rem,3vw,2rem);line-height:1.18}
.hd-nav,.hd-actions{display:flex;gap:.65rem;flex-wrap:wrap}
.hd-nav a,.hd-actions button{border:1px solid #c9d8d2;border-radius:10px;padding:.6rem .9rem;color:#173b5e;background:#fff;font:inherit;font-weight:700}
.hd-root a:focus-visible,.hd-root summary:focus-visible,.hd-root button:focus-visible,.hd-root input:focus-visible{outline:3px solid #33735f;outline-offset:3px}
.hd-timeline{border-left:2px solid #a5bcb0;padding-left:1rem;display:grid;gap:.5rem}
.hd-root details{background:#fff;border:1px solid #d9e2de;border-radius:12px;padding:.75rem 1rem;min-width:0;color:#173b5e}
.hd-root summary{cursor:pointer;font-weight:750;line-height:1.5}
.hd-root details p{margin:.5rem 0 0;line-height:1.6}
.hd-timeline time{display:inline-block;min-width:7em;font-weight:850;color:#28654f}
.hd-level{margin-bottom:.75rem}
.hd-quiz fieldset{min-width:0;border:0;border-bottom:1px solid #dce5df;padding:1rem 0;margin:.5rem 0}
.hd-quiz legend{font-weight:700;padding:0;line-height:1.4}
.hd-quiz label{display:flex;align-items:center;gap:.5rem;min-height:44px;padding:.25rem 0}
.hd-quiz input{accent-color:#28654f}
.hd-quiz .hd-answer{background:#f4f7f5;padding:.5rem .75rem;margin-top:.5rem}
.hd-quiz [data-status="correct"]{border-left:3px solid #267149;padding-left:.6rem}
.hd-quiz [data-status="incorrect"]{border-left:3px solid #ad4848;padding-left:.6rem}
.hd-actions button{cursor:pointer}
.hd-actions button[type="submit"]{background:#173b5e;color:#fff}
.hd-result{display:block;font-weight:750;margin-top:.65rem}
.hd-map{display:block;width:100%;max-width:540px;height:auto;margin:1rem auto;background:#eef3ef;border:1px solid #d9e2de;border-radius:14px}
.hd-map circle{fill:#173b5e;stroke:white;stroke-width:2}
.hd-map text{fill:white;text-anchor:middle;font-size:12px;font-weight:750;pointer-events:none}
.hd-map a:focus-visible circle,.hd-map a:hover circle{fill:#33735f;stroke:#0d3025;stroke-width:3}
.hd-map .hd-north{fill:#173b5e;font-size:14px}
.hd-places{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.6rem;list-style:none;padding:0}
.hd-places li{padding:.75rem;background:#fff;border:1px solid #d9e2de;border-radius:12px;scroll-margin-top:100px}
.hd-places li:target{outline:3px solid #33735f}
.hd-places b,.hd-places span{display:block;margin-bottom:.3rem}
.hd-words{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:.6rem}
.hd-search{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}
.hd-search input{min-width:0;max-width:100%;border:1px solid #a5bcb0;padding:.6rem;border-radius:10px;font:inherit;color:#173b5e;background:white}
.hd-root [hidden]{display:none!important}
@media(max-width:480px){.hd-timeline time{display:block;min-width:0}.hd-root details{padding:.7rem}.hd-nav a{flex:1 1 40%;text-align:center}}
