.mbr-world-map{height:var(--map-height);position:relative;overflow:hidden;background:var(--map-color);isolation:isolate;touch-action:pan-y;cursor:grab;user-select:none}
.mbr-world-map:active{cursor:grabbing}
.mbr-world-map:fullscreen{height:100vh}
.mbr-world-map__art{position:absolute;width:2048px;aspect-ratio:4096/1993;left:50%;top:50%;transform:translate(-50%,-50%)}
.mbr-world-map__art .mbr-world-map__image{display:block;width:100%;height:100%;max-width:none;pointer-events:none}
.mbr-world-map__point{position:absolute;z-index:1;width:0;height:0}
.mbr-world-map__point:focus-within,.mbr-world-map__point:hover,.mbr-world-map__point.is-open{z-index:2}
.mbr-world-map .mbr-world-map__pin{position:absolute;transform:translate(-50%,-100%);border:0;background:none;padding:0;cursor:pointer}
.mbr-world-map__pin img{display:block;max-width:none;max-height:36px;pointer-events:none}
.mbr-world-map__detail{display:none;position:absolute;transform:translateX(-50%);bottom:30px;top:auto;margin-bottom:6px;min-width:120px;max-width:min(290px,75vw);width:max-content;padding:10px 14px;background:#fff;color:#242424;box-shadow:0 4px 18px #0004;user-select:text;cursor:auto;font-size:14px;line-height:1.4}
.mbr-world-map__point[data-tooltip]:hover .mbr-world-map__detail,.mbr-world-map__point.is-open .mbr-world-map__detail{display:block}
.mbr-world-map__detail p:last-child{margin:0}
.mbr-world-map--patagon{margin:80px 0}
.mbr-world-map--riscos,.mbr-world-map--torodeoro,.mbr-world-map--vienonorte{margin-bottom:8px}
.mbr-world-map__controls{position:absolute;z-index:3;inset:0;pointer-events:none}
.mbr-world-map__controls button{position:absolute;display:grid;place-items:center;pointer-events:auto;padding:0;border:0;cursor:pointer}
.mbr-world-map__controls [data-map-action=in],
.mbr-world-map__controls [data-map-action=out]{left:10px;width:var(--map-zoom-size,34px);height:var(--map-zoom-size,34px);border-radius:0;background:transparent;color:#fff}
.mbr-world-map__controls [data-map-action=in]{top:10px}
.mbr-world-map__controls [data-map-action=out]{top:calc(10px + var(--map-zoom-size,34px) + var(--map-zoom-gap,0px))}
.mbr-world-map--patagon,.mbr-world-map--riscos{--map-zoom-gap:10px}
.mbr-world-map--torodeoro{--map-zoom-size:30px;--map-full-offset:42px}
.mbr-world-map__controls [data-map-action=in]::before,
.mbr-world-map__controls [data-map-action=out]::before{content:"";width:26px;height:26px;background:#000c;border-radius:2px}
.mbr-world-map__controls [data-map-action=in]::after,
.mbr-world-map__controls [data-map-action=out]::after{content:"";position:absolute;width:17px;height:17px;background:linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat}
.mbr-world-map__controls [data-map-action=in]::after{background:linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat,linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat}
.mbr-world-map__controls button:focus-visible,.mbr-world-map__pin:focus-visible{outline:2px solid white;outline-offset:2px}
.mbr-world-map__controls button:disabled{opacity:.5;cursor:default}

.mbr-world-map__controls [data-map-action=full]{right:10px;bottom:var(--map-full-offset,51px);border-radius:50%;background:#fff;color:#333;width:40px;height:40px;box-shadow:0 1px 4px #0003}
.mbr-world-map__controls [data-map-action=full]::before {
    content: "";
    width: 16px;
    height: 16px;
    color: #666;
    transform: rotate(45deg);
    background:
        linear-gradient(currentColor,currentColor) top left / 5px 2px,
        linear-gradient(currentColor,currentColor) top left / 2px 5px,
        linear-gradient(currentColor,currentColor) top right / 5px 2px,
        linear-gradient(currentColor,currentColor) top right / 2px 5px,
        linear-gradient(currentColor,currentColor) bottom left / 5px 2px,
        linear-gradient(currentColor,currentColor) bottom left / 2px 5px,
        linear-gradient(currentColor,currentColor) bottom right / 5px 2px,
        linear-gradient(currentColor,currentColor) bottom right / 2px 5px;
    background-repeat: no-repeat;
}
.mbr-world-map__controls button[hidden]{display:none}
.mbr-world-map__dialog{position:fixed;inset:0;max-width:min(600px,calc(100vw - 36px));width:100%;max-height:calc(100svh - 40px);margin:auto;padding:44px 28px 30px;border:0;background:#fff;color:#252525;box-shadow:0 8px 44px #0008;overflow:auto;cursor:auto;user-select:text;text-align:center}
.mbr-world-map__dialog::backdrop{background:#0009}
.mbr-world-map__dialog form{margin:0}
.mbr-world-map__dialog button{position:absolute;top:10px;right:12px;padding:3px 10px;background:#252525;color:#fff;border:0;border-radius:50%;font:25px/1.15 sans-serif;cursor:pointer}

.mbr-world-map--survalles .mbr-world-map__dialog {
    inset: 10px 0 auto;
    width: min(830px, 100%);
    max-width: none;
    max-height: calc(100svh - 20px);
    margin: 0 auto;
    padding: 78px 0 0;
    background: #f3f3f3;
    color: #424d5f;
    box-shadow: none;
    scrollbar-width: none;
}
.mbr-world-map--survalles .mbr-world-map__dialog::backdrop { background: rgba(0,0,0,.8); }
.mbr-world-map--survalles .mbr-world-map__dialog button {
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #535353;
    font-size: 0;
}
.mbr-world-map--survalles .mbr-world-map__dialog button::before,
.mbr-world-map--survalles .mbr-world-map__dialog button::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 26px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%,-50%) rotate(45deg);
}
.mbr-world-map--survalles .mbr-world-map__dialog button::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
#oficinas .mbr-world-map__dialog .heading :is(h1,h2) { color: #413445; }
#oficinas .mbr-world-map__dialog :is(p,a) {
    font: 13px/26px "Libre Baskerville", serif;
    color: #424d5f;
}
.mbr-world-map--survalles .mbr-world-map__dialog p { max-width: 530px; margin: 0 auto; }
.mbr-world-map--survalles .mbr-world-map__dialog .imagenmapa img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
    .mbr-world-map--survalles .mbr-world-map__dialog {
        width: calc(100% - 20px);
        padding-top: 96px;
    }
}
