/*
Theme Name: CVC web
Theme URI: https://www.cvc.cz
Author: České vzdělávací centrum
Description: Téma webu cvc.cz. Jednodenní firemní tréninky.
Version: 2.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cvc
*/
@font-face {
  font-family: "Source Sans 3 CZ";
  src: url("assets/source-sans-3-cz.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4 CZ";
  src: url("assets/source-serif-4-cz.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-fill: #E2001A;       
  --brand-fill-hover: #B00016; 
  --accent: #E2001A;           
  --brand-text: #B00016;       
  --ink: #1A171B;              
  --ink-plane: #1A171B;        
  --paper: #FAF9F8;            
  --muted: #6B676C;            
  --surface: #F3F1EF;          
  --line: #E2DEDC;             
  --w-prose: 32.5rem;        
  --w-lead: 37rem;           
  --w-note: 27rem;           
  --w-heading: 42rem;        
  --w-container: 70rem;      
  --gutter: 1.5rem;          
  --t-display: clamp(2.5rem, 1.2rem + 5.2vw, 4.5rem);   
  --t-title: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);      
  --t-h2: clamp(1.625rem, 1.2rem + 1.7vw, 2.125rem);    
  --t-h3: 1.5rem;                                       
  --t-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --t-body: 1.125rem;                                   
  --t-field: clamp(2rem, 1.2rem + 3.2vw, 2.5rem);       
  --t-small: 0.9375rem;                                 
  --t-ui: 1rem;                                         
  --lh-display: 1.04;
  --lh-heading: 1.18;
  --lh-body: 1.65;
  --f-text: "Source Sans 3 CZ", "Segoe UI", system-ui, sans-serif;
  --f-display: "Source Serif 4 CZ", Georgia, "Times New Roman", serif;
  --pad-section: 4rem;       
  --gap-lg: 2.5rem;
  --gap-md: 1.5rem;
  --gap-sm: 0.75rem;
  --radius: 4px;
  --focus-w: 3px;
  --v-hlavicka: 4.5rem;
}
@media (min-width: 48rem) {
  :root { --pad-section: 6rem; }   
}
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
:focus-visible {
  outline: var(--focus-w) solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}
.pas-inkoust :focus-visible, .paticka :focus-visible { outline-color: var(--paper); }
.preskocit {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.preskocit:focus { left: 0; }
[id] { scroll-margin-top: calc(var(--v-hlavicka) + 1rem); }
.pas { padding-block: var(--pad-section); }
.pas-papir { background: var(--paper); }
.pas-inkoust,
.paticka {
  background: var(--ink-plane);
  color: var(--paper);
  --ink: var(--paper);
  --muted: #B7B2B8;
  --accent: #FF3B4E;
  --brand-text: #FF3B4E;
  --line: #3A363B;
  --surface: #2A262B;
}
.pas-inkoust h2, .pas-inkoust h3, .paticka h3 { color: var(--paper); }
.pas-linka { border-top: 1px solid var(--line); }
.obal {
  width: min(var(--w-container), 100% - (2 * var(--gutter)));
  margin-inline: auto;
}
.text {
  width: min(var(--w-prose), 100% - (2 * var(--gutter)));
  margin-inline: auto;
}
.obal > ul, .obal > ol { max-width: var(--w-prose); }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0 0 var(--gap-md);
  text-wrap: balance;
}
h1 {
  font-size: var(--t-display);
  line-height: var(--lh-display);
  letter-spacing: -0.015em;
}
h2 { font-size: var(--t-h2); line-height: var(--lh-heading); max-width: var(--w-heading); }
h3 { font-size: var(--t-h3); line-height: var(--lh-heading); max-width: var(--w-heading); }
p { margin: 0 0 var(--gap-md); max-width: var(--w-prose); }
p:last-child { margin-bottom: 0; }
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink);
  max-width: var(--w-lead);
}
.popiska { font-size: var(--t-small); color: var(--muted); max-width: var(--w-note); }
.nadtitulek {
  font-family: var(--f-text);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--gap-sm);
}
.duraz { color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--f-text);
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.btn-hlavni {
  background: var(--brand-fill);
  color: #FFFFFF;              
  border-color: var(--brand-fill);
}
.btn-hlavni:hover { background: var(--brand-fill-hover); border-color: var(--brand-fill-hover); }
.btn-hlavni:active { background: #8E0012; border-color: #8E0012; }
.btn-vedlejsi {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-vedlejsi:hover { background: var(--ink); color: var(--paper); }
.pas-inkoust .btn-vedlejsi:hover { background: var(--paper); color: var(--ink-plane); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; pointer-events: none; }
.cta-odkaz {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-text);   
  text-decoration: none;
}
.cta-odkaz::after { content: "\2192"; }
.cta-odkaz:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.text a:not(.btn):not(.cta-odkaz),
main .obal p a:not(.btn):not(.cta-odkaz),
.obsah a:not(.btn):not(.cta-odkaz) {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.text a:not(.btn):not(.cta-odkaz):hover,
main .obal p a:not(.btn):not(.cta-odkaz):hover,
.obsah a:not(.btn):not(.cta-odkaz):hover { text-decoration-color: var(--accent); }
.provozni {
  color: var(--muted);
  font-size: var(--t-small);
  text-decoration: none;
}
.provozni:hover { text-decoration: underline; }
.hlavicka {
  position: relative;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 48rem) {
  .hlavicka { position: sticky; top: 0; }
}
.hlavicka-obal {
  width: min(var(--w-container), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  min-height: var(--v-hlavicka);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}
.znacka-web {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}
.znacka-web .logo { height: 44px; width: auto; flex: none; }
.znacka-web .nazev {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: var(--t-ui);
  line-height: 1.15;
  letter-spacing: -0.005em;
  max-width: 8.5em;
}
@media (min-width: 48rem) {
  .znacka-web .logo { height: 52px; }
  .znacka-web .nazev { font-size: var(--t-body); max-width: none; white-space: nowrap; }
}
.menu { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  font-size: var(--t-ui);
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.5rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.menu a:hover,
.menu a[aria-current="page"],
.menu a[aria-current="true"] { border-bottom-color: var(--accent); }
.menu a[aria-current="page"], .menu a[aria-current="true"] { font-weight: 600; }
.menu-mobil-panel a[aria-current="page"],
.menu-mobil-panel a[aria-current="true"] { color: var(--brand-text); }
.podmenu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  font-size: var(--t-ui);
  white-space: nowrap;
}
.podmenu > summary::-webkit-details-marker { display: none; }
.podmenu > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
}
.podmenu[open] > summary::after { transform: translateY(0.1em) rotate(-135deg); }
.podmenu > summary:hover,
.podmenu > summary[aria-current="true"] { border-bottom-color: var(--accent); }
.podmenu > summary[aria-current="true"] { font-weight: 600; }
.podmenu-panel ul { list-style: none; margin: 0; padding: 0 0 0 1rem; }
@media (min-width: 62rem) {
  .podmenu-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: -1rem;
    z-index: 30;
    min-width: 19rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(26, 23, 27, 0.12);
    padding: 0.5rem;
  }
  .podmenu-panel ul { padding: 0; }
  .podmenu-panel li + li { border-top: 1px solid var(--line); }
  .podmenu-panel a {
    display: block;
    padding: 0.6rem 0.75rem;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 0;
    white-space: normal;
  }
  .podmenu-panel a:hover,
  .podmenu-panel a[aria-current="page"] { color: var(--brand-text); }
  .menu .ma-podmenu { position: relative; }
}
.hlavicka-nav { display: none; }
@media (min-width: 62rem) { .hlavicka-nav { display: block; } }
.hlavicka-vpravo { display: flex; align-items: center; gap: var(--gap-sm); }
.hlavicka-cta { display: none; white-space: nowrap; }
@media (min-width: 48rem) { .hlavicka-cta { display: inline-flex; } }
@media (min-width: 62rem) and (max-width: 79.999rem) {
  .znacka-web .nazev { white-space: normal; max-width: 8.5em; }
  .menu { gap: 1rem; }
}
.menu-mobil { position: relative; }
@media (min-width: 62rem) { .menu-mobil { display: none; } }
.menu-mobil > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: var(--t-ui);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}
.menu-mobil > summary::-webkit-details-marker { display: none; }
.menu-mobil > summary .cary {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.menu-mobil > summary .cary::before,
.menu-mobil > summary .cary::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.menu-mobil > summary .cary::before { top: -6px; }
.menu-mobil > summary .cary::after { top: 6px; }
.menu-mobil[open] > summary .cary { background: transparent; }
.menu-mobil[open] > summary .cary::before { top: 0; transform: rotate(45deg); }
.menu-mobil[open] > summary .cary::after { top: 0; transform: rotate(-45deg); }
.menu-mobil-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 40;
  width: min(20rem, calc(100vw - 2 * var(--gutter)));
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: var(--gap-md);
  box-shadow: 0 8px 24px rgba(26, 23, 27, 0.14);
}
.menu-mobil-panel ul { list-style: none; margin: 0 0 var(--gap-md); padding: 0; }
.menu-mobil-panel li + li { border-top: 1px solid var(--line); }
.menu-mobil-panel a:not(.btn) {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.menu-mobil-panel a:not(.btn):hover { color: var(--brand-text); }
.menu-mobil-panel .btn { width: 100%; }
.paticka { padding-block: var(--pad-section) 2rem; }
.paticka a { color: var(--paper); }
.paticka h3 { font-size: var(--t-ui); font-family: var(--f-text); }
.paticka .logo-paticka { height: 96px; width: auto; margin-bottom: var(--gap-md); }
.paticka-kontakt { font-size: var(--t-lead); line-height: 1.9; }
.paticka-kontakt a { text-decoration: none; }
.paticka-kontakt a:hover { text-decoration: underline; }
.paticka-menu { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.paticka-menu a { text-decoration: none; color: var(--muted); }
.paticka-menu a:hover { color: var(--paper); }
.paticka-pata {
  margin-top: var(--gap-lg);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-sm) var(--gap-lg);
}
.paticka-pata a { color: var(--muted); }
.paticka-pata a:hover { color: var(--paper); }
.paticka-ico { margin: 0; max-width: 34rem; }
.paticka-pravni {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.paticka-pravni a { text-decoration: none; }
.paticka-pravni a:hover { text-decoration: underline; }
.hero { position: relative; overflow: hidden; }
.pole-slov {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: var(--f-display);
  font-size: var(--t-field);
  line-height: 1.28;
  color: var(--surface);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  padding: 1rem var(--gutter);
  margin: 0;
  max-width: none;
}
.hero > *:not(.pole-slov) { position: relative; z-index: 1; }
@media (max-width: 47.999rem), (prefers-contrast: more) {
  .pole-slov { display: none; }
}
.karta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.karta h3 { margin-bottom: 0.25rem; }
.karta p { font-size: var(--t-body); }
.karta .cta-odkaz { margin-top: auto; padding-top: var(--gap-sm); }
a.karta { text-decoration: none; color: inherit; }
a.karta:hover { border-color: var(--muted); }
.mrizka { display: grid; gap: var(--gap-md); }
@media (min-width: 40rem) { .mrizka-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .mrizka-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40rem) and (max-width: 55.999rem) { .mrizka-3 { grid-template-columns: repeat(2, 1fr); } }
.cisla { display: grid; gap: var(--gap-lg); }
@media (min-width: 40rem) { .cisla { grid-template-columns: repeat(3, 1fr); } }
.cislo { border-top: 2px solid var(--accent); padding-top: var(--gap-sm); }
.cislo b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-field);   
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cislo span { display: block; font-size: var(--t-small); color: var(--muted); }
.citace {
  margin: 0;
  border-left: 3px solid var(--accent);
  padding-left: var(--gap-md);
}
.citace p {
  font-family: var(--f-display);
  font-size: var(--t-lead);
  line-height: 1.45;
}
.citace figcaption { font-size: var(--t-small); color: var(--muted); max-width: var(--w-note); margin-top: var(--gap-sm); }
.otazka {
  border-bottom: 1px solid var(--line);
  padding-block: 0.25rem;
}
.otazka > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-weight: 600;
  font-size: var(--t-lead);
  position: relative;
}
.otazka > summary::-webkit-details-marker { display: none; }
.otazka > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--brand-text);
  line-height: 1;
}
.otazka[open] > summary::after { content: "\2212"; }
.otazka > div { padding-bottom: 1rem; max-width: var(--w-prose); }
.otazka > div p { max-width: var(--w-prose); }
.pole { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--gap-md); }
.pole label { font-weight: 600; font-size: var(--t-ui); }
.pole input, .pole select, .pole textarea {
  font-family: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--muted);   
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  width: 100%;
}
.pole textarea { min-height: 8rem; resize: vertical; }
.pole .napoveda { font-size: var(--t-small); color: var(--muted); max-width: var(--w-note); }
.pole-chyba input, .pole-chyba textarea, .pole-chyba select { border: 2px solid var(--brand-text); }
.chyba {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--brand-text);       
}
.pole-volitelne > label::after {
  content: " (nepovinné)";
  font-weight: 400;
  color: var(--muted);
}
@media (min-width: 64rem) {
  .formular-mrizka > .stack-md { position: sticky; top: calc(var(--v-hlavicka) + 1.5rem); }
}
.pole .cip, .pole .karta-volba { font-weight: 400; }
.pole .cip input { min-height: 0; padding: 0; border: 0; }
.pole-volby .napoveda { display: block; margin-bottom: 0.5rem; }
.volby-karty { display: grid; gap: 0.5rem; }
@media (min-width: 30rem) { .volby-karty { grid-template-columns: 1fr 1fr; } }
.karta-volba {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--t-ui);
  cursor: pointer;
}
.karta-volba:hover { border-color: var(--muted); }
.pole .karta-volba input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0.15rem 0 0; padding: 0; accent-color: var(--ink); }
.karta-volba:has(input:checked) { border: 2px solid var(--ink); padding: calc(0.7rem - 1px) calc(0.85rem - 1px); }
.pole-chyba .cip span, .pole-chyba .karta-volba { border-color: var(--brand-text); }
.pole-pocet .jen-male { display: none; margin-top: 0.5rem; }
.pole-pocet:has(input[value="mene-nez-8"]:checked) .jen-male { display: block; }
.pruvodce [hidden] { display: none !important; }
.pruvodce:not(.pruvodce-zapnuto) .krok + .krok { border-top: 1px solid var(--line); margin-top: var(--gap-lg); padding-top: var(--gap-lg); }
.pruvodce-zapnuto .jen-bez-js { display: none; }
.pruvodce-stav { margin-bottom: var(--gap-md); }
.pruvodce-cislo { margin: 0 0 0.4rem; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.pruvodce-ukazatel {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.pruvodce-ukazatel::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.pruvodce-ukazatel::-webkit-progress-value { background: var(--brand-fill); border-radius: 3px; }
.pruvodce-ukazatel::-moz-progress-bar { background: var(--brand-fill); border-radius: 3px; }
.krok > .nadtitulek { margin-bottom: 0.25rem; }
.krok-nadpis { font-size: var(--t-h2); margin-bottom: var(--gap-sm); }
.krok-nadpis:focus:not(:focus-visible) { outline: none; }
.krok-uvod { font-size: var(--t-small); color: var(--muted); max-width: none; }
.krok .pole-volby + .pole-volby, .krok .pole + .pole-volby { margin-top: var(--gap-lg); }
.krok h3 { font-size: var(--t-h3); margin-top: var(--gap-lg); }
.karta-volba:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.karta-volba { align-content: start; }   
.karta-popis { grid-column: 2; margin-top: -0.35rem; font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.volby-nadpis {
  grid-column: 1 / -1;
  margin: 0.9rem 0 0;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
}
.volby-nadpis:first-child { margin-top: 0; }
.pruvodce-navigace {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: var(--gap-lg);
  padding-top: var(--gap-md);
  border-top: 1px solid var(--line);
}
.pruvodce-navigace [data-akce="dal"] { margin-left: auto; }
.pruvodce-znovu { margin: var(--gap-sm) 0 0; font-size: var(--t-small); color: var(--muted); max-width: none; }
.odkaz-tlacitko {
  padding: 0.35rem 0;
  margin-right: 0.75rem;
  background: none;
  border: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.odkaz-tlacitko:hover { color: var(--ink); }
.odkaz-tlacitko:focus-visible { outline: var(--focus-w) solid var(--ink); outline-offset: 2px; }
.pruvodce-znovu [data-akce="znovu-ano"] { color: var(--brand-text); }
.shrnuti-seznam { margin: 0 0 var(--gap-md); }
.shrnuti-radek { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.shrnuti-radek:first-child { border-top: 1px solid var(--line); }
.shrnuti-radek dt { font-weight: 600; font-size: var(--t-ui); }
.shrnuti-radek dd { display: flow-root; margin: 0.2rem 0 0; }
.shrnuti-cast { margin: 0 0 0.3rem; font-size: var(--t-small); max-width: none; }
.shrnuti-cast:last-child { margin-bottom: 0; }
.shrnuti-otazka, .shrnuti-hodnota { display: block; }
.shrnuti-otazka { color: var(--muted); }
.shrnuti-zmenit {
  float: right;
  margin: 0 0 0.3rem 1rem;
  padding: 0.2rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
}
.shrnuti-zmenit:hover { color: var(--brand-text); }
.shrnuti-zmenit:focus-visible { outline: var(--focus-w) solid var(--ink); outline-offset: 2px; }
.odkazy-oblasti { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.odkazy-oblasti li { border-bottom: 1px solid var(--line); }
.odkazy-oblasti a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--t-ui);
}
.odkazy-oblasti a::after { content: "→"; color: var(--brand-text); }
.odkazy-oblasti a:hover { color: var(--brand-text); }
@media (max-width: 63.99rem) {
  .pruvodce-mrizka > .formular-karta { order: -1; }
}
fieldset.pole { border: 0; margin: 0 0 var(--gap-md); padding: 0; min-width: 0; }
fieldset.pole > legend { font-weight: 600; font-size: var(--t-ui); padding: 0; margin-bottom: 0.35rem; }
.volby { display: grid; gap: 0 var(--gap-md); }
@media (min-width: 30rem) { .volby { grid-template-columns: 1fr 1fr; } }
.pole .volba {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 400;
  cursor: pointer;
}
.pole .volba input[type="checkbox"] {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
}
.drobecky { font-size: var(--t-small); color: var(--muted); padding-block: 1rem 0; }
.drobecky ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.drobecky li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.drobecky a { color: var(--muted); }
.polozka {
  display: grid;
  gap: 0.2rem 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 40rem) { .polozka { grid-template-columns: 5rem 1fr; } }
.polozka .cis { font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--t-small); }
.polozka .naz { display: block; font-weight: 600; max-width: var(--w-heading); }
.polozka .pop { display: block; color: var(--muted); font-size: var(--t-small); max-width: var(--w-note); }
.polozka:hover .naz { color: var(--brand-text); }
.hero-dvojice { display: grid; gap: var(--gap-lg); align-items: start; }
@media (min-width: 64rem) {
  .hero-dvojice { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; }
}
.situace { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.situace li {
  counter-increment: s;
  position: relative;
  padding: 1rem 0 1rem 3.25rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-lead);
  max-width: var(--w-lead);
}
.situace li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-family: var(--f-display);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
}
.kroky { list-style: none; counter-reset: k; margin: 0; padding: 0; display: grid; gap: var(--gap-md); }
@media (min-width: 56rem) { .kroky { grid-template-columns: repeat(4, 1fr); } }
.kroky li { counter-increment: k; border-top: 2px solid var(--ink); padding-top: var(--gap-sm); }
.kroky li::before {
  content: counter(k);
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.nechceme {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--paper);
}
.vypocet-obal { overflow-x: auto; }
.vypocet {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: var(--t-ui);
  min-width: 34rem;
}
.vypocet th, .vypocet td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); }
.vypocet-den { min-width: 0; }
.vypocet-den td:first-child,
.vypocet-den td.c { white-space: nowrap; width: 1%; }
.vypocet-den td:first-child { font-weight: 600; }
.vypocet-den td.c { color: var(--muted); font-size: var(--t-small); }
.vypocet-den .pauza td {
  font-size: var(--t-small);
  color: var(--muted);
  padding-block: 0.3rem;
  font-weight: 400;
}
.vypocet th { font-size: var(--t-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.vypocet td.c { text-align: right; }
.vypocet .predpoklad {
  display: inline-block;
  font-size: var(--t-small);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  margin-left: 0.4rem;
}
.vypocet tfoot td {
  border-top: 2px solid var(--ink);
  border-bottom: none;
  font-weight: 700;
  font-size: var(--t-lead);
  padding-top: 1rem;
}
.vypocet tfoot .soucet { color: var(--brand-text); }
.lepive {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 0.6rem var(--gutter);
  display: flex;
  gap: var(--gap-sm);
  align-items: center;
  justify-content: space-between;
}
.lepive .btn { flex: 1 1 auto; }
.lepive p { margin: 0; font-size: var(--t-small); color: var(--muted); }
@media (min-width: 48rem) { .lepive { display: none; } }
@media (max-width: 47.999rem) { body { padding-bottom: 5rem; } }
.formular-mrizka { display: grid; gap: var(--gap-lg); align-items: start; }
@media (min-width: 56rem) {
  .formular-mrizka { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 4rem; }
}
.formular-karta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--gap-md);
}
@media (min-width: 40rem) { .formular-karta { padding: 2rem; } }
.past {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.chyba-souhrn {
  border-left: 3px solid var(--brand-text);
  background: #FFFFFF;
  padding: 0.9rem 1rem;
  margin: 0 0 var(--gap-md);
  font-weight: 600;
  color: var(--brand-text);
  max-width: none;
}
.formular-radek { display: grid; gap: 0 var(--gap-md); }
@media (min-width: 30rem) { .formular-radek { grid-template-columns: 1fr 1fr; } }
.formular-odeslat { width: 100%; }
@media (min-width: 40rem) { .formular-odeslat { width: auto; } }
.formular-pod {
  margin-top: var(--gap-sm);
  font-size: var(--t-small);
  color: var(--muted);
  max-width: var(--w-note);
}
.formular-pod a { color: var(--muted); }
.obsah { max-width: var(--w-prose); }
.obsah > * { max-width: var(--w-prose); }
.obsah h2 { font-size: var(--t-h2); margin-top: var(--gap-lg); }
.obsah h3 { font-size: var(--t-h3); margin-top: var(--gap-lg); }
.obsah ul, .obsah ol { padding-left: 1.35rem; margin: 0 0 var(--gap-md); }
.obsah li { margin-bottom: 0.35rem; }
.obsah blockquote {
  margin: var(--gap-md) 0;
  border-left: 3px solid var(--accent);
  padding-left: var(--gap-md);
  font-family: var(--f-display);
}
.obsah table { border-collapse: collapse; width: 100%; font-size: var(--t-ui); }
.obsah td, .obsah th { border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: left; }
.obsah img { margin-block: var(--gap-md); border-radius: var(--radius); }
.seznam-prispevku { list-style: none; margin: 0; padding: 0; }
.seznam-prispevku .wp-block-post-title { margin: 0; font-size: var(--t-h3); max-width: var(--w-heading); }
.seznam-prispevku .wp-block-post-title a { color: inherit; text-decoration: none; }
.seznam-prispevku .wp-block-post-title a:hover { color: var(--brand-text); }
.seznam-prispevku > li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.nazev-hlavni { display: block; }
.nazev-zbytek { display: block; font-weight: 400; font-size: var(--t-small); color: var(--muted); max-width: var(--w-note); }
.skryte {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
h1.nazev-rozdeleny, h1.nazev-dlouhy { font-size: var(--t-title); line-height: var(--lh-heading); max-width: var(--w-heading); }
h1.nazev-velmi-dlouhy { font-size: var(--t-h2); }
h1.nazev-rozdeleny .nazev-hlavni { display: block; }
h1.nazev-rozdeleny .nazev-zbytek {
  display: block;
  margin-top: 0.5em;
  font-size: var(--t-lead);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--muted);
  max-width: var(--w-lead);
}
.strankovani { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--gap-sm); margin-top: var(--gap-lg); }
.strankovani a, .strankovani span { color: var(--ink); }
.akce { display: flex; flex-wrap: wrap; gap: var(--gap-sm); margin-top: var(--gap-lg); }
.stack-lg > * + * { margin-top: var(--gap-lg); }
.stack-md > * + * { margin-top: var(--gap-md); }
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
.uzky { max-width: var(--w-prose); }
.jen-ctecka {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hlavicka-sekce { max-width: var(--w-heading); margin-bottom: var(--gap-lg); }
@media print {
  .hlavicka, .lepive, .pole-slov, .preskocit { display: none; }
  body { background: #FFFFFF; padding-bottom: 0; }
}
.kroky-svisle { list-style: none; counter-reset: k; margin: 0; padding: 0; }
.kroky-svisle li {
  counter-increment: k;
  position: relative;
  padding: 0 0 var(--gap-md) 2.25rem;
}
.kroky-svisle li:last-child { padding-bottom: 0; }
.kroky-svisle li::before {
  content: counter(k);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.kroky-svisle strong { display: block; }
.kroky-svisle p { margin-bottom: 0; }
.pas-vyzva {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--gap-md);
}
@media (min-width: 40rem) { .pas-vyzva { padding: 2rem; } }
.pas-vyzva h2 { margin-bottom: var(--gap-sm); }
.pas-vyzva .akce { margin-top: var(--gap-md); }
.wp-block-post-terms.nadtitulek a { color: var(--muted); text-decoration: none; }
.wp-block-post-terms.nadtitulek a:hover { color: var(--ink); }
ul.seznam-prispevku { list-style: none; margin: 0; padding: 0; }
.wp-block-query-pagination.strankovani a { color: var(--ink); }
.vrstva {
  background: var(--surface);
  border-left: 3px solid var(--brand-fill);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 0 0 var(--gap-lg);
  max-width: var(--w-prose);
}
.vrstva-oblast { margin-bottom: 0.6rem; }
.vrstva-oblast a { color: var(--muted); }
.vrstva-oblast a:hover { color: var(--ink); }
.vrstva .lead { margin: 0; max-width: none; }
.obsah .vrstva-fakta {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: var(--t-small);
  color: var(--muted);
}
.obsah .vrstva-fakta li { position: relative; padding-left: 1rem; margin: 0; }
.vrstva-fakta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-fill);
}
.katalog-souhrn { margin-bottom: var(--gap-lg); }
.katalog-oblast + .katalog-oblast { margin-top: 3.5rem; }
.katalog-nadpis {
  font-size: var(--t-h3);
  margin: 0 0 var(--gap-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  max-width: var(--w-heading);
}
.katalog-nadpis a { color: inherit; text-decoration: none; }
.katalog-nadpis a:hover { color: var(--brand-text); }
.katalog-seznam .polozka:last-child { border-bottom: 0; }
@media (min-width: 64rem) {
  .katalog-seznam { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: start; }
  .katalog-seznam .polozka:last-child { border-bottom: 1px solid var(--line); }
}
.clanek-mrizka { display: grid; gap: var(--gap-lg); align-items: start; margin-top: var(--gap-md); }
@media (min-width: 64rem) {
  .clanek-mrizka { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; }
  .clanek-bok { position: sticky; top: calc(var(--v-hlavicka) + 1.5rem); }
}
.clanek-bok .pas-vyzva { margin: 0; }
.clanek-bok .pas-vyzva h2 { font-size: var(--t-h3); }
.nastroj-uvod { max-width: var(--w-heading); }
.nastroj-uvod .lead { max-width: var(--w-lead); }
.nastroj-seznam {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 48rem) { .nastroj-seznam { grid-template-columns: 1fr 1fr; } }
.nastroj-seznam label {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  height: 100%;
  padding: 0.9rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nastroj-seznam input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--ink); }
