/* =========================================================
   katarinabelicova.sk – redizajn (návrh B „Plagát“)
   Jeden spoločný CSS súbor, mobile-first.
   Všetky triedy majú prefix kb-, aby sa nebili s Bootstrapom.
   ========================================================= */

/* ---------- 0. Písmo (self-hosted, variabilné: hrúbka 100–900, šírka 62–125 %) ---------- */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  /* iba znaky strednej Európy (slovenčina, čeština, maďarčina, poľština …) – 44 kB namiesto 86 kB celého latin-ext */
  src: url('../fonts/archivo-latin-ext-ce-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-017F,U+0218-021B;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- 1. Premenné ---------- */
:root {
  --kb-ink: #111111;
  --kb-white: #ffffff;
  --kb-accent: #D4006F;        /* magenta */
  --kb-accent-dark: #A80058;
  --kb-blue: #0A33B8;
  --kb-sand: #F2F0EA;
  --kb-line: #DDDDDD;
  --kb-muted: #555555;

  --kb-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --kb-radius-sm: 12px;
  --kb-radius: 22px;
  --kb-radius-lg: 28px;

  --kb-gutter: 16px;                                   /* bočný okraj na mobile */
  --kb-section: clamp(64px, 10vw, 120px);              /* vertikálny rytmus sekcií */
  --kb-header-h: 72px;
}
@media (min-width: 768px) {
  :root { --kb-gutter: 24px; --kb-header-h: 84px; }
}

/* ---------- 2. Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kb-header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--kb-font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--kb-ink);
  background: var(--kb-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%;  height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--kb-blue); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kb-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.kb-container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--kb-gutter); }
.kb-narrow { max-width: calc(760px + 2 * var(--kb-gutter)); }
.kb-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Typografia ---------- */
.kb-display {
  font-weight: 900;
  font-stretch: 64%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
.kb-display--hero { font-size: clamp(44px, 12vw, 128px); line-height: 0.86; }
.kb-display--xl   { font-size: clamp(40px, 10vw, 104px); }
.kb-display--lg   { font-size: clamp(36px, 8vw, 72px); }
.kb-display--md   { font-size: clamp(30px, 4vw, 48px); }
.kb-display--sm   { font-size: clamp(26px, 3vw, 36px); line-height: 0.95; }

.kb-eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.kb-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; font-weight: 500; max-width: 560px; }
.kb-muted { color: var(--kb-muted); }
.kb-accent { color: var(--kb-accent); }
.kb-blue { color: var(--kb-blue); }

/* ---------- 4. Tlačidlá a štítky ---------- */
.kb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.kb-btn:hover { transform: translateY(-2px); }
.kb-btn--accent  { background: var(--kb-accent); color: var(--kb-white); }
.kb-btn--accent:hover { background: var(--kb-accent-dark); color: var(--kb-white); }
.kb-btn--dark    { background: var(--kb-ink); color: var(--kb-white); }
.kb-btn--dark:hover { background: var(--kb-blue); color: var(--kb-white); }
.kb-btn--outline { border-color: var(--kb-ink); color: var(--kb-ink); background: transparent; }
.kb-btn--outline:hover { background: var(--kb-ink); color: var(--kb-white); }
.kb-btn--light   { background: var(--kb-white); color: var(--kb-ink); }
.kb-btn--light:hover { background: var(--kb-accent); color: var(--kb-white); }
.kb-btn--ghost   { padding-inline: 6px; color: var(--kb-ink); }
.kb-btn--block   { width: 100%; }
@media (max-width: 479px) {
  .kb-actions .kb-btn:not(.kb-btn--ghost) { width: 100%; }
}

.kb-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.kb-pill {
  display: inline-block; padding: 6px 14px;
  border: 2px solid var(--kb-ink); border-radius: 999px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
}

.kb-link-arrow { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }

/* ---------- 5. Topbar + hlavička + navigácia ---------- */
.kb-topbar { background: var(--kb-ink); color: var(--kb-white); font-size: 13px; font-weight: 600; text-align: center; padding: 9px var(--kb-gutter); }
.kb-topbar a { color: var(--kb-white); text-decoration: none; }

.kb-header { position: sticky; top: 0; z-index: 50; background: var(--kb-white); transition: box-shadow .2s; }
.kb-header.is-scrolled { box-shadow: 0 1px 0 var(--kb-line); }
.kb-header__inner { height: var(--kb-header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.kb-logo { font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 26px); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.kb-logo span { color: var(--kb-accent); }
.kb-logo img {max-height: 35px;}

.kb-nav__list { list-style: none; margin: 0; padding: 0; }
.kb-nav__link { text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.kb-nav__link.is-active { text-decoration: underline; text-decoration-color: var(--kb-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.kb-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 2px solid var(--kb-ink); border-radius: 999px; background: transparent; cursor: pointer;
}
.kb-burger span, .kb-burger span::before, .kb-burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--kb-ink); position: relative; transition: transform .2s, background-color .2s; }
.kb-burger span::before { position: absolute; top: -6px; }
.kb-burger span::after  { position: absolute; top: 6px; }
.kb-nav-open .kb-burger span { background: transparent; }
.kb-nav-open .kb-burger span::before { transform: translateY(6px) rotate(45deg); }
.kb-nav-open .kb-burger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobil: celoobrazovkové menu */
@media (max-width: 1279px) {
  .kb-nav {
    position: fixed; inset: var(--kb-header-h) 0 0 0; z-index: 49;
    background: var(--kb-white); padding: 24px var(--kb-gutter) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .kb-nav-open .kb-nav { visibility: visible; opacity: 1; transform: none; }
  .kb-nav-open { overflow: hidden; }
  .kb-nav__list { display: flex; flex-direction: column; }
  .kb-nav__list li { border-top: 2px solid var(--kb-ink); }
  .kb-nav__link { display: block; padding: 14px 0; font-weight: 900; font-stretch: 64%; font-size: clamp(32px, 8vw, 48px); line-height: 1; }
  .kb-nav__shop { margin-top: 28px; }
}
/* desktop */
@media (min-width: 1280px) {
  .kb-burger { display: none; }
  .kb-nav { display: flex; align-items: center; gap: 28px; }
  .kb-nav__list { display: flex; gap: 26px; }
  .kb-nav__link { font-size: 15px; }
  .kb-nav__shop .kb-btn { min-height: 44px; padding: 10px 18px; }
}

/* ---------- 6. Sekcie ---------- */
.kb-section { padding-block: var(--kb-section); }
.kb-section--tight-top { padding-top: 0; }
.kb-section--sand { background: var(--kb-sand); }
.kb-section--dark { background: var(--kb-ink); color: var(--kb-white); }
.kb-section--blue { background: var(--kb-blue); color: var(--kb-white); }
.kb-section--dark a:hover, .kb-section--blue a:hover { color: var(--kb-white); }

.kb-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(24px, 3vw, 36px); }

.kb-kicker-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; border-top: 2px solid var(--kb-ink); padding-top: 12px; margin-bottom: clamp(20px, 3vw, 28px); }

.kb-back { display: inline-block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; padding: 10px 0; }

/* ---------- 7. Hero (homepage) ---------- */
.kb-hero { padding: clamp(16px, 3vw, 40px) 0 clamp(48px, 6vw, 72px); }
.kb-hero__title { display: flex; flex-direction: column; gap: 0.06em; }
.kb-hero__line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.12em; }
.kb-hero__pic { height: 0.78em; width: 1.9em; object-fit: cover; border-radius: 999px; }
.kb-hero__pic--sm { width: 1.3em; }
.kb-hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- 8. Pás s nápismi ---------- */
.kb-marquee-wrap { overflow: hidden; padding-block: 14px; }
.kb-marquee { background: var(--kb-blue); color: var(--kb-white); overflow: hidden; transform: rotate(-1.5deg); margin: 8px -20px 0; padding: 16px 0; }
.kb-marquee__track { display: flex; width: max-content; animation: kb-marquee 32s linear infinite; }
.kb-marquee__track span { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.02em; white-space: nowrap; padding-right: 0.6em; }
@keyframes kb-marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Plagát + featured podujatie ---------- */
.kb-split { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .kb-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .kb-split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .kb-split--reverse > :first-child { order: 0; }
}
.kb-split__body { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); }

