/* ==========================================================================
   vzor.css – sdílené styly pro VZOROVÉ stránky (slovníček, pojem, článek)
   Návrh vylepšení podle příručky J. Kvasničky (CRO + AI/GEO).
   Všechny třídy mají prefix .vz- / jsou scopované pod .vz, aby nekolidovaly
   s Elementorem (.elementor-kit-7 h2 apod. má specificitu 0,1,1 → zde 0,1,2).
   Kontrasty (WCAG AA ≥ 4,5:1 na bílé): #1F2937 15,4:1 · #354259 10,3:1 ·
   #4B5563 7,6:1 · #BE006A 6,2:1 · bílá na #BE006A 6,2:1 · bílá na #9E0058 8,3:1
   ========================================================================== */

:root {
  --vz-mag: #C2410C;        /* sjednocení 5. 11.: jeden akcent, bílý text 5,18 : 1 (body 6 a 8) */
  --vz-mag-dark: #9A3412;
  --vz-pink: #FF008A;
  --vz-orange: #FF9900;
  --vz-grad: linear-gradient(270deg, #be006a 0%, #ff008a 50%, #f90 100%);
  --vz-ink: #1F2937;
  --vz-ink-2: #354259;
  --vz-muted: #4B5563;
  --vz-line: #E7ECF2;
  --vz-soft: #F9FAFC;
  --vz-tint: #FFF4ED;
  --vz-tint-2: #FFF7EB;
  --vz-radius: 16px;
  --vz-radius-s: 10px;
  --vz-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --vz-shadow-h: 0 2px 4px rgba(17, 24, 39, .05), 0 16px 36px rgba(194, 65, 12, .14);
  /* hlavička webu je na desktopu statická (odjede) → lišta/TOC se lepí k hornímu okraji;
     na mobilu/tabletu je hlavička fixní (82 px) */
  --vz-sticky-top: 0px;
}
@media (max-width: 1024px) { :root { --vz-sticky-top: 82px; } }

/* ---------- základ ---------- */
.vz {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--vz-ink);
  background: #fff;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.vz *, .vz *::before, .vz *::after { box-sizing: border-box; }
body .vz h1, body .vz h2, body .vz h3, body .vz h4 {
  font-family: inherit;
  color: var(--vz-ink);
  letter-spacing: -.01em;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
body .vz h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; }
body .vz h2 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.25; font-weight: 800; margin: 56px 0 16px; scroll-margin-top: calc(var(--vz-sticky-top) + 24px); }
body .vz h3 { font-size: clamp(20px, 1.9vw, 23px); line-height: 1.35; font-weight: 700; margin: 32px 0 10px; scroll-margin-top: calc(var(--vz-sticky-top) + 24px); }
body .vz h4 { font-size: 18px; line-height: 1.4; font-weight: 700; margin: 0 0 6px; }
.vz :where(p) { margin: 0 0 16px; }
.vz :where(ul, ol) { margin: 0 0 20px; padding-left: 1.3em; }
.vz :where(li) { margin: 0 0 8px; }
body .vz strong { font-weight: 700; color: var(--vz-ink); }
body .vz a { color: var(--vz-mag); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s, background-color .15s, box-shadow .2s, transform .2s, border-color .2s; }
body .vz a:hover { color: var(--vz-mag-dark); text-decoration-thickness: 2px; }
body .vz a:focus-visible, body .vz button:focus-visible, body .vz summary:focus-visible, body .vz input:focus-visible {
  outline: 3px solid var(--vz-pink); outline-offset: 2px; border-radius: 6px;
}
body .vz img { max-width: 100%; height: auto; display: block; }
body .vz figure { margin: 28px 0; }
body .vz figcaption { font-size: 14px; color: var(--vz-muted); margin-top: 10px; line-height: 1.5; }
.vz-svg { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
.vz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vz-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .vz-container { padding: 0 16px; } }

