/* Podstránky (obvody, volebné miestnosti): rýchle, bez JavaScriptu */
:root { --navy:#08275d; --gold:#f3ba4b; --pale:#eef3f9; --line:#d6dfeb; --ksk:#2f74d0; --ksk-paper:#dbe9fb; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pale); color: #0f172a; font: 18px/1.55 "Myriad Pro", "Source Sans 3", "Segoe UI", system-ui, sans-serif; }
a { color: var(--navy); }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 16px; }
.top { background: var(--navy); border-bottom: 5px solid var(--gold); color: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding-top: .7rem; padding-bottom: .7rem; }
.brand { color: #fff; text-decoration: none; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; }
.brand b { font-weight: 900; }
.top nav { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.top nav a { color: var(--gold); font-weight: 700; text-decoration: none; font-size: 1rem; }
.top nav a:hover { text-decoration: underline; }
.crumbs { font-size: .95rem; color: #475569; padding-top: .8rem; }
main { padding-top: .6rem; padding-bottom: 2rem; }
.kicker { margin: .6rem 0 0; font-weight: 800; color: #475569; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
h1 { font-size: 2.1rem; line-height: 1.1; margin: .2rem 0 .6rem; color: var(--navy); }
h1 span { display: block; font-weight: 600; font-size: 1.5rem; }
h2 { font-size: 1.45rem; line-height: 1.2; color: var(--navy); margin: 2rem 0 .4rem; }
h2 small { font-size: .95rem; font-weight: 600; color: #475569; }
h3 { font-size: 1.15rem; margin: 1.1rem 0 .2rem; }
.lead { font-size: 1.15rem; max-width: 46rem; }
.note { margin: .1rem 0 .6rem; color: #475569; font-size: .98rem; }
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; padding: .75rem 1.1rem; border-radius: .8rem; }
.btn:hover { filter: brightness(1.15); }
section { min-width: 0; }
.cands { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.cand { display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: .9rem; padding: .7rem .8rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cand .num { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; color: var(--navy); }
.cand img, .cand .ini { width: 64px; height: 64px; border-radius: .7rem; object-fit: cover; flex-shrink: 0; background: var(--pale); }
.cand .ini { display: grid; place-items: center; font-weight: 800; color: var(--navy); }
.cand .ct { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cand .ct b { font-size: 1.05rem; }
.cand .ct span { font-size: .95rem; }
.cand .ct small { color: #475569; font-size: .85rem; }
.ksk { background: var(--ksk-paper); border-radius: 1rem; padding: .2rem 1rem 1rem; margin-top: 2rem; }
.ksk h2 { color: #1d59aa; }
.okrsok { background: #fff; border-radius: .9rem; padding: .3rem 1rem .8rem; margin-top: .7rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); scroll-margin-top: 1rem; }
.okrsok:target { outline: 3px solid var(--gold); }
.okrsok h3 { margin-top: .6rem; }
.addr { margin: .1rem 0 .4rem; }
details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.streets { columns: 2 14rem; margin: .4rem 0 0; padding-left: 1.1rem; font-size: .98rem; }
.streets li { break-inside: avoid; }
.streets small, .streets-inline small { color: #475569; }
.streets-inline { font-size: .98rem; margin: .2rem 0 0; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.toc a { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: .3rem .8rem; text-decoration: none; font-weight: 700; font-size: .95rem; }
.obv-links { list-style: none; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.obv-links a { display: block; background: #fff; border-radius: .8rem; padding: .6rem .8rem; text-decoration: none; border: 2px solid var(--line); }
.obv-links a:hover { border-color: var(--navy); }
.obv-links small { display: block; color: #475569; }
.foot { font-size: .92rem; color: #475569; padding-bottom: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 480px) { h1 { font-size: 1.75rem; } h1 span { font-size: 1.25rem; } .brand { font-size: 1.15rem; } }
/* profil kandidáta */
.prof-head { display: flex; gap: 1rem; align-items: center; margin-top: .8rem; }
.prof-photo { width: 132px; height: 132px; border-radius: 1rem; object-fit: cover; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.profile h1 { margin-top: .1rem; font-weight: 600; }
.profile h1 .surname { display: inline; font-weight: 900; font-size: inherit; text-transform: uppercase; }
.profile h1 small { font-size: 1.1rem; font-weight: 600; }
.prof-job { margin: 0; font-size: 1.1rem; color: #334155; }
.prof-ballots { display: grid; gap: .6rem; margin: 1.2rem 0; }
.prof-ballot { display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: 1rem; padding: .7rem 1rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.prof-ballot.kraj { background: var(--ksk-paper); }
.prof-ballot small { color: #475569; }
.num.big { flex-shrink: 0; width: 4rem; height: 4rem; border-radius: 50%; border: 5px solid var(--gold); background: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.9rem; color: var(--navy); }
.prof-bio { background: var(--navy); color: #fff; border-radius: 1.1rem; padding: 1.1rem 1.3rem; border-top: 6px solid var(--gold); }
.prof-bio p { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.prof-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.share { color: #475569; }
.cand .ct b a { color: inherit; }
@media (max-width: 480px) { .prof-photo { width: 96px; height: 96px; } .prof-bio p { font-size: 1.08rem; } }
.ext { font-weight: 700; font-size: .95rem; }
/* celá karta kandidáta je klikateľná (odkaz na mene sa roztiahne cez celú kartu), vzhľad ako na hlavnej stránke */
.cand { position: relative; transition: background .15s; }
.cand .ct b a { text-decoration: none; color: inherit; }
.cand .ct b a::after { content: ""; position: absolute; inset: 0; border-radius: .9rem; z-index: 1; }
.cand:has(a) { cursor: pointer; padding-right: 1.9rem; }
.cand:has(a)::before { content: "›"; position: absolute; right: .6rem; top: 50%; transform: translateY(-52%); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--navy); opacity: .45; }
.cand:has(a):hover { background: #fdf6e7; }
.cand:has(a):hover::before { opacity: .9; }
.cand:has(a:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.cand .ct b a:focus-visible { outline: none; }
/* hlavička ako na titulke */
.hdr-top { background: var(--navy); }
.hdr-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
.hdr-back { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.02rem; background: rgba(255,255,255,.12); border-radius: 999px; padding: .3rem .85rem; }
.hdr-back:hover { background: rgba(255,255,255,.22); }
.hdr-top nav { display: flex; gap: .2rem 1rem; flex-wrap: wrap; }
.hdr-top nav a { color: var(--gold); font-weight: 700; text-decoration: none; font-size: .98rem; }
.hdr-hero { display: block; text-decoration: none; color: var(--navy);
  background: linear-gradient(rgba(238,243,249,.72), rgba(238,243,249,.72)), var(--hdr-bg, none) center 40% / cover no-repeat, var(--pale); }
.hdr-hero .wrap { padding-top: 1rem; padding-bottom: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.hdr-title { font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; width: 100%; }
.hdr-title b { font-weight: 900; }
.hdr-slogan { background: var(--gold); color: var(--navy); font-weight: 900; font-size: 1.05rem; padding: .3rem .7rem; letter-spacing: .02em; }
.hdr-date { font-weight: 800; font-size: 1rem; }
.hdr-logos { background: var(--navy); border-top: 5px solid var(--gold); }
.hdr-logos .wrap { padding-top: .55rem; padding-bottom: .6rem; display: flex; justify-content: center; }
.hdr-logos img { width: 100%; max-width: 420px; height: auto; display: block; }
@media (min-width: 720px) { .hdr-title { width: auto; font-size: 2.2rem; } }
/* box Kde budete voliť? */
.find { background: #fff; border-radius: 1.1rem; padding: 1rem 1.1rem 1.1rem; margin: 1.3rem 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-left: 6px solid var(--gold); scroll-margin-top: 1rem; }
.find h2 { margin: 0 0 .2rem; }
.find p { margin: .2rem 0 .7rem; }
.find form { display: flex; flex-wrap: wrap; gap: .5rem; }
.find input { flex: 1 1 14rem; min-width: 0; font: inherit; font-size: 1.1rem; padding: .75rem .9rem; border: 2px solid #cbd5e1; border-radius: .8rem; }
.find input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(8,39,93,.15); }
.find button { flex: 1 1 auto; font: inherit; font-weight: 800; font-size: 1.08rem; background: var(--navy); color: #fff; border: 0; border-radius: .8rem; padding: .75rem 1.1rem; cursor: pointer; }
.find-gps { margin: .6rem 0 0 !important; font-size: .98rem; }
.find-gps a { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* spodná lišta na mobile */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; gap: .5rem; padding: .5rem .6rem calc(env(safe-area-inset-bottom, 0px) + .5rem); background: rgba(8,39,93,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .mbar a { flex: 1; text-align: center; text-decoration: none; font-weight: 800; font-size: 1rem; padding: .7rem .4rem; border-radius: .75rem; }
  .mbar-find { background: #fff; color: var(--navy); }
  .mbar-tahak { background: var(--gold); color: var(--navy); }
  body.has-bar { padding-bottom: 4.6rem; }
  .sheet-open .mbar { display: none; }
}
@media (max-width: 760px) { body.has-bar .cookie-bar { bottom: calc(env(safe-area-inset-bottom, 0px) + 4.3rem); } }

/* Predvolebné noviny: listovanie, text, zväčšenie */
.nv-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.2rem; }
.nv-actions .btn { font-size: 1.05rem; }
.nv-actions .btn small { font-weight: 600; opacity: .85; }
button.btn { font: inherit; font-weight: 800; cursor: pointer; }
.nv-viewer { background: #0b1f45; border-radius: 1.1rem; padding: 1rem .8rem .9rem; margin: 0 -4px 1.5rem; color: #fff; }
.nv-stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .8rem; outline: none; }
.nv-page { margin: 0; }
.nv-page a { display: block; line-height: 0; }
.nv-page img { width: 100%; height: auto; background: #fff; border-radius: 2px; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.nv-page figcaption { text-align: center; font-size: .9rem; color: #c9d6ea; margin-top: .35rem; }
.nv-js .nv-stage { display: flex; justify-content: center; gap: 0; min-height: 10rem; touch-action: pan-y pinch-zoom; }
.nv-js .nv-page { display: none; flex: 0 1 27rem; max-width: 100%; }
.nv-js .nv-page.on { display: block; }
.nv-js .nv-page figcaption { display: none; }
.nv-js .nv-spread .nv-page.on img { border-radius: 0; }
.nv-page.in-r { animation: nvR .32s ease-out; }
.nv-page.in-l { animation: nvL .32s ease-out; }
@keyframes nvR { from { opacity: .2; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes nvL { from { opacity: .2; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nv-page.in-r, .nv-page.in-l { animation: none; } }
.nv-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .8rem; }
.nv-nav[hidden], .nv-thumbs[hidden] { display: none; }
.nv-nav button, .nv-lb-btns button { width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); font: 900 1.6rem/1 system-ui, sans-serif; cursor: pointer; }
.nv-nav button:disabled { opacity: .35; cursor: default; }
.nv-count { min-width: 4.5rem; text-align: center; font-weight: 800; font-size: 1.05rem; }
.nv-thumbs { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.nv-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 4px; background: none; cursor: pointer; line-height: 0; opacity: .65; }
.nv-thumbs button.on { border-color: var(--gold); opacity: 1; }
.nv-thumbs img { width: 3.6rem; height: auto; }
.nv-hint { text-align: center; font-size: .88rem; color: #c9d6ea; margin: .6rem 0 0; }
@media (min-width: 900px) {
  .nv-viewer { margin-left: -2rem; margin-right: -2rem; padding: 1.4rem 1.2rem 1rem; }
  .nv-js .nv-page { flex-basis: 27rem; }
}
.nv-text { background: #fff; border-radius: 1rem; padding: .4rem 1.2rem 1.2rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.nv-text h2 { scroll-margin-top: 1rem; }
.nv-text h3 a { text-decoration: none; }
.nv-text h4 { margin: .2rem 0 .3rem; color: var(--navy); text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; }
.nv-big { font-size: 1.2rem; font-weight: 600; }
.nv-sign { font-weight: 700; color: var(--navy); }
.nv-quote { border-left: 5px solid var(--gold); padding: .2rem 0 .2rem .9rem; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.nv-team { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: .8rem 0; }
.nv-team section { background: var(--pale); border-radius: .8rem; padding: .7rem .9rem; }
.nv-team ul { list-style: none; margin: 0; padding: 0; }
.nv-team li { margin: .45rem 0; line-height: 1.3; font-size: .98rem; }
.nv-team li b { display: block; }
.nv-team li > span:last-child { color: #475569; }
.nv-yrs { display: block; font-size: .78rem; font-weight: 800; color: #b07a12; text-transform: uppercase; letter-spacing: .03em; }
.nv-prio { counter-reset: p; list-style: none; padding: 0; margin: .6rem 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.nv-prio li { counter-increment: p; position: relative; background: var(--pale); border-radius: .8rem; padding: .7rem .9rem .8rem 3.4rem; line-height: 1.35; }
.nv-prio li::before { content: counter(p); position: absolute; left: .7rem; top: .65rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 900; }
.nv-prio b { display: block; color: var(--navy); text-transform: uppercase; font-size: .95rem; margin-bottom: .15rem; }
.nv-prio span { font-size: .98rem; }
.nv-prob { padding-left: 1.2rem; }
.nv-prob li { margin: .45rem 0; }
.nv-major { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .8rem 0 1rem; }
.nv-major div { background: var(--navy); color: #fff; border-radius: .8rem; padding: .7rem; text-align: center; line-height: 1.2; }
.nv-major b { display: block; font-size: 2.2rem; color: var(--gold); }
.nv-major span { font-size: .92rem; }
.nv-actions-end { margin-top: 1.6rem; }
.nv-legal { font-size: .85rem; margin-top: 1rem; }
.nv-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(5,15,35,.96); display: flex; flex-direction: column; }
.nv-lb[hidden] { display: none; }
.nv-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .7rem; color: #fff; font-weight: 800; }
.nv-lb-btns { display: flex; gap: .4rem; }
.nv-lb-btns button { width: 2.6rem; height: 2.6rem; font-size: 1.3rem; }
.nv-lb-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; }
.nv-lb-scroll img { display: block; margin: auto; max-width: 100%; max-height: 100%; height: auto; width: auto; background: #fff; cursor: zoom-in; }
.nv-lb.zoomed .nv-lb-scroll img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; margin: 0; }
@media (min-width: 900px) { .nv-lb.zoomed .nv-lb-scroll img { width: 1600px; margin: 0 auto; } }
.nv-noscroll, .nv-noscroll body { overflow: hidden; }
.nv-teaser { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 1rem; padding: .9rem; margin: 1.5rem 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-decoration: none; color: inherit; }
.nv-teaser img { width: 5.5rem; height: auto; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.nv-teaser b { display: block; color: var(--navy); font-size: 1.15rem; }
.nv-teaser span { color: #475569; }
.nv-teaser:hover { background: #fdf6e7; }
