@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#f6f3ed;--ink:#28372f;--muted:#687169;--line:#dcded4;--accent:#946441}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',sans-serif}a{color:inherit}header{height:82px;display:flex;justify-content:space-between;align-items:center;padding:0 34px;border-bottom:1px solid var(--line);background:#faf8f3}header>a{text-decoration:none;font-size:13px}.brand{font-size:24px;letter-spacing:5px}.brand span{font-size:10px;letter-spacing:2px;margin-left:12px}.explorer{display:grid;grid-template-columns:350px 1fr;height:calc(100dvh - 82px)}.explorer>aside{padding:30px;overflow:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:700}h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:52px;line-height:1.08;margin:20px 0}.explorer h1{font-size:40px}.intro{color:var(--muted);font-size:14px;line-height:1.7}form>label{font-size:12px;font-weight:700}input[type=search]{width:100%;margin:10px 0 22px;padding:13px;border:1px solid var(--line);background:#fff;font:inherit;border-radius:4px}summary{font-size:14px;font-weight:700;cursor:pointer;margin:16px 0}details{border-top:1px solid var(--line);padding-bottom:10px}.choice{display:flex;align-items:center;gap:9px;margin:9px 0;font-size:13px}.child{padding-left:18px}.choice input{accent-color:var(--ink)}.hint{font-size:11px;color:var(--muted);line-height:1.5}button{font:inherit;cursor:pointer;border:1px solid var(--line);padding:10px 14px;border-radius:5px;background:#fff;color:var(--ink)}.map-wrap{position:relative;min-height:400px}#map{height:100%;width:100%}.fit{position:absolute;bottom:32px;left:20px;z-index:500;box-shadow:0 3px 16px #0002}.pin-dot{display:block;width:22px;height:22px;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 6px #0005}.popup-image{width:220px;height:130px;object-fit:cover;margin-bottom:10px}.leaflet-popup-content{font-family:'DM Sans',sans-serif;font-size:13px}.results{padding-left:18px;font-size:13px;line-height:1.9}#status{font-size:13px;font-weight:700}.location-page{max-width:1160px;margin:auto;padding:40px 28px}.location-page>h1{font-size:64px}.hero{width:100%;max-height:620px;object-fit:cover;border-radius:8px}.hero-placeholder{padding:80px 24px;background:#e7e7df;text-align:center;color:var(--muted);border-radius:8px}.location-grid{display:grid;grid-template-columns:2fr 1fr;gap:60px;margin-top:35px}h2{font-size:21px;font-weight:500}dt{font-size:12px;color:var(--muted);margin-top:16px}dd{margin:5px 0;font-size:14px}.gallery{display:inline-block;padding:15px 20px;background:var(--ink);color:white;text-decoration:none;border-radius:4px;margin:8px 8px 8px 0}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ba7337;outline-offset:3px}@media(max-width:760px){header{height:70px;padding:0 18px}.brand{font-size:20px}.brand span{display:none}.explorer{height:auto;display:flex;flex-direction:column}.explorer>aside{padding:22px;max-height:42dvh;overflow:auto}.map-wrap{height:58dvh;min-height:320px}.explorer h1{font-size:36px}.location-page>h1{font-size:44px}.location-grid{grid-template-columns:1fr;gap:15px}}

/* Category SVG markers, icon update v1. */
.category-marker{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:2px solid #fff;border-radius:10px;color:#fff;box-shadow:0 3px 9px #0005}
.category-marker svg{width:26px;height:26px;display:block}
.map-pin:focus-visible{outline:3px solid #28372f;outline-offset:4px;border-radius:10px}

/* Hierarchical category filter update. */
.category-tree{list-style:none;margin:0;padding:0}
.category-row{margin:0}
.category-row .choice{align-items:flex-start;padding-left:0}
.category-row input{flex:0 0 auto;margin-top:2px}
.category-root>.choice{font-weight:600}
.category-root:not(:first-child){margin-top:14px}

/* Térképpont-csoportok kontrasztos színei */
#map .marker-cluster-small {
    background-color: rgba(255, 213, 0, 0.55);
}
#map .marker-cluster-small div {
    background-color: #ffd500;
}
#map .marker-cluster-medium {
    background-color: rgba(255, 140, 0, 0.55);
}
#map .marker-cluster-medium div {
    background-color: #ff8c00;
}
#map .marker-cluster div {
    color: #202020;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(32, 32, 32, 0.6);
}

/* Map category legend: shared SVG icon shapes and category colors. */
.filter-category-icon { display:inline-flex; flex:none; width:25px; height:25px; align-items:center; justify-content:center; }
.filter-category-icon .filter-icon-badge { width:24px; height:24px; border-width:1px; border-radius:6px; box-shadow:0 1px 3px #0002; }
.filter-category-icon .filter-icon-badge svg { width:17px; height:17px; }
#category-filter .choice, #to-visit-filter .choice { align-items:center; }

/* B9 UX refinement 2026-10-26 */
.location-page img.hero{max-height:496px;}
@media(max-width:767px){.location-page img.hero{max-height:min(50dvh,400px);}}
