/* Interactive homepage map · FutureNationalParks.com */
.fnpm { position: relative; }
.fnpm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fnpm-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fnpm-search { flex: 1 1 280px; max-width: 460px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px;
  background: rgba(244, 241, 234, 0.08); border: 1px solid rgba(242, 235, 221, 0.28); border-radius: 999px; color: var(--cream-text, #F2EBDD); }
.fnpm-search:focus-within { border-color: var(--gold, #E6B450); background: rgba(244, 241, 234, 0.12); }
.fnpm-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; }
.fnpm-search input::placeholder { color: rgba(242, 235, 221, 0.6); }
.fnpm-zoom { display: flex; gap: 6px; }
.fnpm-zoom button { height: 46px; min-width: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(242, 235, 221, 0.28);
  background: rgba(244, 241, 234, 0.08); color: var(--cream-text, #F2EBDD); font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.fnpm-zoom .fnpm-reset { font-size: 15px; letter-spacing: 0.02em; }
.fnpm-zoom button:hover, .fnpm-zoom button:focus-visible { border-color: var(--gold, #E6B450); color: var(--gold, #E6B450); outline: none; }

.fnpm-stage { position: relative; border-radius: 14px; overflow: hidden; background: #1d3043;
  box-shadow: inset 0 0 0 1px rgba(242, 235, 221, 0.12); touch-action: none; user-select: none; -webkit-user-select: none; }
.fnpm-svg { display: block; width: 100%; height: auto; cursor: grab; }
.fnpm-svg.dragging { cursor: grabbing; }
.fnpm-landfill { fill: #2a445d; }
.fnpm-mesh { fill: none; stroke: #F2EBDD; stroke-opacity: 0.22; stroke-width: 0.6; }
.fnpm-coast { fill: none; stroke: #F2EBDD; stroke-opacity: 0.38; stroke-width: 0.8; }
.fnpm-inset { fill: none; stroke: #F2EBDD; stroke-opacity: 0.3; stroke-width: 0.8; stroke-dasharray: 3 3; }
.fnpm-inset-label { font-family: var(--band-font, Helvetica, Arial, sans-serif); font-size: 7px; fill: #F2EBDD; fill-opacity: 0.6; }

.fnpm .pin .dot, .fnpm-np .dot { transition: stroke 0.12s; }
.fnpm .pin:focus { outline: none; }
.fnpm .pin.on .dot, .fnpm .pin:focus-visible .dot { stroke: #FFFFFF; }
.fnpm-np .hit, .fnpm .pin .hit { fill: transparent; }
.fnpm-np .dot { fill: #F4F1EA; stroke: #1B2E41; stroke-width: 1.2; }
.fnpm-np:hover .dot, .fnpm-np.on .dot, .fnpm-np:focus-visible .dot { fill: #FFFFFF; stroke: #E6B450; }
.fnpm-np:focus { outline: none; }

.fnpm-svg.hide-0 .pin.st0, .fnpm-svg.hide-1 .pin.st1, .fnpm-svg.hide-2 .pin.st2, .fnpm-svg.hide-3 .pin.st3, .fnpm-svg.hide-np .fnpm-np { display: none; }

.fnpm-label { font-family: var(--band-font, Helvetica, Arial, sans-serif); font-weight: 700; fill: #F2EBDD; stroke: #22384E; stroke-linejoin: round; paint-order: stroke; pointer-events: none; }
.fnpm-label.fnpm-npl { fill: #FFFFFF; font-weight: 600; font-style: italic; }

.fnpm-tip { position: absolute; z-index: 5; width: min(300px, calc(100% - 24px)); padding: 14px 16px 14px; border-radius: 12px;
  background: #F4F1EA; color: #1B2E41; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); font-size: 15px; line-height: 1.4; pointer-events: auto; }
.fnpm-tip[hidden] { display: none; }
.fnpm-tip .t-name { font-size: 18px; font-weight: 800; line-height: 1.2; margin: 0 22px 2px 0; }
.fnpm-tip .t-loc { color: #4A5563; font-size: 14px; }
.fnpm-tip .t-chip { display: inline-flex; align-items: center; gap: 6px; margin: 9px 0 8px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #FFFFFF; border: 1px solid #E3DED3; }
.fnpm-tip .t-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1.5px solid #22384E; }
.fnpm-tip .t-k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7A530C; margin-top: 2px; }
.fnpm-tip .t-years { font-weight: 600; }
.fnpm-tip .t-go { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-weight: 800; color: #1B2E41; text-decoration: underline; text-underline-offset: 3px; }
.fnpm-tip .t-go:hover { color: #7A530C; }
.fnpm-tip .t-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #4A5563; font-size: 20px; line-height: 1; cursor: pointer; }
.fnpm-tip .t-x:hover { background: #E3DED3; }

.fnpm-legend { gap: 10px 12px; }
.fnpm-filter { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(242, 235, 221, 0.28); background: rgba(244, 241, 234, 0.06); color: var(--cream-text, #F2EBDD); font: inherit; font-size: 15px; }
.fnpm-filter:hover, .fnpm-filter:focus-visible { border-color: var(--gold, #E6B450); outline: none; }
.fnpm-filter[aria-pressed="false"] { opacity: 0.45; text-decoration: line-through; }
.fnpm-hint { margin: 12px 0 0; font-size: 14px; color: rgba(242, 235, 221, 0.7); }
@media (max-width: 640px) { .fnpm-zoom .fnpm-reset { display: none; } .fnpm-filter { font-size: 14px; } .fnpm-tip { width: min(250px, calc(100% - 16px)); padding: 11px 13px; font-size: 14px; } .fnpm-tip .t-name { font-size: 16px; } .fnpm-tip .t-chip { margin: 6px 0; } }
