/* Generated by `make css` (wp knk css) from fonts.css, tokens.css, base.css, layout.css, components.css, header.css, footer.css, plugins.css. Edit those files, not this one. */

/* ── fonts.css ── */
/* Self-hosted fonts (OFL-1.1): no request to Google, GDPR-friendly.
   One "cs" file per face covers Latin + all Czech and Slovak letters and typographic punctuation, so a Czech page
   needs only that file, and it is preloaded (inc/assets.php). Built by tools/fonts/build_cs_fonts.py (O12).
   The fontsource 5.3.0 latin-ext files stay for other accented letters (Polish, Hungarian names…). They are declared
   first: where ranges overlap the browser uses the face declared last, so latin-ext is only fetched for letters the
   cs file doesn't have. */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-cs-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+010C-010F,U+011A-011B,U+0139-013A,U+013D-013E,U+0147-0148,U+0154-0155,U+0158-0159,U+0160-0161,U+0164-0165,U+016E-016F,U+017D-017E,U+2000-206F,U+20AC,U+2122,U+2150-215E,U+2190-2199,U+21B3,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/zilla-slab-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/zilla-slab-cs-600-normal.woff2) format('woff2');
  unicode-range: U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+010C-010F,U+011A-011B,U+0139-013A,U+013D-013E,U+0147-0148,U+0154-0155,U+0158-0159,U+0160-0161,U+0164-0165,U+016E-016F,U+017D-017E,U+2000-206F,U+20AC,U+2122,U+2150-215E,U+2190-2199,U+21B3,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/zilla-slab-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../fonts/zilla-slab-cs-700-normal.woff2) format('woff2');
  unicode-range: U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+010C-010F,U+011A-011B,U+0139-013A,U+013D-013E,U+0147-0148,U+0154-0155,U+0158-0159,U+0160-0161,U+0164-0165,U+016E-016F,U+017D-017E,U+2000-206F,U+20AC,U+2122,U+2150-215E,U+2190-2199,U+21B3,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── tokens.css ── */
/* Design tokens — single source of truth for the brand 2025 (logo manual + Figma files).
   See PLAN.md §5.3 for where each value comes from. */
:root {
  /* Brand colours (logo manual: white / yellow / black) */
  --c-yellow: #f7de69;
  --c-yellow-hover: #f3d33f;
  --c-yellow-soft: #fcf3c7;
  --c-yellow-deep: #ac8814; /* underlines of text links and list markers: brand yellow, 3.3:1 on white (WCAG 1.4.11) */
  --c-black: #0a0a0a;
  --c-ink: #000;
  --c-white: #fff;
  --c-cream: #fdf9f0;

  /* Neutrals (Figma Make) */
  --c-grey-50: #fafafa;
  --c-grey-100: #f5f5f5;
  --c-grey-200: #f0f0f0;
  --c-grey-300: #ececec;
  --c-grey-400: #bbbbbb;
  --c-grey-500: #6b6b6b; /* was #888 (3.5:1); ≥ 4.5:1 on white and cream for small labels (axe, WCAG AA) */
  --c-grey-600: #666666;
  --c-grey-700: #555555;
  --c-alert: #dc2626;
  --c-success: #15803d;

  /* Semantic */
  --c-text: var(--c-black);
  --c-text-muted: var(--c-grey-600);
  --c-text-subtle: var(--c-grey-500);
  --c-border: var(--c-grey-300);
  --c-surface: var(--c-white);
  --c-surface-alt: var(--c-grey-50);
  --c-focus: var(--c-ink);

  /* Typography */
  --font-heading: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --font-body: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.5rem, 1.6rem + 3.8vw, 5rem);       /* 40 → 80 (fig: section titles) */
  --fs-h1: clamp(2rem, 1.45rem + 2.4vw, 4rem);              /* 32 → 64 (fig: hero) */
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);          /* 26 → 40 */
  --fs-section: min(var(--fs-h1), calc((100vw - 2 * var(--gutter)) / 13.4)); /* home hero + big section titles: H1 scale, shrunk to fit long words on phones */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);           /* 20 → 24 */
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-eyebrow: clamp(0.8125rem, 0.75rem + 0.2vw, 1rem);     /* 13 → 16, uppercase bold */

  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.6;

  /* Spacing scale (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --section-y: clamp(3rem, 2rem + 5vw, 7.5rem);

  /* Layout (fig: 1728 frame, 150px margins → 1428px content) */
  --container: 1428px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 64px;
  --header-stick: var(--header-h); /* what the sticky header covers at the top: offsets for anchors and sticky asides */

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;          /* inputs, date options, notices (buttons are always pills) */
  --r-card: 16px;        /* cards (mobile) */
  --r-card-lg: 24px;     /* cards (desktop) */
  --r-pill: 999px;       /* header CTA, chips */

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 16px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 16px 40px rgb(0 0 0 / 0.12);
  --shadow-bar: 0 -4px 20px rgb(0 0 0 / 0.08);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
}

