.section--map[data-service-map] .section__map {
    width: 512px;
    max-width: 100%;
}

.section--map[data-service-map] .section__map > img {
    display: block;
    width: 100%;
    height: auto;
}

.section--map[data-service-map] .map__hotspot-wrapper {
    width: 18px;
    height: 18px;
}

.section--map[data-service-map] .hotspot {
    position: absolute;
    top: -13px;
    left: -13px;
    width: 44px;
    height: 44px;
    padding: 13px;
    border: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
    cursor: pointer;
    touch-action: manipulation;
}

.section--map[data-service-map] .hotspot::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.section--map[data-service-map] .hotspot[aria-expanded="true"]::before {
    background: #996b32;
    box-shadow: 0 0 0 3px #fff;
    animation: none;
}

.section--map[data-service-map] .hotspot:focus-visible,
.service-map-contact__close:focus-visible {
    outline: 2px solid #332f2c;
    outline-offset: 2px;
}

.section--map[data-service-map] .hotspot-tooltip {
    width: 300px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.service-map-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    width: 512px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 20px auto 0;
    padding-top: 12px;
    border-top: 1px solid #d9d9d9;
    color: #332f2c;
    overflow-wrap: anywhere;
    scroll-margin-top: 80px;
    scroll-margin-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.service-map-contact[hidden] {
    display: none;
}

.service-map-contact__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.service-map-contact__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.service-map-contact__body {
    grid-column: 1 / -1;
    font-size: 14px;
    line-height: 1.6;
}

.service-map-contact__body p {
    margin: 4px 0;
}

.service-map-contact__body a {
    display: inline-block;
    max-width: 100%;
    padding: 8px 0;
    color: inherit;
    text-decoration: underline;
}

@media (hover: none) {
    .section--map[data-service-map] .hotspot-tooltip {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section--map[data-service-map] .hotspot::before {
        animation: none;
    }
}