.kb-poster { position: relative; display: block; max-width: 420px; margin-inline: auto; width: 100%; }
.kb-poster img { width: 100%; border-radius: 14px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.45); transform: rotate(-3deg); transition: transform .3s; }
.kb-poster--right img { transform: rotate(3deg); }
.kb-poster:hover img { transform: rotate(0); }
.kb-poster__badge {
  position: absolute; top: -18px; right: -6px;
  width: 84px; height: 84px; border-radius: 999px; background: var(--kb-accent); color: var(--kb-white);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: 19px; line-height: 1; transform: rotate(10deg);
}

/* ---------- 10. Riadky s čiarou (údaje, program, zoznamy) ---------- */
.kb-rows { display: flex; flex-direction: column; border-bottom: 2px solid currentColor; }
.kb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-top: 2px solid currentColor; padding: 13px 0; font-size: 16px; }
.kb-row dt, .kb-row__label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.kb-row dd { text-align: right; }
.kb-row--time { justify-content: flex-start; }
.kb-row--time strong { flex: 0 0 104px; }
.kb-rows--thin { border-bottom-width: 1px; border-bottom-color: rgba(255,255,255,.3); }
.kb-rows--thin .kb-row { border-top-width: 1px; border-top-color: rgba(255,255,255,.3); }
@media (max-width: 479px) {
  .kb-row { flex-direction: column; align-items: flex-start; }
  .kb-row dd { text-align: left; }
  .kb-row--time { flex-direction: row; }
  .kb-row--time strong { flex-basis: 92px; }
}

/* ---------- 11. Zoznam podujatí ---------- */
.kb-events { display: flex; flex-direction: column; border-bottom: 2px solid var(--kb-ink); }
.kb-event {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "date img" "title title" "pill pill";
  gap: 10px 16px; align-items: center;
  border-top: 2px solid var(--kb-ink); padding: 18px 0; text-decoration: none;
}
.kb-event__date { grid-area: date; font-weight: 900; font-stretch: 64%; font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.kb-event__title { grid-area: title; display: flex; flex-direction: column; gap: 2px; }
.kb-event__name { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; }
.kb-event__place { font-size: 15px; color: var(--kb-muted); }
.kb-event .kb-pill { grid-area: pill; justify-self: start; }
.kb-event__img { grid-area: img; justify-self: end; width: 112px; height: 72px; object-fit: cover; border-radius: var(--kb-radius-sm); }
.kb-event:hover .kb-event__name { color: var(--kb-accent); }
@media (min-width: 768px) {
  .kb-event { grid-template-columns: 150px 1fr auto auto; grid-template-areas: "date title pill img"; gap: 16px 28px; padding: 22px 0; }
  .kb-event__img { width: 150px; height: 90px; }
}

/* ---------- 12. Karty ---------- */
.kb-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.kb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.kb-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.kb-grid--stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }

.kb-stat { border-radius: var(--kb-radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--kb-white); background: var(--kb-ink); }
.kb-stat--accent { background: var(--kb-accent); }
.kb-stat--blue { background: var(--kb-blue); }
.kb-stat__value { white-space: nowrap; font-weight: 900; font-stretch: 64%; font-size: clamp(40px, 4.5vw, 56px); line-height: 0.9; }
.kb-stat__label { font-size: 15px; font-weight: 600; line-height: 1.4; }
.kb-stat--big .kb-stat__value { font-size: clamp(56px, 7vw, 80px); }
.kb-stat--big { padding: clamp(24px, 3vw, 32px); }