@media (min-width: 1200px) {
  :root { --header-h: 76px; }
}
/* Short screens (phone in landscape, 200 % zoom): the header scrolls away (header.css), so nothing to offset. O11. */
@media (max-height: 500px) {
  :root { --header-stick: 0px; }
}

/* ── base.css ── */
/* Reset + element defaults. */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-stick) + var(--s-4));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
svg.icon { flex-shrink: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p, ul, ol, dl, blockquote, figure, table { margin: 0 0 var(--s-4); }
p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

strong, b { font-weight: 700; }
small { font-size: var(--fs-small); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--s-8) 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--c-yellow); color: var(--c-ink); }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Dark sections: a black ring is invisible there (WCAG 2.4.7), so they use yellow (≈ 14:1 on black). */
.prefooter, .site-footer, .course-final, .section--black, .course-hero, .home-hero { --c-focus: var(--c-yellow); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 1000;
  padding: var(--s-3) var(--s-4);
  background: var(--c-yellow);
  color: var(--c-ink);
  font-weight: 700;
  border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Page-to-page navigation crossfades instead of flashing blank (cross-document view transitions; browsers without
   support navigate as before). The header is its own group, so it stays put while the content fades. Only without a
   reduced-motion preference: the rule above doesn't reach the ::view-transition pseudo-elements. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(root) { animation-duration: 200ms; animation-timing-function: var(--ease); }
}

/* ── layout.css ── */
/* Page layout primitives. */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
/* Pages & listings: full container (left edge in line with the logo and the page title), text kept to a
   readable measure. Single posts/recipes keep the centred .container--narrow. */
.container--reading > * { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) / 2); }
.section--yellow { background: var(--c-yellow); }
.section--cream { background: var(--c-cream); }
.section--black { background: var(--c-black); color: var(--c-white); }
.section--alt { background: var(--c-surface-alt); }

.site-main { min-height: 50vh; }
.site-main:focus { outline: none; } /* focus lands here after the skip link or a cookie choice; no ring round the whole page */

.stack > * + * { margin-top: var(--stack, var(--s-4)); }

.grid {
  display: grid;
  gap: var(--grid-gap, var(--s-6));
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min, 300px)), 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* an implicit track grows to its longest word (large text, O2) */
  gap: var(--s-8);
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-16); }
}

.page-title { font-size: var(--fs-h1); }

.plain-list { list-style: none; padding: 0; }

/* ── components.css ── */
/* Reusable components. Rendered together at /?knk-styleguide (local only). */

/* ── Buttons ───────────────────────────────────────────────────────────────
   fig: pill 39px high, Inter Bold 16, yellow on black text.
   Make: black "Koupit kurz" with yellow text. One shape everywhere: the pill (full-width buttons too, 10. 10. 2026). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0.625rem 1.375rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn--yellow { background: var(--c-yellow); color: var(--c-ink); }
.btn--yellow:hover { background: var(--c-yellow-hover); }
.btn--black { background: var(--c-black); color: var(--c-yellow); }
.btn--black:hover { background: #262626; }
.btn--white { background: var(--c-white); color: var(--c-ink); }
.btn--outline { background: transparent; border-color: currentColor; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn--ghost { background: transparent; padding-inline: 0; min-height: 0; text-decoration: underline; text-underline-offset: 0.2em; }

.btn--sm { min-height: 36px; padding: 0.4rem 1rem; font-size: var(--fs-small); }
@media (pointer: coarse) { .btn--sm { min-height: 44px; } } /* touch target */
.btn--lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ── Eyebrow (fig: "VYBERTE SI", "KURZY VAŘENÍ V PRAZE") ─────────────────── */
.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow--pill { padding: 0.5rem 1.125rem; border-radius: var(--r-pill); background: rgb(0 0 0 / 0.35); color: var(--c-white); }

