@import url('/assets/redesign/srchn-redesign.css');
body{--surface:#fff0e5;--primary:#b7653d;--accent:#f0c7a9;--category-ink:#703c27;background:#fffaf4}
header.discovery-header,main,footer.discovery-footer{max-width:1280px;margin:auto;padding:24px clamp(18px,4vw,40px)}
header.discovery-header img{width:170px;height:auto}.discovery-nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.discovery-nav a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;border-radius:999px;text-decoration:none;color:#4d5868;font-weight:700}.discovery-nav a:hover{background:#f5eadf;color:var(--primary)}
main{padding-top:18px}h1{font-size:clamp(38px,6vw,72px)}h2{font-size:clamp(22px,3vw,32px)}.blue{color:var(--primary)}
.note{padding:18px;background:var(--surface);border-left:4px solid var(--primary);border-radius:0 16px 16px 0;color:#4d5868}
.toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end;margin:22px 0}.toolbar label{display:grid;gap:6px;font-size:13px;font-weight:750;color:#4d5868}.toolbar input,.toolbar select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #d9cec0;border-radius:12px;background:#fff;color:var(--ink);font:inherit}input,select,textarea{font:inherit}
.results{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;margin:28px 0}.result{position:relative;display:flex;flex-direction:column;gap:10px;border:1px solid rgba(24,34,48,.09);border-radius:18px;padding:16px;background:#fff;box-shadow:0 5px 18px rgba(56,39,24,.04);overflow-wrap:anywhere}.result h2{margin:0;font-size:22px;line-height:1.15}.result p{margin:0}.photo{position:relative;aspect-ratio:16/9;background:#f5efe6;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#6a5a4d;font-size:14px;border-radius:14px;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover;border-radius:12px}.photo svg{width:46px;height:46px;stroke:var(--primary);fill:none;stroke-width:1.6}.photo span{font-size:12px}.photo-label{position:absolute;left:8px;bottom:8px;padding:5px 8px;background:rgba(255,255,255,.9);color:#3f4957;border-radius:999px}.links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.links a,.links button,button{min-height:44px}.links a,.links button{font-size:13px;padding:0 13px}.favourite[aria-pressed=true]{border-color:var(--primary);color:var(--primary);background:var(--surface)}
.details-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.7fr);gap:22px}.maplayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.72fr);gap:22px}.maplayout .results{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.mapwrap{position:sticky;top:96px;align-self:start;padding:14px;border:1px solid rgba(24,34,48,.09);border-radius:18px;background:#fff}#map{height:600px;border-radius:14px;background:#f4efe7}.maptoggle{display:none}.mobile-discovery-tools{display:none}.modal{max-width:700px;width:calc(100% - 24px);border:1px solid var(--line);border-radius:22px;padding:24px;max-height:90vh;overflow:auto;background:#fffdf9}.modal::backdrop{background:rgba(24,34,48,.55)}.modal button{margin:4px}.modal select{max-width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px}.progress{width:100%}.popup .links a{font-size:12px;padding:6px}.popup h3{margin:0}.popup .photo{min-width:180px;min-height:80px;max-height:115px;font-size:11px;padding:8px}.popup .photo svg{width:25px;height:25px}.popup .photo span{font-size:10px}.popup p{margin:8px 0}.popup button{font-size:13px;padding:6px 10px;margin-right:6px}.coordinates{font-variant-numeric:tabular-nums;font-size:12px;color:#666}.result summary{font-size:13px;min-height:36px}.result details{margin:4px 0}details{margin:18px 0}summary{cursor:pointer;min-height:44px;font-weight:700}.source-details,.coverage article,.pilot-panel{border:1px solid rgba(24,34,48,.09);border-radius:18px;padding:18px;background:#fff}.coverage{display:grid;gap:12px}.coverage strong{display:block}.coverage span{display:block;margin-top:5px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.empty-state{border-left:4px solid var(--primary);background:var(--surface);border-radius:18px;max-width:820px;padding:20px}.empty-state h2{margin-top:0}.empty-state .links a{display:inline-flex;align-items:center;min-height:44px}.fact-evidence{background:#f8f4ed;border-radius:12px;padding:10px}.photo-credit{font-size:13px;line-height:1.5}.photo-credit a{overflow-wrap:anywhere}#photogallery{width:min(900px,calc(100vw - 40px));max-height:90vh;overflow:auto;box-sizing:border-box}#galleryitems figure{margin:24px 0}#galleryitems img{width:100%;height:auto;border-radius:12px}#galleryitems figcaption{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#filtersheet{border:0;border-radius:22px 22px 0 0;padding:20px 16px;margin:auto 0 0;width:100%;max-width:none;max-height:88dvh;overflow:auto;background:#fffdf9}#filtersheet::backdrop{background:rgba(24,34,48,.55)}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:-20px;background:#fffdf9;z-index:2;padding:8px 0}.sheet-head h2{margin:0;font-size:22px}.sheet-head button{flex-shrink:0}
footer.discovery-footer{border-top:1px solid var(--line);margin-top:60px;font-size:13px;color:#5e6878}footer.discovery-footer a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:850px){.maplayout,.details-grid{display:block}.mapwrap{position:static}#map{height:440px}}
@media(max-width:650px){header.discovery-header,main,footer.discovery-footer{padding:20px 18px}.results{grid-template-columns:1fr}.mobile-discovery-tools{display:flex;margin:20px 0}#openfilters{width:100%;text-align:left;border-color:var(--ink)}#filtersheet .toolbar{display:block;margin:12px 0}#filtersheet .toolbar label{display:block;margin:14px 0}#filtersheet .toolbar button{margin:6px 4px 6px 0}#filtersheet input,#filtersheet select{max-width:none}#filtersheet #locationfields{border-top:1px solid var(--line);padding-top:16px}.maplayout.map-only #resultwrap{display:none}.maplayout.map-only .mapwrap{display:block}.maplayout:not(.map-only) .mapwrap{display:none}#map{height:62dvh;min-height:320px}.maptoggle{display:inline-flex;min-width:130px}}
[hidden]{display:none!important}
.detail{max-width:900px}.detail h1{font-size:clamp(36px,5vw,64px);margin:10px 0 14px}.detail dl{display:grid;grid-template-columns:190px 1fr;gap:10px 20px;margin:22px 0}.detail dt{font-weight:800;color:#4d5868}.detail dd{margin:0;overflow-wrap:anywhere}@media(max-width:650px){.detail dl{grid-template-columns:1fr}}
