/* ==========================================================================
   lukasmikula.cz – stránka článku a bloky obsahu (články, právní stránky, náhled v administraci).
   Výpis blogu /blog/ má vlastní blog.css
   Navazuje na tokeny a komponenty ze site.css (.card, .tag, .btn, .eyebrow …).
   Každý blok obsahu má vlastní sekci; název odpovídá typu bloku v exportu.
   ========================================================================== */

/* --- tokeny grafů --------------------------------------------------------- */
/* kategorická paleta (pevné pořadí, ověřená pro barvoslepost) + barvy pruhů a stop */
:root, [data-theme="dark"] {
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-6: #008300; --series-7: #9085e9; --series-8: #e66767;
  --chart-accent: var(--accent);
  --chart-accent-2: var(--accent-2);
  --chart-muted: rgb(255 255 255 / .2);
  --chart-track: rgb(255 255 255 / .07);
  --prose-ink: #d5dae0;
  --good: #5fd38d; --mid: #f2c14e; --bad: #ff6b6b;
}
[data-theme="light"] {
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #6250d6; --series-8: #e34948;
  --chart-accent: #6aae12;
  --chart-accent-2: #1fb89c;
  --chart-muted: rgb(14 20 10 / .22);
  --chart-track: rgb(14 20 10 / .07);
  --prose-ink: #262c28;
  --good: #1f9a55; --mid: #c98a00; --bad: #d63b3b;
}

/* karty „Další články“ pod článkem (výpis blogu má totéž v blog.css) */
.post-card__meta { margin-top: auto; }
.post-card__body { flex: 1; align-content: start; }

/* --- hlavička článku ------------------------------------------------------ */
/* Šířky textu v em místo ch (20ch = 13.26em, 62ch = 41.1em, 70ch = 46.4em; „0“ v Geistu i Bricolage má .663em):
   ch se počítá z písma, které je zrovna k dispozici – s náhradním písmem by se šířka sloupce i zalomení změnily. */
.read-progress { position: fixed; top: var(--header-h); left: 0; right: 0; height: 2px; z-index: 49; pointer-events: none; }
.read-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--glow); }

.article-head, .article-layout { width: 100%; max-width: calc(1060px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.article-head { padding-top: clamp(24px, 4vw, 48px); display: grid; gap: 18px; justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; color: var(--text-2); }
.article-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; color: var(--text-3); }
.article-meta .tag { text-decoration: none; padding: 6px 11px 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.article-meta .tag:hover { color: var(--text); border-color: var(--border-strong); }
.article-title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; max-width: 13.26em; }
.article-lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--text-2); max-width: 41.1em; }
.article-lead strong { color: var(--text); font-weight: 600; }
.article-cover { margin: 14px 0 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* --- rozvržení: obsah článku vedle textu ---------------------------------- */
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 46.4em); justify-content: space-between; gap: 56px; padding-block: clamp(36px, 5vw, 56px) 0; }
.article-layout--notoc { grid-template-columns: minmax(0, 46.4em); justify-content: center; }
.article-body { min-width: 0; display: grid; gap: clamp(40px, 6vw, 56px); align-content: start; }
.article-toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; max-height: calc(100vh - var(--header-h) - 56px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc summary { display: flex; align-items: center; gap: 8px; list-style: none; font: 700 12px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 16px; height: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--text-2); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--text); border-left-color: var(--focus); font-weight: 600; }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 46.4em); justify-content: center; gap: 28px; }
  .article-toc { position: static; max-height: none; overflow: visible; }
  .toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--gloss); }
  .toc summary { margin: 0; padding: 16px 18px; cursor: pointer; font-size: 12.5px; color: var(--text-2); }
  .toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
  .toc[open] summary::after { transform: rotate(-135deg); }
  .toc ol { margin: 0 18px 16px; }
}