.display { font-family: var(--font-heading); font-size: var(--fs-display); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
h2.display { font-size: var(--fs-section); } /* a section title never outsizes the page's H1 */
.lead { font-size: var(--fs-lead); color: var(--c-text-muted); }
.muted { color: var(--c-text-muted); }

/* ── Badges & chips ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.badge--yellow { background: var(--c-yellow); color: var(--c-ink); }
.badge--black { background: var(--c-black); color: var(--c-yellow); }
.badge--alert { background: var(--c-alert); color: var(--c-white); }
.badge--muted { background: rgb(0 0 0 / 0.75); color: var(--c-white); }
.badge .icon { width: 1.1em; height: 1.1em; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}
.chip:hover, .chip.is-active { background: var(--c-yellow); border-color: var(--c-yellow); }

/* ── Rating ───────────────────────────────────────────────────────────────── */
.rating { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); }
.rating--text { color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 0.15em; }
.rating--text:hover { color: var(--c-ink); }
.rating__stars { display: inline-flex; gap: 1px; color: var(--c-yellow); }
.rating__stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: #d9b92f; stroke-width: 1; }
.rating__stars .icon.is-empty { fill: none; stroke: var(--c-grey-400); }
.rating__value { font-weight: 700; }
.rating__count { color: var(--c-text-subtle); }
.card__rating-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); color: inherit; text-decoration: none; }
.card__rating-link:hover .rating--text { color: var(--c-ink); }
.card__new { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 2px 8px; border-radius: var(--r-pill); background: var(--c-yellow-soft); font-size: var(--fs-xs); font-weight: 700; }
.card__new .icon { fill: var(--c-yellow); stroke: #d9b92f; }

/* ── Card (base for course, post and product cards) ──────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--c-white);
  box-shadow: 0 0 0 1px var(--c-border), var(--shadow-sm);
  transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.card:hover { box-shadow: 0 0 0 1px var(--c-border), var(--shadow-md); }
@media (min-width: 1024px) { .card { border-radius: var(--r-card-lg); } }
.card--featured { box-shadow: 0 0 0 2px var(--c-yellow), var(--shadow-md); }

.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--c-grey-300); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.3), transparent 55%); pointer-events: none; }
.card__media:has(.card__placeholder)::after { display: none; } /* the gradient is for photos; over the cream illustration it reads as a grey smudge */
.card__badges { position: absolute; inset: var(--s-3) var(--s-3) auto var(--s-3); z-index: 1; display: flex; justify-content: space-between; gap: var(--s-2); }
.card__badges--bottom { inset: auto var(--s-3) var(--s-3) var(--s-3); }

.card__body { display: flex; flex-direction: column; flex: 1; gap: var(--s-2); padding: var(--s-4) var(--s-5) var(--s-5); }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.card__title { margin: 0; font-size: 1.25rem; line-height: 1.2; text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } /* pretty, not the headings' balance: fill the line before wrapping */
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.card__price { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.card__subtitle { margin: 0; color: var(--c-text-subtle); font-size: var(--fs-small); }
.card__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0; padding: 0; list-style: none; color: var(--c-text-muted); font-size: var(--fs-small); }
.card__meta li { display: inline-flex; align-items: center; gap: 0.35em; }
.card__meta .icon { width: 15px; height: 15px; }
.card__footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--c-grey-200); }
.card__footer .btn { flex: 1; }
.spots { font-size: var(--fs-xs); font-weight: 700; color: var(--c-text-subtle); white-space: nowrap; }
.spots--low { color: var(--c-alert); }
.spots--off { color: var(--c-text-subtle); } /* sold out / phone only: not urgent, just unavailable */
.card__footer .spots--group { flex: 0 0 auto; max-width: 9.5em; white-space: normal; text-align: right; line-height: 1.3; } /* "Malá skupina: max. 3 účastníci" wraps next to the button */

/* Card grid (courses, posts, related). Named after its first use; shared by all card lists. */
.course-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .course-grid { gap: var(--s-8); grid-template-columns: repeat(3, 1fr); } }
.course-grid__item { display: contents; }
.card__placeholder { object-fit: contain !important; padding: 12%; background: var(--c-cream); }

/* Breadcrumbs (course hero, articles). */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-4); padding: 0; list-style: none; font-size: var(--fs-small); opacity: 0.85; }
.breadcrumbs li + li::before { content: '›'; margin-right: var(--s-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { display: none; }

/* ── Info block (Make: 3px yellow left border) ───────────────────────────── */
.info-block { padding-left: var(--s-4); border-left: 3px solid var(--c-yellow); }
.info-block__title { margin-bottom: var(--s-2); font-size: var(--fs-h4); }
.info-block p:last-child { margin-bottom: 0; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.check-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.check-list .icon { width: 18px; height: 18px; margin-top: 0.2em; color: var(--c-ink); background: var(--c-yellow); border-radius: 50%; padding: 3px; stroke-width: 3; }

/* ── Facts (pro koho, délka, místo, …) ───────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); margin: 0; }
.fact { position: relative; padding-left: calc(20px + var(--s-2)); }
.fact .icon { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; }
.fact dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-subtle); }
.fact dd { margin: 0; font-weight: 500; line-height: 1.3; }

/* ── Benefit strip (fig: yellow bar with icons) ──────────────────────────── */
.benefits { background: var(--c-yellow); }
.benefits__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-10); margin: 0; padding: var(--s-4) 0; list-style: none; }
.benefits__list li { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.03em; text-transform: uppercase; }
.benefits__list .icon { width: 28px; height: 28px; }
@media (min-width: 768px) { .benefits__list li { font-size: var(--fs-body); } }
@media (max-width: 767.98px) { .benefits__list { column-gap: var(--s-5); } }

/* ── Callout (gift CTA, notices) ─────────────────────────────────────────── */
.callout { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-5); border-radius: var(--r-card); background: var(--c-yellow); }
.callout__icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-white); }
.callout .callout__title { margin: 0 0 var(--s-1); font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 700; }
.callout p { margin: 0 0 var(--s-3); font-size: var(--fs-small); }

.notice { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-grey-100); }
.notice--success { background: #e8f5ec; }
.notice--error { background: #fdecec; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.field { display: grid; gap: var(--s-1); margin-bottom: var(--s-4); }
.field label, label.field__label { font-size: var(--fs-small); font-weight: 600; }
input[type='text'], input[type='email'], input[type='tel'], input[type='search'], input[type='password'], input[type='number'], input[type='url'], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d4d4d4;
  border-radius: var(--r-md);
  background: var(--c-white);
  font-size: 1rem; /* ≥16px avoids iOS zoom */
  line-height: 1.3;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-yellow); }
