/* Harta comunei (vezi _harta.py). Scrisă de mână; o încarcă „Povestea comunei” și „Despre comună”.
   Desenul e într-o singură culoare, cea aleasă a site-ului; numele sunt scris adevărat, așezat peste desen. */
.inauntru .hb { margin: 0; }
.inauntru .hb-plan { position: relative; aspect-ratio: 1000 / 1020; }
.inauntru .hb-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.inauntru .hb-com { fill: color-mix(in srgb, var(--ac) 9%, #fff); }
.inauntru .hb-tes { fill: url(#hb-puncte); color: var(--ac); opacity: .2; }
.inauntru .hb-plan pattern circle { fill: var(--ac); }
.inauntru .hb-hot { fill: none; stroke: var(--ac); stroke-width: 3.5; stroke-linejoin: round; }
.inauntru .hb-apa { fill: none; stroke: color-mix(in srgb, var(--ac) 30%, #fff); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.inauntru .hb-lac { fill: color-mix(in srgb, var(--ac) 48%, #fff); stroke: #fff; stroke-width: 2; }
.inauntru .hb-dj-c { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.inauntru .hb-dj { fill: none; stroke: var(--ac-i); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.inauntru .hb-dc { fill: none; stroke: var(--ac-i); stroke-width: 2.6; stroke-dasharray: .1 8; stroke-linecap: round; }
.inauntru .hb-scara { fill: none; stroke: #44444c; stroke-width: 2; }
.inauntru .hb-nord { fill: #44444c; }

.inauntru .hb-plan ul { list-style: none; margin: 0; padding: 0; }
.inauntru .hb-plan li { position: absolute; display: flex; align-items: center; gap: 9px; white-space: nowrap; transform: translate(-7px, -50%); }
.inauntru .hb-plan li.hb-st { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.inauntru .hb-plan li.hb-sus { flex-direction: column-reverse; gap: 5px; transform: translate(-50%, calc(-100% + 7px)); }
.inauntru .hb-plan li.hb-jos { flex-direction: column; gap: 5px; transform: translate(-50%, -7px); }
.inauntru .hb-plan li.hb-fara { transform: translate(-50%, -50%); }
.inauntru .hb-plan li.hb-fara-st { transform: translate(-100%, -50%); }
.inauntru .hb-plan li :is(b, span, small) { text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 7px #fff, 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; }
.inauntru .hb-plan li i { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.inauntru .hb-sate i { background: var(--ac); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ac); }
.inauntru .hb-sate .hb-res i { background: #fff; box-shadow: inset 0 0 0 4px var(--ac), 0 0 0 3px #fff, 0 0 0 4.5px var(--ac); }
.inauntru .hb-n { display: flex; flex-direction: column; gap: 1px; color: #111; text-decoration: none; }
.inauntru .hb-sus .hb-n, .inauntru .hb-jos .hb-n { align-items: center; }
.inauntru .hb-n b { font: 600 18px/1.1 var(--titlu); letter-spacing: .03em; color: #111; }
.inauntru .hb-n small { font-size: 14px; line-height: 1.2; color: #44444c; }
.inauntru a.hb-n:hover b, .inauntru a.hb-n:focus-visible b { color: var(--ac); text-decoration: underline; text-underline-offset: .18em; }
.inauntru .hb-vecini i { width: 10px; height: 10px; margin: 2px; background: #fff; border: 2px solid #6b6b74; box-sizing: border-box; }
.inauntru .hb-vecini :is(.hb-fara, .hb-fara-st) i { display: none; }
.inauntru .hb-vecini span { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #55555e; }
.inauntru .hb-rau, .inauntru .hb-lit, .inauntru .hb-km { position: absolute; white-space: nowrap; }
.inauntru .hb-rau { transform: translate(-50%, -50%) rotate(var(--u, 0deg)) translateY(var(--o, -17px)); font-size: 14px; font-style: italic; font-weight: 600; letter-spacing: .2em; color: color-mix(in srgb, var(--ac) 88%, #fff);
  text-shadow: 0 0 3px #fff, 0 0 5px #fff; }
.inauntru .hb-lit { transform: translate(-50%, -50%); font: 600 16px/1 var(--titlu); color: #44444c; }
.inauntru .hb-km { transform: translate(-50%, -100%); font-size: 14px; font-weight: 600; color: #44444c; }
.inauntru .hb figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: #55555e; text-wrap: pretty; }
.inauntru .hb figcaption span { display: block; }
/* satul la care a ajuns cititorul (pe „Despre comună”) se aprinde pe hartă */
.inauntru .hb-sate li i { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.inauntru .hb-sate li.hb-aici i { transform: scale(1.3); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ac), 0 0 0 13px color-mix(in srgb, var(--ac) 22%, transparent); }
.inauntru .hb-sate li.hb-res.hb-aici i { box-shadow: inset 0 0 0 4px var(--ac), 0 0 0 3px #fff, 0 0 0 5px var(--ac), 0 0 0 13px color-mix(in srgb, var(--ac) 22%, transparent); }
.inauntru .hb-sate li.hb-aici b { color: var(--ac); }

@media (max-width: 760px) {
  .inauntru .hb-n b { font-size: 15px; }
  .inauntru .hb-plan li { gap: 6px; }
  .inauntru .hb-plan li i { width: 11px; height: 11px; }
  .inauntru .hb-plan li { transform: translate(-5.5px, -50%); }
  .inauntru .hb-plan li.hb-st { transform: translate(calc(-100% + 5.5px), -50%); }
  .inauntru .hb-vecini span { letter-spacing: .08em; }
  .inauntru .hb-vecini i { width: 8px; height: 8px; margin: 1.5px; }
}
