/* OK-19 — Otevřené Kbely 2026
   Stylesheet. Follows the printed house style (TISK): teal panel with one oversized
   rounded corner, gold ballot triangle, portrait grid, circular teal badges.
   Palette sampled from Plachta_2x1m_OK-19.pdf and Letak_A4_OK-19.pdf. */

:root {
  --teal:        #4AB0AA;
  --teal-deep:   #3D9993;
  --teal-tint:   #CAE8E6;
  --teal-wash:   #EAF6F5;
  --gold:        #FDC400;
  --gold-deep:   #E5AF00;
  --navy:        #00405D;
  --ink:         #221E20;
  --ink-soft:    #4A5560;
  --sky:         #E2F0FB;
  --paper:       #FFFFFF;
  --rule:        #D8E3E8;

  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body:    "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  /* Corner language, measured off the teal panel in Plachta_2x1m_OK-19.pdf:
     top-left rounded (r=227 on a 2222x2457 panel = 9.2% of height),
     bottom-right rounded 3.5x larger (r=794 = 32.3% of height),
     top-right and bottom-left SQUARE. Portrait tiles carry the
     bottom-right curve only (r=163 on a 719x439 tile). */
  --c-tl:     18px;   --c-br:     64px;    /* cards, bars */
  --c-tl-lg:  40px;   --c-br-lg: 140px;    /* hero panel, callout */
  --c-tl-tile:  9px;  --c-br-tile: 24px;   /* portrait tiles */
  --r-md: 20px;
  --r-sm: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; color: var(--navy); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .75rem;
}
.lead { font-size: 1.25rem; }
.section { padding: clamp(1.5rem, 3.5vw, 2.75rem) 0; }   /* halved: two stacked sections met at ~11rem */
.section--wash { background: var(--teal-wash); }
.section--sky { background: linear-gradient(180deg, var(--sky), var(--paper)); }

/* ---------- brand mark ---------- */
/* the real lockup, vector-extracted from Plachta_2x1m_OK-19.pdf */
.brand { display: inline-flex; align-items: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent; }
.brand__mark { height: 2.2rem; width: auto; display: block; }
.site-footer .brand__mark { height: 2.4rem; }
/* rollover: the lower, larger half of the dart drops to the footer navy */
.brand__mark .lg-wing, .brand__mark .lg-body { transition: fill .18s ease; }
/* hover is guarded: on a touch screen it would otherwise latch after a tap.
   :active carries the same rollover for the tap itself. */
@media (hover: hover) {
  .brand:hover .lg-body { fill: var(--navy); }
}
.brand:focus-visible .lg-body, .brand:active .lg-body { fill: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.nav a {
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy); text-decoration: none;
  padding: .5rem .6rem; border-radius: 999px;
}
.nav a:hover { background: var(--teal-wash); color: var(--teal-deep); }
.nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.nav__cta {
  background: var(--gold) !important; color: var(--ink) !important;
  padding-inline: .95rem !important;
}
.nav__cta:hover { background: var(--gold-deep) !important; }
.nav-toggle {
  display: none; border: 0; background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .6rem .9rem; border-radius: 999px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.panel {
  position: relative;
  background: var(--teal); color: #fff;
  border-radius: var(--c-tl-lg) 0 var(--c-br-lg) 0;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}
.panel h1, .panel h2, .panel h3 { color: #fff; }
.panel p { color: rgba(255,255,255,.94); }
.hero__slogan { font-family: var(--display); font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin-bottom: .5em; }
.hero__sub {
  font-family: var(--display); font-weight: 700; color: var(--navy);
  font-size: clamp(1.1rem, 2.1vw, 1.5rem); line-height: 1.25; margin: 0 0 1rem;
}
.hero__ballot { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
/* in the hero panel the ballot mark stands alone and the CTA drops below it */
.panel .hero__ballot { flex-direction: column; align-items: flex-start; gap: 2.4rem; margin-top: 2.25rem; }

/* gold ballot triangle — the print device */
.ballot {
  width: 172px; padding: .75rem .6rem 2.5rem; text-align: center;
  background: var(--gold); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  font-family: var(--display); line-height: 1;
}
.ballot__label { display: block; font-size: .92rem; font-weight: 600; letter-spacing: .04em; }
.ballot__num { display: block; font-size: 3.5rem; font-weight: 700; margin-top: .2rem; }
.ballot--sm { width: 84px; padding: .4rem .4rem 1rem; }
.ballot--sm .ballot__num { font-size: 1.6rem; }

/* the ballot mark hangs from the top-right corner of the navy callout,
   above the group photo, the way it straddles the panel edge in print */
.ballot--corner {
  position: absolute; top: 0; right: clamp(1.25rem, 4vw, 3rem);
  width: 196px; padding: .95rem .6rem 3.1rem;
}
.ballot--corner .ballot__label { font-size: 1rem; }
.ballot--corner .ballot__num { font-size: 4rem; }

/* portrait mosaic */
.mosaic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; align-content: start; }
.mosaic img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%;
  border-radius: var(--c-tl-tile) 0 var(--c-br-tile) 0; background: var(--sky);
}
.mosaic a { display: block; min-width: 0; border-radius: var(--c-tl-tile) 0 var(--c-br-tile) 0; overflow: hidden; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic img { transition: transform .25s ease; }

/* ---------- gold key-line bar ---------- */
.keyline {
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 2.1vw, 1.35rem); line-height: 1.3;
  padding: 1.1rem clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--c-tl) 0 var(--c-br) 0;
  margin: 0;
}

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem); align-items: stretch; }
.pillar {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--c-tl) 0 var(--c-br) 0;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
}
.badge {
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center; margin-bottom: 1rem;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}
.badge svg { width: 1.5rem; height: 1.5rem; }

