/* Wizardo – články (Denní Věštec) v1.0.5
 * Nástavba nad šablonou Rubin. Platí jen pro články postavené v builderu (obal .wz-article).
 * Starších článků se nedotkne. Nahrát do /user/documents/upload/codes/wizardo-clanky.css, odkaz s ?v=1.0.5
 * Pořadí v hlavičce: za wizardo-global.css (bere z něj tokeny --wz-*, bez něj použije záložní hodnoty).
 */

/* ---------- 1. Stránka článku: bez levého sloupce, jeden H1 ---------- */
/* Na zkoušku jde levý sloupec vrátit: otevři článek s #sloupec na konci adresy (skript přidá třídu wz-sidebar-on). */
html:not(.wz-sidebar-on) body.type-post:has(.wz-article) aside.sidebar,
html:not(.wz-sidebar-on) body.wz-article-page aside.sidebar { display: none !important; }
html:not(.wz-sidebar-on) body.type-post:has(.wz-article) #content.content,
html:not(.wz-sidebar-on) body.wz-article-page #content.content { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }
html.wz-sidebar-on .wz-article { margin-left: 24px; }
/* Rubin má na obalu overflow:hidden, který ruší přilepení pravého panelu. clip ořezává stejně, ale přilepení nechá. */
body.type-post:has(.wz-article) .overall-wrapper,
body.wz-article-page .overall-wrapper { overflow: clip !important; }
/* Sdílení, předchozí/další článek a diskuze zarovnat se sloupcem článku. */
.news-item-detail:has(.wz-article) > .share,
.news-item-detail:has(.wz-article) > .next-prev,
.news-item-detail:has(.wz-article) > h2,
.news-item-detail:has(.wz-article) > .discussionContainer { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; text-align: left !important; }
.news-item-detail:has(.wz-article) > .next-prev { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; margin-bottom: 24px !important; }
/* Menší mezera mezi drobečkovou navigací a článkem. */
body.type-post:has(.wz-article) .content-wrapper-in, body.wz-article-page .content-wrapper-in { padding-top: 0 !important; }
body.type-post:has(.wz-article) .breadcrumbs-wrapper, body.wz-article-page .breadcrumbs-wrapper { padding-bottom: 0 !important; margin-bottom: 0 !important; }
/* Drobečková navigace splývá s úvodem článku (postava tmavě fialová, produktový béžová). */
html:not(.wz-sidebar-on) body:has(.wz-article--postava) .breadcrumbs-wrapper, html:not(.wz-sidebar-on) body.wz-art-postava .breadcrumbs-wrapper { background: #251338; box-shadow: 0 0 0 100vmax #251338; clip-path: inset(0 -100vmax); }
html:not(.wz-sidebar-on) body:has(.wz-article--produkt) .breadcrumbs-wrapper, html:not(.wz-sidebar-on) body.wz-art-produkt .breadcrumbs-wrapper { background: #faf7f1; box-shadow: 0 0 0 100vmax #faf7f1; clip-path: inset(0 -100vmax); }
html:not(.wz-sidebar-on) body:has(.wz-article--postava) .breadcrumbs, html:not(.wz-sidebar-on) body.wz-art-postava .breadcrumbs,
html:not(.wz-sidebar-on) body:has(.wz-article--produkt) .breadcrumbs, html:not(.wz-sidebar-on) body.wz-art-produkt .breadcrumbs { margin-bottom: 0 !important; padding-bottom: 12px !important; }
html:not(.wz-sidebar-on) body:has(.wz-article--postava) .breadcrumbs-wrapper :is(a, span), html:not(.wz-sidebar-on) body.wz-art-postava .breadcrumbs-wrapper :is(a, span) { color: #e6dcf5 !important; }
html:not(.wz-sidebar-on) body:has(.wz-article--postava) .breadcrumbs-wrapper .navigation-home-icon, html:not(.wz-sidebar-on) body.wz-art-postava .breadcrumbs-wrapper .navigation-home-icon { filter: brightness(0) invert(1); opacity: .9; }
/* Nativní H1 Shoptetu zůstává v kódu (jediný H1), skript ho přesune do úvodu článku. */
.news-item-detail:has(.wz-article) > h1 { display: block !important; position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.news-item-detail:has(.wz-article) > time { display: none !important; }

/* ---------- 2. Základ ---------- */
.wz-article {
  --a-purple: var(--wz-purple, #503373);
  --a-purple-dark: var(--wz-purple-dark, #3d275a);
  --a-night: #251338;
  --a-tint: var(--wz-purple-tint, #f3f0f7);
  --a-gold: var(--wz-gold, #876612);
  --a-gold-dark: #d9b54a;
  --a-ink: var(--wz-ink, #222222);
  --a-title: var(--wz-ink-title, #1f1a24);
  --a-muted: var(--wz-muted, #6b6470);
  --a-border: var(--wz-card-border, #e6e3ea);
  --a-control: var(--wz-border-control, #8f8478);
  --a-beige: var(--wz-beige-bg, #faf7f1);
  --a-beige-active: var(--wz-beige-active, #fff9eb);
  --a-line-loyalty: var(--wz-line-loyalty, #ece3d3);
  --a-track: var(--wz-track, #e7e4df);
  --a-ok: var(--wz-success-text, #2f7d32);
  container-type: inline-size; container-name: wza;
  max-width: 1200px; margin: 0 auto 40px; padding: 0; text-align: left;
  font-size: 16px; line-height: 27px; color: var(--a-ink);
}
.wz-article *, .wz-article *::before, .wz-article *::after { box-sizing: border-box; }
.wz-article a { color: var(--a-purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: inherit; }
.wz-article a:hover { color: var(--a-purple-dark); }
.wz-article a:focus-visible, .wz-article button:focus-visible, .wz-article summary:focus-visible { outline: 2px solid var(--a-purple); outline-offset: 2px; }
.wz-article img { max-width: 100%; height: auto; display: block; }
.wz-article h2, .wz-article h3 { text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; padding: 0 !important; background: none !important; }
.wz-article h2::before, .wz-article h2::after, .wz-article h3::before, .wz-article h3::after { content: none !important; }
.wz-article ul, .wz-article ol { list-style: none !important; margin: 0; padding: 0; }
.wz-article li::before { content: none; }
.wz-article p { margin: 0 0 20px; }

/* ikony (maska, barvu bere z textu) */
.wz-i::before, .wz-a-callout__ico::before, .wz-a-check > li::before, .wz-a-toc > summary::before,
.wz-a-faq summary::after, .wz-a-group summary::after, .wz-a-toc > summary::after, .wz-a-sources li::before,
.wz-a-place__city::before, .wz-a-cta__btn::after, .wz-a-btn--cart::before, .wz-a-audio__play::before, .wz-a-audio__label::before, .wz-a-video__play::before {
  content: ""; display: inline-block; flex-shrink: 0; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.wz-article {
  --wzi-cal: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --wzi-clock: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --wzi-user: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
  --wzi-refresh: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M20 12a8 8 0 1 1-2.4-5.7'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E");
  --wzi-kotlik: url("/user/documents/upload/kotlik-3.svg"); /* ikona kotlíku z webu, stejná jako v wizardo-global.css */
  --wzi-chev: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  --wzi-arrow: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --wzi-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --wzi-info: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E");
  --wzi-alert: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M12 3.5l9.5 17h-19z'/%3E%3Cpath d='M12 10v5M12 17.5v.5'/%3E%3C/svg%3E");
  --wzi-pin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M12 21s7-6.2 7-11.5a7 7 0 0 0-14 0C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --wzi-spark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 16v4M17 18h4'/%3E%3C/svg%3E");
  --wzi-list: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M8 6h12M8 12h12M8 18h12M4 6h.5M4 12h.5M4 18h.5'/%3E%3C/svg%3E");
  --wzi-link: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E");
  --wzi-head: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.5'/%3E%3C/svg%3E");
  --wzi-play: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='black'/%3E%3C/svg%3E");
  --wzi-pause: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d='M9 6v12M15 6v12' stroke-width='2.6'/%3E%3C/svg%3E");
}
.wz-i-cal::before { --i: var(--wzi-cal); }
.wz-i-clock::before { --i: var(--wzi-clock); }
.wz-i-user::before { --i: var(--wzi-user); }
.wz-i-refresh::before { --i: var(--wzi-refresh); }


/* ---------- 3. Úvod článku ---------- */
.wz-a-hero { display: flex; flex-direction: column; gap: 20px; padding: 24px 16px 28px; border-radius: 16px; background: var(--a-beige); }
.wz-a-hero__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wz-a-chip { align-self: flex-start; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--a-purple); background: var(--a-tint); border-radius: 999px; padding: 4px 12px; }
.wz-a-hero .wz-a-chip { background: #ffffff; }
.wz-a-title, .wz-a-hero h1, #content .wz-a-hero h1 { display: block !important; position: static !important; width: auto; height: auto; clip-path: none; white-space: normal; overflow: visible;
  margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 29px !important; line-height: 37px !important; font-weight: 700 !important; color: var(--a-title) !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left !important; }
.wz-a-hero h1::before, .wz-a-hero h1::after { content: none !important; }
.wz-a-perex { margin: 0 !important; font-size: 17px; line-height: 28px; color: var(--a-ink); }
.wz-a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--a-muted); }
.wz-a-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.wz-a-meta .wz-i::before { width: 16px; height: 16px; }
.wz-a-meta__upd { background: var(--a-beige-active); color: #6b500e; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.wz-a-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.wz-a-hero--pruvodce { background: none; padding: 8px 0 0; }
.wz-a-hero--pruvodce .wz-a-chip { background: var(--a-tint); }
.wz-a-hero--pruvodce .wz-a-hero__img img { aspect-ratio: 16 / 9; }
.wz-a-hero--postava { background: var(--a-night); }
.wz-a-hero--postava.wz-has-card { padding-bottom: 76px; }
.wz-a-hero--postava .wz-a-chip { background: rgba(255,255,255,.12); color: #f2d98a; }
.wz-article .wz-a-hero--postava .wz-a-title, .wz-article .wz-a-hero--postava h1, #content .wz-a-hero--postava h1 { color: #ffffff !important; }
.wz-a-hero--postava .wz-a-perex { color: #e6dcf5; }
.wz-a-hero--postava .wz-a-meta { color: #cfc2e6; }
.wz-a-hero--postava .wz-a-hero__img img { aspect-ratio: 1 / 1; }
.wz-a-hero--postava .wz-a-hero__img { width: 68%; max-width: 260px; align-self: center; } /* na telefonu menší portrét, ať je text dřív */
.wz-a-card { background: #ffffff; border: 1px solid var(--a-border); border-radius: 16px; padding: 20px 16px; margin: -48px 12px 0; position: relative; }
.wz-a-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--a-title); }
.wz-a-card__badge { font-size: 13px; line-height: 19px; font-weight: 600; color: #ffffff; background: var(--a-purple); border-radius: 999px; padding: 4px 12px; }
.wz-a-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.wz-a-card__k { display: block; font-size: 13px; line-height: 19px; color: var(--a-muted); font-weight: 400; }
.wz-a-card__v { display: block; margin: 2px 0 0; font-size: 15px; line-height: 23px; font-weight: 600; color: var(--a-title); }

/* Úvod přes celou šířku okna; se zkušebním levým sloupcem zůstává jako zaoblený panel. */
html:not(.wz-sidebar-on) .wz-a-hero--produkt, html:not(.wz-sidebar-on) .wz-a-hero--postava {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); border-radius: 0; }
html:not(.wz-sidebar-on) .wz-a-card { margin-left: 0; margin-right: 0; }
/* štítek kartičky v barvě koleje */
.wz-a-card__badge.wz-h-neb { background: #7a1f1f; } .wz-a-card__badge.wz-h-zmi { background: #1f4a33; } .wz-a-card__badge.wz-h-hav { background: #1d2f5c; }
.wz-a-card__badge.wz-h-mrz { background: #f0c75e; color: #1e1430; }

/* ---------- 4. Rozvržení: text + pravý panel ---------- */
.wz-a-layout { margin-top: 20px; }
.wz-a-rail { display: flex; flex-direction: column; gap: 16px; margin-bottom: 12px; }
.wz-a-toc, .wz-a-cats { border: 1px solid var(--a-border); border-radius: 14px; background: #ffffff; padding: 0 16px; }
.wz-a-toc > summary { min-height: 52px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--a-title); cursor: pointer; list-style: none; }
.wz-a-toc > summary::-webkit-details-marker, .wz-a-faq summary::-webkit-details-marker, .wz-a-group summary::-webkit-details-marker { display: none; }
.wz-a-toc > summary::before { --i: var(--wzi-list); color: var(--a-purple); }
.wz-a-toc > summary::after { --i: var(--wzi-chev); color: var(--a-purple); margin-left: auto; transition: transform .15s ease; }
.wz-a-toc[open] > summary::after { transform: rotate(90deg); }
.wz-a-toc li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 21px; color: var(--a-ink); text-decoration: none; border-top: 1px solid var(--a-border); }
.wz-a-toc li a.is-active { color: var(--a-purple); font-weight: 600; }
.wz-a-read { display: none; }
.wz-a-cats { display: none; padding: 16px 20px 18px; }
.wz-a-cats__t { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--a-title); margin-bottom: 10px; }
.wz-a-cats__l { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-a-cats__l a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--a-control); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--a-ink); text-decoration: none; }
.wz-a-cats__l a:hover { background: var(--a-tint); color: var(--a-purple); }
.wz-a-rprod { display: none; border: 1px solid var(--a-border); border-radius: 14px; background: #ffffff; padding: 16px 20px 6px; }
.wz-a-rprod__t { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--a-title); margin-bottom: 6px; }
.wz-a-rprod__i { display: flex; align-items: center; gap: 10px; min-height: 65px; padding: 10px 0; border-top: 1px solid var(--a-border); }
.wz-a-rprod__i::before { content: ""; width: 44px; height: 44px; border-radius: 10px; background: var(--a-tint); flex-shrink: 0; }
.wz-a-rprod__i.has-img::before { content: none; }
.wz-a-rprod__i img { width: 44px !important; height: 44px !important; max-width: none !important; border-radius: 10px; object-fit: contain; flex-shrink: 0; background: #ffffff; }
.wz-a-rprod__tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wz-a-rprod__tx a { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--a-title); text-decoration: none; }
.wz-a-rprod__tx a:hover { color: var(--a-purple); }
.wz-a-rprod__p { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--a-gold); min-height: 20px; }
.wz-a-rprod__add { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--a-purple); background: #ffffff; color: var(--a-purple); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.wz-a-rprod__add:hover { background: var(--a-tint); }
.wz-a-rprod__add::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--wzi-kotlik) center / contain no-repeat; mask: var(--wzi-kotlik) center / contain no-repeat; }
.wz-a-body { min-width: 0; padding: 0 4px; }

/* ---------- 5. Bloky ---------- */
.wz-a-body h2 { margin: 40px 0 16px !important; font-size: 24px; line-height: 31px; font-weight: 700; color: var(--a-title); scroll-margin-top: 24px; }
.wz-a-body h3 { margin: 28px 0 10px !important; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--a-title); }
.wz-a-body > :first-child { margin-top: 0 !important; }

.wz-a-audio { display: flex; align-items: center; gap: 14px; background: var(--a-tint); border-radius: 14px; padding: 14px 16px; margin: 0 0 20px; min-height: 76px; }
.wz-a-audio__play { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--a-purple); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.wz-a-audio__play::before { --i: var(--wzi-play); width: 24px; height: 24px; }
.wz-a-audio.is-playing .wz-a-audio__play::before { --i: var(--wzi-pause); }
.wz-a-audio__main { flex-grow: 1; min-width: 0; }
.wz-a-audio__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wz-a-audio__label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 21px; font-weight: 600; color: var(--a-title); text-decoration: none !important; }
.wz-a-audio__label::before { --i: var(--wzi-head); color: var(--a-purple); width: 17px; height: 17px; }
.wz-a-audio__time { font-size: 13px; line-height: 19px; color: var(--a-muted); white-space: nowrap; }
.wz-a-audio__seek { display: block; width: 100%; height: 20px; margin: 4px 0 0; accent-color: var(--a-purple); }
.wz-a-audio__rate { min-width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--a-purple); background: #ffffff; color: var(--a-purple); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; flex-shrink: 0; }

.wz-a-summary { background: var(--a-tint); border-radius: 14px; padding: 24px; margin: 0 0 12px; }
.wz-a-summary__t { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--a-purple); margin-bottom: 12px; }
.wz-a-check { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px !important; }
.wz-a-summary .wz-a-check { margin: 0 !important; }
.wz-a-check > li { display: flex; gap: 12px; align-items: flex-start; }
.wz-a-check > li::before { --i: var(--wzi-check); color: var(--a-purple); margin-top: 5px; }

.wz-a-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 8px 0 12px; }
.wz-a-fact { background: #ffffff; border: 1px solid var(--a-border); border-radius: 14px; padding: 18px 20px; }
.wz-a-fact__l { font-size: 13px; line-height: 19px; color: var(--a-muted); }
.wz-a-fact__v { font-size: 22px; line-height: 30px; font-weight: 700; color: var(--a-purple); margin-top: 2px; }
.wz-a-fact__d { font-size: 14px; line-height: 21px; margin-top: 4px; }

.wz-a-figure { margin: 28px 0; }
.wz-a-figure img, .wz-a-it__img img { width: 100%; object-fit: cover; border-radius: 14px; }
.wz-a-figure figcaption, .wz-a-video figcaption { margin-top: 10px; font-size: 13px; line-height: 19px; color: var(--a-muted); }
.wz-r-16x9 img { aspect-ratio: 16 / 9; } .wz-r-4x3 img { aspect-ratio: 4 / 3; } .wz-r-3x2 img { aspect-ratio: 3 / 2; } .wz-r-1x1 img { aspect-ratio: 1 / 1; }
.wz-a-it { display: flex; flex-direction: column; gap: 16px; margin: 0 0 20px; }
.wz-a-it p:last-child { margin-bottom: 0; }
.wz-a-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 28px; }
.wz-a-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }

.wz-a-video { margin: 24px 0 28px; }
.wz-a-video__box { position: relative; aspect-ratio: 16 / 9; background: var(--a-night); border-radius: 14px; overflow: hidden; }
.wz-a-video__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wz-a-video__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #e6dcf5; font-size: 15px; text-align: center; padding: 0 16px; }
.wz-a-video__play { width: 64px; height: 64px; border-radius: 999px; background: var(--a-gold-dark); color: #1e1430; display: flex; align-items: center; justify-content: center; }
.wz-a-video__play::before { --i: var(--wzi-play); width: 28px; height: 28px; }

.wz-a-quote { margin: 36px 0; padding: 0 0 0 44px; position: relative; border: 0; background: none; }
.wz-a-quote::before { content: "„"; position: absolute; left: 0; top: -6px; font-size: 56px; line-height: 56px; font-weight: 700; color: var(--a-gold-dark); }
.wz-a-quote p { margin: 0; font-size: 20px; line-height: 30px; font-weight: 500; color: var(--a-purple); font-style: normal; }
.wz-a-quote footer { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--a-muted); }

.wz-a-callout { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--a-line-loyalty); background: var(--a-beige); border-radius: 14px; padding: 20px; margin: 28px 0; }
.wz-a-callout__ico { width: 40px; height: 40px; border-radius: 999px; background: #ffffff; border: 1px solid var(--a-line-loyalty); display: flex; align-items: center; justify-content: center; color: var(--a-gold); flex-shrink: 0; }
.wz-a-callout__ico::before { --i: var(--wzi-spark); width: 20px; height: 20px; }
.wz-a-callout__t { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--a-title); }
.wz-a-callout__x { font-size: 16px; line-height: 26px; margin-top: 2px; }
.wz-a-callout--alert { background: var(--a-beige-active); border-color: #ecd9a6; }
.wz-a-callout--alert .wz-a-callout__ico { border-color: #ecd9a6; color: #6b500e; }
.wz-a-callout--alert .wz-a-callout__ico::before { --i: var(--wzi-alert); }
.wz-a-callout--info { background: var(--a-tint); border-color: #ddd5ea; }
.wz-a-callout--info .wz-a-callout__ico { border-color: #ddd5ea; color: var(--a-purple); }
.wz-a-callout--info .wz-a-callout__ico::before { --i: var(--wzi-info); }

.wz-a-timeline { margin: 24px 0 28px !important; }
.wz-a-timeline > li { position: relative; padding: 0 0 20px 32px; }
.wz-a-timeline > li:last-child { padding-bottom: 0; }
.wz-a-timeline > li::before { content: "" !important; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; border-radius: 999px; background: var(--a-gold-dark); border: 2px solid var(--a-purple); }
.wz-a-timeline > li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--a-border); }
.wz-a-timeline > li:last-child::after { content: none; }
.wz-a-timeline__w { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--a-purple); }
.wz-a-timeline__x { display: block; font-size: 16px; line-height: 26px; }

.wz-a-tablewrap { overflow-x: auto; border: 1px solid var(--a-border); border-radius: 14px; margin: 24px 0 28px; }
.wz-a-tablewrap table { width: 100%; min-width: 520px; border-collapse: collapse; background: #ffffff; margin: 0; border: 0; }
.wz-a-tablewrap th { text-align: left; padding: 14px 16px; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--a-muted); border: 0; border-bottom: 1px solid var(--a-border); white-space: nowrap; background: none; }
.wz-a-tablewrap td { padding: 14px 16px; font-size: 15px; line-height: 22px; border: 0; border-top: 1px solid var(--a-border); background: none; }
.wz-a-tablewrap tbody tr:first-child td { border-top: 0; }
.wz-a-tablewrap td:first-child { font-weight: 600; color: var(--a-title); }

.wz-a-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 28px; }
.wz-a-person { display: flex; gap: 12px; align-items: center; background: #ffffff; border: 1px solid var(--a-border); border-radius: 14px; padding: 12px 14px; }
.wz-a-person__av { width: 48px; height: 48px; border-radius: 999px; background: var(--a-tint); color: var(--a-purple); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.wz-a-person__n { display: block; font-size: 15px; line-height: 21px; font-weight: 600; color: var(--a-title); }
.wz-a-person__r { display: block; font-size: 13px; line-height: 19px; color: var(--a-muted); }
.wz-a-person a { display: inline-block; font-size: 13px; line-height: 19px; font-weight: 600; padding: 12px 0; margin: -9px 0 -12px; } /* dotyková plocha 43 px bez zvětšení karty */

.wz-a-group, .wz-a-faq details { border: 1px solid var(--a-border); border-radius: 14px; background: #ffffff; padding: 0 20px; margin: 0 0 10px; }
.wz-a-group summary, .wz-a-faq summary { min-height: 56px; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--a-title); cursor: pointer; list-style: none; }
.wz-a-group summary::after, .wz-a-faq summary::after { --i: var(--wzi-chev); color: var(--a-purple); transition: transform .15s ease; }
.wz-a-group[open] summary::after, .wz-a-faq details[open] summary::after { transform: rotate(90deg); }
.wz-a-group__r { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--a-border); font-size: 15px; line-height: 22px; }
.wz-a-group__r > span:first-child { color: var(--a-muted); }
.wz-a-group__r > span:last-child { font-weight: 600; color: var(--a-title); text-align: right; }
.wz-a-faq { margin: 20px 0 8px; }
.wz-a-faq details p { margin: 0; padding: 0 0 18px; font-size: 16px; line-height: 26px; }

.wz-a-places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 28px; }
.wz-a-place { display: flex; flex-direction: column; gap: 6px; background: #ffffff; border: 1px solid var(--a-border); border-radius: 14px; padding: 16px; text-decoration: none !important; color: var(--a-ink) !important; }
.wz-a-place__city { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--a-purple); background: var(--a-tint); border-radius: 999px; padding: 3px 10px; }
.wz-a-place__city::before { --i: var(--wzi-pin); width: 13px; height: 13px; }
.wz-a-place__n { font-size: 16px; line-height: 23px; font-weight: 600; color: var(--a-title); }
.wz-a-place__d { font-size: 13px; line-height: 19px; color: var(--a-muted); }

.wz-a-steps { counter-reset: wzs; display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px !important; }
.wz-a-steps > li { counter-increment: wzs; display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 26px; }
.wz-a-steps > li::before { content: counter(wzs) !important; width: 30px; height: 30px; border-radius: 999px; background: var(--a-purple); color: #ffffff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: -2px; }

.wz-a-houses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 28px; }
.wz-a-houses a { display: flex; flex-direction: column; gap: 2px; min-height: 76px; justify-content: center; padding: 12px 16px; border-radius: 14px; text-decoration: none !important; color: #ffffff !important; font-size: 13px; line-height: 19px; }
.wz-a-houses a b { font-size: 16px; line-height: 22px; font-weight: 600; }
.wz-h-neb { background: #7a1f1f; } .wz-h-zmi { background: #1f4a33; } .wz-h-hav { background: #1d2f5c; }
.wz-a-houses a.wz-h-mrz { background: #f0c75e; color: #1e1430 !important; }

.wz-a-sources { border-top: 1px solid var(--a-border); margin: 36px 0 0; padding-top: 16px; font-size: 14px; line-height: 21px; color: var(--a-muted); }
.wz-a-sources__t { font-weight: 600; color: var(--a-title); margin-bottom: 6px; }
.wz-a-sources li { display: flex; gap: 8px; align-items: center; min-height: 28px; }
.wz-a-sources li::before { --i: var(--wzi-link); width: 14px; height: 14px; }

/* produkty: mřížku karet kreslí plugin wizardo-produkty-v-clancich; tady jen místo předem a záložní odkazy */
.wz-article .wiz-article-products { margin: 24px 0 28px; }
.wz-article .wiz-article-products:not([data-wiz-loaded]), .wz-article .wiz-article-products[aria-busy="true"] { min-height: 340px; }
.wz-article .wiz-article-products > a.wz-a-plink { display: inline-flex; align-items: center; min-height: 44px; margin: 0 8px 8px 0; padding: 0 14px; border: 1px solid var(--a-border); border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }

.wz-a-pf { display: flex; flex-direction: column; gap: 20px; background: #ffffff; border: 1px solid var(--a-border); border-radius: 16px; padding: 20px; margin: 28px 0; }
.wz-a-pf:not([data-url]) .wz-a-pf__img:empty { display: none; }
/* fotka se bez vlastního obrázku doplní z produktu: místo držet předem, ať stránka neposkočí */
.wz-a-pf[data-url] .wz-a-pf__img:empty { display: block; aspect-ratio: 1 / 1; background: var(--a-tint); border-radius: 10px; }
.wz-a-pf__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 10px; }
.wz-a-pf__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wz-a-pf__tag { align-self: flex-start; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--a-purple); background: var(--a-tint); border-radius: 999px; padding: 3px 10px; }
.wz-a-pf__name { font-size: 21px; line-height: 28px; font-weight: 600 !important; color: var(--a-title) !important; text-decoration: none !important; }
.wz-a-pf__body p { margin: 0; font-size: 15px; line-height: 24px; }
.wz-a-pf__price { display: flex; align-items: baseline; gap: 12px; min-height: 32px; }
.wz-a-pf__price:empty { display: none; }
.wz-a-pf__price b { font-size: 26px; line-height: 32px; font-weight: 700; color: var(--a-gold); }
.wz-a-pf__price span { font-size: 13px; font-weight: 500; color: var(--a-ok); }
.wz-a-pf__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wz-a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; background: var(--a-purple); color: #ffffff !important; border: 0; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none !important; cursor: pointer; }
.wz-a-btn:hover { background: var(--a-purple-dark); }
.wz-a-btn--cart::before { --i: var(--wzi-kotlik); }
.wz-a-btn--ghost { background: #ffffff; color: var(--a-purple) !important; border: 1.5px solid var(--a-purple); }
.wz-a-btn--ghost:hover { background: var(--a-tint); }

/* ---------- 6. Konec článku ---------- */
.wz-a-end { margin-top: 40px; }
.wz-a-end__t { margin: 0 0 16px !important; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--a-title); }
.wz-a-related { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.wz-a-related a { display: flex; align-items: center; gap: 14px; border: 1px solid var(--a-border); border-radius: 14px; padding: 12px 16px 12px 12px; text-decoration: none !important; background: #ffffff; }
.wz-a-related__img { width: 64px !important; height: 64px !important; max-width: none !important; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--a-tint); }
.wz-a-related__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wz-a-related a > .wz-a-related__tx:first-child { padding-left: 4px; }
.wz-a-related a:hover { border-color: var(--a-purple); }
.wz-a-related__r { font-size: 12px; line-height: 18px; font-weight: 600; color: var(--a-purple); }
.wz-a-related__n { font-size: 16px; line-height: 23px; font-weight: 600; color: var(--a-title); }
.wz-a-related__m { font-size: 13px; line-height: 19px; color: var(--a-muted); }
.wz-a-cta { background: var(--a-night); border-radius: 16px; padding: 28px 20px; display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.wz-a-cta__t { margin: 0 !important; font-size: 22px; line-height: 30px; font-weight: 700; color: #ffffff !important; }
.wz-a-cta__x { margin: 8px 0 0 !important; font-size: 16px; line-height: 26px; color: #e6dcf5; }
.wz-a-cta__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wz-a-cta__chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #8f7fae; border-radius: 999px; color: #e6dcf5 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.wz-a-cta__chips a:hover { background: rgba(255,255,255,.08); }
.wz-a-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; background: var(--a-gold-dark); color: #1e1430 !important; border-radius: 10px; font-size: 16px; font-weight: 600; text-decoration: none !important; }
.wz-a-cta__btn::after { --i: var(--wzi-arrow); }

/* ---------- 7. Ukazatel čtení ---------- */
.wz-a-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 940; /* pod menu a dockem; pod pevnou hlavičku ho posouvá skript */ background: var(--wz-track, #e7e4df); pointer-events: none; }
.wz-a-progress > i { display: block; position: relative; height: 4px; width: 0; background: var(--wz-purple, #503373); border-radius: 0 999px 999px 0; }
.wz-a-progress > i::after { content: ""; position: absolute; right: -5px; top: -3px; width: 10px; height: 10px; border-radius: 999px; background: #d9b54a; border: 2px solid #ffffff; }

/* ---------- 8. Širší sloupec (tablet a desktop podle šířky článku) ---------- */
@container wza (min-width: 640px) {
  .wz-a-hero { padding: 32px; }
  .wz-a-card { padding: 24px 28px; }
  html.wz-sidebar-on .wz-a-card { margin-left: 24px; margin-right: 24px; }
  .wz-a-card__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
  .wz-a-card__v { font-size: 16px; }
  .wz-a-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .wz-a-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wz-a-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wz-a-gallery, .wz-a-houses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wz-a-it { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; margin-bottom: 24px; }
  .wz-a-it--rev .wz-a-it__img { order: -1; }
  .wz-a-pf { flex-direction: row; align-items: center; gap: 24px; padding: 24px; }
  .wz-a-pf__img { flex: 0 0 220px; }
  .wz-a-related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .wz-a-related a { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 12px 18px; }
  .wz-a-related__img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; border-radius: 10px; }
  .wz-a-related__tx { gap: 4px; padding: 0 4px; }
  .wz-a-related__n { font-size: 17px; line-height: 25px; }
  .wz-a-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; }
  .wz-a-cta__t { font-size: 28px; line-height: 36px; }
}
@container wza (min-width: 980px) {
  .wz-a-hero { flex-direction: row; align-items: center; gap: 56px; padding: 48px; }
  html:not(.wz-sidebar-on) .wz-a-hero--produkt, html:not(.wz-sidebar-on) .wz-a-hero--postava { padding-top: 56px; padding-bottom: 56px; }
  .wz-a-hero__text { flex: 1 1 0; gap: 16px; }
  .wz-a-hero__img { flex: 0 0 42%; }
  .wz-a-hero--postava .wz-a-hero__img { flex-basis: 34%; width: auto; max-width: none; align-self: auto; }
  .wz-a-hero--postava.wz-has-card { padding-bottom: 104px; }
  .wz-a-hero--pruvodce { flex-direction: column; align-items: stretch; gap: 28px; padding: 16px 0 0; }
  .wz-a-hero--pruvodce .wz-a-hero__text { max-width: 900px; }
  .wz-a-hero--pruvodce .wz-a-hero__img { flex: none; }
  .wz-a-hero--pruvodce .wz-a-hero__img img { aspect-ratio: 5 / 2; }
  .wz-a-title, .wz-a-hero h1, #content .wz-a-hero h1 { font-size: 44px !important; line-height: 54px !important; }
  .wz-a-perex { font-size: 20px; line-height: 32px; }
  .wz-a-card { margin-top: -56px; padding: 28px 32px; }
  html.wz-sidebar-on .wz-a-card { margin-left: 48px; margin-right: 48px; }
  .wz-a-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; column-gap: 48px; align-items: start; margin-top: 40px; }
  .wz-a-body { grid-column: 1; grid-row: 1; padding: 0; font-size: 17px; line-height: 30px; }
  .wz-a-rail { grid-column: 2; grid-row: 1; position: sticky; top: 24px; margin: 0; }
  .wz-a-toc { padding: 12px 20px 16px; }
  .wz-a-toc > summary { min-height: 36px; cursor: default; pointer-events: none; }
  .wz-a-toc > summary::before, .wz-a-toc > summary::after { content: none; }
  .wz-a-toc li a { min-height: 0; padding: 7px 0; border: 0; font-size: 14px; }
  .wz-a-read { display: block; border-top: 1px solid var(--a-border); margin-top: 12px; padding-top: 14px; font-size: 13px; line-height: 19px; color: var(--a-muted); }
  .wz-a-read__row { display: flex; justify-content: space-between; }
  .wz-a-read__bar { position: relative; height: 6px; border-radius: 999px; background: var(--a-track); margin-top: 8px; overflow: hidden; font-size: 0; line-height: 0; }
  .wz-a-read__bar > i { position: absolute; left: 0; top: 0; display: block; height: 6px; width: 0; background: var(--a-purple); border-radius: 999px; }
  .wz-a-cats { display: block; }
  .wz-a-rprod { display: block; }
  .wz-a-body h2 { margin-top: 56px !important; font-size: 30px; line-height: 38px; }
  .wz-a-body h3 { font-size: 20px; line-height: 28px; }
  .wz-a-quote p { font-size: 24px; line-height: 36px; }
  .wz-a-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wz-a-places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wz-a-end { margin-top: 64px; }
  .wz-a-end__t { font-size: 26px; line-height: 34px; }
  .wz-a-cta { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .wz-article *, .wz-a-progress > i { transition: none !important; } }
@media print { .wz-a-progress, .wz-a-rail, .wz-a-audio { display: none !important; } }
