/* fermadraugiem.lv/kur/<id>/ — «Mans pagasts» (task 6e18c40d): one place's page, built by landing/tools/build-pagasti.mjs.
   Uses pages.css for the hero, the wooden boards, the call to action and the note; this sheet adds only the small map, the
   neighbours, the names and the sights. Mobile first; the land colours are the /kur/ map's (css/kur.css, js/place-search.js LAND).
   No inline styles anywhere (the inner pages' CSP): the map's text size is an SVG presentation attribute, the rest is here. */
.v-hero{padding-bottom:44px}
.v-hero .pg-crumbs{margin-bottom:14px}
.v-hero h1{font-size:clamp(26px,4.4vw,42px);overflow-wrap:anywhere}

.v-top{display:grid;gap:18px;margin:0 0 30px}
@media (min-width:820px){.v-top{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start}}

/* the map: the place in its land's colour, its neighbours (links) lighter, what else is in view pale, the sea around */
.v-map{--k:#f3bb82;--z:#f4d873;--v:#a5d47f;--l:#c7aee3;--s:#eaa99c;position:relative;margin:0}
.v-svg{display:block;width:100%;height:auto;background:#bfe0f2;border:3px solid #5A2E0C;border-radius:14px;box-sizing:border-box;box-shadow:0 3px 0 #5A2E0C}
.v-bg{fill:#bfe0f2}
.v-o{fill:#EFE6D2;stroke:#B39B7A;stroke-width:1px;vector-effect:non-scaling-stroke}
.v-n{stroke:#8A5A2B;stroke-width:1px;vector-effect:non-scaling-stroke}
.v-p{stroke:#5A2E0C;stroke-width:3px;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.v-lK,.v-svg a:hover .v-lK{fill:var(--k)}.v-lZ,.v-svg a:hover .v-lZ{fill:var(--z)}.v-lV,.v-svg a:hover .v-lV{fill:var(--v)}
.v-lL,.v-svg a:hover .v-lL{fill:var(--l)}.v-lS,.v-svg a:hover .v-lS{fill:var(--s)}
/* a neighbour: its land's colour, half way to paper (solid, so the sea never shows through) */
.v-n.v-lK{fill:#f9d8b1}.v-n.v-lZ{fill:#f9e7aa}.v-n.v-lV{fill:#d2e5af}.v-n.v-lL{fill:#e3d2e2}.v-n.v-lS{fill:#f5cfbe}
.v-tx{font-family:var(--g-font);fill:#3A1D00;text-anchor:middle;paint-order:stroke;stroke:#FFF6E0;stroke-width:.22em;stroke-linejoin:round;pointer-events:none}
.v-tp{font-weight:700}
/* the locator: Latvia of the five lands, the place ringed */
.v-loc{position:absolute;left:8px;top:8px;width:min(30%,190px);height:auto;padding:3px;background:#FFF6E0;border:2px solid #8A5A2B;border-radius:8px;box-sizing:border-box}
.v-dot{fill:rgba(152,20,4,.22);stroke:#981404;stroke-width:2.5px;vector-effect:non-scaling-stroke}
.v-map figcaption{margin:8px 2px 0;font-size:14px;line-height:1.4;color:#5A3A1C}

/* the neighbours */
.v-nb .pg-h2{margin-top:0}
.v-nb__list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.v-nb__list li{padding:8px 12px;background:#F7EBD2;border:2px solid #C9A06A;border-radius:10px;line-height:1.35}
.v-nb__list a{font-weight:700}
.v-nb__list span{color:#5A3A1C}

/* names: one line of words per kind */
.v-names h3{margin:1em 0 .35em;font:700 18px/1.25 var(--g-font);color:#2A6E16}
.v-names h3 span{display:inline-block;min-width:1.6em;margin-left:.3em;padding:0 .4em;border-radius:999px;font-size:14px;line-height:1.5;text-align:center;color:#3A1D00;background:#F4E3BC;border:1px solid #C9A06A}
.v-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2em 1.1em;max-width:none}
.v-list li{position:relative}
.v-list li+li::before{content:"·";position:absolute;left:-.7em;color:#8A5A2B}

/* the sights */
.v-sights__list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
@media (min-width:720px){.v-sights__list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}
.v-sights__list li{padding:16px 18px}
.v-sights__list h3{margin:0 0 .3em;font:700 19px/1.25 var(--g-font);color:#2A6E16}
.v-sights__list p{margin:0 0 .5em}
.v-where{font-weight:700;color:#5A3A1C}
.v-src{font-size:14px;color:#5A3A1C}

/* the call to action and the note */
.v-count{font-weight:700}
.v-said{min-height:1.4em;margin:.6em auto 0;font-size:15px;font-weight:700}
.v-said:empty{visibility:hidden}
.v-note{margin:0 0 20px;font-size:15px;line-height:1.5}
.v-note p{margin:0 0 .6em}
.v-attr{font-size:13px;color:#5A3A1C}
.v-nb+.v-close{margin-top:18px}
.v-close__why,.v-names__about{margin:0 0 .6em;font-size:14px;line-height:1.45;color:#5A3A1C}
