.volby26-page {
  margin: 0 auto 40px;
  max-width: 1110px;
  padding-top: 8px;
}

.volby26-intro {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.volby26-intro ul {
  margin: 0;
  padding-left: 20px;
}

.volby26-hero {
  margin-bottom: 36px;
  text-align: center;
}

.volby26-h {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  text-align: center;
}

.volby26-badge {
  align-items: center;
  color: var(--v26-accent-text);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  height: 18px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.volby26-accent {
  color: var(--v26-accent);
}

.volby26-sub {
  color: #595959;
  font-size: 14px;
  margin: 0 0 18px;
  text-align: center;
}

.volby26-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
}

.volby26-stats > div {
  background: #f7f7f7;
  border-radius: 10px;
  min-width: 200px;
  padding: 10px 18px;
}

.volby26-stats dt {
  color: var(--v26-muted);
  font-size: 12px;
  font-weight: 400;
}

.volby26-stats dd {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  margin: 2px 0 0;
  white-space: nowrap;
}

.volby26-time {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 11ch;
  text-align: left;
}

.volby26-block {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}

.volby26-block > .volby26-h {
  margin-bottom: 18px;
}

.volby26-tabs {
  display: none;
}

.volby26-grid {
  border-top: 1px dashed #212529;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.volby26-region {
  border-bottom: 1px dashed #212529;
  border-right: 1px dashed #212529;
  padding: 18px 16px 16px;
  scroll-margin-top: 90px;
}

.volby26-region:nth-child(4n) {
  border-right: 0;
}

.volby26-region__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 2px;
  text-align: center;
}

.volby26-panel__meta {
  color: var(--v26-muted);
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 10px;
  min-height: 18px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.volby26-panel__meta strong {
  color: var(--v26-text);
}

.volby26-candidates {
  list-style: none;
  margin: 0;
  padding: 0;
}

.volby26-list {
  min-height: 304px;
}

.volby26-list.is-empty {
  min-height: 0;
}

.volby26-candidate {
  display: grid;
  gap: 2px 8px;
  grid-template-areas: 'name pct' 'bar bar' 'parties parties';
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 20px 10px 30px;
  height: 76px;
  overflow: hidden;
  padding: 6px 0;
}

.volby26-page.is-js [data-volby26-group]:not(.is-open) [data-volby26-more] {
  display: none;
}

.volby26-page:not(.is-js) .volby26-more,
.volby26-page:not(.is-js) #mapa {
  display: none;
}

