/**
 * Styles for the interactive "where we work" map on the Our Impact page.
 */
.msar-map__main{display:flex;flex-direction:column;gap:26px;}
.msar-map__stage{position:relative;width:100%;aspect-ratio:1000/405;border-radius:var(--wp--custom--radius--md);overflow:hidden;background:#eef3f6;cursor:grab;touch-action:pan-y;}
.msar-map__stage.is-grabbing{cursor:grabbing;}
.msar-map__inner{position:absolute;inset:0;transform-origin:0 0;will-change:transform;}
.msar-map__world{display:block;width:100%;height:100%;user-select:none;-webkit-user-drag:none;}
.msar-map__pin{position:absolute;transform:translate(-50%,-50%);width:20px;height:20px;padding:0;border:none;background:transparent;cursor:pointer;z-index:3;}
.msar-map__pin::before{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--wp--preset--color--msar-accent);box-shadow:0 0 0 4px rgba(var(--wp--custom--accent-rgb),.22);transition:transform .2s ease;}
.msar-map__pin:hover::before,.msar-map__pin:focus-visible::before,.msar-map__pin.is-active::before{transform:scale(1.5);}
.msar-map__pin.is-active{z-index:5;}
.msar-map__pin.is-active::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--wp--preset--color--msar-accent);animation:msar-map-pulse 1.8s ease-out infinite;}
@keyframes msar-map-pulse{0%{transform:scale(.7);opacity:.6;}100%{transform:scale(2.6);opacity:0;}}
.msar-map__zoom{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:6px;z-index:6;}
.msar-map__zbtn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e0e0;background:#ffffff;color:var(--wp--preset--color--msar-fg);border-radius:var(--wp--custom--radius--sm);cursor:pointer;box-shadow:var(--wp--custom--shadow--sm);transition:background-color .2s ease,color .2s ease;}
.msar-map__zbtn:hover{background:var(--wp--preset--color--msar-accent);border-color:var(--wp--preset--color--msar-accent);color:#ffffff;}
.msar-map__panel{background:var(--wp--preset--color--msar-bg-alt);border-radius:var(--wp--custom--radius--md);padding:28px 30px;min-height:240px;display:flex;flex-direction:column;justify-content:flex-start;overflow:auto;}
.msar-map__hint{margin:0;color:var(--wp--preset--color--msar-stroke);line-height:1.6;}
.msar-map__rname{display:flex;align-items:center;gap:12px;margin:0 0 6px;font-size:1.35rem;line-height:1.25;}
.msar-map__flag{flex:0 0 auto;width:34px;height:auto;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.1);}
.msar-map__rsub{margin:0 0 14px;color:var(--wp--preset--color--msar-stroke);font-size:.9rem;}
.msar-map__rlead{margin:0 0 12px;font-weight:600;}
.msar-map__raud{margin:0;padding-left:1.15em;}
.msar-map__raud li{margin-bottom:7px;line-height:1.5;}
.msar-map__raud a{color:var(--wp--preset--color--msar-accent);text-decoration:underline;text-underline-offset:2px;transition:color .2s ease;}
.msar-map__raud a:hover,.msar-map__raud a:focus-visible{color:var(--wp--preset--color--msar-accent-secondary);text-decoration:none;}
@media (min-width:960px){
	.msar-map__main{flex-direction:row;align-items:stretch;}
	.msar-map__stage{flex:1 1 68%;align-self:flex-start;}
	.msar-map__panel{flex:1 1 32%;min-height:0;}
}
@media (prefers-reduced-motion:reduce){.msar-map__pin.is-active::after{animation:none;}}