.kb-tier { background: var(--kb-white); border-radius: var(--kb-radius-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.kb-tier--dark { background: var(--kb-ink); color: var(--kb-white); }
.kb-tier__price { font-weight: 900; font-stretch: 64%; font-size: clamp(52px, 6.5vw, 76px); line-height: 0.85; }
.kb-tier ul { list-style: none; padding: 0; border-bottom: 2px solid currentColor; font-size: 16px; line-height: 1.45; }
.kb-tier li { border-top: 2px solid currentColor; padding: 12px 0; }

.kb-post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.kb-post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--kb-radius); transition: transform .3s; }
.kb-post--tall img { aspect-ratio: 4 / 5; }
.kb-post__date { font-size: 14px; font-weight: 700; color: var(--kb-muted); }
.kb-post__title { font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.2; }
.kb-post:hover .kb-post__title { color: var(--kb-accent); }
.kb-post:hover img { transform: scale(1.015); }
@media (min-width: 900px) {
  .kb-grid--stagger > :nth-child(3n+2) { margin-top: 56px; }
}

.kb-post-mini { display: flex; gap: 16px; align-items: center; text-decoration: none; }
.kb-post-mini img { width: 112px; height: 112px; object-fit: cover; border-radius: 16px; flex: none; }
.kb-post-mini span { font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; line-height: 1.25; }
@media (min-width: 768px) { .kb-post-mini img { width: 140px; height: 140px; } }

.kb-tile { position: relative; display: block; min-height: 340px; border-radius: var(--kb-radius-lg); overflow: hidden; text-decoration: none; }
.kb-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-tile__box { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--kb-white); border-radius: var(--kb-radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; max-width: 360px; }
.kb-tile--dark { background: var(--kb-ink); color: var(--kb-white); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.kb-tile--dark:hover { color: var(--kb-white); background: var(--kb-blue); }
@media (min-width: 768px) { .kb-tile { min-height: 420px; } .kb-tile__box { left: 28px; bottom: 28px; } }

.kb-photo { width: 100%; object-fit: cover; border-radius: var(--kb-radius-lg); }
.kb-photo--tilt { transform: rotate(2.5deg); }
.kb-photo--club { height: clamp(380px, 60vw, 600px); }
.kb-photo--cover { height: clamp(260px, 45vw, 620px); }

.kb-placeholder { aspect-ratio: 1 / 1; border-radius: var(--kb-radius); background: var(--kb-sand); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--kb-muted); text-align: center; padding: 16px; }

.kb-numbered { display: flex; flex-direction: column; gap: 10px; }
.kb-numbered__num { font-weight: 900; font-stretch: 64%; font-size: clamp(44px, 4.5vw, 56px); line-height: 1; color: var(--kb-accent); }
.kb-numbered h3 { font-size: 22px; font-weight: 800; }

.kb-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kb-gallery a { display: block; overflow: hidden; border-radius: 16px; }
.kb-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.kb-gallery a:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .kb-gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } }

/* ---------- 13. Formuláre ---------- */
.kb-form { display: flex; flex-direction: column; gap: 16px; }
.kb-form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.kb-field { display: flex; flex-direction: column; gap: 8px; }
.kb-field label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.kb-input {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font-size: 16px; /* 16px = iOS nezoomuje */
  border: 2px solid var(--kb-ink); border-radius: 14px; background: var(--kb-white); color: var(--kb-ink);
  appearance: none;
}
textarea.kb-input { min-height: 140px; resize: vertical; }
select.kb-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.kb-input:focus { outline: none; border-color: var(--kb-accent); box-shadow: 0 0 0 4px rgba(212,0,111,.15); }
.kb-section--dark .kb-input, .kb-section--blue .kb-input { border-color: transparent; }
.kb-form__note { font-size: 14px; opacity: .8; }
.kb-form-card { background: var(--kb-sand); border-radius: var(--kb-radius-lg); padding: clamp(22px, 3vw, 36px); }

.kb-sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 2px solid currentColor; padding-top: 16px; margin-top: 4px; }
.kb-sum__value { font-weight: 900; font-stretch: 64%; font-size: clamp(32px, 4vw, 44px); line-height: 1; }

/* zoznam registrácií */
.kb-reglist { max-height: 520px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.kb-reglist .kb-row { font-size: 15px; }
.kb-reglist .kb-row span:last-child { opacity: .75; }
.kb-paid { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.15); white-space: nowrap; }
.kb-paid.is-paid { background: var(--kb-accent); }

/* ---------- 14. Kontakt ---------- */
.kb-contact-row { display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--kb-ink); padding: 18px 0; text-decoration: none; }
.kb-contact-row:last-child { border-bottom: 2px solid var(--kb-ink); }
.kb-contact-row__value { font-weight: 900; font-stretch: 64%; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; overflow-wrap: anywhere; }
@media (min-width: 768px) { .kb-contact-row { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; } }

/* ---------- 15. Stránkovanie ---------- */
.kb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(48px, 6vw, 72px); }
.kb-pager a { min-width: 52px; height: 52px; padding: 0 18px; border: 2px solid var(--kb-ink); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; }
.kb-pager a.is-active { background: var(--kb-ink); color: var(--kb-white); }