/* the three pillar numbers: no disc, navy, large, centred in the card */
.badge--num {
  width: auto; height: auto; border-radius: 0; background: none;
  color: var(--navy); font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1;
  margin: 0 auto .9rem; display: block; text-align: center;
}
.pillar:has(.badge--num) { text-align: center; }
.pillar:has(.badge--num) .pillar__hook { text-align: left; }
.pillar:has(.badge--num) h3 { text-align: center; }
.pillar__hook { font-weight: 600; color: var(--teal-deep); margin-top: auto; padding-top: .5rem; }

/* ---------- programme areas ---------- */
.areas { display: grid; gap: 1rem; }
.area {
  border: 1px solid var(--rule); border-radius: var(--c-tl) 0 40px 0;
  background: var(--paper); overflow: hidden;
}
.area > summary {
  display: flex; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem clamp(1rem, 2.5vw, 1.6rem);
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
/* the disc is a flex item: left shrinkable it collapses to an ellipse the moment
   the heading wraps to two lines on a narrow screen, and the number drifts in
   towards the text. Fixed basis, no shrink, and the disc keeps its circle. */
.area > summary .badge { flex: 0 0 auto; }
.area > summary::-webkit-details-marker { display: none; }
.area > summary::after {
  content: "+"; margin-left: auto; font-size: 1.6rem; font-weight: 700;
  color: var(--teal); line-height: 1;
}
.area[open] > summary::after { content: "–"; }
.area[open] > summary { background: var(--teal-wash); }
.area__body { padding: 0 clamp(1rem, 2.5vw, 1.6rem) 1.4rem; }
.area__body .intro { color: var(--ink-soft); }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 .25rem var(--teal-wash);
}

/* ---------- candidate cards ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem); align-items: stretch; }
.cand { display: flex; scroll-margin-top: 5.5rem; }

/* the whole card is the control */
.cand__toggle {
  display: flex; flex-direction: column; width: 100%;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}
.cand__shot { position: relative; display: block; }
.cand__shot img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 15%;
  border-radius: var(--c-tl) 0 0 0; background: var(--sky);
}
.cand__no {
  position: absolute; left: .75rem; bottom: -.55rem; z-index: 2;
  width: 3rem; padding: .18rem .2rem .95rem; text-align: center;
  background: var(--gold); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.1;
}
.cand__bubble {
  display: block; flex: 1; position: relative;
  background: var(--teal); color: #fff;
  border-radius: 0 0 var(--c-br) 0;
  padding: 1.1rem 1.2rem 2.9rem;
  transition: background .18s ease;
}
.cand__bubble::after {
  content: "Více o kandidátovi  +";
  position: absolute; left: 1.2rem; bottom: 1rem;
  font-family: var(--display); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
/* active card: colour is the only change -- it stays exactly where it is */
.cand.is-active .cand__bubble { background: var(--navy); }
.cand.is-active .cand__bubble::after { content: "Zavřít  –"; color: var(--gold); }
.cand.is-active .cand__role { color: rgba(255,255,255,.88); }

.cand__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .15rem; }
.cand__role { display: block; font-size: .95rem; color: var(--navy); margin-bottom: .7rem; }
.cand__quote { display: block; font-size: .98rem; line-height: 1.5; color: #fff; }

/* ---------- the roll-out panel ---------- */
/* without JS every panel simply shows; the script hides them and wires the toggles */
.team.js .cand__panel { display: none; }
.cand__panel {
  grid-column: 1 / -1;
  scroll-margin-top: 5.5rem; scroll-margin-bottom: 1.5rem;
  display: grid; grid-template-columns: clamp(190px, 22%, 280px) minmax(0, 1fr);
  background: var(--navy); color: #fff;
  border-radius: var(--c-tl) 0 var(--c-br) 0;
  overflow: hidden;
}
.team.js .cand__panel.is-open { display: grid; }
.cand__panel-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cand__panel-body { padding: 2rem 2.4rem 2.2rem; }
.cand__panel-name {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem); letter-spacing: -.01em; margin: 0 0 .3rem;
}
.cand__panel-role { font-size: 1.05rem; color: rgba(255,255,255,.88); margin: 0 0 1rem; }
.cand__panel-quote {
  font-family: var(--display); font-weight: 600; color: #fff;
  font-size: 1.1rem; line-height: 1.5; max-width: 62ch; margin: 0 0 1.4rem;
}
.cand__long { columns: 2; column-gap: 2.8rem; }
.cand__long h4 {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin: 1.2rem 0 .35rem; break-after: avoid;
}
.cand__long h4:first-child { margin-top: 0; }
.cand__long p { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 .8rem; break-inside: avoid; }
.cand__long .cand__pull {
  color: #fff; font-family: var(--display); font-weight: 600;
  border-left: 3px solid var(--gold); padding-left: .9rem; margin-top: 1.4rem;
  column-span: all;
}

