/* ===== VOLEBNÍ PROGRAM 2026 (/program/) =====
   Staví na tokenech z main.css (--navy, --green, --radius, --shadow…). */

/* --- hero --- */
.vp-hero { padding-bottom: 64px; }
.vp-hero__kicker { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 20px; background: rgba(61,166,66,.18); color: #bfe8c1; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.vp-hero h1 { margin-bottom: 10px; }
.vp-hero__sub { color: var(--green-light); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin-bottom: 14px; }
.vp-hero__lead { color: rgba(255,255,255,.85); max-width: 680px; font-size: 1.05rem; line-height: 1.7; margin-bottom: 26px; }
.vp-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- obecné --- */
.vp { display: block; }
.vp-section { padding: 56px 0; }
.vp-h2 { margin-bottom: 24px; }
.vp a:focus-visible, .vp button:focus-visible, .vp summary:focus-visible, .vp-hero a:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}

/* --- přehled 7 priorit --- */
.vp-overview { padding-top: 48px; }
.vp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; list-style: none; }
.vp-card__link {
  display: flex; gap: 14px; height: 100%; padding: 20px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--shadow); color: var(--text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.vp-card__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--green); color: var(--text); }
.vp-card__num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
}
.vp-card:nth-child(even) .vp-card__num { background: var(--navy); }
.vp-card__body { display: flex; flex-direction: column; gap: 6px; }
.vp-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--navy-dark); }
.vp-card__text { font-size: .92rem; line-height: 1.5; color: var(--gray-600); }
.vp-card__more { margin-top: auto; padding-top: 4px; font-size: .85rem; font-weight: 600; color: var(--green); }

/* --- detail priority --- */
.vp-prio { border-top: 1px solid var(--gray-200); scroll-margin-top: 90px; }
.vp-prio:nth-child(odd) { background: var(--gray-50); }
.vp-prio__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.vp-prio__main { max-width: 720px; }
.vp-prio__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.vp-prio__title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.vp-prio__num {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--green); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800;
}
.vp-prio__text { font-size: 1.02rem; line-height: 1.75; }

.vp-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 22px; counter-reset: none; }
.vp-steps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px;
  background: var(--white); border: 1px solid var(--gray-200); font-weight: 600; font-size: .9rem; color: var(--navy-dark);
}
.vp-steps li + li { position: relative; }
.vp-steps__n { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.vp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 22px; }
.vp-chips li { padding: 5px 13px; border-radius: 20px; border: 1.5px solid var(--green); color: var(--green-dark); font-size: .88rem; font-weight: 600; background: var(--white); }

.vp-karta { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin: 6px 0 24px; }
.vp-karta div { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 12px; text-align: center; }
.vp-karta dt { font-family: var(--font-head); font-weight: 800; color: var(--navy-dark); text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }
.vp-karta dd { font-size: .82rem; color: var(--gray-600); line-height: 1.35; margin-top: 4px; }

/* blok „Co chceme posunout do roku 2030“ */
.vp-goals { margin: 8px 0 22px; border: 2px solid var(--green); border-radius: var(--radius-lg); background: var(--white); padding: 20px 22px; }
.vp-goals__title { font-size: 1.12rem; color: var(--green-dark); margin-bottom: 2px; }
.vp-goals__claim { font-size: .85rem; font-style: italic; color: var(--gray-600); margin-bottom: 12px; }
.vp-goals__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vp-goals__list li { position: relative; padding-left: 34px; line-height: 1.55; font-weight: 500; color: var(--navy-dark); }
.vp-goals__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--green); background: var(--white);
}

/* rozbalovací detail */
.vp-more { border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
.vp-more summary {
  cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.vp-more summary::-webkit-details-marker { display: none; }
.vp-more summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green); }
.vp-more[open] summary::after { content: "–"; }
.vp-more__body { padding: 0 18px 16px; }
.vp-more__body h3 { font-size: 1rem; margin: 12px 0 4px; }
.vp-more__body p { margin-bottom: 8px; line-height: 1.7; color: var(--gray-800); }