/* ---------- 16. Obsah z redakčného systému ---------- */
.kb-content { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; }
.kb-content > * + * { margin-top: 1.1em; }
.kb-content > p:first-child { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.3; font-weight: 700; }
.kb-content h2 { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 42px); line-height: 0.95; margin-top: 1.6em; }
.kb-content h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 800; line-height: 1.25; margin-top: 1.4em; }
.kb-content h2 + *, .kb-content h3 + * { margin-top: 0.6em; }
.kb-content a { color: var(--kb-accent); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.kb-content ul { list-style: none; padding: 0; border-bottom: 2px solid var(--kb-ink); }
.kb-content ul li { border-top: 2px solid var(--kb-ink); padding: 11px 0; }
.kb-content ol { padding-left: 1.3em; }
.kb-content ol li + li { margin-top: .4em; }
.kb-content blockquote { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 0.98; color: var(--kb-blue); margin-block: 1.4em; }
.kb-content img { width: 100%; height: auto; border-radius: var(--kb-radius); }
.kb-content figure figcaption { font-size: 14px; color: var(--kb-muted); margin-top: 8px; }
.kb-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.kb-content th, .kb-content td { padding: 10px 12px; border-bottom: 1px solid var(--kb-line); text-align: left; white-space: nowrap; }
.kb-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--kb-radius); }

/* ---------- 17. Pätička ---------- */
.kb-footer { border-top: 2px solid var(--kb-ink); padding: clamp(48px, 6vw, 64px) 0 32px; }
.kb-footer__claim { color: var(--kb-accent); font-size: clamp(44px, 8vw, 120px); line-height: 0.86; }
.kb-footer__contacts { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 18px; font-weight: 700; margin-top: clamp(28px, 4vw, 40px); }
.kb-footer__contacts a { text-decoration: none; padding: 4px 0; }
.kb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--kb-muted); border-top: 1px solid var(--kb-line); padding-top: 24px; margin-top: 32px; }
.kb-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.kb-footer__bottom a { text-decoration: none; color: var(--kb-muted); padding: 6px 0; }
/* odkazy vľavo a copyright vpravo v jednej výške (odkazy majú padding, preto ho má aj text vpravo) */
.kb-footer__bottom { align-items: baseline; }
.kb-footer__bottom > span { padding: 6px 0; }
.kb-footer__bottom > span a { padding: 0; }
.kb-footer__bottom a:hover { color: var(--kb-ink); }

/* ---------- 18. Rozloženia podstránok ---------- */
.kb-heading { margin-bottom: clamp(20px, 3vw, 28px); }
.kb-heading-sm { margin-bottom: 10px; }
.kb-note { margin-top: 16px; font-size: 15px; color: var(--kb-muted); }
.kb-strong { font-weight: 700; }
.kb-self-start { align-self: flex-start; }
.kb-grid--loose { gap: clamp(36px, 5vw, 56px); }
.kb-stack--tight { gap: 12px; }
.kb-split--event { margin-top: 12px; }

.kb-inline-list { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 17px; font-weight: 600; }

/* textová stránka: fotka vľavo, text vpravo */
.kb-page { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.kb-page__photo { aspect-ratio: 4 / 5; max-height: 520px; }
.kb-page__body { max-width: 760px; }
@media (min-width: 900px) {
  .kb-page { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .kb-page__photo { position: sticky; top: calc(var(--kb-header-h) + 24px); }
}
@media (max-width: 899px) { .kb-page__photo { max-height: 420px; } }

/* textová stránka s bočným panelom (obsahové bloky): text vľavo, panel vpravo, fotka nad textom */
.kb-page__wide-photo { aspect-ratio: 16 / 9; margin-bottom: 32px; }
.kb-page__aside > :first-child, .kb-page--aside .kb-content > :first-child { margin-top: 0; }
@media (min-width: 900px) {
  .kb-page.kb-page--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .kb-page__aside { position: sticky; top: calc(var(--kb-header-h) + 24px); }
}

/* farby obsahových blokov (public/assets/content-blocks.css) podľa dizajnu webu */
:root {
  --cb-accent: var(--kb-accent);
  --cb-ink: var(--kb-ink);
  --cb-muted: var(--kb-muted);
  --cb-soft: var(--kb-sand);
  --cb-line: var(--kb-line);
  --cb-dark: var(--kb-blue);
  --cb-radius: var(--kb-radius-sm);
}

.kb-company { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }

/* blog: zvýraznený článok */
.kb-featured { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; text-decoration: none; margin-bottom: clamp(56px, 7vw, 88px); }
.kb-featured img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--kb-radius-lg); }
.kb-featured__body { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.55; }
.kb-featured:hover .kb-display { color: var(--kb-accent); }
@media (min-width: 900px) { .kb-featured { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.kb-grid--posts { row-gap: clamp(36px, 4vw, 48px); }

/* článok */
.kb-article-meta { justify-content: flex-start; margin-top: 16px; }
.kb-article-cta { margin-top: 36px; }
.kb-section-head--line { border-top: 2px solid var(--kb-ink); padding-top: 24px; }

/* ---------- 19. Detail podujatia – bloky z propozícií ---------- */
.kb-ev-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.kb-ev-hero__edition { font-size: 14px; font-weight: 700; color: var(--kb-muted); text-transform: uppercase; letter-spacing: .08em; }
.kb-ev-hero__date { font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; }

.kb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--kb-ink); }
.kb-fact { padding: 14px 12px 14px 0; border-bottom: 2px solid var(--kb-ink); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kb-fact__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--kb-muted); }
.kb-fact__value { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); line-height: 1; overflow-wrap: break-word; }
@media (min-width: 600px) { .kb-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* sticky lišta s obsahom */
.kb-toc { position: sticky; top: var(--kb-header-h); z-index: 40; background: var(--kb-white); border-bottom: 2px solid var(--kb-ink); }
.kb-toc__list { position: relative; list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kb-toc__list::-webkit-scrollbar { display: none; }
.kb-toc__list a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 2px solid var(--kb-ink); border-radius: 999px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.kb-toc__list a.is-active, .kb-toc__list a:hover { background: var(--kb-ink); color: var(--kb-white); }
.kb-toc__cta { display: none; }
@media (min-width: 900px) {
  .kb-toc .kb-container { display: flex; align-items: center; gap: 16px; }
  .kb-toc__list { flex: 1; }
  .kb-toc__cta { display: inline-flex; min-height: 44px; padding: 10px 20px; }
}

/* telo s blokmi */
.kb-ev-body { padding-block: clamp(40px, 6vw, 72px) var(--kb-section); }
.kb-block { padding-block: clamp(36px, 5vw, 56px); border-top: 2px solid var(--kb-ink); scroll-margin-top: 72px; }
#registracia, #galeria { scroll-margin-top: 72px; }
.kb-block:first-child { border-top: 0; padding-top: 0; }
.kb-block__title { margin-bottom: clamp(18px, 2.4vw, 24px); }
.kb-block__intro { font-size: 17px; font-weight: 600; margin-bottom: 18px; max-width: 760px; }
.kb-block__text { max-width: 760px; }
.kb-block__text p + p { margin-top: 1em; }
.kb-block__after { margin-top: 18px; }

.kb-checklist { list-style: none; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.kb-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--kb-line); }
.kb-checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 999px; background: var(--kb-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.kb-checklist--plain li::before { background: var(--kb-ink); width: 8px; height: 8px; margin-top: 9px; }

.kb-dl { display: flex; flex-direction: column; border-bottom: 1px solid var(--kb-line); max-width: 860px; }
.kb-dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-top: 1px solid var(--kb-line); }
.kb-dl dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--kb-muted); }
.kb-dl dd small { display: block; color: var(--kb-muted); font-size: 14px; }
@media (min-width: 600px) { .kb-dl > div { grid-template-columns: 220px 1fr; gap: 16px; } }

