/* Písma: Newsreader, IBM Plex Sans, IBM Plex Mono – SIL Open Font License 1.1 */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/newsreader-latin-ext-wght-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: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/newsreader-latin-wght-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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/newsreader-latin-ext-wght-italic.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: 'Newsreader';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/newsreader-latin-wght-italic.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-sans-latin-ext-400-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: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-sans-latin-400-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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-sans-latin-ext-500-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: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-sans-latin-500-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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/ibm-plex-sans-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: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/ibm-plex-sans-latin-600-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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-sans-latin-ext-400-italic.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: 'IBM Plex Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-sans-latin-400-italic.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-ext-400-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/ibm-plex-mono-latin-400-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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-ext-500-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/ibm-plex-mono-latin-500-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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/ibm-plex-mono-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/ibm-plex-mono-latin-600-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;
}
/* =========================================================
   Slovenská súdnolekárska spoločnosť – štýly webu (2026)
   Farby: atrament #0E1A22, papier #F2F4F3, limetka #D2E04A
   ========================================================= */

:root {
  --ink: #0E1A22;
  --slate: #16252F;
  --ink-line: #22323D;
  --dark-line: #2A3A45;
  --dark-btn-line: #3A4B57;
  --paper: #F2F4F3;
  --white: #FFFFFF;
  --steel: #4D5B64;
  --steel-2: #3D4C55;
  --line: #D3DADD;
  --line-2: #C9D1D4;
  --chip: #E6EBED;
  --ctl-line: #87959D;
  --lime: #D2E04A;
  --lime-hover: #E1EC72;
  --lime-tint: #F8FAEA;
  --on-dark: #C5D0D6;
  --on-dark-muted: #A9B7C0;
  --on-dark-strong: #E6ECEF;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--steel-2); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.list-plain { list-style: none; }

.visually-hidden {
  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: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 4px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

.icon { display: inline-block; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; stroke-width: 1.7; }

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

.site-header { background: var(--ink); color: var(--white); }

.topbar { border-bottom: 1px solid var(--ink-line); }
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--on-dark-muted);
}
.topbar__note { padding: 12px 0; }
.topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.topbar__links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  color: var(--on-dark-muted); text-decoration: none;
}
.topbar__links a:hover { color: var(--white); }
.topbar__links a.is-members { color: var(--lime); }
.topbar__links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--lime); }

.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-top: 22px; padding-bottom: 22px;
}

.brand { display: flex; align-items: center; gap: 16px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 60px; height: 60px; border-radius: 50%; display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--serif); font-size: 22px; line-height: 1.15; font-weight: 500; }
.brand__sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  background: transparent; color: var(--white); border: 1px solid var(--dark-btn-line); border-radius: 4px;
  font: 500 15px/1 var(--sans); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--lime); color: var(--lime); }

.nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 4px; color: var(--on-dark-strong); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--slate); color: var(--white); }
.nav__link[aria-current="page"], .nav__link.is-active {
  background: var(--slate); color: var(--white); box-shadow: inset 0 -2px 0 var(--lime);
}
.nav__link .icon { width: 14px; height: 14px; stroke-width: 2; }

.nav__sub {
  list-style: none; position: absolute; left: 0; top: 100%; z-index: 20; min-width: 250px;
  padding: 8px; margin-top: 4px; background: var(--slate); border: 1px solid var(--dark-line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(5, 12, 17, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__sub a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 4px;
  color: var(--on-dark-strong); text-decoration: none; font-size: 15px;
}
.nav__sub a:hover { background: var(--ink); color: var(--lime); }
.nav__sub a[aria-current="page"] { color: var(--lime); }

@media (max-width: 1000px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; }
  .nav { width: 100%; }
  .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--ink-line); padding-top: 8px; }
  .nav__link { width: 100%; justify-content: space-between; }
  .nav__link .icon { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; margin: 0 0 6px; padding: 0 0 0 14px;
  }
  .nav__sub::before { display: none; }
  .nav__sub a { color: var(--on-dark); }
}

/* ---------- Spoločné prvky sekcií ---------- */

.section { padding: 96px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding: 80px 0 88px; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: 44px; }
.section-head__main { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section-head__aside { max-width: 440px; color: var(--steel); }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--lime); }

.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; text-wrap: balance; }

