.ljung-map {
    --map-accent: #164b3e;
    color: #18352d;
    font: 1rem/1.5 system-ui, sans-serif;
    margin-block: 1.5rem;
}
.ljung-map-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .75rem; }
.ljung-map .ljung-map-filters button {
    background: #fff;
    border: 1px solid #aebfb7;
    border-radius: 999px;
    color: #18352d;
    cursor: pointer;
    font: inherit;
    min-height: 44px;
    padding: .35rem .85rem;
}
.ljung-map .ljung-map-filters button[aria-pressed="true"] { background: var(--map-accent); color: #fff; }
.ljung-map-canvas {
    height: clamp(330px, 60vh, 590px);
    border: 1px solid #aebfb7;
    border-radius: 10px;
    isolation: isolate;
    background: #e5eee7;
}
.ljung-map .ljung-map-pin {
    align-items: center;
    background: var(--pin, #164b3e);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 1px 5px #0007;
    box-sizing: border-box;
    color: white;
    display: flex;
    font-size: 17px;
    justify-content: center;
}
.ljung-map-eat { --pin: #98441c; }
.ljung-map-stay { --pin: #654380; }
.ljung-map-walk { --pin: #25643a; }
.ljung-map-swim { --pin: #175f93; }
.ljung-map-visit { --pin: #7d5611; }
.ljung-map-directory summary { cursor: pointer; font-weight: 650; }
.ljung-map-directory li + li { margin-top: .75rem; }
.ljung-map-selection, .ljung-map-sources { font-size: .85rem; margin: .55rem 0; }
.ljung-map-links { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .4rem; }
.ljung-map a { text-decoration: underline; }
.ljung-map-trail { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: 0 0 .65rem; }
.ljung-map-trail label { display: flex; gap: .5rem; align-items: center; font-weight: 650; }
.ljung-map-trail-swatch { display: inline-block; width: 1.4rem; border-top: 4px solid #ad2147; border-radius: 2px; }
.ljung-map-trail a { font-size: .9rem; }
.ljung-map-farm { --pin: #815124; }
.ljung-map-links a { overflow-wrap: anywhere; }
.ljung-map-reserve { --pin: #1c604b; }
.ljung-map-wonder { --pin: #894c1e; }
.ljung-map-road-swatch { display: inline-block; width: 1.4rem; border-top: 4px dashed #007c79; }
.ljung-map .ljung-map-road-control[hidden], .ljung-map-wonders[hidden] { display: none; }
.ljung-map-wonders { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .65rem; }
.ljung-map .ljung-map-wonder-button {
    position: relative; cursor: pointer; min-height: 42px; padding: .35rem .65rem;
    color: #18352d; background: #fffaf0; border: 1px solid #c8b08c; border-radius: .45rem;
    font: inherit; text-align: left;
}
.ljung-map .ljung-map-hover-photo {
    display: none; position: absolute; z-index: 3; left: 0; bottom: calc(100% + .35rem);
    width: 150px; height: 100px; object-fit: cover; background: #fff;
    border: 3px solid #fff; border-radius: .45rem; box-shadow: 0 3px 12px #0005;
    pointer-events: none;
}
.ljung-map-wonder-button:hover .ljung-map-hover-photo,
.ljung-map-wonder-button:focus-visible .ljung-map-hover-photo { display: block; }
.ljung-map-popup-photo {
    display: block; width: 100%; max-height: 145px; object-fit: cover;
    border-radius: .35rem; margin-bottom: .35rem;
}
.ljung-map {
    --map-accent: #1d5b50;
    --map-border: #d3e2d9;
    background: #f5f8f4;
    border: 1px solid var(--map-border);
    border-radius: 18px;
    padding: clamp(.65rem, 2vw, 1.15rem);
}
.ljung-map .ljung-map-filters button { border-color: var(--map-border); font-size: .9rem; font-weight: 650; }
.ljung-map .ljung-map-filters button:hover { border-color: var(--map-accent); }
.ljung-map-canvas { border-radius: 13px; border-color: var(--map-border); }
.ljung-map .ljung-map-pin {
    border-width: 2px;
    box-shadow: 0 2px 6px #18352d66;
    font-weight: 750;
}
.ljung-map .ljung-map-pin:focus-visible { outline: 3px solid #163b36; outline-offset: 3px; }
.ljung-map .ljung-map-preview {
    max-width: 178px;
    width: 178px;
    white-space: normal;
    border: 1px solid var(--map-border);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 6px 22px #193d3450;
    color: #18352d;
    pointer-events: none;
}
.ljung-map-preview strong, .ljung-map-preview small { display: block; padding: 1px 5px; }
.ljung-map-preview strong { font-size: .86rem; line-height: 1.25; }
.ljung-map-preview small { color: #49675e; }
.ljung-map figure.ljung-map-preview-photo,
.ljung-map figure.ljung-map-popup-photo { position: relative; margin: 0 0 .4rem; overflow: hidden; border-radius: 8px; max-height: none; }
.ljung-map figure img { display: block; width: 100%; height: auto; object-fit: cover; }
.ljung-map figure.ljung-map-preview-photo img { height: 100px; }
.ljung-map figure.ljung-map-popup-photo img { height: 140px; }
.ljung-map figure figcaption {
    position: absolute; bottom: 4px; right: 4px; padding: 2px 5px;
    border-radius: 4px; color: white; background: #193d34;
    font: .64rem system-ui, sans-serif;
}
.ljung-map .ljung-map-hover-photo { box-sizing: border-box; margin: 0; overflow: hidden; }
.ljung-map .ljung-map-hover-photo img { height: 100%; }
.ljung-map .leaflet-popup-content-wrapper { border-radius: 14px; }
.ljung-map .leaflet-popup-content { min-width: 175px; color: #18352d; }
.ljung-map-place-card > strong { display: block; font-size: 1rem; line-height: 1.25; margin-bottom: .2rem; }
.ljung-map-directory ul { list-style: none; margin: .65rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .65rem; }
.ljung-map-directory li, .ljung-map-directory li + li { margin: 0; padding: .7rem; border: 1px solid var(--map-border); border-radius: 10px; background: white; }
.ljung-map-directory figure.ljung-map-popup-photo img { height: 105px; }

.ljung-map-photo-source { display: inline-block; font-size: .73rem; margin-top: .3rem; }
