/* Shared presentation for approved regional field maps. */
.fnc-region-map{--fnc-map-paper:#f5f2ed;--fnc-map-land:#414042;--fnc-map-water:#536c78;--fnc-map-community:#b65e25;--fnc-map-hub:#6e9253;margin:0 0 68px;color:var(--fnc-map-land)}
.researched-field .fnc-region-map>h2{max-width:none;margin:0 0 16px}
.researched-field .fnc-region-map .fnc-map-intro{margin:0 0 24px;font-size:20px;line-height:1.5}
.fnc-map-figure{margin:0}
.fnc-map-stage{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:40px;align-items:end}
.fnc-map-image-link{display:block;min-width:0;border-radius:4px}
.fnc-map-region{display:block;width:100%;height:auto}
.fnc-map-context{margin-bottom:12px;padding:14px 18px 10px;border:1px solid #b8b3ac;border-radius:12px}
.fnc-map-inset{position:relative}
.fnc-map-inset img{display:block;width:100%;height:auto}
.fnc-map-inset-view{position:absolute;left:0;top:0;width:73.1%;height:62.4%;border:1px dashed #8a8883;border-radius:2px}
.fnc-map-context-label{display:block;margin-top:5px;text-align:center;font:600 12px/1.5 Inter,Arial,sans-serif;color:#626567}
.fnc-map-caption{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:18px 0 22px;border-bottom:1px solid #d8d0c5}
.researched-field .fnc-region-map .fnc-map-caption-title{font:700 16px/1.5 Inter,Arial,sans-serif;margin:0 0 16px}
.fnc-map-legend{display:flex;flex-wrap:wrap;gap:14px 28px;list-style:none;padding:0;margin:0}
.researched-field .fnc-region-map .fnc-map-legend li{display:flex;align-items:center;gap:10px;font:400 14px/1.5 Inter,Arial,sans-serif;margin:0}
.fnc-map-key{display:inline-block;flex:none;width:16px;height:16px;border:2px solid white;border-radius:50%}
.fnc-map-key-community{background:var(--fnc-map-community)}.fnc-map-key-centre{background:var(--fnc-map-water)}.fnc-map-key-hub{background:var(--fnc-map-hub)}
.researched-field .fnc-region-map .fnc-map-action{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:46px;border:1px solid #a34a12;border-radius:9px;padding:12px 24px;color:#a34a12;font:700 13px/1.4 Inter,Arial,sans-serif;text-transform:uppercase;text-decoration:none;background:transparent;transition:background .2s,color .2s}
.researched-field .fnc-region-map .fnc-map-action:hover{background:#a34a12;color:white}
.researched-field .fnc-region-map .fnc-map-note{font:italic 400 13px/1.6 Inter,Arial,sans-serif;margin:10px 0 0;color:#626567}
.fnc-map-dialog{color:#414042;background:var(--fnc-map-paper);width:min(1140px,94vw);max-width:94vw;max-height:92dvh;border:0;border-radius:12px;padding:0;overflow:hidden;box-shadow:0 20px 90px #0004}
.fnc-map-dialog[open]{display:flex;flex-direction:column}.fnc-map-dialog::backdrop{background:#1a2833bb}
.fnc-map-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px 14px}
.researched-field .fnc-region-map .fnc-map-dialog h2{font:800 22px/1.25 Inter,Arial,sans-serif;letter-spacing:-.02em;margin:0;max-width:none}
.fnc-map-close{flex:none;border:1px solid #9b958c;border-radius:6px;padding:10px 14px;font:600 13px/1.4 Inter,Arial,sans-serif;min-height:44px;background:transparent;color:#414042;cursor:pointer}
.fnc-map-close:hover{background:#ece6dd}
.fnc-map-toolbar{display:flex;align-items:center;gap:14px;padding:8px 24px;font:500 14px/1.5 Inter,Arial,sans-serif}
.fnc-map-toolbar input{width:180px;max-width:32vw;accent-color:#6e9253;min-height:32px}
.fnc-map-toolbar output{min-width:44px;font-variant-numeric:tabular-nums}
.fnc-map-toolbar a{margin-left:auto;font-weight:600}
.researched-field .fnc-region-map .fnc-map-help{padding:0 24px 12px;margin:0;font:400 13px/1.5 Inter,Arial,sans-serif;color:#626567}
.fnc-map-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;max-height:65dvh;border-top:1px solid #d8d0c5;touch-action:pan-x pan-y pinch-zoom}
.fnc-map-full{display:block;height:auto;max-width:none!important;min-width:100%;margin:0 auto}
@media(max-width:800px){.fnc-region-map{margin-bottom:48px}.fnc-map-stage{grid-template-columns:minmax(0,1fr) 140px;gap:16px}.fnc-map-context{padding:8px;border-radius:8px}.fnc-map-caption{align-items:flex-start;flex-wrap:wrap;gap:22px}.fnc-map-legend{gap:12px 20px}.researched-field .fnc-region-map .fnc-map-intro{font-size:17px}.fnc-map-dialog-header{padding:16px;gap:12px}.researched-field .fnc-region-map .fnc-map-dialog h2{font-size:18px}.fnc-map-toolbar{padding:8px 16px;gap:10px;flex-wrap:wrap}.researched-field .fnc-region-map .fnc-map-help{padding:0 16px 12px}.fnc-map-scroll{max-height:65dvh}}
@media(max-width:560px){.fnc-map-stage{display:block}.fnc-map-context{width:128px;margin:18px 0 0 auto}.fnc-map-caption{padding-top:18px}.fnc-map-caption>div{width:100%}.fnc-map-legend{gap:10px 18px}.researched-field .fnc-region-map .fnc-map-legend li{font-size:13px}.fnc-map-key{width:14px;height:14px}.fnc-map-dialog{width:96vw;max-width:96vw;max-height:94dvh}.fnc-map-toolbar a{font-size:13px}}
@media(prefers-reduced-motion:reduce){.fnc-map-action{transition:none!important}}
/* Field-specific map proportions retain the existing page and shared map system. */
.ecuador-region-map .fnc-map-stage{grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:start}
.ecuador-region-map .fnc-map-context{margin-top:24px}
.ecuador-region-map .fnc-map-image-link{width:100%;max-width:650px;margin-left:auto}
.ecuador-region-map .fnc-map-inset-view{display:none}
.fnc-map-key-river{width:24px;height:3px;border:0;border-radius:0;background:#7895a2}
.fnc-map-key-park{background:#6e9253}
.oaxaca-region-map .fnc-map-stage{display:block}
.oaxaca-region-map .fnc-map-region{max-width:1140px;margin:auto}
.oaxaca-region-map .fnc-map-caption{justify-content:flex-end;border:0;padding-top:10px}
@media (width > 800px) {
  .ecuador-region-map .fnc-map-figure,
  .researched-field .ecuador-region-map .fnc-map-note {
    max-width: 668px;
    margin-inline: auto;
  }
  .ecuador-region-map .fnc-map-stage {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 32px;
  }
  .oaxaca-region-map .fnc-map-figure {
    max-width: 840px;
    margin-inline: auto;
  }
}
@media(max-width:800px){.ecuador-region-map .fnc-map-stage{grid-template-columns:140px minmax(0,1fr);gap:20px}}
@media(max-width:560px){.ecuador-region-map .fnc-map-stage{display:flex;flex-direction:column}.ecuador-region-map .fnc-map-image-link{order:0}.ecuador-region-map .fnc-map-context{order:1;margin:0 0 0 auto;width:130px}}