@media (max-width: 760px) {
  .cand__panel { grid-template-columns: 1fr; }
  .cand__panel-shot { display: none; }
  .cand__panel-body { padding: 1.5rem 1.4rem 1.6rem; }
  .cand__long { columns: 1; }
}

/* ---------- events ---------- */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.events li { display: flex; gap: 1.1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed var(--rule); }
.events li:last-child { border-bottom: 0; }
/* one event row expands on click to show the invitation */
.events li.is-expandable { display: block; padding: 0; }
.event > summary {
  display: flex; gap: 1.1rem; align-items: baseline; position: relative;
  padding: .85rem 2.2rem .85rem 0; cursor: pointer; list-style: none;
}
.event > summary::-webkit-details-marker { display: none; }
.event > summary::after {
  content: "+"; position: absolute; right: .3rem; top: .72rem;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--teal-deep); line-height: 1;
}
.event[open] > summary::after { content: "–"; }
.event > summary:hover { color: var(--teal-deep); }
.event__img {
  width: 100%; max-width: 460px; height: auto; display: block;
  margin: .1rem 0 1.3rem;
  border-radius: var(--c-tl) 0 var(--c-br) 0;
}

.events time, .events .when {
  font-family: var(--display); font-weight: 700; color: var(--teal-deep);
  min-width: 5.5rem; font-variant-numeric: tabular-nums; flex: none;
}

/* ---------- FAQ ---------- */
.qa { border-bottom: 1px solid var(--rule); }
.qa > summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after {
  content: "+"; position: absolute; right: .25rem; top: 1rem;
  font-size: 1.5rem; color: var(--teal); line-height: 1;
}
.qa[open] > summary::after { content: "–"; }
.qa__body { padding: 0 0 1.3rem; color: var(--ink-soft); }
.qa__body strong { color: var(--navy); }

/* ---------- vision blocks ---------- */
.visions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.vision {
  background: var(--paper); border: 1px solid var(--rule);
  border-left: 5px solid var(--teal);
  border-radius: 0 0 var(--c-br) 0;
  padding: 1.4rem 1.5rem;
}
.vision__claim { font-family: var(--display); font-weight: 700; color: var(--teal-deep); margin: 0 0 .6rem; }

/* ---------- track record ---------- */
.record { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.record h3 { color: var(--navy); border-bottom: 3px solid var(--gold); display: inline-block; padding-bottom: .2rem; }

/* ---------- callout ---------- */
/* same two-column shape as the hero: navy panel left, photograph beside it */
.crossout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch;
}
.crossout__panel {
  background: var(--navy); color: #fff;
  border-radius: var(--c-tl-lg) 0 var(--c-br-lg) 0;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column; justify-content: center;
}
.crossout__panel h2 { color: #fff; }
.crossout__panel .lead { color: rgba(255,255,255,.92); }
.crossout__panel .eyebrow { color: var(--gold); }
.crossout__photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--c-tl) 0 var(--c-br) 0; background: var(--sky);
}

