/* ==========================================================================
   Osobný akademický web – štýly
   Farby a rozmery sú definované ako premenné nižšie; zmenou --accent
   sa prefarbí celý web.
   ========================================================================== */

:root {
  color-scheme: light dark;
  --bg: #faf9f6;
  --surface: #ffffff;
  --text: #14171f;
  --muted: #5b616e;
  --line: #e6e4de;
  --hover: #f0eee8;
  --accent: #2445a6;
  --accent-strong: #1b3586;
  --accent-soft: #edf0f9;
  --accent-ink: #1b3586;
  --on-accent: #ffffff;
  --ok: #15803d;
  --ok-soft: #e8f5ec;
  --feature-bg: #121d42;
  --feature-text: #f2f4fa;
  --feature-muted: #b3bdd8;
  --feature-line: rgba(255, 255, 255, .14);
  --todo-bg: #fff1bf;
  --todo-text: #6b4c00;

  --radius: 14px;
  --max: 1080px;
  --header-h: 68px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --surface: #151820;
    --text: #eceef2;
    --muted: #9ba2b0;
    --line: #252a34;
    --hover: #1c2029;
    --accent: #8fa9ff;
    --accent-strong: #adc0ff;
    --accent-soft: #18213d;
    --accent-ink: #b4c5ff;
    --on-accent: #0b1430;
    --ok: #5fd08a;
    --ok-soft: #12291b;
    --feature-bg: #17203f;
    --feature-text: #f2f4fa;
    --feature-muted: #aab5d3;
    --feature-line: rgba(255, 255, 255, .12);
    --todo-bg: #3a3112;
    --todo-text: #f5d97a;
  }
}

/* ---------- Základ ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.35; }

p { margin: 0 0 1em; text-wrap: pretty; }

[hidden] { display: none !important; }

/* Dvojjazyčnosť: zobrazí sa len text v aktívnom jazyku */
html[data-lang="sk"] body [lang="en"],
html[data-lang="en"] body [lang="sk"] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: var(--hover); }
.nav a[aria-current="page"] { color: var(--text); background: var(--hover); }

