/* National site additions on top of static_v2/style.css (which stays untouched). */

/* C klasa: the lowest kind, below B klasa's t7. */
.tbadge.t8 { background: var(--sunken); color: var(--muted); border: 1px solid var(--line); }

/* Gate warning: same note box, coral instead of amber. */
.note.warn { border-left-color: var(--coral); margin: 0 0 18px; }

/* Voivodeship links in the footer. */
.foot .regs { font-size: 12.5px; line-height: 1.9; }
.foot .regs a { font-weight: 600; white-space: nowrap; }
.foot .regs b { color: var(--on-deep); white-space: nowrap; }
/* National home: one card per voivodeship. */
.regcards { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .regcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .regcards { grid-template-columns: repeat(3, 1fr); } }
.regcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.regcard .regname {
  font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.regcard a.regname:hover { color: var(--pitch-deep); }
.regcard .regmeta { font-size: 13px; color: var(--muted); }
.regcard .regmeta .ic { width: 14px; height: 14px; vertical-align: -2px; }
.reglgs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reglgs a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; min-width: 0; }
.reglgs a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reglgs a:hover { color: var(--pitch-deep); }
.reglgs .tbadge { width: 34px; height: 34px; border-radius: 10px; font-size: 11.5px; }
.regcard .regall { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 700; }
.regcard .regall .ic { width: 14px; height: 14px; vertical-align: -2px; }
.regcard-off { background: var(--sunken); }
.regcard-off .regname { color: var(--muted); }

/* Map of Poland on the site root. */
.mapsec { margin: 0 0 28px; }
.plmap { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; }
.plmap path { stroke: var(--surface); stroke-width: 1.4; stroke-linejoin: round; }
.plmap path.on { fill: var(--pitch); transition: fill .15s; }
.plmap a:hover path.on, .plmap a:focus-visible path.on { fill: var(--pitch-deep); }
.plmap a:focus-visible { outline: none; }
.plmap path.off { fill: var(--line); }
.plmap text {
  font-family: var(--disp); font-size: 12.5px; font-weight: 700; text-anchor: middle;
  pointer-events: none; paint-order: stroke; stroke-width: 3px; stroke-linejoin: round;
}
.plmap text.on { fill: #fff; stroke: var(--pitch-deep); }
.plmap text.off { fill: var(--muted); stroke: var(--line); }
@media (max-width: 519px) { .plmap-labels { display: none; } }
