@charset "UTF-8";
/* Nineveh map — homepage cities, bishop church pins.
   Tokens only. Pins are SVG groups inside .nv-land (see nineveh-map.eta). */

.nv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s5);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(var(--s4), 3vw, var(--s6));
  box-shadow: var(--shadow-m);
}

/* Homepage: the map is the second column of `.two`, so it was the narrow
   0.85fr track. Give it the wider share. */
#eparchy .two {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  align-items: stretch;
}

.nv-stage {
  position: relative;
  aspect-ratio: 363 / 320;
  min-height: 18rem;
  max-height: 26rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.nv-land {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  display: block;
}

.nv-ninawa {
  fill: color-mix(in srgb, var(--gold) 22%, var(--surface));
  stroke: var(--navy);
  stroke-width: 1.4;
}

:root[data-theme="dark"] .nv-ninawa {
  fill: color-mix(in srgb, var(--gold) 22%, var(--surface));
  stroke: var(--gold);
}

.nv-pin {
  cursor: pointer;
  outline: none;
}

.nv-dot {
  fill: var(--navy);
  stroke: var(--gold);
  stroke-width: 1.6;
  transition: transform .25s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}

.nv-name {
  font-size: 11px;
  font-weight: 600;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
  pointer-events: none;
  opacity: 0;
}

.nv-pin:hover .nv-dot,
.nv-pin:focus-visible .nv-dot,
.nv-pin.is-on .nv-dot {
  transform: scale(1.25);
  fill: var(--gold);
  stroke: var(--navy);
}

.nv-pin:hover .nv-name,
.nv-pin:focus-visible .nv-name,
.nv-pin.is-on .nv-name {
  opacity: 1;
}

:root[data-theme="dark"] .nv-pin.is-on .nv-dot,
:root[data-theme="dark"] .nv-pin:hover .nv-dot,
:root[data-theme="dark"] .nv-pin:focus-visible .nv-dot {
  fill: var(--gold);
  stroke: var(--surface);
}

.nv-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 10rem;
}

.nv-li {
  width: 100%;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s3);
  background: none; border: 0;
  padding: 10px 12px; border-radius: 10px;
  text-align: start; cursor: pointer;
  color: inherit; font: inherit;
  transition: background-color .2s var(--ease);
}

.nv-li:hover, .nv-li:focus-visible, .nv-li.is-on {
  background: var(--bg-2);
}

.nv-li b { font-weight: 600; }
.nv-li span {
  font-size: 12.5px; color: var(--muted);
}

.nv-ch {
  list-style: none; margin: 0 12px 8px; padding: 0 0 0 var(--s4);
  border-inline-start: 2px solid var(--gold);
}

.nv-ch li {
  font-size: 14px; color: var(--ink-2);
  padding: 4px 0; line-height: 1.55;
}

.nv-off .nv-li { opacity: .7; }

.nv-cap {
  margin: var(--s3) 0 0;
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
}

@media (max-width: 820px) {
  .nv { grid-template-columns: 1fr; }
  #eparchy .two { grid-template-columns: 1fr; }
  .nv-stage { max-height: none; min-height: 16rem; }
}