.lang-switch {
  display: inline-flex;
  margin-left: 10px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-switch button {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 .76rem/1.4 var(--font);
  letter-spacing: .05em;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -24px rgba(0, 0, 0, .35);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .lang-switch { align-self: flex-start; margin: 10px 0 0 8px; }
}

/* ---------- Úvodná sekcia ---------- */

.hero { padding: clamp(56px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(220px, 27vw, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 0% 0%, var(--accent-soft) 0%, transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials {
  color: var(--accent);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn svg { width: 16px; height: 16px; flex: none; }

.profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
}
.profiles a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
}
.profiles a:hover { color: var(--accent); }
.profiles svg { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; width: 136px; border-radius: 18px; }
  .portrait-initials { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-grid > :nth-child(2) { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}

/* ---------- Zvýraznený blok (Digitálny ombudsman) ---------- */

.feature-wrap { padding: 0 0 clamp(56px, 8vw, 96px); }

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(120, 150, 255, .22) 0%, transparent 55%),
    var(--feature-bg);
  color: var(--feature-text);
}
.feature h2 { margin-bottom: .6em; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.feature p { color: var(--feature-muted); }
.feature a:not(.btn) { color: var(--feature-text); }

.feature-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 20px;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.feature-kicker .pill {
  padding: 3px 10px;
  border: 1px solid var(--feature-line);
  border-radius: 999px;
  color: var(--feature-muted);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

.feature .btn { border-color: var(--feature-line); background: transparent; color: var(--feature-text); }
.feature .btn:hover { border-color: var(--feature-text); }
.feature .btn-light { background: #ffffff; border-color: #ffffff; color: #121d42; }
.feature .btn-light:hover { background: #e4e9f7; border-color: #e4e9f7; }

.stats { display: grid; align-content: center; gap: 0; margin: 0; }
.stats div { padding: 18px 0; border-top: 1px solid var(--feature-line); }
.stats div:last-child { border-bottom: 1px solid var(--feature-line); }
.stats dt { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.stats dd { margin: 4px 0 0; color: var(--feature-muted); font-size: .95rem; }

.feature-foot { margin: 22px 0 0; font-size: .92rem; }
.feature-foot a { font-weight: 600; text-decoration: none; }
.feature-foot a:hover { text-decoration: underline; }

@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* Text, ktorý treba ešte doplniť (pred zverejnením odstrániť) */
.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--todo-bg);
  color: var(--todo-text);
  font-weight: 500;
}

/* ---------- Sekcie ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 36px;
}
.section-head h2 { margin: 0; }
.section-head p { max-width: 56ch; margin: 8px 0 0; color: var(--muted); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.more:hover { text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }

.label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .88rem;
  font-weight: 500;
}

.facts { margin: 0; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 2px 0 0; }

/* ---------- Karty ---------- */

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

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .kicker { margin-bottom: 14px; color: var(--accent); font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.card .big { margin: 0 0 4px; color: var(--text); font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }

a.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
a.card .go { margin-top: auto; padding-top: 18px; color: var(--accent); font-size: .92rem; font-weight: 600; }

.card-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: .9rem; font-weight: 600; }
.card-links a { text-decoration: none; }
.card-links a:hover { text-decoration: underline; }

/* ---------- Zoznamy s dátumom (novinky, kariéra) ---------- */

.rows { margin: 0; padding: 0; list-style: none; }
.rows > li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rows > li:first-child { border-top: 1px solid var(--line); }
.rows .when { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.rows h3 { margin: 0 0 2px; font-size: 1.05rem; }
.rows .where { margin: 0; color: var(--muted); font-size: .97rem; }
.rows p { margin: 6px 0 0; }
.rows .where + p { margin-top: 8px; }

@media (max-width: 640px) {
  .rows > li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Publikácie ---------- */

.pub { padding: 20px 0; border-bottom: 1px solid var(--line); }
.pub:first-child { padding-top: 0; }
.pub-title { display: block; margin-bottom: 6px; color: var(--text); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.pub-meta { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.pub-meta strong { color: var(--text); font-weight: 600; }
.pub-meta em { font-style: italic; }
.pub-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; font-size: .86rem; font-weight: 600; }
.pub-links a { text-decoration: none; }
.pub-links a:hover { text-decoration: underline; }
.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.linklike:hover { text-decoration: underline; text-underline-offset: 3px; }

.badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--hover);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: 500 .9rem/1.3 var(--font);
  cursor: pointer;
  transition: border-color .15s, color .15s, background-color .15s;
}
.chips button:hover { color: var(--text); border-color: var(--muted); }
.chips button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.search {
  position: relative;
  flex: 1 1 240px;
  max-width: 320px;
}
.search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: 400 .95rem/1.4 var(--font);
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
@media (max-width: 640px) { .search { max-width: none; } }

.year-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.year-group > h2 {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.year-group > ul { margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) {
  .year-group { grid-template-columns: 1fr; gap: 12px; }
  .year-group > h2 { position: static; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}
.metrics div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.metrics dt { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; }
.metrics dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.metrics-note { margin: 12px 0 0; color: var(--muted); font-size: .84rem; }
@media (max-width: 640px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.badge-index { background: var(--accent-soft); color: var(--accent-ink); }
.pub-abstract { margin-top: 8px; }

.result-count { margin: -24px 0 32px; color: var(--muted); font-size: .9rem; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* ---------- Podstránky ---------- */

.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 64px); }
.page-head .lead { margin-bottom: 0; }
.page-head .actions { margin-top: 28px; }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.toc a:hover { color: var(--text); border-color: var(--muted); }

/* ---------- Tabuľka ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-size: .76rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.table td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- Oznámenie ---------- */

.note {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  color: var(--text);
  font-size: .97rem;
}
.note strong { color: var(--accent-ink); }

/* ---------- Kroky ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9rem;
  font-weight: 700;
}
.steps h3 { margin-bottom: 4px; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Témy prác ---------- */

.topics { margin: 0; padding: 0; list-style: none; }
.topics li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.topics li:first-child { border-top: 1px solid var(--line); }
.topics .t { font-weight: 600; flex: 1 1 320px; }
.topics .lvl { color: var(--muted); font-size: .88rem; }
.status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
}
.status.free { background: var(--ok-soft); color: var(--ok); }
.status.taken { background: var(--hover); color: var(--muted); }

/* ---------- Časté otázky ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.faq details > div p:last-child { margin-bottom: 0; }

.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 8px 0 8px 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Pätička ---------- */

.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Tlač ---------- */

@media print {
  .site-header, .site-footer, .toolbar, .actions, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  .section { border: 0; padding: 24px 0; }
}
