/* Osobnosti – přebírá barvy a písma šablony Vaše věc, jinde má vlastní výchozí. */
.vvo-main { --o-accent: var(--accent, #a97b3e); --o-dark: var(--dark, #0e1a3a); --o-ink: var(--ink, #121a2e); --o-muted: var(--muted, #5a6275); --o-line: var(--line, #e2e5eb); --o-surface: var(--surface, #fff); --o-bg: var(--bg, #f6f7f9); --o-head: var(--head-font, Georgia, serif); --o-r: var(--r, 14px); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); color: var(--o-ink); }
.vvo-wrap { max-width: var(--wrap, 1240px); margin-inline: auto; padding-inline: var(--gutter, clamp(1rem, 4vw, 2rem)); }
.vvo-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.vvo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1.3rem; border-radius: 8px; border: 1px solid var(--accent, #a97b3e); background: var(--accent, #a97b3e); color: var(--on-accent, #fff); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.vvo-btn:hover { filter: brightness(.92); color: var(--on-accent, #fff); }
.vvo-btn--ghost { background: var(--o-surface); color: var(--o-ink); border-color: var(--o-line); }
.vvo-btn--ghost:hover { border-color: var(--o-ink); color: var(--o-ink); filter: none; }

/* Hvězdičky */
.vvo-stars { position: relative; display: inline-block; width: 5.3em; height: 1em; font-size: 16px; line-height: 1; vertical-align: -.12em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9dde4' d='m12 2.8 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1 6.4 20l1.1-6.2L2.9 9.4l6.3-.9z'/%3E%3C/svg%3E") left center / 1.06em 1em repeat-x; }
.vvo-stars__fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2a23b' d='m12 2.8 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1 6.4 20l1.1-6.2L2.9 9.4l6.3-.9z'/%3E%3C/svg%3E") left center / 1.06em 1em repeat-x; }
.vvo-stars--lg { font-size: 24px; }

/* Panel nástrojů */
.vvo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.vvo-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.vvo-chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .45rem .9rem; border: 1px solid var(--o-line); border-radius: 999px; background: var(--o-surface); text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--o-ink); }
.vvo-chip span { font-size: .78rem; color: var(--o-muted); }
.vvo-chip:hover { border-color: var(--o-accent); color: var(--o-ink); }
.vvo-chip.is-active { background: var(--o-dark); border-color: var(--o-dark); color: var(--on-dark, #fff); }
.vvo-chip.is-active span { color: inherit; opacity: .7; }
.vvo-filter { display: flex; gap: .5rem; flex-wrap: wrap; }
.vvo-filter input, .vvo-filter select { min-height: 44px; padding: .6rem .85rem; border: 1px solid var(--o-line); border-radius: 8px; background: var(--o-surface); font: inherit; font-size: max(16px, 1em); color: var(--o-ink); }
.vvo-filter input { width: 220px; }

/* Karty */
.vvo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.4rem); }
@media (max-width: 1100px) { .vvo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .vvo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vvo-card { position: relative; display: flex; flex-direction: column; background: var(--o-surface); border: 1px solid var(--o-line); border-radius: var(--o-r); overflow: hidden; }
.vvo-card:hover { border-color: var(--o-accent); }
.vvo-card__photo { position: relative; aspect-ratio: 4 / 5; background: var(--o-dark); overflow: hidden; }
.vvo-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.vvo-photo--initials { display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--accent, #a97b3e) 70%, #fff); font-family: var(--o-head); font-size: 3.2rem; font-weight: 600; }
.vvo-card__rank { position: absolute; left: .7rem; top: .7rem; min-width: 2.4rem; padding: .25rem .55rem; border-radius: 8px; background: var(--o-dark); color: #fff; font-family: var(--o-head); font-weight: 600; font-size: 1.05rem; text-align: center; }
.vvo-card__body { display: flex; flex-direction: column; flex: 1; padding: .95rem 1rem 1.05rem; }
.vvo-card__name { font-family: var(--o-head); font-size: 1.2rem; line-height: 1.2; margin: 0 0 .3rem; }
.vvo-card__name a { text-decoration: none; color: var(--o-ink); }
.vvo-card__name a::after { content: ""; position: absolute; inset: 0; }
.vvo-card:hover .vvo-card__name a { color: var(--o-accent); }
.vvo-card__role { margin: 0; font-size: .88rem; color: var(--o-muted); line-height: 1.35; }
.vvo-card__party { margin: .2rem 0 0; font-size: .82rem; font-weight: 600; color: var(--o-accent); }
.vvo-card__rating { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .88rem; }
.vvo-card__rating strong { font-size: 1rem; }
.vvo-card__rating span:not(.vvo-stars):not(.vvo-stars__fill) { color: var(--o-muted); }
.vvo-card__none { font-size: .82rem; }
@media (max-width: 520px) { .vvo-card__body { padding: .75rem .8rem .85rem; } .vvo-card__name { font-size: 1.05rem; } .vvo-stars { font-size: 14px; } }

.vvo-empty { color: var(--o-muted); }
.vvo-main .navigation.pagination { margin-top: 2rem; }

/* Výzva */
.vvo-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--o-dark); color: var(--on-dark, #fff); border-radius: var(--o-r); }
.vvo-cta h2 { font-family: var(--o-head); color: inherit; margin: 0 0 .3rem; font-size: 1.6rem; }
.vvo-cta p { margin: 0; opacity: .85; }

/* Profil */
.vvo-crumbs { font-size: .9rem; color: var(--o-muted); margin-bottom: 1.25rem; }
.vvo-crumbs a { color: var(--o-accent); font-weight: 600; text-decoration: none; }
.vvo-profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.vvo-profile__photo .vvo-photo--big { aspect-ratio: 4 / 5; border-radius: var(--o-r); background: var(--o-dark); }
.vvo-profile__photo .vvo-photo--initials { font-size: 5rem; }
.vvo-credit { font-size: .78rem; color: var(--o-muted); margin: .5rem 0 0; line-height: 1.4; }
.vvo-credit a { color: inherit; }
.vvo-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--o-accent); margin: 0 0 .4rem; text-transform: uppercase; }
.vvo-profile__name { font-family: var(--o-head); font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.05; margin: 0 0 .4rem; }
.vvo-profile__role { font-size: 1.15rem; margin: 0; }
.vvo-profile__party { margin: .3rem 0 0; font-weight: 600; color: var(--o-accent); }
.vvo-rating { margin-top: 1.75rem; padding: clamp(1.1rem, 3vw, 1.6rem); background: var(--o-surface); border: 1px solid var(--o-line); border-radius: var(--o-r); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 2rem; }
.vvo-rating__summary { display: flex; align-items: center; gap: 1rem; }
.vvo-rating__avg { font-family: var(--o-head); font-size: 3.4rem; font-weight: 600; line-height: 1; }
.vvo-rating__count { margin: .35rem 0 0; color: var(--o-muted); font-size: .9rem; }
.vvo-dist { display: flex; flex-direction: column; gap: .3rem; justify-content: center; }
.vvo-dist__row { display: grid; grid-template-columns: 2rem 1fr 2.5rem; gap: .5rem; align-items: center; font-size: .82rem; color: var(--o-muted); }
.vvo-dist__bar { height: 8px; border-radius: 4px; background: var(--o-bg); overflow: hidden; }
.vvo-dist__bar span { display: block; height: 100%; background: #e2a23b; border-radius: 4px; transition: width .4s ease; }
.vvo-dist__n { text-align: right; }
.vvo-vote { grid-column: 1 / -1; padding-top: 1.1rem; border-top: 1px solid var(--o-line); }
.vvo-vote__label { font-weight: 700; margin: 0 0 .35rem; }
.vvo-vote__stars { display: flex; gap: .15rem; }
.vvo-vote__stars button { width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.vvo-vote__stars svg { fill: #d9dde4; transition: fill .12s, transform .12s; }
.vvo-vote__stars button.is-on svg, .vvo-vote__stars button.is-hover svg { fill: #e2a23b; }
.vvo-vote__stars button:hover svg { transform: scale(1.1); }
.vvo-vote__stars button:focus-visible { outline: 3px solid var(--o-accent); }
.vvo-vote__stars[aria-busy="true"] { opacity: .5; pointer-events: none; }
.vvo-vote__msg { margin: .4rem 0 0; font-size: .9rem; color: var(--o-muted); }
.vvo-vote__msg.is-ok { color: var(--ok, #17694a); font-weight: 600; }
.vvo-vote__msg.is-err { color: var(--err, #a61b1b); font-weight: 600; }
.vvo-content { margin-top: 1.75rem; font-family: var(--prose-font, Georgia, serif); font-size: 1.12rem; line-height: 1.7; }
.vvo-source a { font-weight: 600; color: var(--o-accent); }
.vvo-more { margin-top: clamp(2.5rem, 6vw, 4rem); }
.vvo-more h2 { font-family: var(--o-head); font-size: 1.6rem; margin: 0 0 1.25rem; }
@media (max-width: 860px) {
	.vvo-profile { grid-template-columns: 1fr; }
	.vvo-profile__photo { max-width: 320px; }
}
@media (max-width: 560px) {
	.vvo-rating { grid-template-columns: 1fr; }
	.vvo-rating__avg { font-size: 2.8rem; }
	.vvo-vote__stars button { width: 52px; height: 52px; }
	.vvo-filter, .vvo-filter input { width: 100%; }
	.vvo-filter select { flex: 1; }
	.vvo-cta .vvo-btn { width: 100%; }
}

/* Formulář návrhu */
.vvo-form-wrap { max-width: 760px; }
.vvo-form .vvo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 620px) { .vvo-form .vvo-row { grid-template-columns: 1fr; } }
.vvo-field { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1.1rem; }
.vvo-field > label:first-child { font-weight: 600; }
.vvo-form input[type=text], .vvo-form input[type=url], .vvo-form input[type=email], .vvo-form select, .vvo-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line, #e2e5eb); border-radius: 8px; background: var(--surface, #fff); font: inherit; font-size: max(16px, 1em); }
.vvo-form [aria-invalid="true"] { border-color: var(--err, #a61b1b); }
.vvo-check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400 !important; font-size: .95rem; margin-top: .35rem; }
.vvo-check input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--accent, #a97b3e); }
.vvo-hint { font-weight: 400; font-size: .85rem; color: var(--muted, #5a6275); }
.vvo-err { color: var(--err, #a61b1b); font-size: .88rem; font-weight: 600; }
.vvo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vvo-notice { padding: 1rem 1.15rem; border-radius: 8px; margin-bottom: 1.25rem; }
.vvo-notice--ok { background: var(--ok-soft, #e3f3ec); color: var(--ok, #17694a); }
.vvo-notice--err { background: var(--err-soft, #fbe9e9); color: var(--err, #a61b1b); font-weight: 600; }
.vvo-form button.vvo-btn, .vvo-form .vvo-btn { border: 0; }
.vvo-source { margin-top: 1rem; }
.vvo-parties { margin-bottom: 1.25rem; }
.vvo-parties__head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .75rem; }
.vvo-parties__head h2 { font-family: var(--o-head); font-size: 1.45rem; margin: 0; }
.vvo-parties__head span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--o-muted); }
.vvo-parties .vvo-chip span { font-weight: 700; }
.vvo-toolbar { justify-content: flex-end; }
.vvo-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.vvo-tag { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; background: var(--o-bg); border: 1px solid var(--o-line); font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--o-ink); }
.vvo-tag:hover { border-color: var(--o-accent); color: var(--o-ink); }
.vvo-tag--party { background: var(--o-dark); border-color: var(--o-dark); color: var(--on-dark, #fff); }
.vvo-tag--party:hover { color: var(--on-dark, #fff); filter: brightness(1.2); }
.vvo-tag--old { background: #fff4d1; border-color: #f0dc9a; color: #7a5600; }
.vvo-section { margin-top: clamp(2rem, 4vw, 3rem); }
.vvo-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--o-line); position: relative; }
.vvo-section__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--o-accent); }
.vvo-section__head h2 { font-family: var(--o-head); font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; }
.vvo-section__head h2 span { font-family: var(--sans, system-ui); font-size: .85rem; font-weight: 700; color: var(--o-muted); margin-left: .35rem; }
.vvo-section__head a { font-weight: 600; font-size: .92rem; color: var(--o-accent); white-space: nowrap; }
.vvo-photo-sources { margin-top: 2.5rem; font-size: .8rem; text-align: right; }
.vvo-photo-sources a { color: var(--o-muted); }
.vvo-credits th, .vvo-credits td { padding: .45rem .6rem; border-bottom: 1px solid var(--line, #e2e5eb); }
/* ---------- Obce a města ---------- */
.vvo-obce-search { margin: 0 0 1.5rem; }
.vvo-obce-search input { flex: 1 1 220px; }
.vvo-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.vvo-tile-link { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; background: var(--o-surface); border: 1px solid var(--o-line); border-radius: var(--o-r); text-decoration: none; color: var(--o-ink); }
.vvo-tile-link strong { font-family: var(--o-head); font-size: 1.12rem; }
.vvo-tile-link span { font-size: .85rem; color: var(--o-muted); }
.vvo-tile-link:hover { border-color: var(--o-accent); color: var(--o-ink); }
.vvo-obce-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .3rem 1rem; }
.vvo-obce-list li { padding: .45rem 0; border-bottom: 1px solid var(--o-line); }
.vvo-obce-list a { text-decoration: none; color: var(--o-ink); }
.vvo-obce-list a:hover { color: var(--o-accent); }
.vvo-obce-list small { display: block; color: var(--o-muted); font-size: .8rem; }
.vvo-letters { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; }
.vvo-letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid var(--o-line); border-radius: 8px; background: var(--o-surface); text-decoration: none; font-weight: 700; color: var(--o-ink); }
.vvo-letter { font-family: var(--o-head); font-size: 1.3rem; margin: 1.25rem 0 .5rem; }
.vvo-letter small { font-family: var(--sans, system-ui); font-size: .8rem; color: var(--o-muted); font-weight: 600; margin-left: .3rem; }
.vvo-obec-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.vvo-obec-facts div { background: var(--o-surface); border: 1px solid var(--o-line); border-radius: 10px; padding: .7rem 1rem; min-width: 120px; }
.vvo-obec-facts strong { display: block; font-family: var(--o-head); font-size: 1.5rem; line-height: 1.1; }
.vvo-obec-facts span { font-size: .82rem; color: var(--o-muted); }
.vvo-note { color: var(--o-muted); font-size: .9rem; margin-top: 1.5rem; }
.vvo-tag--obec { background: #e7f3ec; border-color: #c9e5d4; color: #17694a; }
.vvo-obce-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); padding: 1.1rem 1.4rem; background: var(--o-surface); border: 1px solid var(--o-line); border-left: 4px solid var(--o-accent); border-radius: var(--o-r); text-decoration: none; color: var(--o-ink); }
.vvo-obce-cta strong { display: block; font-family: var(--o-head); font-size: 1.35rem; }
.vvo-obce-cta:hover { border-color: var(--o-accent); color: var(--o-ink); }
@media (max-width: 560px) { .vvo-obce-cta .vvo-btn { width: 100%; } }