input[type='checkbox'], input[type='radio'] { width: 1.15rem; height: 1.15rem; accent-color: var(--c-ink); }

.inline-form { display: flex; gap: var(--s-2); }
.inline-form input { flex: 1; min-width: 0; }

.search-form { display: flex; gap: var(--s-2); }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; }

/* ── Accordion (FAQ) ─────────────────────────────────────────────────────── */
.accordion { border-top: 1px solid var(--c-grey-200); }
.accordion details { border-bottom: 1px solid var(--c-grey-200); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; font-weight: 600; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform var(--t-fast) var(--ease); color: var(--c-text-subtle); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion__content { padding-bottom: var(--s-4); color: var(--c-text); } /* answers are the content, not meta text */
.faq-cta { margin-top: var(--s-10); padding: var(--s-6); border-radius: var(--r-card); background: var(--c-yellow-soft); }
.faq-cta > p { margin: 0 0 var(--s-3); }
.faq-cta > p:last-child { margin: 0; }
.prose .faq-cta__title { font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 700; }
.prose .faq-cta .btn { text-decoration: none; }

/* ── Prose: long-form content (posts, recipes, pages) ────────────────────── */
.prose { max-width: var(--container-narrow); font-size: 1.0625rem; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: var(--s-10); }
.prose h3 { margin-top: var(--s-8); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--s-1); }
.prose ul li::marker { color: var(--c-yellow-deep); }
.prose img, .prose figure { border-radius: var(--r-card); }
.prose blockquote { margin-inline: 0; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 3px solid var(--c-yellow); font-family: var(--font-heading); font-size: 1.25rem; }
/* The withdrawal form in the terms is a form to copy, not a quote: body font on a grey card. */
.prose #formular ~ blockquote { padding: var(--s-5) var(--s-6); border: 1px dashed var(--c-grey-400); border-radius: var(--r-card); background: var(--c-surface-alt); font-family: var(--font-body); font-size: var(--fs-body); }
/* "Obsah" of long pages (knk_page_toc) */
.page-toc { margin: var(--s-6) 0 var(--s-8); padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--c-surface-alt); }
.page-toc__title { margin: 0 0 var(--s-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); }
.prose .page-toc__list { margin: 0; padding: 0; list-style: none; columns: 2 16rem; column-gap: var(--s-8); } /* the terms number their headings themselves */
.prose .page-toc__list li { margin: 0 0 var(--s-1); break-inside: avoid; }
.prose h2[id] { scroll-margin-top: calc(var(--header-stick) + var(--s-4)); }
.prose a { text-decoration-color: var(--c-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose mark { padding: 0 .2em; border-radius: 4px; background: var(--c-yellow); color: var(--c-black); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.prose th, .prose td { padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
/* Wide tables in content (e.g. GDPR purposes) become one card per row on phones; cells carry data-label. */
@media (max-width: 699.98px) {
	.prose .table--stack, .prose .table--stack tbody, .prose .table--stack tr, .prose .table--stack td { display: block; }
	.prose .table--stack thead { display: none; }
	.prose .table--stack tr { margin-bottom: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-card); background: var(--c-surface-alt); }
	.prose .table--stack td { padding: var(--s-1) 0; border: 0; }
	.prose .table--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; color: var(--c-text-subtle); }
}

/* ── Illustration decoration ─────────────────────────────────────────────── */
.illustration { pointer-events: none; user-select: none; }

/* ── Large text ─────────────────────────────────────────────────────────────
   Phones with a larger default font (Android font size, Chrome text scaling). 22em is ~350 px at the normal 16 px,
   so this applies only when the text is enlarged: nothing may get wider than the screen (WCAG 1.4.10, review
   31. 10. O2). Page-specific parts are in their own files under the same query. */
@media (max-width: 22em) {
  :root { --gutter: 16px; } /* rem gutters would grow with the text and eat the line */
  .btn, .chip, .badge { max-width: 100%; white-space: normal; }
  h1, h2, h3, h4, .eyebrow { overflow-wrap: anywhere; }
  .prose, .faq-cta, .comment__text { overflow-wrap: anywhere; } /* e-mail addresses, "nízkosacharidové/paleo", the withdrawal form's dotted lines */
  .callout { flex-direction: column; align-items: flex-start; }
}

/* ── header.css ── */
/* Site header. Mobile (Make): white, 64px, logo + CTA pill + burger opening a panel.
   Desktop (fig): 76px, logo left, bold 16px nav, search + cart icons, yellow "Vybrat kurz" pill. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0); }
/* Short screens (O11): sticky header + course bar took a third of a landscape phone or a 200 % zoom. The header
   scrolls away with the page; relative, not static, so the menu panel still opens right under it. */
@media (max-height: 500px) {
  .site-header, .admin-bar .site-header { position: relative; top: 0; }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: var(--header-h);
}

.site-logo { display: block; flex: 0 0 auto; min-width: 0; margin-right: auto; }
.site-logo img { width: clamp(132px, 38vw, 200px); height: auto; }
@media (max-width: 359.98px), (max-width: 22em) { .site-logo img { width: 108px; } } /* room for EN, search, cart and menu on 320 px phones and with large text */
/* Large text on a 320 px phone: the icons alone fill the row, so the logo gives way (it stays readable at ~80 px). */
@media (max-width: 22em) {
  .site-header__inner { gap: var(--s-2); }
  .site-logo { flex-shrink: 1; }
  .site-logo img { max-width: 100%; }
}
@media (min-width: 1200px) { .site-logo img { width: 190px; } }

.site-header__actions { display: flex; flex-shrink: 0; align-items: center; gap: 0; }

.header-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
  text-decoration: none;
}
.header-icon:hover { background: var(--c-grey-100); }

.header-cart__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.header-cart__count[hidden] { display: none; }

.btn--header { min-height: 36px; padding: 0.4rem 0.9rem; font-size: 0.8125rem; margin-left: var(--s-1); }

/* Phone (O7): in the header bar where it fits, always at the top of the menu panel; 18 px so older visitors can read it. */
.phone-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; white-space: nowrap; }
.phone-link .icon { flex: none; }
.header-phone { display: none; }
.primary-nav__phone { display: flex; flex-wrap: wrap; min-height: 44px; margin-bottom: var(--s-3); padding: 0.6rem var(--s-4); border-radius: var(--r-md); background: var(--c-yellow-soft); color: var(--c-ink); font-size: 1.125rem; white-space: normal; text-decoration: none; }
.primary-nav__phone .phone-link__label { font-weight: 400; }
.primary-nav__phone .phone-link__number { white-space: nowrap; }
@media (max-width: 22em) { /* large text: the number may break rather than run off the screen */
  .phone-link, .primary-nav__phone .phone-link__number { white-space: normal; }
  .phone-link__number { overflow-wrap: anywhere; }
}