/* ---------- placeholder (k doplnění týmem) ---------- */
.vz-ph {
  display: inline;
  background: #FFF4D6;
  color: #7A2E0B;
  border: 1px dashed #B45309;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: max(13px, .9em);
  font-weight: 600;
  line-height: 1.6;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.vz-hero .vz-ph { background: #FFF4D6; color: #7A2E0B; }
.vz-proto-note {
  background: #FFF4D6; color: #7A2E0B; font-size: 14px; line-height: 1.5;
  padding: 10px 16px; text-align: center; border-bottom: 1px dashed #B45309;
}
.vz-proto-note strong { color: #7A2E0B; }

/* ---------- hero ---------- */
.vz-hero {
  position: relative;
  color: #fff;
  background-color: #8f0050;
  background-image:
    /* jako LIVE banner (low-poly podklad webu je vidět); jemné ztmavení jen vlevo pod textem kvůli kontrastu */
    linear-gradient(90deg, rgba(120, 0, 66, .55) 0%, rgba(150, 0, 80, .30) 45%, rgba(190, 0, 106, 0) 75%),
    url("/wp-content/uploads/2022/08/filipes-podkladova-plocha-lowpolygradient-4k-e1734608026524.png");
  background-size: cover;
  background-position: center;
  padding: 36px 0 44px;
}
.vz-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--vz-grad); }
body .vz .vz-hero h1 { color: #fff; max-width: 900px; }
.vz-hero__lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; max-width: 820px; margin: 18px 0 0; color: #fff; }
.vz-hero__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vz-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
}
body .vz a.vz-pill { color: #fff; text-decoration: none; }
body .vz a.vz-pill:hover { background: rgba(255, 255, 255, .28); }

/* drobečková navigace */
.vz-bc { font-size: 15px; margin: 0 0 22px; }
.vz-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
body .vz .vz-bc li { margin: 0; display: inline-flex; align-items: center; gap: 4px; color: #FFF0F7; }
body .vz .vz-bc a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border-radius: 6px; }
body .vz .vz-bc a:hover { text-decoration: underline; background: rgba(255, 255, 255, .12); }
.vz-bc .vz-svg { opacity: .8; font-size: 14px; }
.vz-bc [aria-current] { font-weight: 700; color: #fff; padding: 0 4px; }

/* meta řádek v hero */
.vz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; font-size: 15px; color: #FFF0F7; }
.vz-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.vz-meta__item .vz-svg { font-size: 18px; color: #fff; }
.vz-meta strong { color: #fff !important; }
body .vz .vz-hero strong, body .vz .vz-cta strong { color: #fff; }
.vz-person { display: inline-flex; align-items: center; gap: 12px; }
.vz-person__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; background: #fff; }
.vz-person__txt { line-height: 1.35; }
body .vz .vz-person__txt a { color: #fff; font-weight: 700; }
.vz-person__role { display: block; font-size: 14px; color: #FFF0F7; }

/* avatar placeholder */
.vz-avatar-ph {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: #FFF4D6; color: #7A2E0B; border: 2px dashed #B45309;
}
.vz-avatar-ph svg { width: 55%; height: 55%; }

/* ---------- layout s postranním obsahem ---------- */
.vz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 24px; }
.vz-layout--wide { grid-template-columns: minmax(0, 1fr); }
.vz-article { min-width: 0; max-width: 760px; }
.vz-aside { position: sticky; top: calc(var(--vz-sticky-top) + 24px); display: grid; gap: 20px; }
@media (max-width: 1080px) {
  .vz-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
  .vz-aside { position: static; display: none; }
  .vz-article { max-width: 100%; }
}

/* ---------- TOC ---------- */
.vz-toc { background: #fff; border: 1px solid var(--vz-line); border-radius: var(--vz-radius); padding: 20px 18px 14px; box-shadow: var(--vz-shadow); }
.vz-toc__title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--vz-ink-2); margin: 0 0 8px; }
.vz-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
body .vz .vz-toc li { margin: 0; }
body .vz .vz-toc a {
  display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 10px; border-radius: 10px;
  font-size: 15px; line-height: 1.4; color: var(--vz-ink-2); text-decoration: none; border-left: 3px solid transparent;
}
body .vz .vz-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: 13px; color: var(--vz-mag); padding-top: 2px; min-width: 20px; }
body .vz .vz-toc a:hover { background: var(--vz-tint); color: var(--vz-mag-dark); }
body .vz .vz-toc a.is-active { background: var(--vz-tint); color: var(--vz-mag-dark); border-left-color: var(--vz-mag); font-weight: 700; }
.vz-toc--mobile { display: none; margin: 0 0 28px; padding: 0; }
.vz-toc--mobile summary {
  list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; font-weight: 800; color: var(--vz-ink); font-size: 16px;
}
.vz-toc--mobile summary::-webkit-details-marker { display: none; }
.vz-toc--mobile[open] summary .vz-chev { transform: rotate(180deg); }
.vz-toc--mobile ol { padding: 0 10px 12px; }
@media (max-width: 1080px) { .vz-toc--mobile { display: block; } }

.vz-aside-cta { border-radius: var(--vz-radius); padding: 22px 20px; background: var(--vz-tint); border: 1px solid #F9CFE3; }
body .vz .vz-aside-cta p:not([class]) { font-size: 15px; line-height: 1.55; color: var(--vz-ink-2); margin: 0 0 14px; }
.vz-aside-cta__title { font-weight: 800; font-size: 18px; line-height: 1.3; margin: 0 0 6px; color: var(--vz-ink); }

/* ---------- tlačítka ---------- */
body .vz .vz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: .01em; text-transform: none;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  background: var(--vz-mag); color: #fff;
  box-shadow: 0 6px 18px rgba(190, 0, 106, .28);
}
body .vz .vz-btn:hover { background: var(--vz-mag-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(194, 65, 12, .32); text-decoration: none; }
body .vz .vz-btn .vz-svg { font-size: 18px; transition: transform .2s; }
body .vz .vz-btn:hover .vz-svg { transform: translateX(3px); }
body .vz .vz-btn--ghost { background: #fff; color: var(--vz-mag); border-color: var(--vz-mag); box-shadow: none; }
body .vz .vz-btn--ghost:hover { background: var(--vz-tint); color: var(--vz-mag-dark); box-shadow: none; }
body .vz .vz-btn--white { background: #fff; color: var(--vz-mag); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
body .vz .vz-btn--white:hover { background: #FFF1F7; color: var(--vz-mag-dark); }
body .vz .vz-btn--block { width: 100%; }
.vz-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- definice (odpověď v první větě) ---------- */
.vz-def {
  position: relative; border-radius: var(--vz-radius); padding: 26px 28px 24px 32px; margin: 0 0 28px;
  background: linear-gradient(180deg, #FFF6FA, #fff); border: 1px solid #F6D3E4; box-shadow: var(--vz-shadow);
  overflow: hidden;
}
.vz-def::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--vz-grad); }
.vz-label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--vz-mag); margin: 0 0 10px;
}
.vz-label .vz-svg { font-size: 18px; }
body .vz .vz-def p { font-size: 19px; line-height: 1.65; margin: 0; color: var(--vz-ink); }
.vz-def__foot { margin-top: 14px !important; font-size: 14px !important; color: var(--vz-muted) !important; }

/* ---------- V kostce / Klíčové body ---------- */
.vz-keys { border-radius: var(--vz-radius); padding: 24px 26px 10px; margin: 0 0 32px; background: var(--vz-soft); border: 1px solid var(--vz-line); }
body .vz .vz-keys h2 { margin: 0 0 14px; font-size: 22px; display: flex; align-items: center; gap: 10px; }
body .vz .vz-keys h2 .vz-svg { color: var(--vz-mag); }
.vz-checks { list-style: none !important; padding: 0 !important; }
body .vz .vz-checks li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.vz-checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--vz-mag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.vz-crosses { list-style: none !important; padding: 0 !important; }
body .vz .vz-crosses li { position: relative; padding-left: 36px; margin-bottom: 14px; }
.vz-crosses li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #FDE8EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BE006A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- callouty: Věděli jste / Tip / Výsledek ---------- */
.vz-callout {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start;
  border-radius: var(--vz-radius); padding: 22px 24px; margin: 28px 0;
  border: 1px solid var(--vz-line); background: #fff; box-shadow: var(--vz-shadow);
}
.vz-callout__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--vz-mag); }
.vz-callout__icon .vz-svg { font-size: 24px; }
.vz-callout__title { font-weight: 800; font-size: 17px; margin: 2px 0 6px; color: var(--vz-ink); }
body .vz .vz-callout p:not([class]) { margin: 0 0 8px; font-size: 16.5px; line-height: 1.65; }
body .vz .vz-callout p:last-child { margin-bottom: 0; }
.vz-callout--know { background: var(--vz-tint-2); border-color: #FBE0B8; }
.vz-callout--know .vz-callout__icon { background: #fff; color: #B45309; border: 2px solid #F5C77E; }
.vz-callout--tip { position: relative; background: #fff; border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--vz-grad); background-origin: border-box; background-clip: padding-box, border-box; }
.vz-callout--tip .vz-callout__icon { background: var(--vz-grad); }
.vz-callout--result { background: #F3FBF6; border-color: #C9EBD6; box-shadow: none; padding: 18px 22px; }
.vz-callout--result .vz-callout__icon { background: #fff; color: #11734A; border: 2px solid #9ED9B6; width: 44px; height: 44px; }
.vz-callout--result { grid-template-columns: 44px minmax(0, 1fr); }
.vz-callout--result .vz-callout__title { color: #0E5E3C; }

/* ---------- specialista odpovídá / citace ---------- */
.vz-expert {
  border-radius: 20px; margin: 36px 0; overflow: hidden; border: 1px solid #F6D3E4; background: #fff; box-shadow: var(--vz-shadow);
}
.vz-expert__head { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--vz-tint); color: var(--vz-mag); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.vz-expert__body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; padding: 24px; align-items: start; }
.vz-expert__img { width: 112px; height: 112px; border-radius: 18px; object-fit: cover; object-position: top; border: 3px solid #fff; box-shadow: 0 0 0 2px #F6D3E4; }
.vz-expert__q { font-weight: 800; font-size: 19px; line-height: 1.4; margin: 0 0 10px; color: var(--vz-ink); }
body .vz .vz-expert blockquote { margin: 0; padding: 0; border: 0; font-size: 17.5px; line-height: 1.7; color: var(--vz-ink-2); }
.vz-expert__who { margin-top: 14px; font-size: 15px; color: var(--vz-muted); line-height: 1.5; }
body .vz .vz-expert__who a { font-weight: 700; }
@media (max-width: 600px) {
  .vz-expert__body { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px 18px; }
  .vz-expert__img { width: 72px; height: 72px; border-radius: 14px; }
  .vz-expert__head { padding: 12px 18px; }
}

/* klientská reference */
.vz-quote {
  position: relative; margin: 28px 0; padding: 28px 28px 24px 28px; border-radius: var(--vz-radius);
  background: var(--vz-soft); border: 1px solid var(--vz-line);
}
.vz-quote__mark { position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--vz-grad); color: #fff; }
body .vz .vz-quote blockquote { margin: 6px 0 0; padding: 0; border: 0; font-size: 17px; line-height: 1.75; color: var(--vz-ink-2); font-style: italic; }
body .vz .vz-quote blockquote p { margin-bottom: 12px; }
.vz-quote__who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-top: 10px; }
.vz-quote__who span { font-weight: 400; color: var(--vz-muted); }

/* ---------- karty (pilíře, související) ---------- */
.vz-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 20px 0 28px; }
.vz-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vz-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--vz-line); border-radius: var(--vz-radius); padding: 20px 20px 18px; box-shadow: var(--vz-shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vz-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--vz-tint); color: var(--vz-mag); margin-bottom: 4px; }
.vz-card__icon .vz-svg { font-size: 22px; }
.vz-card__title { font-weight: 800; font-size: 18px; line-height: 1.35; margin: 0; color: var(--vz-ink); }
body .vz .vz-card p { font-size: 15.5px; line-height: 1.6; color: var(--vz-ink-2); margin: 0; }
a.vz-card, body .vz a.vz-card { text-decoration: none; color: inherit; }
body .vz a.vz-card:hover, .vz-card--link:hover { transform: translateY(-3px); box-shadow: var(--vz-shadow-h); border-color: #F3B6D3; }
.vz-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--vz-mag); }
body .vz a.vz-card:hover .vz-card__more .vz-svg { transform: translateX(3px); }
.vz-card__more .vz-svg { transition: transform .2s; }
/* stretched link pro karty s vnořeným odkazem */
.vz-stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--vz-radius); }

/* ---------- tagy ---------- */
.vz-tag { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; background: var(--vz-tint); color: var(--vz-mag-dark); line-height: 1.5; }
.vz-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- kroky ---------- */
.vz-steps { list-style: none !important; padding: 0 !important; margin: 24px 0 28px !important; counter-reset: step; }
body .vz .vz-steps > li { position: relative; counter-increment: step; padding: 0 0 26px 68px; margin: 0; }
.vz-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; background: var(--vz-mag);
  box-shadow: 0 6px 16px rgba(190, 0, 106, .25);
}
.vz-steps > li::after { content: ""; position: absolute; left: 22px; top: 54px; bottom: 6px; width: 2px; background: linear-gradient(#F6C2DB, transparent); }
.vz-steps > li:last-child::after { display: none; }
.vz-steps__title { display: block; font-weight: 800; font-size: 18.5px; line-height: 1.35; margin: 8px 0 6px; color: var(--vz-ink); }
body .vz .vz-steps p { margin: 0; color: var(--vz-ink-2); }

/* ---------- tabulka ---------- */
.vz-table-wrap { margin: 20px 0 28px; border: 1px solid var(--vz-line); border-radius: var(--vz-radius); overflow-x: auto; box-shadow: var(--vz-shadow); -webkit-overflow-scrolling: touch; }
body .vz .vz-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; margin: 0; min-width: 560px; background: #fff; }
body .vz .vz-table caption { text-align: left; padding: 14px 18px 0; font-size: 14px; color: var(--vz-muted); caption-side: bottom; padding-bottom: 14px; }
body .vz .vz-table th, body .vz .vz-table td { border: 0; border-bottom: 1px solid var(--vz-line); padding: 14px 18px; vertical-align: top; text-align: left; background: #fff; }
body .vz .vz-table thead th { background: var(--vz-soft); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--vz-ink-2); }
body .vz .vz-table thead th.vz-col-hl { background: var(--vz-tint); color: var(--vz-mag-dark); }
body .vz .vz-table tbody th { font-weight: 700; color: var(--vz-ink); width: 26%; }
body .vz .vz-table tbody tr:last-child > * { border-bottom: 0; }
body .vz .vz-table tbody tr:hover > * { background: #FFFAFC; }

/* ---------- FAQ ---------- */
.vz-faq { display: grid; gap: 12px; margin: 20px 0 28px; }
.vz-faq details { border: 1px solid var(--vz-line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.vz-faq details[open] { border-color: #F3B6D3; box-shadow: var(--vz-shadow); }
.vz-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 20px; font-weight: 700; font-size: 17.5px; line-height: 1.4; color: var(--vz-ink);
  border-radius: 14px;
}
.vz-faq summary:hover { color: var(--vz-mag-dark); background: #FFFAFC; }
.vz-faq summary::-webkit-details-marker { display: none; }
.vz-faq__ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--vz-tint); color: var(--vz-mag); transition: transform .2s, background .2s; }
.vz-faq details[open] .vz-faq__ico { transform: rotate(45deg); background: var(--vz-mag); color: #fff; }
.vz-faq__a { padding: 0 20px 18px; color: var(--vz-ink-2); }
body .vz .vz-faq__a p { margin: 0 0 10px; }
body .vz .vz-faq__a p:last-child { margin: 0; }

/* ---------- zdroje ---------- */
.vz-sources { counter-reset: src; list-style: none !important; padding: 0 !important; margin: 16px 0 28px !important; border-top: 1px solid var(--vz-line); }
body .vz .vz-sources li { counter-increment: src; position: relative; padding: 14px 0 14px 44px; margin: 0; border-bottom: 1px solid var(--vz-line); font-size: 16px; line-height: 1.55; }
.vz-sources li::before { content: "[" counter(src) "]"; position: absolute; left: 0; top: 14px; font-weight: 800; color: var(--vz-mag); font-size: 15px; }
.vz-sources small { display: block; color: var(--vz-muted); font-size: 14px; }

/* ---------- autor box ---------- */
.vz-authorbox { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px; border-radius: 20px; border: 1px solid var(--vz-line); background: var(--vz-soft); margin: 40px 0 24px; }
.vz-authorbox .vz-avatar-ph, .vz-authorbox__img { width: 96px; height: 96px; border-radius: 20px; object-fit: cover; object-position: top; }
.vz-authorbox__name { font-weight: 800; font-size: 20px; margin: 0 0 2px; }
.vz-authorbox__role { color: var(--vz-muted); font-size: 15px; margin: 0 0 10px !important; }
body .vz .vz-authorbox p:not([class]) { font-size: 16px; }
.vz-authorbox__links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; }
body .vz .vz-authorbox__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.vz-reviewer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--vz-line); font-size: 15px; color: var(--vz-muted); }
.vz-reviewer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
@media (max-width: 600px) { .vz-authorbox { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 20px 16px; } .vz-authorbox .vz-avatar-ph, .vz-authorbox__img { width: 64px; height: 64px; border-radius: 14px; } }

/* ---------- sdílení ---------- */
.vz-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 24px; }
.vz-share__label { font-weight: 700; font-size: 15px; color: var(--vz-ink-2); margin-right: 4px; }
body .vz .vz-share a, body .vz .vz-share button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--vz-line); background: #fff; color: var(--vz-ink-2);
  font: 600 15px/1 "Roboto", sans-serif; text-transform: none; text-decoration: none; cursor: pointer; letter-spacing: 0;
}
body .vz .vz-share a:hover, body .vz .vz-share button.vz-copy:hover { border-color: var(--vz-mag); color: var(--vz-mag); background: var(--vz-tint); }
body .vz .vz-share .vz-svg { font-size: 18px; }

/* ---------- CTA panel ---------- */
.vz-cta {
  position: relative; overflow: hidden; border-radius: 24px; margin: 48px 0 8px; padding: 36px 36px;
  color: #fff; background: #8f0050;
  background-image: linear-gradient(110deg, rgba(120, 0, 66, .95), rgba(160, 0, 86, .86)), url("/wp-content/uploads/2022/08/filipes-podkladova-plocha-lowpolygradient-4k-e1734608026524.png");
  background-size: cover; background-position: center;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.vz-cta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--vz-grad); }
