/* The map uses the site's Inter stack, panel corners, ink and seven-color rule. */
.atlas-symbols {position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.atlas-icon {width:19px;height:19px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.atlas-hero {padding:clamp(30px,4.5vw,65px) 0}
.atlas-hero>.container {position:relative;display:flex;align-items:center;justify-content:space-between;gap:36px}
.atlas-hero h1 {font-size:clamp(2.7rem,6.4vw,5.25rem);margin:0 0 14px;font-style:normal}
.atlas-hero .lead {margin:0;max-width:615px}
.atlas-stats {display:flex;margin:0;gap:24px;flex:none}
.atlas-stats div {display:flex;flex-direction:column-reverse;gap:5px}
.atlas-stats div+div {padding-left:24px;border-left:1px solid #bdc2ca}
.atlas-stats dd {font-size:clamp(2rem,3vw,3rem);font-weight:800;line-height:1;letter-spacing:-.055em;margin:0;font-variant-numeric:tabular-nums}
.atlas-stats dt {font-size:.9rem;color:#3d4959}
.atlas-main {padding:clamp(24px,3.4vw,48px) 0 54px}
.atlas-board {display:grid;grid-template-columns:minmax(0,2.32fr) minmax(275px,1fr);gap:20px;align-items:stretch}
.atlas-map-card,.atlas-fund {min-width:0;border:1px solid var(--line);border-radius:24px;background:white;box-shadow:0 12px 40px rgba(20,32,51,.075);position:relative;overflow:hidden}
.atlas-map-card {display:flex;flex-direction:column;isolation:isolate}
.atlas-map-card::before,.atlas-fund::before {content:"";height:5px;background:var(--rainbow);width:100%;display:block;flex:none}
.map-top {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}
.map-top h2 {display:flex;align-items:center;gap:9px;margin:0;font-size:clamp(1.22rem,2vw,1.55rem);letter-spacing:-.045em;line-height:1.16}
.map-emblem {display:grid;place-items:center;width:34px;height:34px;background:var(--rainbow-soft);color:var(--ink);border-radius:11px}
.map-emblem .atlas-icon {width:20px;height:20px}
.select-wrap {display:inline-flex;align-items:center;position:relative;background:#fff;border-radius:12px;min-width:0}
.select-wrap select {display:block;appearance:none;-webkit-appearance:none;width:100%;max-width:100%;background:transparent;border:1px solid #ccd1da;border-radius:inherit;padding:10px 34px 10px 37px;line-height:1.3;font:600 .92rem/1.3 Inter,Arial,sans-serif;color:var(--ink);cursor:pointer}
.select-leading {position:absolute;left:12px;width:16px;height:16px;color:#566274}
.select-chevron {position:absolute;right:10px;width:13px;height:13px}
.country-select {width:200px;max-width:55%}
.map-stage {isolation:isolate;position:relative;overflow:hidden;background:#eef4f7;border-block:1px solid #d7e1e6;min-height:clamp(295px,28vw,405px);flex:1}
#world-svg {display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}
#world-svg.zoomed {cursor:grab;touch-action:none}
#world-svg.dragging,#world-svg.dragging [data-code] {cursor:grabbing}
.graticule {fill:none;stroke:#b1c1cb;stroke-width:.68;stroke-dasharray:2.4 3.3;opacity:.73;pointer-events:none}
.land {fill:var(--area);stroke:#fffdfb;stroke-width:.8;stroke-linejoin:round;fill-rule:evenodd;cursor:pointer}
.af {--area:#f0dfbf;--featured:#efc78c;--region-ink:#705119}
.as {--area:#ded6e9;--featured:#beacd2;--region-ink:#6e5085}
.eu {--area:#d0e2d6;--featured:#a6caa9;--region-ink:#356843}
.na {--area:#eccfd9;--featured:#e5abc5;--region-ink:#864b68}
.sa {--area:#f0d3c7;--featured:#edb296;--region-ink:#815032}
.oc {--area:#cee2ef;--featured:#9dcce3;--region-ink:#376477}
.land.has-listing {fill:var(--featured)}
.land.active {fill:#9ac4dd;stroke:#394e79;stroke-width:1.8}
.ocean-label {font:500 11.8px Inter,Arial,sans-serif;fill:#647b89;letter-spacing:1.8px;pointer-events:none}
.map-marker {cursor:pointer}
.marker-hit {fill:transparent}
.marker-halo {fill:white;stroke:#405477;stroke-width:1.1}
.marker-core {fill:#334a73}
.map-marker.active .marker-halo {stroke:#293b63;stroke-width:2.5}
.north {position:absolute;top:13px;right:15px;display:flex;align-items:center;flex-direction:column;width:17px;color:#4b616e;pointer-events:none}
.north span {font:700 11px/1 Inter,Arial,sans-serif}.north svg{width:15px;height:24px;margin-top:2px}
.map-watermark {position:absolute;bottom:12px;left:13px;width:clamp(74px,12%,140px);height:auto;opacity:.8;pointer-events:none;user-select:none;filter:drop-shadow(0 1px 1px #fff)}
.map-tools {display:flex;position:absolute;right:12px;bottom:10px;background:#fff;border:1px solid #bfcbd5;border-radius:12px;overflow:hidden;box-shadow:0 3px 10px #34445418}
.map-tools button,.dialog-close {border:0;background:white;color:#263349;cursor:pointer;display:grid;place-items:center}
.map-tools button {width:38px;height:37px}
.map-tools button+button {border-left:1px solid #dce1e8}
.map-tools button:disabled {color:#9da7b3;cursor:default}
.map-tools button:enabled:hover,.dialog-close:hover {background:#f0f5fa}
.map-tools button:focus-visible {outline-offset:-3px}
.map-tools .atlas-icon {width:17px;height:17px}
.map-bottom {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 17px;color:#4d596a;font-size:.82rem;line-height:1.4}
.pin-key,.map-help {display:inline-flex;align-items:center;gap:7px}
.pin-key i {border:1px solid #4c6381;background:white;width:12px;height:12px;display:grid;place-items:center;border-radius:50%;flex:none}
.pin-key i::after {content:"";width:6px;height:6px;border-radius:50%;background:#334a73}
.map-help .atlas-icon {width:15px;height:15px}.tap-help {display:none}
.map-tooltip {position:absolute;z-index:3;max-width:min(280px,86%);width:max-content;background:white;border:1px solid #b4c1cd;border-radius:12px;padding:10px 13px;box-shadow:0 5px 20px #24334b26;font-size:.85rem;line-height:1.45;color:#263349;pointer-events:none}
.map-tooltip strong {display:block;font-size:1.07rem;margin-bottom:3px}
.map-tooltip ul {margin:0;padding-left:16px}
.rl-map-section .map-stage {min-height:0;aspect-ratio:2.55;flex:auto}
.rl-map-section .section-head {align-items:center}
.rl-map-section .section-head>a {flex:none;margin:0}
.atlas-map-card:fullscreen,.atlas-map-card.viewport-fullscreen {border:0;border-radius:0;width:100%;height:100%;max-width:none;max-height:none;background:#fff;box-shadow:none}
.atlas-map-card:-webkit-full-screen {border:0;border-radius:0;width:100%;height:100%;background:white}
.atlas-map-card.viewport-fullscreen {position:fixed;inset:0;z-index:10000;height:100dvh}
.atlas-map-card:is(:fullscreen,.viewport-fullscreen) .map-stage {flex:1;min-height:0;aspect-ratio:auto}
.atlas-map-card:-webkit-full-screen .map-stage {flex:1;min-height:0;aspect-ratio:auto}
html.map-expanded,html.map-expanded body {overflow:hidden}
html.map-expanded .rl-map-invite {display:none}
.atlas-fund .fund-photo {width:100%;height:clamp(105px,12vw,165px);object-fit:cover;object-position:center 52%}
.fund-copy,.activity {padding:16px 20px}
.fund-copy h2 {font-size:1.55rem;margin:0 0 8px}
.fund-copy p,.activity #feed-state {font-size:.95rem;color:var(--muted);line-height:1.52;margin:0}
.fund-copy .read-more {margin-top:12px}
.activity {border-top:1px solid var(--line)}
.activity h3 {margin:0 0 6px;font-size:1.09rem;letter-spacing:-.02em}
.activity p,#feed-state p {margin:0}
.gifts {list-style:none;margin:0;padding:0}
.gift {display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;font-size:.92rem}
.gift+.gift{border-top:1px solid var(--line)}
.gift-avatar{display:grid;width:32px;height:32px;place-items:center;background:var(--rainbow-soft);border-radius:10px}
.gift-who strong,.gift-who small,.gift-value small{display:block}.gift-who{overflow-wrap:anywhere}
.gift-who small,.gift-value small{color:var(--muted);font-size:.78rem}.gift-value{text-align:right;font-weight:700}
.atlas-sub-button,.outline-button,.more-button {font:700 .9rem/1.4 Inter,Arial,sans-serif;background:#fff;color:var(--ink);border:1px solid #c3cad5;border-radius:999px;padding:9px 15px;cursor:pointer}
.atlas-sub-button {margin-top:10px}
.directory {margin:clamp(34px,5vw,66px) 0 0;scroll-margin-top:105px}
.directory-heading {display:flex;align-items:end;justify-content:space-between;gap:15px}
.directory-heading h2 {font-size:clamp(2rem,3.8vw,3.15rem);margin:0 0 8px}
.directory-heading p {margin:0;color:var(--muted);line-height:1.5}
.directory-count {font-size:.85rem;color:#536177;white-space:nowrap}
.filters {display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.29fr) minmax(185px,.29fr);gap:10px;margin:20px 0 15px}
.search-box {display:flex;align-items:center;gap:9px;background:white;border:1px solid #cbd1da;border-radius:12px;padding:0 12px;color:#566072}
.search-box input {border:0;width:100%;min-width:0;background:none;color:var(--ink);padding:12px 0;font:inherit}
.search-box:focus-within {outline:3px solid #4979b5;outline-offset:2px}.search-box input:focus-visible {outline:none}
.org-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.org-card {background:white;border:1px solid var(--line);box-shadow:0 4px 20px #16213208;border-radius:18px;padding:20px;display:flex;flex-direction:column;min-width:0}
.country-chip {display:inline-flex;align-items:center;gap:6px;color:var(--region-ink);font-size:.86rem;font-weight:700}
.country-chip::before {content:"";width:10px;height:10px;display:inline-block;background:var(--featured);border:1px solid var(--region-ink);border-radius:50%}
.org-card h3 {margin:9px 0 6px;font-size:1.27rem;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.org-card p {color:var(--muted);font-size:.96rem;line-height:1.55;margin:0 0 15px}
.org-foot {margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.focus-chip {background:#f1edf5;border-radius:12px;padding:4px 8px;font-size:.76rem;font-weight:700;color:#5f4d73}
.focus-chip.broad{background:#eaf2ee;color:#436752}
.giving-link {display:inline-flex;align-items:center;gap:5px;font-size:.89rem;font-weight:700;text-underline-offset:3px;color:#245184}
.giving-link .atlas-icon {width:14px;height:14px}
.more-button {display:flex;align-items:center;gap:6px;margin:18px auto 0}
.more-button:hover,.atlas-sub-button:hover,.outline-button:hover{background:#f3f6fa}
.empty-results {text-align:center;padding:28px 15px;border:1px dashed #b5c1cd;border-radius:14px}
.empty-results h3 {margin:8px 0}
.atlas-dialog {border:1px solid #c7cfdb;border-radius:22px;width:min(550px,calc(100vw - 26px));max-height:83vh;max-height:83dvh;padding:0;overflow:auto;color:var(--ink);box-shadow:0 18px 90px #16213244;background:#fff;overscroll-behavior:contain}
.atlas-dialog::backdrop {background:#0f192b77}
.dialog-inner {padding:28px;position:relative}
.dialog-inner>h2 {font-size:clamp(1.8rem,3.5vw,2.5rem);margin:4px 28px 8px 0}
.dialog-close {position:absolute;right:12px;top:12px;width:36px;height:36px;border:1px solid #d8dce3;border-radius:50%}
.dialog-intro,.empty-country{color:var(--muted);line-height:1.55}
.country-content {display:grid;gap:10px}
.country-content .org-card h3{margin-top:0}
.atlas-sources {margin-top:30px;padding:20px 0;border-top:1px solid var(--line);color:var(--muted);line-height:1.6}
.atlas-sources summary {width:fit-content;cursor:pointer;color:var(--ink);font-weight:700}
.atlas-sources p {max-width:75ch}
@media(max-width:850px){
 .atlas-board{grid-template-columns:1fr}.atlas-hero>.container{gap:20px}.atlas-stats{gap:12px}.atlas-stats div+div{padding-left:12px}
 .map-stage,.rl-map-section .map-stage{aspect-ratio:2.16;min-height:0;flex:auto}
 .atlas-fund{display:grid;grid-template-columns:150px 1fr 1fr}.atlas-fund::before{grid-column:1/-1}.atlas-fund .fund-photo{height:100%;min-height:130px}
 .activity{border-top:0;border-left:1px solid var(--line)}.fund-copy,.activity{padding:15px}
 .org-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .filters{grid-template-columns:1fr 165px 170px}
}
@media(max-width:600px){
 .atlas-hero>.container{display:block}.atlas-stats{margin:16px 0 0;gap:12px}.atlas-stats div {flex-direction:row-reverse;align-items:baseline;gap:5px}.atlas-stats dd{font-size:1rem;letter-spacing:0}.atlas-stats dt{font-size:.8rem}
 .map-top{padding:10px;gap:6px}.map-emblem{width:27px;height:27px}.map-emblem .atlas-icon{width:17px}.map-top h2{gap:5px}.country-select{width:164px}
 .country-select select{font-size:.83rem;padding:9px 25px 9px 29px}.select-leading{left:8px;width:14px}.select-chevron{right:8px}
 .map-stage,.rl-map-section .map-stage{aspect-ratio:1.46}.map-bottom{padding:9px 10px;gap:5px;font-size:.76rem}.map-help .atlas-icon{display:none}
 .map-watermark{width:72px;left:6px;bottom:7px}.map-tools{right:5px;bottom:5px}.map-tools button{width:34px;height:35px}
 .north{top:7px;right:7px}.map-tooltip{font-size:.79rem}
 .atlas-fund{display:block}.atlas-fund .fund-photo{height:115px;min-height:0}.activity{border:0;border-top:1px solid var(--line)}
 .org-grid{grid-template-columns:1fr}.directory-heading{display:block}.directory-count{display:block;margin:8px 0 0}
 .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.search-box{grid-column:1/-1}.filters select{font-size:.84rem;padding-left:27px;padding-right:21px}
 .rl-map-section .section-head>a{margin-top:12px}.dialog-inner{padding:21px 16px}.hover-help{display:none}.tap-help{display:inline}
}
@media(hover:none),(pointer:coarse){.hover-help{display:none}.tap-help{display:inline}}