/* boční sloupec */
.vp-prio__side { display: flex; flex-direction: column; gap: 14px; }
.vp-quote {
  margin: 0; padding: 16px 18px; border-left: 4px solid var(--green); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-weight: 700; color: var(--navy-dark); font-size: 1.05rem; line-height: 1.35; box-shadow: var(--shadow);
}
.vp-side__h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-600); margin-top: 4px; }
.vp-people { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vp-person { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-200); color: var(--text); }
.vp-person:hover { border-color: var(--green); color: var(--text); }
.vp-person img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; flex: none; }
.vp-person__name { display: block; font-weight: 700; color: var(--navy-dark); line-height: 1.3; }
.vp-person__topic { display: block; font-size: .85rem; color: var(--gray-600); }
.vp-person__more { display: block; font-size: .8rem; font-weight: 600; color: var(--green); margin-top: 2px; }
.vp-articles { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vp-articles a { display: block; padding-left: 16px; position: relative; font-weight: 500; line-height: 1.45; color: var(--navy); }
.vp-articles a::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.vp-side__noviny { font-size: .88rem; color: var(--gray-600); margin: 0; }
.vp-side__noviny a { font-weight: 600; color: var(--green); }

/* --- volební noviny --- */
.vp-noviny { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--green-dark) 100%); color: var(--white); }
.vp-noviny__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: center; }
.vp-noviny .vp-h2 { color: var(--white); }
.vp-noviny__text p { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.vp-noviny__coverbtn { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.35); transform: rotate(-2deg); transition: transform .2s; }
.vp-noviny__coverbtn:hover { transform: rotate(0) scale(1.02); }
.vp-noviny__coverbtn img { border-radius: 6px; width: 100%; height: auto; }
.vp-noviny__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.vp-noviny__btns .btn--primary { border: 0; font-family: inherit; }
.vp-noviny__btns .btn--navy { background: var(--white); color: var(--navy-dark); }
.vp-noviny__btns .btn--navy:hover { background: var(--gray-100); color: var(--navy-dark); }
.vp-noviny__size { font-weight: 500; opacity: .75; }
.vp-noviny__alt { margin-top: 14px; font-size: .9rem; }
.vp-noviny__alt a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* prohlížeč stran */
.vp-reader { border: 0; padding: 0; margin: auto; width: min(96vw, 900px); max-width: none; max-height: 96vh; background: #1a1f27; color: var(--white); border-radius: 12px; overflow: hidden; }
.vp-reader::backdrop { background: rgba(10,15,25,.8); }
.vp-reader__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--navy-dark); }
.vp-reader__title { font-weight: 700; margin-right: auto; }
.vp-reader__count { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.8); }
.vp-reader__pdf { color: var(--white); font-weight: 600; text-decoration: underline; }
.vp-reader__close { background: none; border: 0; color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.vp-reader__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 12px; }
.vp-reader__pages { max-height: calc(96vh - 80px); display: flex; justify-content: center; }
.vp-reader__page { display: none; max-height: calc(96vh - 80px); width: auto; max-width: 100%; height: auto; background: #f5f1e7; }
.vp-reader__page.is-active { display: block; }
.vp-reader__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(27,58,107,.85); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
}
.vp-reader__nav--prev { left: 12px; }
.vp-reader__nav--next { right: 12px; }
.vp-reader__nav:disabled { opacity: .3; cursor: default; }

/* --- zdroje --- */
.vp-sources { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.vp-sources__intro { max-width: 680px; color: var(--gray-600); }
.vp-sources__list ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.vp-sources__list li { line-height: 1.5; font-size: .95rem; }
.vp-sources__list a { color: var(--green); word-break: break-word; }

/* --- responzivita (breakpointy jako v main.css) --- */
@media (max-width: 1024px) {
  .vp-prio__grid { grid-template-columns: 1fr; gap: 28px; }
  .vp-prio__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: start; }
}
@media (max-width: 768px) {
  .vp-section { padding: 40px 0; }
  .vp-cards { grid-template-columns: 1fr; gap: 10px; }
  .vp-card__link { padding: 14px 16px; align-items: flex-start; }
  .vp-card__num { width: 38px; height: 38px; font-size: 1.1rem; }
  .vp-card__more { display: none; }
  .vp-karta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vp-karta div:last-child { grid-column: 1 / -1; }
  .vp-noviny__grid { grid-template-columns: 1fr; gap: 28px; }
  .vp-noviny__cover { max-width: 260px; margin: 0 auto; }
  .vp-prio__side { display: flex; }
}
@media (max-width: 480px) {
  .vp-hero__btns .btn { width: 100%; justify-content: center; }
  .vp-noviny__btns .btn { width: 100%; justify-content: center; }
  .vp-prio__title { gap: 10px; }
  .vp-prio__num { width: 42px; height: 42px; font-size: 1.2rem; }
  .vp-goals { padding: 16px; }
  .vp-reader { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .vp-reader__pages, .vp-reader__page { max-height: calc(100dvh - 90px); }
  .vp-reader__nav { width: 40px; height: 40px; font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vp-card__link, .vp-noviny__coverbtn { transition: none; }
}