/* still used by the Kbely 2045 block */
.callout {
  position: relative;
  background: var(--navy); color: #fff;
  border-radius: var(--c-tl-lg) 0 var(--c-br-lg) 0;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.callout h2 { color: #fff; }
.callout p { color: rgba(255,255,255,.92); }
/* bold is navy site-wide (line 64) and disappears on the navy panel */
.callout strong, .senior strong { color: inherit; }

.btn {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: .95rem; letter-spacing: .03em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 999px;
}
.btn:hover { background: var(--gold-deep); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
/* several buttons on one line: wraps with a real vertical gap, stays left-aligned on every row */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- footer ---------- */
/* the original navy footer, compacted: three columns, no divider rule, and the
   legal line pinned to the foot of the first column so it lands level with the
   last link rather than adding a row of its own */
.site-footer {
  background: var(--navy); color: #fff;
  padding: 1.4rem 0 1.1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.site-footer a { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: .9rem 2rem;
}
.footer__grid > div { display: flex; flex-direction: column; }
@media (min-width: 761px) {
  /* wider first column so the legal line sits on one line beside the last link */
  .footer__grid { grid-template-columns: 1.75fr 1fr 1fr; }
}
.footer__grid h4 {
  color: #fff; font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 .4rem;
}
.footer__grid > div > p { margin: .35rem 0 0; color: rgba(255,255,255,.85); font-size: .92rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; font-size: .95rem; }
.site-footer .brand__mark { height: 1.8rem; }
.legal {
  margin-top: auto; padding-top: .9rem;
  font-size: .78rem; color: rgba(255,255,255,.7);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .crossout { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .ballot--corner { position: static; width: 150px; padding: .7rem .5rem 2.2rem; margin-bottom: .5rem; }
  .ballot--corner .ballot__num { font-size: 2.9rem; }
  .ballot--corner .ballot__label { font-size: .85rem; }
  .callout > h2, .callout > .lead { padding-right: 0; }
  :root { --c-br-lg: 76px; --c-tl-lg: 24px; --c-br: 44px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem 1.25rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { border-radius: var(--r-sm); padding: .75rem .8rem; font-size: .9rem; }
  .site-header__in { position: relative; }
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media print {
  .site-header, .nav-toggle, .site-footer { display: none; }
  body { font-size: 11pt; }
}

/* ---------- volební program (S7) ---------- */
/* illustration strips: flat vector banners on white, shown edge to edge inside the wrap */
.strip { display: block; width: 100%; height: auto; margin: 0 auto; }
.strip--pad { padding: clamp(.5rem, 2vw, 1.25rem) 0; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--teal-deep); }
.dl-note { color: var(--ink-soft); font-size: .92rem; margin: .6rem 0 0; }
/* the leader's letter: text left, portrait and signature right */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.letter__who { text-align: center; }
.letter__who img { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto .7rem;
  border-radius: var(--c-tl-tile) 0 var(--c-br-tile) 0; background: var(--sky); }
.letter__sig { font-family: var(--display); font-weight: 700; color: var(--navy); margin: 0; }
.letter__role { color: var(--ink-soft); font-size: .95rem; margin: 0; }
/* pillar heading: roman numeral disc + title on one line */
.pillar-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: .5rem; }
.pillar-head .badge { margin: 0; flex: 0 0 auto; }
.pillar-head h2 { margin: 0; }
/* programme cards: optional banner on top, then heading and body */
.prog-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 1.5rem; }
.prog-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--c-tl) 0 var(--c-br) 0;
  overflow: hidden; display: flex; flex-direction: column; }
.prog-card > img { width: 100%; height: auto; display: block; padding: .9rem .9rem 0; }
.prog-card__body { padding: clamp(1.1rem, 2.2vw, 1.6rem); }
.prog-card h3 { margin-bottom: .5rem; }
.prog-card p:last-child { margin-bottom: 0; }
.prog-card--wide { grid-column: 1 / -1; }
.section--wash .prog-card { border-color: transparent; }
/* the Vize 2045 list: bold lead, dash, explanation */
.ticks--vize { gap: .9rem; }
.ticks--vize strong { color: var(--navy); }
/* seniors panel — teal, the brochure's own device */
.senior { background: var(--teal); color: #fff; border-radius: var(--c-tl-lg) 0 var(--c-br-lg) 0; padding: clamp(1.75rem, 4vw, 3rem); }
.senior h2, .senior .eyebrow { color: #fff; }
.senior .ticks li::before { background: #fff; box-shadow: 0 0 0 .25rem rgba(255,255,255,.28); }
.senior .lead { font-weight: 600; }
@media (max-width: 960px) {
  .prog-cards { grid-template-columns: 1fr; }
  .letter { grid-template-columns: 1fr; }
  .letter__who { order: -1; }
}

/* eight nav items no longer fit on one row below laptop width: the collapsed
   menu (already used under 760px) takes over from 1220px down. The rules are the
   same as in the 760px block; that block keeps them for the phone-only tweaks. */
@media (max-width: 1220px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem 1.25rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { border-radius: var(--r-sm); padding: .75rem .8rem; font-size: .9rem; }
  .site-header__in { position: relative; }
}

/* supporters wall on Zapojte se — the brochure's own page 15, one image.
   Re-tiled 6-wide x 9-tall to 9-wide x 6-tall at S7; the cap rises with it so
   the 9 faces per row stay about the size they were at 6 per row. */
.supporters { display: block; width: 100%; max-width: 1100px; height: auto; margin: .5rem auto 0; }