/* --- typografie textu ----------------------------------------------------- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--prose-ink); }
.prose > * + * { margin-top: 1.25em; }
.prose p, .prose li { text-wrap: pretty; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-text) 45%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose h2, .prose h3, .prose h4 { color: var(--text); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.05rem); letter-spacing: -.03em; line-height: 1.15; margin-top: 2.3em; }
.prose > h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); letter-spacing: -.02em; line-height: 1.25; margin-top: 1.9em; }
.prose > h4 { font-size: 1.1rem; letter-spacing: -.01em; margin-top: 1.6em; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose > p + p { margin-top: 1.1em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose ul:not([class]) li::marker { color: var(--accent-text); }
.prose ol:not([class]) li::marker { color: var(--text-3); font-weight: 600; }
.prose > ul li + li, .prose > ol li + li { margin-top: .45em; }
.prose > ul[class] li + li, .prose > ol[class] li + li { margin-top: 0; }
.prose hr { border: 0; height: 1px; background: var(--border-strong); margin-block: 2.2em; }
.prose blockquote { margin-inline: 0; padding-left: 1.1em; border-left: 3px solid var(--accent); color: var(--text); font-style: italic; }
.prose > * { min-width: 0; }

/* --- obrázek v textu ------------------------------------------------------ */
.article-figure { margin-inline: 0; }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.article-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--text-3); text-align: center; }

/* --- video: lehká fasáda YouTube ------------------------------------------ */
.video-embed { margin-inline: 0; }
.video-embed__link, .video-embed iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow); }
.video-embed iframe { border: 0; }
.video-embed__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; filter: saturate(.95) brightness(.85); }
.video-embed__link:hover img { transform: scale(1.03); filter: none; }
/* náhled se nepodařilo stáhnout (build offline) – jen pozadí s tlačítkem */
.video-embed__link--empty { background: radial-gradient(70% 90% at 50% 40%, color-mix(in srgb, var(--accent) 22%, #14171c), #07080a 75%); }
.video-embed__btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 10px rgb(0 0 0 / .25), 0 16px 40px -8px var(--glow);
  transition: transform .3s var(--ease);
}
.video-embed__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-embed__link:hover .video-embed__btn, .video-embed__link:focus-visible .video-embed__btn { transform: scale(1.08); }
.video-embed__caption { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.video-embed__caption > svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--text-3); }
.video-embed__caption b { display: block; color: var(--text); font-weight: 600; }
.video-embed__caption small { font-size: 12.5px; color: var(--text-3); }

/* --- key-points: Klíčové poznatky ----------------------------------------- */
.key-points { padding: clamp(20px, 3vw, 28px); }
.key-points__title { display: flex; align-items: center; gap: 12px; font: 650 1.2rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--text); margin-bottom: 16px; }
.key-points__title .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.key-points__title .icon-tile svg { width: 19px; height: 19px; }
.key-points ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.key-points li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; margin: 0; font-size: 1rem; line-height: 1.6; }
.key-points li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-text); }

/* --- highlight-list: zvýrazněný seznam (odrážky, A/B/C, kroky) ------------ */
.highlight-list { padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 26px); border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--gloss); }
.highlight-list ul, .highlight-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: hl; }
.highlight-list li { position: relative; margin: 0; padding-left: 34px; counter-increment: hl; line-height: 1.65; }
.highlight-list li::before { position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font: 700 12.5px/1 var(--font-body); color: var(--accent-ink); background: var(--accent); }
.highlight-list--bullet li { padding-left: 24px; }
.highlight-list--bullet li::before { content: ""; top: .62em; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 4px var(--accent-soft); }
.highlight-list--number li::before { content: counter(hl); }
.highlight-list--alpha li::before { content: counter(hl, upper-alpha); }
.highlight-list hr { margin: 18px 0; border: 0; height: 1px; background: var(--border-strong); }

/* --- callout: poznámka / tip ---------------------------------------------- */
.callout { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: var(--accent-soft); }
.callout > svg { width: 22px; height: 22px; color: var(--accent-text); margin-top: 3px; }
.callout p { margin: 0; }
.callout p + p { margin-top: .8em; }