/* Burger */
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search panel (all widths) */
.header-search { padding-block: var(--s-4); border-top: 1px solid var(--c-border); background: var(--c-white); }
.header-search[hidden] { display: none; }
.header-search .search-form { max-width: 640px; margin-inline: auto; }

/* ── Mobile: nav is a panel under the header ─────────────────────────────── */
/* The nav goes inline only from 1440 px: below that the menu, phone, cart, EN and CTA don't fit one row (O7). */
@media (max-width: 1439.98px) {
  /* search stays in the header on phones too (a recipe blog: one tap, not two) */

  .primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--s-4) var(--gutter) var(--s-6);
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .primary-nav__search { margin-bottom: var(--s-3); }
  .primary-nav__list { margin: 0 0 var(--s-5); padding: 0; list-style: none; }
  .primary-nav__list > li { border-bottom: 1px solid var(--c-grey-100); }
  .primary-nav__list > li:last-child { border-bottom: 0; }
  .primary-nav__list a,
  .primary-nav__list .submenu-toggle--label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 0;
    border: 0;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
  }
  .primary-nav__list .submenu-toggle--label { cursor: default; }
  .primary-nav .submenu-chevron,
  .primary-nav .submenu-toggle:not(.submenu-toggle--label) { display: none; }
  /* Children always visible, indented (Make prototype: "↳ AIP"). */
  .primary-nav .sub-menu { margin: -0.3rem 0 0.4rem; padding: 0 0 0 var(--s-4); list-style: none; }
  .primary-nav .sub-menu a { padding: 0.45rem 0; font-weight: 400; color: var(--c-text-muted); }
  .primary-nav .sub-menu a::before { content: '↳'; margin-right: 0.5em; color: var(--c-grey-400); }
  .primary-nav .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 3px; }

  body.nav-open { overflow: hidden; }
}
/* "Chci se naučit vařit" doesn't fit next to the logo on phones; the same CTA is in the hero and the menu panel. */
@media (max-width: 479.98px) { .btn--header { display: none; } }