.lead { font-size: 18px; color: var(--steel-2); max-width: 780px; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.25;
  border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
}
.btn--lime { background: var(--lime); color: var(--ink); min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--lime:hover { background: var(--lime-hover); color: var(--ink); }
.btn--ghost { border-color: var(--dark-btn-line); color: var(--white); font-weight: 500; min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn__meta { font-family: var(--mono); font-size: 12px; font-weight: 400; }

.chip {
  display: inline-flex; align-items: center; align-self: flex-start; padding: 4px 10px; border-radius: 3px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
}
.chip--ink { background: var(--ink); color: var(--white); }
.chip--lime { background: var(--lime); color: var(--ink); }
.chip--grey { background: var(--chip); color: var(--ink); }

.marker {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 9px;
  background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 600;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.marker--wide { align-self: flex-start; clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); padding: 0 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Mierka (pravítko) ---------- */

.ruler { background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--line); }
.ruler__band { height: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 60px, var(--paper) 60px 120px); }
.ruler__ticks {
  height: 22px;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 6px);
  background-size: 100% 22px, 100% 14px, 100% 8px;
  background-repeat: no-repeat;
}
.ruler__nums { display: flex; height: 22px; font-family: var(--mono); font-size: 11px; line-height: 1; color: var(--steel); white-space: nowrap; }
.ruler__nums span { flex: none; width: 60px; padding-left: 3px; }

/* ---------- Úvod (hero) ---------- */

.hero { background: var(--ink); color: var(--white); }
.hero .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 56px; align-items: end;
  padding-top: 64px; padding-bottom: 88px;
}
.hero__main { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.2vw, 90px); line-height: 1.0; letter-spacing: -0.015em; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--lime); }
.hero__lead { max-width: 600px; font-size: 19px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.news-panel { background: var(--slate); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 26px 28px 8px; }
.news-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); }
.news-panel__title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.news-panel__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.news-panel__all { font-size: 14px; color: var(--on-dark-muted); }
.news-panel__all:hover { color: var(--white); }
.news-list { list-style: none; }
.news-list li + li { border-top: 1px solid var(--dark-line); }
.news-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px 0; color: var(--white); text-decoration: none; }
.news-item:hover { color: var(--white); }
.news-item:hover .news-item__title { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.news-item__date { font-family: var(--mono); font-size: 13px; color: var(--lime); padding-top: 4px; }
.news-item__body { display: flex; flex-direction: column; gap: 6px; }
.news-item__title { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.news-item__meta { font-size: 13.5px; color: var(--on-dark-muted); }

@media (max-width: 520px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-panel { padding: 22px 20px 6px; }
}

/* ---------- Rozcestník ---------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile {
  display: flex; flex-direction: column; gap: 16px; min-height: 240px; padding: 32px;
  background: var(--white); color: var(--ink); text-decoration: none;
}
.tile:hover { background: var(--lime-tint); color: var(--ink); }
.tile__top { display: flex; align-items: center; justify-content: space-between; }
.tile__arrow { transition: transform .2s ease; }
.tile:hover .tile__arrow { transform: translateX(5px); }
.tile__title { font-family: var(--serif); font-size: 30px; line-height: 1.12; font-weight: 500; }
.tile__text { font-size: 15.5px; line-height: 1.55; color: var(--steel); }
.tile__meta { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steel); }

/* ---------- Stanoviská ---------- */

.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(540px, 100%), 1fr)); gap: 24px; }
.opinion {
  display: flex; flex-direction: column; gap: 22px; padding: 36px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.opinion__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.opinion__text { font-size: 16px; color: var(--steel-2); }
.opinion__note { font-size: 14.5px; color: var(--steel-2); }
.opinion .btn { margin-top: auto; align-self: flex-start; }

.spec { margin: 0; }
.spec__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.spec__row:last-child { border-bottom: 1px solid var(--line-2); }
.spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15.5px; }
@media (max-width: 520px) { .spec__row { grid-template-columns: 1fr; gap: 4px; } .opinion { padding: 24px; } }

.limits { width: 100%; border-collapse: collapse; font-size: 15px; }
.limits caption { text-align: left; padding-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.limits th { font-weight: 600; padding: 10px 0; border-bottom: 2px solid var(--ink); text-align: left; }
.limits th:last-child, .limits td:last-child { text-align: right; }
.limits td { padding: 9px 16px 9px 0; border-bottom: 1px solid var(--line-2); }
.limits td:last-child { padding-right: 0; font-family: var(--mono); font-size: 14.5px; white-space: nowrap; }
.limits strong { font-weight: 600; }

/* ---------- Podujatia ---------- */

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split__side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.split__main { flex: 999 1 560px; min-width: 0; }

.section--dark .lead, .dark-text { color: var(--on-dark); }

.link-rows { display: flex; flex-direction: column; border-top: 1px solid var(--dark-line); }
.link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 0;
  border-bottom: 1px solid var(--dark-line); color: var(--white); text-decoration: none; font-weight: 500;
}
.link-row:hover { color: var(--lime); }
.link-row__label { display: inline-flex; align-items: center; gap: 12px; }
.link-row__meta { font-family: var(--mono); font-size: 12.5px; font-weight: 400; color: var(--on-dark-muted); white-space: nowrap; }