.volby26-candidate__name {
  font-size: 14px;
  font-weight: 600;
  grid-area: name;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.volby26-candidate__pct {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  grid-area: pct;
  line-height: 20px;
}

.volby26-candidate .volby26-bar {
  align-self: center;
  grid-area: bar;
}

.volby26-candidate:not(.volby26-candidate--leader) .volby26-bar > span {
  background: #adb5bd;
}

.volby26-candidate--leader .volby26-candidate__name {
  font-weight: 800;
}

.volby26-candidate__parties {
  -webkit-box-orient: vertical;
  color: var(--v26-muted);
  display: -webkit-box;
  font-size: 11px;
  grid-area: parties;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 15px;
  overflow: hidden;
}

.volby26-more-slot {
  height: 32px;
}

.volby26-more {
  background: none;
  border: 0;
  color: var(--v26-accent-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  padding: 6px 0;
}

.volby26-section-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 14px;
}

.volby26-specials__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.volby26-specials .feed-article__index-number {
  display: none;
}

.volby26-map {
  aspect-ratio: 1357 / 708;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  width: 100%;
}

.volby26-map__svg,
.volby26-map__svg svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.volby26-map__kraj {
  cursor: pointer;
}

.volby26-map__kraj path {
  fill: #fff;
  paint-order: stroke;
  stroke: #333;
  stroke-linejoin: round;
  stroke-width: 2.8;
  transition: fill 0.15s ease;
}

.volby26-map__kraj:hover path {
  fill: #ffd6d6;
}

.volby26-map__kraj.is-active path {
  fill: var(--v26-accent);
}

.volby26-map__kraj:focus {
  outline: none;
}

.volby26-map__kraj:focus-visible path {
  paint-order: normal;
  stroke: #000;
  stroke-width: 8;
}

.volby26-map__label {
  fill: var(--v26-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 26px;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 5px;
  text-anchor: middle;
}

.volby26-map__label .volby26-map__code {
  font-size: 26px;
  font-weight: 800;
}

.volby26-map__label .volby26-map__leader {
  font-weight: 700;
}

.volby26-map__info {
  background: #fff;
  border: 1px solid var(--v26-line);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  left: 0;
  max-width: 280px;
  padding: 10px 14px;
  position: absolute;
  top: 0;
}

.volby26-map__info:empty {
  display: none;
}

.volby26-map__info-title {
  font-size: 15px;
}

.volby26-map__info-row {
  font-size: 14px;
  font-weight: 700;
}

.volby26-map__info-row--second {
  color: var(--v26-muted);
  font-weight: 400;
}

.volby26-map__info-meta {
  color: var(--v26-muted);
  font-size: 12px;
}

.volby26-empty {
  color: var(--v26-muted);
  font-size: 14px;
  margin: 8px 0;
  text-align: center;
}

.volby26-search {
  display: block;
  margin: 0 auto;
  max-width: 560px;
}

.volby26-search input {
  border: 1px solid #ced4da;
  border-radius: 10px;
  font-size: 16px;
  height: 48px;
  padding: 0 14px;
  width: 100%;
}

.volby26-tab:focus-visible,
.volby26-more:focus-visible,
.volby26-search input:focus-visible {
  outline: 2px solid var(--v26-text);
  outline-offset: 2px;
}

.volby26-results {
  list-style: none;
  margin: 10px auto 0;
  max-width: 560px;
  padding: 0;
}

.volby26-result {
  align-items: baseline;
  border-bottom: 1px solid #f1f3f5;
  display: grid;
  gap: 2px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 9px 2px;
}

.volby26-result__town {
  font-size: 15px;
  font-weight: 700;
}

.volby26-result__okres {
  color: var(--v26-muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 6px;
}

.volby26-result__mayor {
  font-size: 14px;
  grid-column: 1;
}

.volby26-result__mayor small {
  color: var(--v26-muted);
  font-size: 12px;
}

.volby26-result__pct {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.volby26-result--pending .volby26-result__mayor {
  color: var(--v26-muted);
}

@media (max-width: 991px) {
  .volby26-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .volby26-region:nth-child(4n) {
    border-right: 1px dashed #212529;
  }

  .volby26-region:nth-child(2n) {
    border-right: 0;
  }

  .volby26-specials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .volby26-h {
    font-size: 22px;
  }

  .volby26-stats > div {
    flex: 1 1 40%;
    min-width: 0;
    padding: 8px 12px;
  }

  .volby26-stats dd {
    font-size: 18px;
  }

  .volby26-page.is-js .volby26-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
  }

  .volby26-tab {
    background: #fff;
    border: 1px solid #212529;
    border-radius: 5px;
    color: #212529;
    cursor: pointer;
    flex: 1 1 0;
    font-size: 13px;
    font-weight: 700;
    min-height: 36px;
    min-width: 0;
    padding: 6px 0;
  }

  .volby26-tab.is-active {
    background: var(--v26-accent-text);
    border-color: var(--v26-accent-text);
    color: #fff;
  }

  .volby26-grid {
    border-top: 0;
    display: block;
  }

  .volby26-region {
    border-right: 0;
    padding: 14px 0;
  }

  .volby26-page.is-js .volby26-region {
    border: 0;
    display: none;
    padding: 0;
  }

  .volby26-page.is-js .volby26-region.is-active {
    display: block;
  }

  .volby26-specials__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .volby26-specials__grid > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .volby26-map {
    margin-bottom: 136px;
  }

  .volby26-map__info {
    max-width: none;
    right: 0;
    top: calc(100% + 8px);
  }

  .volby26-map__label,
  .volby26-map__label .volby26-map__code {
    font-size: 44px;
  }

  .volby26-map__label .volby26-map__leader {
    display: none;
  }
}

.volby26-page .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.volby26-badge.is-off {
  visibility: hidden;
}

@media (max-width: 767px) {
  .volby26-page [data-volby26='status-line'] {
    min-height: 42px;
  }
}

.volby26-map.volby26-map--failed {
  aspect-ratio: auto;
}

.volby26-page.is-empty .volby26-updated,
.volby26-page.is-empty .volby26-stats,
.volby26-page.is-empty #mesta,
.volby26-page.is-empty #kraje,
.volby26-page.is-empty #mapa,
.volby26-page.is-empty #obce,
.volby26-page.is-empty .volby26-specials {
  display: none;
}

.volby26-page.is-empty .volby26-hero {
  margin-bottom: 24px;
}

.volby26-reveal {
  background: none;
  border: 0;
  color: var(--v26-accent-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

.volby26-reveal:focus-visible {
  outline: 2px solid var(--v26-text);
  outline-offset: 2px;
}

.volby26-page.is-empty .volby26-badge {
  display: none;
}

.volby26-badge.is-off .volby26-live::after,
.volby26-page.is-empty .volby26-live::after {
  animation: none;
}
