/* Location detail reuses the collection's gallery, facts and object cards. */
.mmh-location-detail-page .site { border-top: 4px solid var(--mmh-saffron); }
.mmh-location-detail-page .mmh-object-mount { height: 650px; }
.mmh-location-address { font-size: 26px; font-weight: 600; line-height: 1.5; }
.mmh-location-collection { padding-top: 48px; }
.mmh-location-collection > .mmh-collection-action { margin-top: 28px; }
.mmh-location-resources { display: flex; flex-wrap: wrap; gap: 12px; }
.mmh-location-resources > .mmh-collection-action { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.mmh-location-detail-page .mmh-object-venue > div { min-width: 0; }
.mmh-location-detail-page .mmh-object-venue {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.mmh-location-detail-page .mmh-object-venue::before {
    content: "";
    position: absolute;
    inset: -12% -15% -12% 30%;
    z-index: -1;
    border-radius: inherit;
    background: url("map-1893.jpg") center / max(260%, 1100px) auto no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 70%);
    mask-image: linear-gradient(to right, transparent, #000 70%);
    pointer-events: none;
}
.mmh-location-detail-page .mmh-object-venue h2 { overflow-wrap: anywhere; }
.mmh-location-map-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    padding: 0;
    width: min(100%, 1050px);
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    box-sizing: border-box;
    border: 0;
    background: var(--mmh-pearl);
    color: var(--mmh-chambray);
    transform: translateX(100%);
    transition: transform 260ms ease-out;
    overflow: hidden;
}
.mmh-location-map-drawer[open] { display: flex; flex-direction: column; }
.mmh-location-map-drawer.is-visible { transform: translateX(0); }
.mmh-location-map-drawer::backdrop { background: rgb(20 18 30 / 55%); }
.mmh-location-map-drawer__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    background: var(--mmh-chambray);
    border-bottom: 4px solid var(--mmh-saffron);
    color: var(--mmh-pearl);
}
.mmh-location-map-drawer__header h2 {
    font: 400 28px/1.25 zebrawood-std-fill, sans-serif;
    color: var(--mmh-saffron);
    margin: 0 0 8px;
    text-wrap: balance;
}
.mmh-location-map-drawer__header p { margin: 0; }
.mmh-location-map-drawer .mmh-location-map-close {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 16px;
    background: var(--mmh-pearl);
    color: var(--mmh-chambray);
    border: 0;
    border-radius: 5px;
    font-weight: 600;
}
.mmh-location-map-drawer .mmh-location-map-close:hover { background: var(--mmh-saffron); color: var(--mmh-chambray); }
.mmh-location-map-drawer .mmh-location-map-close:focus-visible { outline: 3px solid var(--mmh-saffron); outline-offset: 4px; }
.mmh-location-map-drawer .mmh-music-map { flex: 1; min-height: 0; height: auto; width: 100%; }
.mmh-location-map-help { padding: 16px 24px; margin: 0; font-size: 17px; }
.mmh-location-map-help a { color: var(--mmh-chambray); text-decoration: underline; text-underline-offset: 3px; }
.mmh-location-map-help a:focus-visible { outline: 3px solid var(--mmh-chambray); outline-offset: 3px; }
.mmh-location-map-drawer .leaflet-control-zoom.leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
html.mmh-location-map-open { overflow: hidden; }
@media (max-width: 1000px) { .mmh-location-detail-page .mmh-object-mount { height: 520px; } }
@media (max-width: 600px) {
    .mmh-location-detail-page .mmh-object-mount { height: 470px; }
    .mmh-location-map-drawer__header { padding: 20px 16px; gap: 16px; }
    .mmh-location-map-drawer__header h2 { font-size: 22px; }
    .mmh-location-map-help { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .mmh-location-map-drawer { transition: none; } }

.mmh-location-years { margin: -20px 0 32px; font-size: 23px; color: var(--mmh-chambray); }