/* zvýraznenie */
.kb-callout { background: var(--kb-accent); color: var(--kb-white); border-radius: var(--kb-radius-lg); padding: clamp(24px, 4vw, 44px); }
.kb-callout .kb-eyebrow { display: block; margin-bottom: 12px; opacity: .85; }
.kb-callout p { font-size: clamp(18px, 1.8vw, 23px); line-height: 1.35; font-weight: 700; max-width: 900px; }
.kb-block--highlight { border-top: 0; }

/* program */
.kb-program { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.kb-program__day { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.kb-program .kb-row--time strong { flex: 0 0 auto; min-width: 128px; max-width: 45%; }

/* kategórie, info karty */
.kb-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.kb-card { background: var(--kb-sand); border-radius: var(--kb-radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.kb-card__title { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); line-height: 1; }
.kb-card__value { font-size: 17px; font-weight: 700; }
.kb-card__note { font-size: 15px; color: var(--kb-muted); }
.kb-card p { font-size: 16px; }

/* parametre trate */
.kb-params { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-top: 24px; }
.kb-param { border: 2px solid var(--kb-ink); border-radius: var(--kb-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.kb-param__value { font-size: 17px; font-weight: 700; line-height: 1.3; }
.kb-param--big .kb-param__value { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(28px, 3vw, 36px); line-height: 1; }
.kb-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* kontroly na trati */
.kb-timeline { list-style: none; padding: 0; position: relative; }
.kb-timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 4px 16px; padding: 14px 0; border-top: 2px solid var(--kb-ink); align-items: baseline; }
.kb-timeline li:last-child { border-bottom: 2px solid var(--kb-ink); }
.kb-timeline__km { font-weight: 900; font-stretch: 64%; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; color: var(--kb-accent); grid-row: span 2; }
.kb-timeline__place { font-size: 18px; font-weight: 800; }
.kb-timeline__note { font-size: 14px; font-weight: 700; color: var(--kb-muted); }
@media (min-width: 768px) {
  .kb-timeline li { grid-template-columns: 120px 1fr auto; }
  .kb-timeline__km { grid-row: auto; }
}

/* štartovné */
.kb-prices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.kb-price { border: 2px solid var(--kb-ink); border-radius: var(--kb-radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.kb-price__value { font-weight: 900; font-stretch: 64%; font-size: clamp(34px, 3.8vw, 46px); line-height: .9; }
.kb-price__label { font-size: 15px; font-weight: 700; }
.kb-price__note { font-size: 13px; color: var(--kb-muted); }
.kb-price:first-child { background: var(--kb-accent); border-color: var(--kb-accent); color: var(--kb-white); }
.kb-price:first-child .kb-price__note { color: rgba(255,255,255,.85); }
.kb-prices--single .kb-price { max-width: 420px; }

/* rekordy */
.kb-records { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.kb-record { background: var(--kb-ink); color: var(--kb-white); border-radius: var(--kb-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.kb-record:nth-child(2) { background: var(--kb-blue); }
.kb-record__time { font-weight: 900; font-stretch: 64%; font-size: clamp(42px, 5vw, 62px); line-height: .9; }
.kb-record__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.kb-record__name { font-size: 18px; font-weight: 800; }

/* pravidlá – akordeón */
.kb-accordion { border-bottom: 2px solid var(--kb-ink); }
.kb-accordion details { border-top: 2px solid var(--kb-ink); }
.kb-accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 56px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; }
.kb-accordion summary::-webkit-details-marker { display: none; }
.kb-accordion summary::after { content: "+"; flex: none; width: 36px; height: 36px; border: 2px solid var(--kb-ink); border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; line-height: 1; transition: transform .2s; }
.kb-accordion details[open] summary::after { transform: rotate(45deg); }
.kb-accordion__body { padding-bottom: 20px; max-width: 860px; }

/* výstroj – povinná vs. odporúčaná vedľa seba */
.kb-gear { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.kb-gear__box { border-radius: var(--kb-radius); padding: 24px; background: var(--kb-sand); }
.kb-gear__box:first-child { background: var(--kb-ink); color: var(--kb-white); }
.kb-gear__box:first-child .kb-checklist li { border-top-color: rgba(255,255,255,.2); }
.kb-gear__box h3 { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); line-height: 1; margin-bottom: 6px; }
.kb-gear__box .kb-block__intro { font-size: 15px; margin-bottom: 8px; opacity: .85; }

.kb-partners { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kb-partners li { border: 2px solid var(--kb-ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; }

.kb-block--history .kb-block__text { color: #333; }

/* registrácia – záver stránky */
.kb-ev-cta { display: flex; flex-direction: column; gap: 20px; }

/* mobilná lišta s tlačidlom */
.kb-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--kb-white); border-top: 2px solid var(--kb-ink); padding: 10px var(--kb-gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .25s; }
.kb-sticky-cta.is-visible { transform: none; }
.kb-sticky-cta__price { display: flex; flex-direction: column; line-height: 1.1; }
.kb-sticky-cta__price strong { font-weight: 900; font-stretch: 64%; font-size: 28px; }
.kb-sticky-cta__price span { font-size: 12px; font-weight: 700; color: var(--kb-muted); text-transform: uppercase; letter-spacing: .06em; }
.kb-sticky-cta .kb-btn { flex: 1; max-width: 240px; }
@media (min-width: 900px) { .kb-sticky-cta { display: none; } }
@media (max-width: 899px) { .kb-has-sticky-cta .kb-footer { padding-bottom: 110px; } }

/* ---------- 20. Pomocné ---------- */
.kb-stack { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); }
.kb-mt-0 { margin-top: 0 !important; }
.kb-hide-mobile { display: none; }
@media (min-width: 768px) { .kb-hide-mobile { display: initial; } }

/* ---------- 21. Doplnky pre redakčný systém (správy, súhlas, jazyky, prílohy) ---------- */
.kb-alerts { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.kb-alert { border: 2px solid var(--kb-ink); border-radius: var(--kb-radius-sm); padding: 14px 18px; font-weight: 700; }
.kb-alert--success { background: var(--kb-ink); color: var(--kb-white); border-color: var(--kb-ink); }
.kb-alert--danger { background: var(--kb-accent); color: var(--kb-white); border-color: var(--kb-accent); }
.kb-alert--warning, .kb-alert--info { background: var(--kb-sand); }

.kb-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.kb-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--kb-accent); }
.kb-check a { color: inherit; font-weight: 700; }
.kb-form__note a { color: inherit; font-weight: 700; }

.kb-lang { display: flex; gap: 6px; }
.kb-lang a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--kb-ink); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; }
.kb-lang a.is-active { background: var(--kb-ink); color: var(--kb-white); }
@media (max-width: 1279px) { .kb-lang { margin-top: 28px; } }

.kb-links-list, .kb-files { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.kb-files a { font-weight: 700; color: var(--kb-accent); }

.kb-hero__intro, .kb-contact-intro { max-width: 760px; margin-top: clamp(20px, 3vw, 28px); }
.kb-contact-intro { margin: 0 0 24px; }
.kb-content-lead p + p { margin-top: 1em; }
.kb-error__text { margin-top: 24px; }
.kb-error__actions { margin-top: 32px; }

/* ---------- 22. Podujatia: archív, prihlásení, platba, predchádzajúce ročníky ---------- */
.kb-years { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-years a { min-width: 64px; height: 44px; padding: 0 16px; border: 2px solid var(--kb-ink); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; }
.kb-years a.is-active { background: var(--kb-ink); color: var(--kb-white); }

.kb-participants { margin-top: clamp(48px, 6vw, 72px); }
.kb-participants__info { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 12px; text-align: right; }
.kb-section--dark .kb-check, .kb-section--blue .kb-check { color: var(--kb-white); }

.kb-payment dd { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.kb-qr { display: flex; align-items: center; gap: 20px; font-weight: 700; }
.kb-qr img { width: 180px; height: 180px; background: var(--kb-white); border-radius: var(--kb-radius-sm); padding: 10px; flex: none; }

.kb-editions { border-bottom: 2px solid var(--kb-ink); }
.kb-edition { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; border-top: 2px solid var(--kb-ink); padding: 18px 0; }
.kb-edition__year { font-weight: 900; font-stretch: 64%; font-size: clamp(32px, 4vw, 44px); line-height: 1; text-decoration: none; }
.kb-edition__title { display: flex; flex-direction: column; gap: 2px; }
.kb-edition__name { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; text-decoration: none; }
.kb-edition__name:hover, .kb-edition__year:hover { color: var(--kb-accent); }
.kb-edition__date { font-size: 15px; color: var(--kb-muted); }
.kb-edition__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.kb-edition__links .kb-pill { text-decoration: none; }
.kb-edition__links .kb-pill:hover { background: var(--kb-ink); color: var(--kb-white); }
@media (min-width: 768px) {
  .kb-edition { grid-template-columns: 150px 1fr auto; gap: 16px 28px; padding: 22px 0; }
  .kb-edition__links { grid-column: auto; justify-content: flex-end; }
}

/* štartovné podľa dátumu: zvýraznená je aktuálna cena, staršie sú prečiarknuté */
.kb-prices--dated .kb-price:first-child:not(.is-current) { background: transparent; border-color: var(--kb-ink); color: inherit; }
.kb-prices--dated .kb-price:first-child:not(.is-current) .kb-price__note { color: var(--kb-muted); }
.kb-prices--dated .kb-price.is-current { background: var(--kb-accent); border-color: var(--kb-accent); color: var(--kb-white); }
.kb-prices--dated .kb-price.is-current .kb-price__note { color: rgba(255,255,255,.85); }
.kb-price.is-past { opacity: .45; }
.kb-price.is-past .kb-price__value { text-decoration: line-through; text-decoration-thickness: 3px; }

/* fotky v bloku propozícií: vedľa seba v plnej veľkosti (bez orezania), na mobile pod sebou */
.kb-photos { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: start; }
.kb-photos figure { margin: 0; }
.kb-photos a { display: block; overflow: hidden; border-radius: var(--kb-radius); }
.kb-photos img { width: 100%; height: auto; transition: transform .4s; }
.kb-photos a:hover img { transform: scale(1.02); }
.kb-photos figcaption { font-size: 14px; color: var(--kb-muted); margin-top: 8px; }
@media (min-width: 600px) {
  .kb-photos--2, .kb-photos--3, .kb-photos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .kb-photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-photos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 23. Lightbox (obrázky otvorené z odkazu) ---------- */
.kb-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(17, 17, 17, .94); color: var(--kb-white); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; touch-action: pan-y; }
.kb-lightbox.is-open { opacity: 1; visibility: visible; }
.kb-lightbox__figure { margin: 0; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kb-lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--kb-radius-sm); }
.kb-lightbox__caption { font-size: 15px; text-align: center; opacity: .85; }
.kb-lightbox__counter { position: absolute; top: 22px; left: var(--kb-gutter); font-size: 14px; font-weight: 700; opacity: .7; }
.kb-lightbox__btn { position: absolute; width: 52px; height: 52px; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; background: transparent; color: var(--kb-white); font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kb-lightbox__btn:hover { background: var(--kb-white); color: var(--kb-ink); }
.kb-lightbox__close { top: 12px; right: var(--kb-gutter); }
.kb-lightbox__prev { left: var(--kb-gutter); top: 50%; transform: translateY(-50%); }
.kb-lightbox__next { right: var(--kb-gutter); top: 50%; transform: translateY(-50%); }
.kb-lightbox--single .kb-lightbox__prev, .kb-lightbox--single .kb-lightbox__next, .kb-lightbox--single .kb-lightbox__counter { display: none; }
@media (max-width: 767px) {
  .kb-lightbox__prev, .kb-lightbox__next { top: auto; bottom: 16px; transform: none; }
}
.kb-lightbox-open { overflow: hidden; }

/* ---------- 24. Klub: sekcia O klube (nadpis vľavo drží pri posune, text vpravo) ---------- */
.kb-club-about__head { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 900px) {
  .kb-club-about__head { position: sticky; top: calc(var(--kb-header-h) + 32px); align-self: start; }
}

/* ---------- 25. Klub: prihláška – skupiny políčok, mesto + PSČ, nepovinné pole ---------- */
.kb-choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kb-choices legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.kb-form__row--city { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.kb-field__optional { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .75; }
textarea.kb-input--short { min-height: 96px; }
.kb-form input[type="number"] { -moz-appearance: textfield; }
.kb-form input[type="number"]::-webkit-inner-spin-button, .kb-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 26. Odkaz na dokument v texte (modul Dokumenty): tlačidlo ako .kb-btn--dark ---------- */
.kb-content a[href*="/media/documents/"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; margin: 4px 0;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--kb-ink); color: var(--kb-white);
  font-size: 15px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; overflow-wrap: normal;
  transition: background-color .2s, transform .2s;
}
.kb-content a[href*="/media/documents/"]::after { content: "↓"; }
.kb-content a[href*="/media/documents/"]:hover { background: var(--kb-blue); color: var(--kb-white); transform: translateY(-2px); }

/* ---------- 27. Povedali o nás: zoznam odkazov (vľavo druh, médium, dátum; vpravo nadpis, popis, citát, tlačidlo) ---------- */
.kb-press { border-bottom: 2px solid var(--kb-ink); }
.kb-press__item { display: grid; gap: 16px 48px; padding-block: clamp(32px, 4vw, 48px); border-top: 2px solid var(--kb-ink); }
@media (min-width: 900px) {
  .kb-press__item { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
}
.kb-press__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; align-content: start; }
@media (min-width: 900px) {
  .kb-press__meta { flex-direction: column; align-items: flex-start; }
}
.kb-press__type { background: var(--kb-ink); color: var(--kb-white); }
.kb-press__type--tv { background: var(--kb-blue); border-color: var(--kb-blue); }
.kb-press__type--video, .kb-press__type--audio { background: var(--kb-accent); border-color: var(--kb-accent); }
.kb-press__source { font-weight: 800; font-size: 15px; }
.kb-press__date { font-size: 14px; font-weight: 700; color: var(--kb-muted); }
.kb-press__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.kb-press__title { margin: 0; font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; }
.kb-press__title a { color: inherit; text-decoration: none; }
.kb-press__title a:hover { color: var(--kb-accent); }
.kb-press__text { margin: 0; font-size: 17px; line-height: 1.6; max-width: 68ch; }
.kb-press__quote { margin: 0; padding-left: 18px; border-left: 4px solid var(--kb-accent); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.4; max-width: 60ch; }

/* ---------- 28. Videá v texte (YouTube): jedno na šírku, viac vedľa seba po dvoch ---------- */
.kb-content .kb-videos { display: grid; gap: 16px; margin-block: 1.6em; }
@media (min-width: 700px) {
  .kb-content .kb-videos--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kb-content .kb-photos { margin-block: 1.6em; }
.kb-content figure { margin: 1.6em 0; }
.kb-content .kb-photos figure { margin: 0; }

/* ---------- 29. Text v blokoch propozícií (aj prenesené staré podujatia): podnadpisy, zoznamy, fotky, videá, tabuľky, dokumenty ---------- */
.kb-block__text > * + * { margin-top: 1em; }
.kb-block__text h2 { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); line-height: 1; margin-top: 1.6em; }
.kb-block__text h3 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; line-height: 1.3; margin-top: 1.4em; }
.kb-block__text h2 + *, .kb-block__text h3 + * { margin-top: 0.5em; }
.kb-block__text a { color: var(--kb-accent); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.kb-block__text ul { padding-left: 1.2em; }
.kb-block__text ol { padding-left: 1.3em; }
.kb-block__text li + li { margin-top: .3em; }
.kb-block__text img { width: 100%; height: auto; border-radius: var(--kb-radius); }
.kb-block__text figure { margin: 1.4em 0; }
.kb-block__text .kb-photos figure { margin: 0; }
.kb-block__text .kb-videos { display: grid; gap: 16px; }
.kb-block__text iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--kb-radius); }
@media (min-width: 700px) {
  .kb-block__text .kb-videos--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kb-block__text table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.kb-block__text th, .kb-block__text td { padding: 8px 10px; border-bottom: 1px solid var(--kb-line); text-align: left; vertical-align: top; }
.kb-block__text blockquote { border-left: 4px solid var(--kb-accent); padding-left: 16px; font-weight: 700; }
.kb-block__text a[href*="/media/documents/"] {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; margin: 4px 8px 4px 0;
  border-radius: 999px; background: var(--kb-ink); color: var(--kb-white);
  font-size: 14px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; overflow-wrap: normal;
}
.kb-block__text a[href*="/media/documents/"]::after { content: "↓"; }
.kb-block__text a[href*="/media/documents/"]:hover { background: var(--kb-blue); }

/* ---------- 30. Lišta so súhlasom s cookies (kostra: public/assets/cookies.css) – farby a písmo webu ---------- */
/* cookies.css sa načíta až s lištou, preto majú úpravy predponu .cc (vyššia priorita) */
.cc { --cc-accent: var(--kb-ink); --cc-text: var(--kb-ink); --cc-muted: var(--kb-muted); --cc-border: var(--kb-ink); --cc-radius: var(--kb-radius); --cc-font: var(--kb-font); }
.cc .cc__box { border-width: 2px; }
.cc .cc__title { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 10px; }
.cc .cc__btn { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; font-size: 13px; }
.cc .cc__btn--primary { background: var(--kb-accent); border-color: var(--kb-accent); color: var(--kb-white); }
.cc .cc__btn--link { border-color: transparent; }
.kb-has-sticky-cta .cc { bottom: 96px; }
.kb-footer__bottom a[data-cookie-settings] { color: inherit; }

/* ---------- 31. Popup okno s oznamom (kostra: public/assets/popup.css) – farby a písmo webu ---------- */
/* popup.css sa načíta až s oknom, preto premenné na dialog.pp a úpravy s predponou .pp (vyššia priorita) */
dialog.pp { --pp-accent: var(--kb-accent); --pp-accent-text: var(--kb-white); --pp-text: var(--kb-ink); --pp-radius: var(--kb-radius); --pp-font: var(--kb-font); }
.pp .pp__title { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(28px, 4vw, 36px); line-height: 1; }
.pp .pp__btn { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; font-size: 13px; }
.pp .pp__text { font-size: 17px; }

/* ---------- 32. Stránka „Pripravujeme“ (kostra: modules/_layout/maintenance.latte, režim v admine SEO) ---------- */
.kb-maintenance { min-height: 100vh; display: flex; }
.kb-maintenance__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; width: 100%; padding-block: 32px 48px; }
.kb-maintenance__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--kb-ink); }
.kb-maintenance__text { margin-top: 24px; }
.kb-maintenance__text p { margin: 0 0 .6em; }
.kb-maintenance__contacts .kb-eyebrow { margin: 0 0 14px; }
.kb-maintenance .kb-btn[href^="mailto:"] { text-transform: none; letter-spacing: 0; }

/* ---------- 33. Vyhľadávanie (kostra: modules/search, ikona v hlavičke) ---------- */
.kb-search-link { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--kb-ink); border-radius: 999px; color: var(--kb-ink); }
.kb-search-link:hover, .kb-search-link:focus-visible { background: var(--kb-ink); color: var(--kb-white); }
.kb-search-link svg { width: 18px; height: 18px; }
@media (max-width: 1279px) { .kb-search-link { margin-top: 28px; } }
@media (min-width: 1280px) { .kb-nav .kb-search-link { margin-right: -16px; } }
.kb-search { display: flex; gap: 10px; max-width: 640px; margin-top: 28px; }
.kb-search__input { flex: 1; min-width: 0; min-height: 52px; padding: 0 22px; border: 2px solid var(--kb-ink); border-radius: 999px; background: var(--kb-white); color: var(--kb-ink); font: inherit; font-size: 17px; }
.kb-search__input:focus { outline: none; border-color: var(--kb-accent); }
.kb-search-results { margin-top: 18px; }
.kb-search-result { padding: 22px 0; border-top: 2px solid var(--kb-ink); }
.kb-search-result:last-child { border-bottom: 2px solid var(--kb-ink); }
.kb-search-result__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--kb-muted); font-size: 13px; }
.kb-search-result__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.25; }
.kb-search-result__title a { text-decoration: none; }
.kb-search-result__title a:hover { color: var(--kb-accent); }
.kb-search-result__text { margin: 0; color: var(--kb-muted); line-height: 1.55; }
.kb-search-result mark { padding: 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--kb-accent) 18%, transparent); color: var(--kb-ink); }
/* menu sa nezalamuje; na užších obrazovkách (1280 – 1399 px) menšie medzery, aby sa zmestila aj lupa */
@media (min-width: 1280px) { .kb-nav__link { white-space: nowrap; } }
@media (min-width: 1280px) and (max-width: 1399px) {
  .kb-nav { gap: 18px; }
  .kb-nav__list { gap: 18px; }
  .kb-nav .kb-search-link { margin-right: -8px; }
}