/* ── Desktop: inline nav with dropdown ───────────────────────────────────── */
@media (min-width: 1024px) {
  .header-phone { display: inline-flex; min-height: 44px; margin-right: var(--s-2); color: var(--c-ink); font-size: 1.125rem; text-decoration: none; }
  .header-phone:hover { text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
}

@media (min-width: 1440px) {
  .nav-toggle, .primary-nav__cta, .primary-nav__search, .primary-nav__phone { display: none; }
  .site-header__inner { gap: var(--s-4); }
  .site-logo { margin-right: 0; }
  .primary-nav { margin-right: auto; }
  .primary-nav__list { display: flex; align-items: center; gap: clamp(0.75rem, 1.2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
  .primary-nav__list > li { position: relative; display: flex; align-items: center; }
  .primary-nav__list > li > a,
  .primary-nav__list .submenu-toggle--label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
  }
  .primary-nav__list > li > a:hover,
  .primary-nav__list > .current-menu-item > a,
  .primary-nav__list > .current-menu-ancestor > .submenu-toggle--label { text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
  .submenu-toggle { display: grid; place-items: center; padding: 0.25rem; border: 0; background: none; }
  .submenu-chevron { transition: transform var(--t-fast) var(--ease); }
  .submenu-toggle[aria-expanded='true'] .submenu-chevron { transform: rotate(180deg); }

  .primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    margin: 0;
    padding: var(--s-2);
    list-style: none;
    background: var(--c-white);
    border-radius: var(--r-md);
    box-shadow: 0 0 0 1px var(--c-border), var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .primary-nav__list > li:hover > .sub-menu,
  .primary-nav__list > li:focus-within > .sub-menu,
  .primary-nav__list > li.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav .sub-menu a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
  .primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--c-yellow-soft); }

  .btn--header { min-height: 40px; padding: 0.5rem 1.25rem; font-size: 1rem; margin-left: var(--s-2); }
}

/* Language switch (EN on Czech pages → the English page, CZ back), inc/english.php. */
.header-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 var(--s-2); border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--c-ink); text-decoration: none; }
.header-lang:hover { background: var(--c-grey-100, #f0f0f0); }

/* ── Announcement bar above the header ───────────────────────────────────── */
.announce { background: var(--c-black); color: var(--c-white); font-size: var(--fs-small); text-align: center; --c-focus: var(--c-yellow); }
.announce__link, .announce__text { display: inline-flex; align-items: center; gap: 0.4em; margin: 0; padding-block: 0.55rem; color: inherit; text-decoration: none; }
.announce__link:hover { color: var(--c-yellow); }
.announce__link .icon { flex: none; color: var(--c-yellow); }

/* ── footer.css ── */
/* Pre-footer strip + footer (brief: 4 columns; fig: black, white text, yellow accents). */
/* Decorative cooking illustration used as a soft transition into the footer. */
.footer-art { display: flex; justify-content: center; padding: var(--s-10) var(--s-4) var(--s-6); background: var(--c-bg); }
.footer-art img { display: block; width: min(100%, 72rem); height: auto; }
@media (max-width: 600px) { .footer-art { padding-block: var(--s-8) var(--s-5); } }

.footer-newsletter { padding-block: var(--s-8); background: var(--c-surface); }
.footer-newsletter__inner { display: grid; grid-template-columns: minmax(15rem, 1fr) minmax(14rem, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-6); }
.footer-newsletter__title { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; line-height: 1.4; }
.footer-newsletter__form { position: relative; display: grid; grid-column: 2 / 4; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); }
.footer-newsletter__form input[type='email'] { min-width: 0; min-height: 44px; border-radius: var(--r-pill); }
.footer-newsletter__form .btn { white-space: nowrap; }
.footer-newsletter__legal { grid-column: 2 / 4; margin: 0; color: var(--c-text-muted); font-size: var(--fs-xs); line-height: 1.4; }
.footer-newsletter__legal a { color: inherit; }
.footer-newsletter__status { grid-column: 1 / -1; margin: 0; }
.footer-newsletter__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767.98px) {
  .footer-newsletter { padding-block: var(--s-6); }
  .footer-newsletter__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .footer-newsletter__form { grid-column: 1; }
  .footer-newsletter__form .btn { padding-inline: var(--s-4); }
  .footer-newsletter__legal { grid-column: 1; }
}
@media (max-width: 420px) {
  .footer-newsletter__form { grid-template-columns: 1fr; }
  .footer-newsletter__form .btn { justify-self: start; }
}

.prefooter { background: #262626; color: var(--c-white); }
.prefooter__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-8); }
.prefooter__title { margin: 0; font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; }

.site-footer { padding-block: var(--s-12) var(--s-6); background: var(--c-ink); color: var(--c-white); font-size: var(--fs-small); }
.site-footer a { color: rgb(255 255 255 / 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }

.site-footer__grid { display: grid; gap: var(--s-8) var(--s-6); grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; display: flex; gap: var(--s-4); align-items: flex-start; }
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-10); }
  .footer-about { grid-column: auto; }
}

.footer-about__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--c-yellow); flex-shrink: 0; }
.footer-about__badge { display: inline-flex; padding: 0.4rem 0.6rem; margin-bottom: var(--s-2); border-radius: var(--r-sm); background: var(--c-yellow); }
.footer-about__badge img { width: auto; height: 14px; }
.footer-about__claim { max-width: 22ch; margin: 0 0 var(--s-2); color: rgb(255 255 255 / 0.85); font-weight: 300; line-height: 1.45; }
.site-footer .footer-about__link { color: var(--c-yellow); font-weight: 700; text-decoration: underline; }

.footer-menu__title { margin: 0 0 var(--s-3); color: var(--c-yellow); font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; line-height: var(--lh-heading); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-menu__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.footer-menu__list + .footer-menu__list--supplemental { margin-top: var(--s-2); }

.footer-contact { display: grid; gap: var(--s-1); margin: var(--s-4) 0 var(--s-3); padding: 0; list-style: none; }
.footer-social { display: flex; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); }
.footer-social a:hover { background: var(--c-yellow); color: var(--c-ink); box-shadow: none; }

