.ehv-archive{--ehv-red:#e30613;--ehv-red-dark:#b4000b;--ehv-ink:#242424;--ehv-border:#dedede;color:var(--ehv-ink);font-family:inherit;max-width:100%;margin:24px auto}
.ehv-archive *{box-sizing:border-box}
.ehv-archive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px}
.ehv-archive-heading p{margin:0;color:#666;font-size:14px}
.ehv-search-label{width:min(340px,100%)}
.ehv-search{width:100%;min-height:43px;border:1px solid #bbb;border-radius:4px;padding:9px 12px;font-size:15px;background:#fff;color:#222}
.ehv-search:focus{border-color:var(--ehv-red);outline:2px solid rgba(227,6,19,.25)}
.ehv-archive-layout{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);gap:16px;align-items:stretch}
.ehv-street-panel,.ehv-map-panel{border:1px solid var(--ehv-border);border-radius:5px;overflow:hidden;background:#fff;min-width:0}
.ehv-panel-top{display:flex;justify-content:space-between;align-items:center;background:var(--ehv-red);color:#fff;padding:12px 14px;font-size:15px}
.ehv-count{font-size:12px;opacity:.9}
.ehv-street-list{list-style:none!important;margin:0!important;padding:0!important;max-height:520px;overflow:auto}
.ehv-street-list li{margin:0!important;padding:0!important;border-bottom:1px solid #eee}
.ehv-street-list li[hidden]{display:none}
.ehv-no-results{padding:12px 14px!important;font-size:14px;color:#666}
.ehv-street-button{width:100%;border:0!important;border-left:4px solid transparent!important;border-radius:0!important;background:#fff!important;color:#222!important;display:flex;align-items:center;gap:8px;text-align:left;padding:10px 13px!important;font-size:14px!important;line-height:1.35;cursor:pointer;box-shadow:none!important;transition:background .15s}
.ehv-street-name{flex:1}
.ehv-street-button:hover,.ehv-street-button:focus{background:#fff0f0!important;color:var(--ehv-red-dark)!important;outline:none}
.ehv-street-button.is-active{background:#ffe3e5!important;color:var(--ehv-red-dark)!important;border-left-color:var(--ehv-red)!important;font-weight:700}
.ehv-street-badge{background:var(--ehv-red);color:#fff;border-radius:10px;font-size:11px;line-height:1;padding:3px 7px;font-weight:700}
.ehv-street-arrow{font-size:21px;line-height:1;color:#999}
.ehv-map{width:100%;height:480px;min-height:300px;background:#eee;z-index:1}
.ehv-map-status{font-size:12px;color:#666;margin:0;padding:8px 12px;border-top:1px solid #eee}
.ehv-map-status.is-error{color:var(--ehv-red-dark)}
.ehv-map-status:empty{display:none}
.ehv-basemap-toggle{background:#e30613;color:#fff;border:2px solid #fff;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.ehv-basemap-toggle:hover,.ehv-basemap-toggle:focus{background:var(--ehv-red-dark,#b3000f);outline:none}
.ehv-map-credit{font-size:12px;color:#666;margin:0;padding:8px 12px;border-top:1px solid #eee}
.ehv-selected{border:1px solid var(--ehv-border);border-radius:5px;margin-top:16px;padding:16px;background:#fff;min-height:76px;scroll-margin-top:80px}
.ehv-selected-empty{color:#666;font-size:14px}
.ehv-selected-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding-bottom:10px;border-bottom:3px solid var(--ehv-red)}
.ehv-selected-heading h3{font-size:20px;line-height:1.25;margin:0;color:inherit}
.ehv-photo-count{font-size:12px;color:#666;white-space:nowrap}
.ehv-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.ehv-photo-item{margin:0}
.ehv-photo-link{display:block;width:100%;padding:0!important;border:1px solid #ddd!important;border-radius:4px!important;overflow:hidden;background:#f3f3f3!important;cursor:zoom-in;box-shadow:none!important}
.ehv-photo-link img{display:block;width:100%;height:160px;object-fit:cover;transition:transform .25s}
.ehv-photo-link:hover img,.ehv-photo-link:focus img{transform:scale(1.05)}
.ehv-photo-link:focus{outline:2px solid var(--ehv-red)}
.ehv-photo-caption{font-size:12px;color:#555;margin:6px 2px 0;line-height:1.35}
.ehv-more{display:block;margin:16px auto 0;background:var(--ehv-red)!important;color:#fff!important;border:0!important;border-radius:4px!important;padding:10px 20px!important;font-size:14px!important;cursor:pointer}
.ehv-more:hover{background:var(--ehv-red-dark)!important}
.ehv-no-photos{font-size:14px;color:#666;margin:0}

/* Kaartmarkering */
.ehv-pin{background:none!important;border:0!important}
.ehv-pin-pulse{position:absolute;left:50%;bottom:-4px;width:26px;height:10px;margin-left:-13px;border-radius:50%;background:rgba(227,6,19,.45);animation:ehv-pulse 1.6s ease-out infinite}
.ehv-pin-head{position:absolute;left:3px;top:0;width:28px;height:28px;border-radius:50% 50% 50% 0;background:var(--ehv-red,#e30613);border:3px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.45);transform:rotate(-45deg);transform-origin:50% 50%}
.ehv-pin-head::after{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#fff}
.ehv-pin{animation:ehv-drop .35s ease-out}
@keyframes ehv-pulse{0%{transform:scale(.6);opacity:.9}100%{transform:scale(2.2);opacity:0}}
@keyframes ehv-drop{0%{transform:translateY(-18px);opacity:0}100%{transform:none;opacity:1}}
.ehv-popup strong{display:block;font-size:14px;margin-bottom:2px;color:#b4000b}
.ehv-popup a{color:#e30613;font-size:12px;cursor:pointer;text-decoration:underline}

/* Lightbox */
.ehv-lb{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:20px}
.ehv-lb[hidden]{display:none}
.ehv-lb figure{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center}
.ehv-lb img{max-width:100%;max-height:calc(100vh - 140px);object-fit:contain;border:4px solid #fff;border-radius:3px;background:#222}
.ehv-lb figcaption{color:#fff;font-size:14px;line-height:1.45;margin-top:10px;text-align:center;max-width:800px}
.ehv-lb figcaption strong{display:block;font-size:16px}
.ehv-lb figcaption small{opacity:.75}
.ehv-lb-btn{position:absolute;background:var(--ehv-red,#e30613)!important;color:#fff!important;border:2px solid #fff!important;border-radius:50%!important;width:44px;height:44px;font-size:26px!important;line-height:1!important;padding:0!important;cursor:pointer;box-shadow:none!important}
.ehv-lb-close{top:14px;right:14px}
.ehv-lb-prev{left:14px;top:50%;margin-top:-22px}
.ehv-lb-next{right:14px;top:50%;margin-top:-22px}
.ehv-lb-btn[hidden]{display:none}

@media(max-width:760px){.ehv-archive-heading{display:block}.ehv-search-label{display:block;width:100%;margin-top:13px}.ehv-archive-layout{grid-template-columns:1fr}.ehv-street-list{max-height:270px}.ehv-map{height:360px!important}.ehv-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ehv-photo-link img{height:120px}.ehv-lb-prev{left:6px}.ehv-lb-next{right:6px}}