/* --- term-cards: karty pojmů (co to je / příklad / jak použít) ------------ */
.term-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.term-card { padding: 22px; display: grid; gap: 14px; align-content: start; }
.term-card h3 { font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.term-card dl { margin: 0; display: grid; gap: 12px; }
.term-card dt { font: 700 11px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.term-card dd { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* --- option-assessment: hodnocení varianty (přínosy, rizika, pro koho) ---- */
.option-card { padding: clamp(20px, 3vw, 26px); }
.option-card__title { font-size: 1.15rem; letter-spacing: -.02em; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.option-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.option-card__label { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14.5px; color: var(--text); margin-bottom: 8px; }
.option-card__label svg { width: 18px; height: 18px; flex: none; }
.option-card__col--plus .option-card__label svg, .option-card__col--fit .option-card__label svg { color: var(--good); }
.option-card__col--minus .option-card__label svg { color: var(--mid); }
.option-card__col--unfit .option-card__label svg { color: var(--bad); }
.option-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.option-card li { position: relative; margin: 0; padding-left: 16px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.option-card li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
@media (max-width: 560px) { .option-card__grid { grid-template-columns: 1fr; } }

/* --- chart-group: karty s grafy ------------------------------------------- */
.chart-group { margin-inline: 0; display: grid; gap: 14px; }
.chart-card { padding: clamp(20px, 3vw, 26px); display: grid; gap: 20px; }
.chart-card__title { font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.3; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.chart-card__note { font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
.chart-card__text { font-size: 14.5px; color: var(--text-2); }
.chart-card__list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.chart-card__list li::marker { color: var(--accent-text); }
.chart-group__source { font-size: 12.5px; color: var(--text-3); padding-inline: 4px; }

/* pruhový graf: jedna řada = jedno měřítko 0–100 %, hodnota je vždy vypsaná */
.bars { display: grid; gap: 16px; }
.bars__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; margin-bottom: 7px; }
.bars__label { font-size: 14.5px; line-height: 1.4; color: var(--text-2); flex: 1 1 200px; }
.bars__value { font: 700 15px/1.3 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; text-align: right; }
.bars__track { display: block; height: 10px; border-radius: 999px; background: var(--chart-track); overflow: hidden; }
.bars__fill { display: block; height: 100%; width: var(--w); border-radius: 4px 999px 999px 4px; background: linear-gradient(90deg, var(--chart-accent), var(--chart-accent-2)); transition: width 1.3s var(--ease); }
.is-muted > .bars__track .bars__fill, .bars__row.is-muted .bars__fill { background: var(--chart-muted); }
.bars__sub { --w: 0%; display: grid; grid-template-columns: minmax(0, 11em) 1fr; align-items: center; gap: 12px; margin-top: 6px; }
.bars__sub .bars__fill { width: var(--w); }
.bars__sublabel { font-size: 13px; line-height: 1.35; color: var(--text-3); }
.js-charts .chart-card:not(.is-in) .bars__fill { width: 0; }

/* koláčový (prstencový) graf */
.donut { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.donut__chart { position: relative; width: 150px; aspect-ratio: 1; }
.donut__chart svg { width: 100%; height: 100%; transform: rotate(0deg); }
.donut__track { fill: none; stroke: var(--chart-track); stroke-width: 5.2; }
.donut__seg { fill: none; stroke: var(--c); stroke-width: 5.2; transition: stroke-dasharray 1.3s var(--ease); }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 26px; }
.donut__center b { font: 700 1.55rem/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.donut__center--long b { font-size: 1.15rem; }
.donut__center span { margin-top: 4px; font-size: 11.5px; line-height: 1.25; color: var(--text-3); }
.donut__side { display: grid; gap: 12px; min-width: 0; }
.donut__side p { font-size: 14.5px; color: var(--text-2); }
.donut__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.donut__legend li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: baseline; margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.donut__legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); transform: translateY(1px); }
.donut__legend strong, .donut__legend b { color: var(--text); font-weight: 650; }
.js-charts .chart-card:not(.is-in) .donut__seg { stroke-dasharray: 0 100; }
@media (max-width: 520px) { .donut { grid-template-columns: 1fr; justify-items: center; } .donut__side { justify-self: stretch; } }

/* --- table: srovnávací tabulka (na mobilu se řádky skládají do karet) ----- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--gloss); }
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.data-table caption { text-align: left; padding: 14px 16px 0; font-weight: 600; color: var(--text); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { font: 700 11.5px/1.35 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); border-bottom-color: var(--border-strong); }
.data-table tbody th { font-weight: 650; color: var(--text); }
.data-table tbody th strong { font-weight: inherit; }
.data-table td { color: var(--text-2); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover > * { background: var(--surface); }
.status { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; background: var(--text-3); }
.status--yes, .status--low { background: var(--good); }
.status--mid { background: var(--mid); }
.status--no, .status--high { background: var(--bad); }
.status--none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.status--zero { background: var(--text-3); }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tr { padding: 6px 0; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--gloss); }
  .data-table tr + tr { margin-top: 10px; }
  .data-table th, .data-table td { border: 0; padding: 7px 16px; }
  .data-table tbody tr:hover > * { background: none; }
  .data-table tbody th { font-size: 15.5px; padding-top: 10px; padding-bottom: 4px; }
  .data-table td::before, .data-table:not(.data-table--rowhead) th::before { content: attr(data-label); display: block; font: 700 11px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
  .data-table:not(.data-table--rowhead) tbody th { font-size: 14.5px; font-weight: 400; color: var(--text-2); }
}

/* --- info-cards: karty témat, kritérií a kroků ---------------------------- */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.info-cards--topics { grid-template-columns: 1fr; }
.info-card { padding: clamp(20px, 3vw, 24px); display: grid; gap: 12px; align-content: start; }
.info-card__title { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.25; }
.info-card__num { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font: 700 14px/1 var(--font-body); color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 16px -8px var(--glow); }
.info-card__intro { font-size: 15px; color: var(--text-2); }
.info-card__sec { padding-top: 12px; border-top: 1px solid var(--border); }
.info-card__sec h4 { font-size: .98rem; letter-spacing: -.01em; margin-bottom: 4px; }
.info-card__sec p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.info-cards--topics .info-card { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.info-cards--topics .info-card__title, .info-cards--topics .info-card__intro { grid-column: 1 / -1; }
.info-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.info-card__list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.info-card__list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
@media (max-width: 600px) { .info-cards--topics .info-card { grid-template-columns: 1fr; } }

/* --- offer-cards: nabídka služeb s cenou ---------------------------------- */
.offer-cards__title { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 14px; }
.offer-cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.offer-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.offer-card .icon-tile { width: 42px; height: 42px; }
.offer-card__title { font-size: 1.05rem; letter-spacing: -.015em; line-height: 1.25; margin-top: 4px; }
.offer-card__price { font: 700 1.2rem/1.2 var(--font-display); color: var(--accent-text); letter-spacing: -.02em; }
.offer-card__text { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.offer-card__feats { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 6px; flex: 1; align-content: start; }
.offer-card__feats li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.offer-card__feats svg { width: 15px; height: 15px; margin-top: 2px; color: var(--accent-text); }
.offer-card__link { margin-top: 6px; font-size: 14px; text-decoration: none; }
.prose .offer-card__link { color: var(--accent-text); text-decoration: none; }

/* --- checklist ------------------------------------------------------------ */
.checklist { list-style: none; margin-inline: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--gloss); line-height: 1.6; }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); }

/* --- cta: výzva k akci v článku ------------------------------------------- */
.article-cta { padding: clamp(22px, 4vw, 32px); display: grid; gap: 12px; justify-items: start; overflow: hidden; }
.article-cta::before { opacity: 1; background: radial-gradient(70% 120% at 0% 0%, var(--accent-soft), transparent 70%); }
.article-cta h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.article-cta p { color: var(--text-2); }
.article-cta .btn { margin-top: 6px; white-space: normal; text-align: center; }

/* --- faq: časté dotazy (vzhled z homepage, jeden sloupec) ----------------- */
.prose .article-faq { grid-template-columns: 1fr; gap: 8px; }
.article-faq summary { font-size: 1rem; }
.article-faq .faq__a { font-size: 15.5px; line-height: 1.65; }

/* --- quote: citace s uvedeným zdrojem ------------------------------------- */
.pull-quote { position: relative; margin-inline: 0; padding: 24px 24px 22px 26px; border-radius: var(--radius); border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); box-shadow: var(--gloss); }
.pull-quote__mark { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; color: var(--accent); opacity: .25; }
.pull-quote__title { font: 700 11.5px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.pull-quote blockquote { margin: 0; padding: 0; border: 0; font: italic 500 1.1rem/1.6 var(--font-body); color: var(--text); }
.pull-quote figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.pull-quote figcaption::before { content: "— "; }

/* --- dark-pattern: ukázky manipulativních prvků z reklam ------------------ */
/* Záměrně „křiklavé“, ale v barvách webu a čitelné v obou režimech. Nic nedělají. */
.dark-pattern { margin-inline: 0; --dp: var(--bad); }
.dark-pattern--fake-countdown { --dp: #ff8a1f; }
.dark-pattern--fake-success { --dp: var(--series-1); }
.dark-pattern__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 700 11.5px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dark-pattern__label svg { width: 16px; height: 16px; color: var(--dp); }
.dp { padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); border: 2px solid color-mix(in srgb, var(--dp) 70%, transparent); background: color-mix(in srgb, var(--dp) 9%, var(--bg-elev)); box-shadow: 0 18px 44px -26px color-mix(in srgb, var(--dp) 70%, transparent); display: grid; gap: 12px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.dp p { margin: 0; }
.dp__title { font-weight: 800; font-size: 1.15rem; line-height: 1.3; color: var(--dp); }
.dp__total { font-weight: 600; font-size: 1.05rem; color: var(--text); }
.dp__total b { font-size: 2rem; font-weight: 800; color: var(--dp); margin-left: 4px; font-variant-numeric: tabular-nums; }
.dp__issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dp__issues li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed color-mix(in srgb, var(--dp) 30%, transparent); font-size: 15px; color: var(--text); }
.dp__issues li span::before { content: "✕"; margin-right: 10px; font-weight: 800; color: var(--dp); }
.dp__issues b { color: var(--dp); font-variant-numeric: tabular-nums; }
.dp__fakebtn { justify-self: center; margin-top: 8px; padding: 13px 34px; border-radius: 8px; background: linear-gradient(135deg, #71e937, #4cb82c); color: #0a1000; font-weight: 800; letter-spacing: .08em; box-shadow: 0 6px 18px -6px rgb(113 233 55 / .6); cursor: not-allowed; user-select: none; }
.dark-pattern--fake-countdown .dp, .dark-pattern--fake-success .dp { text-align: center; justify-items: center; }
.dp__timer { font: 800 clamp(2.4rem, 1.6rem + 3vw, 3.2rem)/1 ui-monospace, "Courier New", monospace; color: #ff3b30; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .dp__timer { color: #ff6b5e; }
.dp__claim { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.dp__claim span, .dp__claim strong { color: #ff3b30; }
.dp__old { text-decoration: line-through; color: var(--text-3); }
.dp__new { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); color: var(--good); }
.dp__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; width: 100%; }
.dp__stats div { display: grid; gap: 4px; padding: 10px; }
.dp__stats b { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 800; color: var(--good); line-height: 1.1; }
.dp__stats span { font-size: 13.5px; color: var(--text-2); }
.dp__msg { color: var(--text-2); }

/* --- autor a další články ------------------------------------------------- */
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: clamp(20px, 3vw, 28px); align-items: start; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); box-shadow: 0 10px 30px -12px var(--glow); }
.author-box__text { display: grid; gap: 10px; justify-items: start; }
.author-box__name { font: 650 1.35rem/1.2 var(--font-display); letter-spacing: -.02em; }
.author-box__text > p:not(.author-box__name) { color: var(--text-2); font-size: 15.5px; }
.author-box__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } .author-box img { width: 80px; height: 80px; } }

.related { margin-top: clamp(24px, 5vw, 48px); border-top: 1px solid var(--border); }
.related__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; max-width: none; gap: 14px; margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  .js-charts .chart-card:not(.is-in) .bars__fill { width: var(--w); }
  .read-progress { display: none; }
}
@media print {
  .site-header, .mobile-menu, .article-toc, .related, .read-progress, .consent, .site-footer, .video-embed__btn { display: none !important; }
  .article-layout { display: block; }
}