.feature {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; margin-top: 12px;
  background: var(--lime); color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.feature:hover { color: var(--ink); background: var(--lime-hover); }
.feature__date { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.feature__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 500; }
.feature__text { font-size: 15.5px; line-height: 1.5; }
.feature__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: 12.5px; }
.feature__foot span { display: inline-flex; align-items: center; gap: 6px; }

.events { list-style: none; border-top: 1px solid var(--dark-line); }
.events li { border-bottom: 1px solid var(--dark-line); }
.event { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; color: var(--white); text-decoration: none; }
a.event:hover { color: var(--lime); }
.event__date { flex: 0 0 150px; font-family: var(--mono); font-size: 14px; color: var(--lime); padding-top: 3px; }
.event__body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.event__title { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.event__meta { font-size: 14px; color: var(--on-dark-muted); }
.event__tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; vertical-align: 3px; }

/* svetlá verzia zoznamu podujatí */
.events--light { border-top-color: var(--line-2); }
.events--light li { border-bottom-color: var(--line-2); }
.events--light .event { color: var(--ink); }
.events--light a.event:hover { color: var(--steel-2); }
.events--light a.event:hover .event__title { text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 4px; }
.events--light .event__date { color: var(--ink); font-weight: 500; }
.events--light .event__meta { color: var(--steel); }

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

.pub-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.journal {
  flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 36px;
  background: var(--ink); color: var(--white); border-radius: var(--radius);
}
.journal__kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.journal__title { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1.05; font-weight: 400; }
.journal__text { font-size: 15.5px; color: var(--on-dark); }

.prize { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.prize__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.prize__note { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }

.year-tabs { display: none; flex-wrap: wrap; gap: 8px; }
.js .year-tabs { display: flex; }
.year-tab {
  min-height: 44px; min-width: 64px; padding: 0 14px; border: 1px solid var(--ctl-line); border-radius: 4px;
  background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 500; cursor: pointer;
}
.year-tab:hover { border-color: var(--ink); }
.year-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.pub-year__title { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--steel); padding: 14px 0 0; }
.js .pub-year__title { display: none; }
.js .pub-year[hidden] { display: none; }
.pub-list { list-style: none; border-top: 2px solid var(--ink); }
.pub-list li { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub__authors { font-size: 14px; color: var(--steel); }
.pub__title { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.pub__source { font-size: 14.5px; font-style: italic; color: var(--steel-2); }
.js .pub-years { min-height: 430px; }

/* ---------- Ľudia ---------- */

.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.people li { display: flex; flex-direction: column; gap: 12px; min-height: 172px; padding: 26px; background: var(--white); }
.people__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.people__city { margin-top: auto; font-family: var(--mono); font-size: 12.5px; color: var(--steel); }

/* ---------- Odkazy ---------- */

.ext-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 0 40px; }
.ext-links li { border-top: 1px solid var(--line-2); }
.ext-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 16px; }
.ext-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ext-link__desc { display: block; font-size: 13.5px; color: var(--steel); }