.nastroj-seznam label:hover { border-color: var(--muted); }
.nastroj-seznam label:has(input:checked) { border: 2px solid var(--ink); padding: calc(0.9rem - 1px) calc(1rem - 1px); }
.nastroj-dal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-sm) var(--gap-md); margin-top: var(--gap-lg); }
.nastroj-dal .popiska { margin: 0; }
.nastroj-dva { display: grid; gap: var(--gap-lg); align-items: start; }
@media (min-width: 64rem) {
  .nastroj-dva { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
  .nastroj-panel { position: sticky; top: calc(var(--v-hlavicka) + 1.5rem); }
}
.nastroj-otazky .lead { max-width: var(--w-lead); }
.nastroj-situace { padding-block: var(--gap-md); border-bottom: 1px solid var(--line); }
.nastroj-situace h3 { font-size: var(--t-h3); margin-bottom: var(--gap-sm); max-width: var(--w-heading); }
.nastroj-otazka { border: 0; margin: 0 0 var(--gap-md); padding: 0; min-width: 0; }
.nastroj-otazka legend { font-size: var(--t-ui); font-weight: 600; padding: 0; margin-bottom: 0.5rem; }
.cipy { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cip { position: relative; cursor: pointer; }
.cip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: var(--t-ui);
  background: #FFFFFF;
  border: 1px solid var(--muted);
  border-radius: 999px;
}
.cip:hover span { border-color: var(--ink); }
.cip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }
.cip input:focus-visible + span { outline: var(--focus-w) solid var(--ink); outline-offset: 2px; }
.nastroj-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--gap-md);
}
@media (min-width: 40rem) { .nastroj-panel { padding: 2rem; } }
.nastroj-panel .nadtitulek { margin: 0; }
.nastroj-castka {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0.2rem 0 var(--gap-md);
}
.nastroj-polozky { list-style: none; margin: 0 0 var(--gap-md); padding: 0; }
.nastroj-polozky li { padding-block: 0.6rem; border-top: 1px solid var(--line); }
.nastroj-polozka { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-ui); }
.nastroj-cislo { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; font-weight: 600; }
.nastroj-rozpis { display: block; color: var(--muted); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.nastroj-oblast { font-size: var(--t-ui); }
.nastroj-co-s-tim { border-top: 2px solid var(--ink); padding-top: var(--gap-md); }
.nastroj-co-s-tim .akce { margin-top: var(--gap-md); }
.tabulka-posuv { overflow-x: auto; margin-bottom: var(--gap-md); }
.tabulka-posuv .vypocet { width: 100%; border-collapse: collapse; font-size: var(--t-ui); min-width: 34rem; }
.tabulka-posuv .vypocet th,
.tabulka-posuv .vypocet td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: left; vertical-align: top; }
.tabulka-posuv .vypocet th:last-child,
.tabulka-posuv .vypocet td:last-child { text-align: right; }
.nastroj-co-s-tim h3 { font-size: var(--t-h3); margin-bottom: var(--gap-sm); }
.obrazek {
  margin: 0 0 var(--gap-lg);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.obrazek img {
  display: block;
  width: 100%;
  height: auto;
}
.obrazek figcaption {
  font-size: var(--t-small);
  color: var(--muted);
  padding-top: 0.5rem;
  max-width: var(--w-note);
}