body .vz .vz-cta h2, body .vz .vz-cta .vz-cta__title { color: #fff; margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; }
body .vz .vz-cta p { color: #FFE9F3; margin: 0 0 14px; }
.vz-cta__list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none !important; padding: 0 !important; margin: 0 !important; }
body .vz .vz-cta__list li { margin: 0; display: inline-flex; gap: 8px; align-items: center; font-size: 15.5px; color: #fff; }
.vz-cta__list .vz-svg { color: #FFD08A; }
.vz-cta__side { display: grid; gap: 12px; justify-items: stretch; min-width: 240px; }
body .vz .vz-cta__side a.vz-link-white { color: #fff; text-align: center; font-weight: 700; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; }
.vz-cta__person { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #FFE9F3; line-height: 1.4; }
.vz-cta__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; }
.vz-cta__person strong { color: #fff !important; display: block; font-size: 15.5px; }
@media (max-width: 860px) { .vz-cta { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; } .vz-cta__side { min-width: 0; } }

/* ---------- služba (interní odkaz) ---------- */
.vz-service {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: var(--vz-radius); margin: 32px 0; border: 1px solid #F6D3E4; background: linear-gradient(90deg, #FFF6FA, #fff 70%);
}
.vz-service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--vz-grad); color: #fff; }
.vz-service__icon .vz-svg { font-size: 26px; }
.vz-service__title { font-weight: 800; font-size: 19px; margin: 0 0 4px; }
body .vz .vz-service p:not([class]) { margin: 0; font-size: 15.5px; color: var(--vz-ink-2); line-height: 1.55; }
@media (max-width: 700px) { .vz-service { grid-template-columns: 48px minmax(0, 1fr); } .vz-service__icon { width: 48px; height: 48px; } .vz-service .vz-btn { grid-column: 1 / -1; } }

/* ---------- příklad z praxe ---------- */
.vz-example { border-radius: var(--vz-radius); border: 1px solid var(--vz-line); margin: 20px 0 28px; overflow: hidden; }
.vz-example__head { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--vz-ink); color: #fff; font-weight: 700; font-size: 15px; }
.vz-example__head .vz-svg { color: #FFD08A; font-size: 18px; }
.vz-example__body { padding: 20px 22px; background: #fff; }
.vz-example__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 6px; }
.vz-stat { border-radius: 12px; background: var(--vz-soft); padding: 14px 14px; border: 1px solid var(--vz-line); }
.vz-stat__num { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; color: var(--vz-mag); }
.vz-stat__lbl { display: block; font-size: 14px; color: var(--vz-muted); line-height: 1.4; margin-top: 4px; }
@media (max-width: 600px) { .vz-example__stats { grid-template-columns: minmax(0, 1fr); } }

/* definiční seznam (využití) */
.vz-dl { display: grid; gap: 12px; margin: 16px 0 28px; }
.vz-dl > div { border-left: 3px solid #F3B6D3; padding: 4px 0 4px 18px; }
body .vz .vz-dl dt { font-weight: 800; font-size: 17.5px; margin: 0 0 2px; color: var(--vz-ink); }
body .vz .vz-dl dd { margin: 0; color: var(--vz-ink-2); }

/* figure s rámečkem */
.vz-figure { border-radius: var(--vz-radius); border: 1px solid var(--vz-line); padding: 12px; background: #fff; box-shadow: var(--vz-shadow); }
.vz-figure img { border-radius: 10px; width: 100%; }
.vz-figure figcaption { padding: 4px 6px 2px; }
.vz-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.vz-figs figure { margin: 0; }
@media (max-width: 600px) { .vz-figs { grid-template-columns: minmax(0, 1fr); } }

/* hero obrázek článku */
.vz-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; }
.vz-hero-img { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(40, 0, 20, .35); border: 3px solid rgba(255, 255, 255, .6); }
.vz-hero-img img { width: 100%; display: block; }
@media (max-width: 1000px) { .vz-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .vz-hero-img { max-width: 560px; } }

/* související články */
.vz-post { padding: 0; overflow: hidden; }
.vz-post__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--vz-soft); }
.vz-post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vz-post__date { font-size: 14px; color: var(--vz-muted); }

/* sekce s pozadím */
.vz-band { background: var(--vz-soft); border-top: 1px solid var(--vz-line); border-bottom: 1px solid var(--vz-line); padding: 8px 0 40px; margin-top: 40px; }
.vz-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
body .vz .vz-section-head h2 { margin-bottom: 8px; }
.vz-lead { font-size: 18px; color: var(--vz-ink-2); max-width: 760px; }

/* ==========================================================================
   SLOVNÍČEK
   ========================================================================== */
.vz-search { position: relative; max-width: 720px; margin-top: 28px; }
.vz-search label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; color: #fff; }
body .vz .vz-search input {
  width: 100%; min-height: 60px; padding: 14px 20px 14px 56px; border-radius: 16px; border: 2px solid transparent;
  font: 400 18px/1.3 "Roboto", sans-serif; color: var(--vz-ink); background: #fff; box-shadow: 0 14px 34px rgba(40, 0, 20, .28);
  -webkit-appearance: none; appearance: none;
}
body .vz .vz-search input::placeholder { color: #6B7280; }
body .vz .vz-search input:focus { outline: none; border-color: var(--vz-orange); }
.vz-search__field { position: relative; }
.vz-search__ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--vz-mag); font-size: 22px; pointer-events: none; }
.vz-search__hint { font-size: 14px; color: #FFF0F7; margin-top: 10px; }

.vz-toolbar { position: sticky; top: var(--vz-sticky-top); z-index: 5; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--vz-line); }
@media (max-width: 1024px) { .vz-toolbar { position: static; } }
.vz-toolbar__inner { display: grid; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.vz-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vz-chips__label { font-size: 14px; font-weight: 700; color: var(--vz-muted); margin-right: 4px; }
body .vz .vz-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--vz-line); background: #fff; color: var(--vz-ink-2); cursor: pointer;
  font: 600 15px/1 "Roboto", sans-serif; text-transform: none; letter-spacing: 0; box-shadow: none;
}
body .vz .vz-chip:hover, body .vz .vz-chip:focus { border-color: var(--vz-mag); color: var(--vz-mag); background: var(--vz-tint); background-image: none; }
body .vz .vz-chip[aria-pressed="true"] { background: var(--vz-mag); border-color: var(--vz-mag); color: #fff; background-image: none; }
.vz-chip__n { font-size: 13px; font-weight: 700; opacity: .85; }
.vz-az { display: flex; flex-wrap: wrap; gap: 4px; }
.vz-az__l { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; font-weight: 800; font-size: 16px; }
body .vz a.vz-az__l { color: var(--vz-mag); text-decoration: none; background: var(--vz-tint); }
body .vz a.vz-az__l:hover { background: var(--vz-mag); color: #fff; }
.vz-az__l--off { color: #6B7280; background: transparent; font-weight: 500; width: 28px; }
.vz-az__l.is-hidden { opacity: .35; }
@media (max-width: 600px) { .vz-az { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .vz-az__l--off { display: none; } }

.vz-letter { padding-top: 8px; scroll-margin-top: calc(var(--vz-sticky-top) + 150px); }
.vz-letter__head { display: flex; align-items: center; gap: 14px; margin: 28px 0 14px; }
.vz-letter__badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #fff; background: var(--vz-grad); }
body .vz .vz-letter h2 { margin: 0; font-size: 26px; }
.vz-letter__count { font-size: 14px; color: var(--vz-muted); }
.vz-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
body .vz .vz-term__name { font-weight: 800; font-size: 19px; line-height: 1.3; margin: 0; }
body .vz h3.vz-card__title { margin: 0; font-size: 18px; }
body .vz .vz-term__name a { color: var(--vz-ink); text-decoration: none; }
body .vz .vz-card:hover .vz-term__name a { color: var(--vz-mag-dark); }
.vz-term__abbr { font-weight: 500; color: var(--vz-muted); font-size: 15px; }
.vz-empty { display: none; text-align: center; padding: 40px 20px; border: 2px dashed var(--vz-line); border-radius: var(--vz-radius); margin: 24px 0; color: var(--vz-ink-2); }
.vz-empty.is-on { display: block; }
.vz-result-info { font-size: 15px; color: var(--vz-muted); min-height: 24px; margin: 18px 0 0; }

.vz-popular { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; margin: 16px 0 8px; }
body .vz .vz-pop { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--vz-line); background: #fff; color: var(--vz-ink); font-weight: 700; text-decoration: none; box-shadow: var(--vz-shadow); }
body .vz .vz-pop:hover { border-color: var(--vz-mag); color: var(--vz-mag-dark); transform: translateY(-2px); }
.vz-pop__rank { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--vz-tint); color: var(--vz-mag); font-size: 14px; font-weight: 800; }

/* sloupce pro boxy vedle sebe */
.vz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.vz-cols > .vz-callout { margin: 0; }
@media (max-width: 860px) { .vz-cols { grid-template-columns: minmax(0, 1fr); } }

/* čtecí progress bar */
.vz-progress { position: fixed; left: 0; top: 0; height: 4px; width: 0; background: var(--vz-grad); z-index: 99999; transition: width .1s linear; }

/* tisk */
@media print { .vz-aside, .vz-share, .vz-cta, .vz-toolbar, .vz-progress { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .vz *, .vz *::before, .vz *::after { transition: none !important; } }

/* poznámky pod čarou – nikdy pod 13 px */
body .vz sup { font-size: 13px; line-height: 0; vertical-align: super; }
body .vz sup a { font-weight: 700; text-decoration: none; padding: 0 1px; }
@media (max-width: 600px) {
  body .vz .vz-letter h2 { font-size: 22px; }
  .vz-letter__count { display: none; }
  .vz-letter__badge { width: 44px; height: 44px; font-size: 21px; }
}
body .vz dfn { font-style: normal; }

/* Šablona webu nastavuje html i body overflow-x:hidden → body se stane scroll kontejnerem
   a position:sticky (TOC, filtr slovníku) nefunguje. overflow-x:clip ořízne stejně, ale scroll kontejner nevytváří. */
html:has(main.vz), html:has(main.vz) body { overflow-x: clip; overflow-y: visible; }