/* ---------- Päta ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer__main { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 76px; height: 76px; border-radius: 50%; display: block; }
.footer-brand__name { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--white); }
.footer-brand__note { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.footer-brand__note a { color: var(--on-dark-strong); }
.footer-col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; }
.footer-col__title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-strong); text-decoration: none; }
.footer-col a:hover { color: var(--lime); }
.site-footer__bottom { border-top: 1px solid var(--ink-line); }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-muted); }

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

.page-head .wrap { display: flex; flex-direction: column; gap: 22px; padding-top: 40px; padding-bottom: 56px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--steel); }
.breadcrumb a { color: var(--steel); }
.breadcrumb [aria-current="page"] { color: var(--ink); }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.page-title em { font-style: italic; color: var(--steel); }
.page-head .btn-link { align-self: flex-start; }

.btn-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--ink); }

.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.layout__side { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.layout__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 64px; }
.layout--single { display: block; }
.layout--single > * + * { margin-top: 56px; }

.side-nav__title { padding: 0 14px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.side-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.side-nav a:hover { background: var(--chip); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--ink); color: var(--white); font-weight: 500; }
.side-nav a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.panel { padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 520px) { .panel { padding: 24px; } }

.chair { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.chair__main { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.chair__name { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; }
.chair__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }

.addr { font-size: 15px; line-height: 1.6; color: var(--steel-2); font-style: normal; }
.panel--dark .addr { color: var(--on-dark); }
.mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13.5px; color: var(--ink); text-decoration-color: var(--on-dark-muted); text-underline-offset: 4px; overflow-wrap: anywhere; }
.panel--dark .mail { color: var(--white); text-decoration-color: var(--lime); }
.mail:hover { text-decoration-color: currentColor; }

.subhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.subhead__title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; }
.subhead__note { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }

.member-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.member { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.member__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.member .mail { margin-top: auto; }

.duo { display: flex; flex-wrap: wrap; gap: 16px; }
.duo > * { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); }
.duo > .duo__wide { flex: 1.4 1 380px; }

.subs { list-style: none; }
.subs li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid #E1E6E8; }
.subs__name { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.subs__city { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }

.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15.5px; }
.table th { text-align: left; padding: 12px 20px; background: var(--chip); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-2); }
.table td { padding: 16px 20px; border-top: 1px solid #E1E6E8; }
.table .num { font-family: var(--mono); }
.note { font-size: 14.5px; color: var(--steel); margin-top: 14px; }

/* zoznam dokumentov */
.doc-list { list-style: none; border-top: 2px solid var(--ink); }
.doc { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.doc:hover { background: var(--lime-tint); }
.doc__badge {
  flex: none; display: flex; align-items: flex-end; justify-content: center; width: 46px; height: 56px; padding-bottom: 8px;
  background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%);
}
.doc__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.doc__title { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.doc__meta { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.doc .btn { flex: none; min-height: 44px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 520px) { .doc { padding: 16px 0; } .doc__badge { width: 38px; height: 46px; } }

.filter { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filter[hidden] { display: none; }
.filter__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.filter__field { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.filter__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.filter__input { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--ctl-line); border-radius: 4px; background: var(--white); }
.filter__input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.filter__input input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font: 16px var(--sans); color: var(--ink); }
.filter__input input::placeholder { color: #6A7880; }
.filter__count { font-family: var(--mono); font-size: 13px; color: var(--steel); padding-bottom: 14px; }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ctl-line); border-radius: 4px;
  background: var(--white); color: var(--ink); font: 500 14.5px var(--sans); cursor: pointer;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-chip__n { font-family: var(--mono); font-size: 12px; opacity: .85; }
.doc-group[hidden], .doc[hidden] { display: none; }
.doc-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.doc-group__title { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; }
.doc-group__count { font-family: var(--mono); font-size: 12.5px; color: var(--steel); }
.docs-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px; background: var(--white); border: 1px dashed var(--ctl-line); border-radius: var(--radius); }
.docs-empty[hidden] { display: none; }

/* textové karty (vzdelávanie, oznamy, voľby) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.info-card__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.info-card .btn { margin-top: auto; align-self: flex-start; }
.info-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; }
.info-card dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.info-card dd { margin: 0; }

.notice { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.notice:first-child { border-top: 2px solid var(--ink); }
.notice__date { font-family: var(--mono); font-size: 13px; color: var(--steel-2); }
.notice__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.notice__text { color: var(--steel-2); }

.empty-state { padding: 48px; background: var(--white); border: 1px dashed var(--ctl-line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.empty-state__title { font-family: var(--serif); font-size: 28px; line-height: 1.2; }

/* prihlásenie pre členov */
.login { max-width: 520px; display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.login label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.login input[type="password"] { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--ctl-line); border-radius: 4px; font: 16px var(--sans); color: var(--ink); }
.login input[type="password"]:focus { border-color: var(--ink); outline: 2px solid var(--lime); outline-offset: 1px; }
.login .btn { align-self: flex-start; }
.alert { padding: 14px 16px; border-radius: 4px; background: #FBE9E7; color: #7A1C10; border: 1px solid #E8B4AC; font-size: 15px; }

/* 404 */
.notfound { padding: 96px 0 120px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.notfound__code { font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; color: var(--steel); }

@media print {
  .site-header, .site-footer, .ruler, .filter, .year-tabs, .skip-link { display: none !important; }
  body { background: #fff; }
  .js .pub-year[hidden] { display: block !important; }
}