.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-10); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / 0.15); color: rgb(255 255 255 / 0.6); font-size: var(--fs-xs); }

@media (max-width: 22em) {
  /* Large text (components.css › Large text): photo above the text, newsletter button under the field. */
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer a { overflow-wrap: anywhere; }
  .footer-about { flex-direction: column; }
  .footer-newsletter__form { grid-template-columns: minmax(0, 1fr); }
  .footer-newsletter__form .btn { justify-self: start; white-space: normal; }
}

/* ── plugins.css ── */
/* Third-party plugin UI aligned with the design system.
   !important is needed where plugins paint inline styles from their settings via JS. */

/* ── Cookie consent banner (cookie-law-info, legacy) ────────────────────────
   Shown until the visitor chooses. Card at the bottom (mobile: inset sheet; desktop: bottom-left card),
   three equal-weight choices: Odmítnout / Přijmout vše (+ Nastavení), as Czech law requires. */
#cookie-law-info-bar {
  position: fixed !important;
  inset: auto var(--s-3) calc(var(--s-3) + env(safe-area-inset-bottom)) var(--s-3) !important;
  z-index: 1000 !important;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  padding: var(--s-5) !important;
  border: 0 !important;
  border-radius: var(--r-card-lg) !important;
  background: var(--c-white) !important;
  color: var(--c-text) !important;
  box-shadow: 0 0 0 1px var(--c-border), var(--shadow-lg) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-small) !important;
  line-height: 1.5 !important;
  text-align: left !important;
}
@media (min-width: 768px) {
  #cookie-law-info-bar { left: var(--gutter) !important; right: auto !important; bottom: var(--s-6) !important; width: min(480px, calc(100vw - 2 * var(--gutter))) !important; }
}
#cookie-law-info-bar > span { display: block; }
.knk-cc__text { margin: 0 0 var(--s-4); }
.knk-cc__text strong { display: block; margin-bottom: var(--s-1); font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.2; }
.knk-cc__text .cli-plugin-main-link { display: inline !important; margin: 0 !important; color: var(--c-text) !important; background: none !important; text-decoration: underline; text-decoration-color: var(--c-yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

.knk-cc__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.knk-cc__actions .cli-plugin-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 !important;
  padding: 0.55rem 1rem !important;
  border: 2px solid var(--c-ink) !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-small) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
@media (max-width: 22em) {
  /* Large text (components.css › Large text): buttons may wrap, a tighter card covers less of the page. */
  #cookie-law-info-bar { padding: var(--s-4) !important; }
  .knk-cc__actions .cli-plugin-button { white-space: normal; padding-inline: 0.6rem !important; }
}
/* Accept and reject: same size, same weight — only the fill differs. */
.knk-cc__actions .wt-cli-accept-btn, .knk-cc__actions .wt-cli-accept-all-btn { background: var(--c-yellow) !important; border-color: var(--c-yellow) !important; color: var(--c-ink) !important; }
.knk-cc__actions .wt-cli-accept-btn:hover, .knk-cc__actions .wt-cli-accept-all-btn:hover { background: var(--c-yellow-hover) !important; border-color: var(--c-yellow-hover) !important; }
.knk-cc__actions .wt-cli-reject-btn { background: var(--c-white) !important; color: var(--c-ink) !important; }
.knk-cc__actions .wt-cli-reject-btn:hover { background: var(--c-grey-100) !important; }
.knk-cc__actions .cli_settings_button { grid-column: 1 / -1; order: 3; min-height: 32px; border: 0 !important; background: none !important; color: var(--c-text) !important; text-decoration: underline !important; text-underline-offset: 0.2em; }
.knk-cc__actions .wt-cli-reject-btn { order: 1; }
.knk-cc__actions .wt-cli-accept-btn, .knk-cc__actions .wt-cli-accept-all-btn { order: 2; }
.knk-cc__actions .cli-plugin-button:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
/* Phones (O11): a compact sheet flush with the bottom edge, ~150 px instead of 223 px on a 360×640 screen. The heading
   only repeats the site name, so it is left to screen readers; "Nastavení" shares the row with the two equal choices.
   The consent text itself is unchanged. */
@media (max-width: 599.98px) {
  #cookie-law-info-bar { inset: auto 0 0 0 !important; padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom)) !important; border-radius: var(--r-card-lg) var(--r-card-lg) 0 0 !important; font-size: var(--fs-xs) !important; line-height: 1.4 !important; }
  .knk-cc__text { margin-bottom: var(--s-2); }
  .knk-cc__text strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .knk-cc__actions { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
  .knk-cc__actions .cli_settings_button { grid-column: auto; order: 0; min-height: 44px; padding-inline: 0.25rem !important; }
  .knk-cc__actions .cli-plugin-button { padding-inline: 0.5rem !important; white-space: normal; }
}
/* Large text on a phone: "Nastavení" back on a row of its own under the two choices. */
@media (max-width: 22em) {
  .knk-cc__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knk-cc__actions .cli_settings_button { grid-column: 1 / -1; order: 3; min-height: 36px; }
}
/* While the settings dialog is open, the bar behind it would show through the backdrop half-faded. */
body:has(.cli-modal.cli-show) #cookie-law-info-bar { visibility: hidden; }

/* The mobile course bar sits under the banner until the visitor chooses. */
body:has(#cookie-law-info-bar[style*="block"]) .course-bar { visibility: hidden; }

/* "Show again" tab (only if enabled in the plugin; the footer link "Nastavení cookies" does the same). */
#cookie-law-info-again {
  left: var(--s-3) !important;
  right: auto !important;
  bottom: calc(var(--s-3) + env(safe-area-inset-bottom)) !important;
  padding: 0.4rem 0.9rem !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
  background: var(--c-white) !important;
  color: var(--c-text) !important;
  box-shadow: 0 0 0 1px var(--c-border), var(--shadow-md) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-xs) !important;
  font-weight: 600;
}
body.has-course-bar #cookie-law-info-again { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }

/* Footer link reopening the settings: the plugin paints button colours on every .cli_settings_button. */
.site-footer .cli_settings_button { background: none !important; color: rgb(255 255 255 / 0.6) !important; padding: 0 !important; }
.site-footer .cli_settings_button:hover { color: var(--c-white) !important; }

/* ── Cookie settings dialog ─────────────────────────────────────────────── */
.cli-modal-backdrop.cli-show { background: rgb(0 0 0 / 0.55) !important; opacity: 1 !important; }
.cli-modal .cli-modal-dialog { max-width: 560px; margin: var(--s-6) auto; padding-inline: var(--s-3); }
.cli-modal .cli-modal-content { border: 0 !important; border-radius: var(--r-card-lg) !important; overflow: hidden; box-shadow: var(--shadow-lg); font-family: var(--font-body); color: var(--c-text); }
.cli-modal .cli-modal-body { padding: var(--s-6) var(--s-6) var(--s-2) !important; }
.cli-modal .cli-modal-close { top: var(--s-3) !important; right: var(--s-3) !important; width: 40px; height: 40px; border-radius: 50%; background: var(--c-grey-100) !important; }
.cli-modal .cli-modal-close svg { width: 18px; fill: var(--c-ink); }
.cli-privacy-overview h4 { margin: 0 0 var(--s-3) !important; font-family: var(--font-heading) !important; font-size: var(--fs-h3) !important; font-weight: 700 !important; letter-spacing: normal !important; text-transform: none !important; color: var(--c-text) !important; }
.cli-privacy-content-text, .wt-cli-cookie-description { font-size: var(--fs-small) !important; line-height: 1.55 !important; color: var(--c-text-muted) !important; }
.cli-privacy-readmore { color: var(--c-text) !important; font-weight: 600; text-decoration: underline; }
.cli-tab-section { margin-top: var(--s-3) !important; border-radius: var(--r-md) !important; box-shadow: 0 0 0 1px var(--c-border); overflow: hidden; }
.cli-tab-header { padding: var(--s-3) var(--s-4) !important; border-radius: 0 !important; background: var(--c-grey-50) !important; }
.cli-tab-header { display: flex !important; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cli-tab-header a.cli-nav-link { flex: 1; font-family: var(--font-body) !important; font-size: var(--fs-body) !important; font-weight: 700 !important; text-transform: none !important; color: var(--c-text) !important; }
.cli-tab-content { padding: 0 var(--s-4) !important; background: var(--c-white) !important; }
.cli-tab-content .cli-tab-pane { padding: var(--s-3) 0 !important; }
.cli-necessary-caption { font-size: var(--fs-xs) !important; font-weight: 700 !important; color: var(--c-success) !important; }
/* Toggle: yellow when on */
.cli-switch .cli-slider { background-color: var(--c-grey-300) !important; }
.cli-switch input:checked + .cli-slider { background-color: var(--c-yellow) !important; }
.cli-switch .cli-slider::before { background: var(--c-white) !important; box-shadow: var(--shadow-sm); }
/* The plugin prints "Povolit/Vypnuto" next to the switch, overlapping the title; the switch colour + sr-only label say it. */
.cli-switch .cli-slider::after { display: none !important; }
.cli-switch { flex-shrink: 0; }
.cli-modal-footer { padding: var(--s-4) var(--s-6) var(--s-6) !important; }
.cli-modal .cli-tab-footer { justify-content: stretch !important; }
.cli-modal .wt-cli-privacy-accept-btn {
  display: inline-flex !important;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  align-items: center;
  margin: 0 !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: var(--r-pill) !important;
  background: var(--c-black) !important;
  color: var(--c-yellow) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-body) !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* ── Spam protection (Contact Form 7) ──────────────────────────────────────────
   Turnstile's widget sits above the submit button ([turnstile] in knk_cf7_form_markup()).
   reCAPTCHA v3 (until the switch): the badge overlaps fixed UI. Hiding it is allowed when the form shows
   Google's disclosure text, which inc/contact.php appends to every CF7 form. */
.grecaptcha-badge { visibility: hidden !important; }
.form-disclosure { margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--c-text-subtle); }
