/* Lokální fonty (Manrope + Source Sans 3, subsety latin a latin-ext) – česká diakritika funguje. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Manrope-500-latin-ext.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: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Manrope-500-latin.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: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-600-latin-ext.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: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-600-latin.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: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-700-latin-ext.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: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-700-latin.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: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Manrope-800-latin-ext.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: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Manrope-800-latin.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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SourceSans3-400-latin-ext.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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SourceSans3-400-latin.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: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/SourceSans3-500-latin-ext.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: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/SourceSans3-500-latin.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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/SourceSans3-600-latin-ext.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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/SourceSans3-600-latin.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: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/SourceSans3-700-latin-ext.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: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/SourceSans3-700-latin.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;
}

:root {
  --color-primary: #044026;
  --color-primary-hover: #03351f;
  --color-footer: #062f1f;
  --color-accent: #d1242a;
  --color-accent-hover: #b51e23;
  --color-accent-on-dark: #ff6b70;
  --color-bg: #fcfaf6;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f1ea;
  --color-green-soft: #e7f1eb;
  --color-text: #17231e;
  --color-muted: #56645e;
  --color-border: #d7ded9;
  --color-border-strong: #7b8781;
  --color-focus: #d1242a;

  --font-body: "Source Sans 3", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Manrope", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1: 0.281rem;
  --space-2: 0.469rem;
  --space-3: 0.656rem;
  --space-4: 0.938rem;
  --space-5: 1.312rem;
  --space-6: 1.875rem;
  --space-7: 2.625rem;
  --space-8: 3.75rem;
  --space-9: 5.25rem;

  --radius-sm: 0.281rem;
  --radius-md: 0.562rem;
  --radius-lg: 0.938rem;

  --shadow-soft: 0 0.938rem 2.625rem rgba(4, 64, 38, 0.08);
  --content: 78rem;
  --content-narrow: 48rem;
  --header-height: 3.75rem;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.125rem);
  background: var(--color-bg);
}

body {
  margin: 0;
  min-width: 15rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.797rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
a,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-5);
  font-size: clamp(2.4rem, 5.8vw, 4.95rem);
}

h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(1.65rem, 3.6vw, 3.037rem);
}

h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.125rem, 2vw, 1.575rem);
  line-height: 1.18;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.562rem;
  left: 0.562rem;
  z-index: 1000;
  padding: 0.562rem 0.75rem;
  transform: translateY(-160%);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 3rem), var(--content-narrow));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-9);
}

.section--compact {
  padding-block: var(--space-7);
}

.section--surface {
  background: var(--color-surface);
}

.section--green {
  background: var(--color-primary);
  color: #fff;
}

.section--green h2,
.section--green h3,
.section--green .eyebrow {
  color: #fff;
}

.section--green .section-heading {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.section--green .section-heading p {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  max-width: 36rem;
  font-size: clamp(0.862rem, 1.8vw, 1.125rem);
  line-height: 1.55;
}

.muted {
  color: var(--color-muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) minmax(19.5rem, 1.1fr);
  gap: var(--space-7);
  align-items: end;
  margin-bottom: var(--space-7);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.section-heading p {
  max-width: 31.5rem;
  margin-bottom: 0.262rem;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.button {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.525rem 0.862rem;
  font-size: 0.862rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-primary);
  color: #fff;
}

.button--primary:hover {
  background: var(--color-primary-hover);
}

.button--accent {
  background: var(--color-accent);
  color: #fff;
}

.button--accent:hover {
  background: var(--color-accent-hover);
}

.button--light {
  background: #fff;
  color: var(--color-primary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.338rem;
  color: var(--color-primary);
  font-size: 0.862rem;
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(4, 64, 38, 0.16);
  background: color-mix(in srgb, var(--color-bg) 96%, var(--color-green-soft));
  backdrop-filter: blur(14px);
}

.site-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.188rem;
  background: var(--color-accent);
  content: "";
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
  gap: clamp(1.125rem, 3vw, 2.625rem);
  align-items: center;
  position: relative;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(0.262rem, 0.8vw, 0.6rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.562rem clamp(0.675rem, 1.25vw, 1.013rem);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.05vw, 0.862rem);
  font-weight: 700;
  text-decoration: none;
  transition: padding 320ms cubic-bezier(0.22, 1, 0.36, 1), background-color var(--transition), color var(--transition), transform var(--transition);
}

.desktop-nav a:hover {
  transform: translateY(-1px);
}

.desktop-nav a[aria-current="page"] {
  color: var(--color-accent-hover);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.112rem;
  left: 0;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  content: "";
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Základ je schovaný stav na desktopu; vzhled definuje mobilní varianta v responsive.css. */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  overflow-y: auto;
  border-top: 0.188rem solid var(--color-accent);
  background: var(--color-bg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__inner {
  display: grid;
  gap: 0;
  padding-block: var(--space-5) var(--space-7);
}

.mobile-nav a {
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.163rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav a:not(.button):hover,
.mobile-nav a:not(.button)[aria-current="page"] {
  color: var(--color-accent-hover);
}

.header-cta {
  justify-self: end;
}

.mobile-nav .button {
  margin-top: var(--space-5);
  border-bottom: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.862rem;
  text-transform: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.375rem, 8vw, 6rem) var(--space-8);
}

.hero .container {
  position: relative;
}

.hero__year {
  position: absolute;
  top: clamp(-2.625rem, -4vw, -0.75rem);
  right: clamp(1.125rem, 4vw, 3rem);
  color: rgba(4, 64, 38, 0.045);
  font-family: var(--font-display);
  font-size: clamp(7.5rem, 22vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  animation: background-year-reveal 520ms ease 100ms forwards;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.5rem, 0.65fr);
  gap: clamp(2.25rem, 6vw, 5.25rem);
  align-items: end;
}

.hero h1 {
  max-width: 54rem;
  margin-bottom: 0;
}

.hero h1 .accent {
  display: inline-block;
  color: var(--color-accent);
  white-space: nowrap;
}

.hero__copy {
  max-width: 54rem;
}

.hero__eyebrow {
  margin-bottom: var(--space-4);
  font-size: 0.75rem;
}

.hero__support {
  padding-bottom: 0.413rem;
}

.hero__support > p {
  max-width: 29.25rem;
  color: var(--color-muted);
  font-size: clamp(0.862rem, 1.55vw, 1.05rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
}

.hero__secondary-link {
  padding-block: 0.525rem;
}

.hero__aside {
  position: relative;
  z-index: 1;
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
}

.hero__aside strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.513rem);
  line-height: 1;
}

.hero__aside span {
  color: var(--color-muted);
  font-size: clamp(0.862rem, 1.55vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__facts > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  padding-inline: clamp(0.75rem, 2.5vw, 1.875rem);
}

.hero__facts > div:first-child {
  padding-left: 0;
}

.hero__facts > div + div {
  border-left: 1px solid var(--color-border);
}

.hero__facts > div:last-child strong {
  color: var(--color-accent);
  font-size: clamp(1.237rem, 2.4vw, 2.025rem);
}

.brand-stripe {
  display: grid;
  grid-template-columns: 74.074% 25.926%;
  height: 0.338rem;
  margin-top: var(--space-6);
}

.brand-stripe span:first-child {
  background: var(--color-primary);
}

.brand-stripe span:last-child {
  background: var(--color-accent);
}


.pillar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  border-top: 1px solid var(--color-border);
}

/* Čáry kreslí karty (vlevo + dole), koncové karty řad přidávají pravou.
   Prázdné odsazené buňky tak zůstávají průhledné – proto žádný gap trik. */
.pillar-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  grid-column: span 2;
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  padding: var(--space-5);
  background: var(--color-surface);
}

/* Druhá řada je odsazená. */
.pillar-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.pillar-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.pillar-card:nth-child(3),
.pillar-card:nth-child(5) {
  border-right: 1px solid var(--color-border);
}

.pillar-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: auto;
}

.pillar-card__top img {
  width: clamp(3.375rem, 7vw, 4.875rem);
}

.pillar-card__number {
  color: var(--color-border-strong);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.575rem);
  font-weight: 700;
  line-height: 1;
}

.pillar-card h3 {
  max-width: none;
  margin-top: var(--space-6);
  overflow: hidden;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pillar-card p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.pillar-card .text-link {
  margin-top: var(--space-4);
}

.commitments {
  position: relative;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.commitment-card {
  grid-column: span 2;
  min-height: 13.5rem;
  margin: 0 -1px -1px 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: var(--space-5);
}

/* Prostřední dvojice je centrovaná (3-2-3).
   Rámečky se překrývají o 1 px, takže sdílené
   čáry kreslí jen jednou – stejně jako u pilířů. */
.commitment-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.commitment-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.commitment-card__value {
  margin-bottom: var(--space-4);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
}

.commitment-card:nth-child(odd) .commitment-card__value {
  color: var(--color-accent-on-dark);
}

.commitment-card h3 {
  color: #fff;
}

.commitment-card p:not(.commitment-card__value) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.commitment-card .text-link {
  margin-top: var(--space-4);
  color: #fff;
}

.candidate-photo-heading {
  width: min(100%, 64.5rem);
  margin: 0 auto var(--space-5);
}

#tym {
  scroll-margin-top: calc(var(--actual-header-height, var(--header-height)) + 2.75rem);
}

.candidate-photo-heading h2 {
  max-width: 36rem;
  margin-bottom: 0;
}

.group-photo {
  position: relative;
  overflow: visible;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-surface-soft);
}

.group-photo > picture img,
.group-photo > img {
  width: 100%;
  border-radius: inherit;
}

/* Na mobilu (kde nejsou bubliny) je celá homepage fotka odkazem na přehled kandidátů. */
.group-photo__mobile-link {
  display: none;
}

.candidate-hotspots {
  position: absolute;
  inset: 0;
}

.candidate-hotspot {
  position: absolute;
  display: flex;
  width: 1.875rem;
  height: 1.875rem;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0.188rem 0.75rem rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 0.645rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), z-index var(--transition);
}

.candidate-hotspot:hover,
.candidate-hotspot:focus-visible,
.candidate-hotspot.is-active {
  z-index: 10;
  background: var(--color-accent);
  box-shadow: 0 0.3rem 0.938rem rgba(209, 36, 42, 0.32);
  transform: translate(-50%, -50%) scale(1.12);
}

.candidate-hotspot__label {
  position: absolute;
  top: calc(100% + 0.413rem);
  left: 50%;
  width: max-content;
  max-width: 9.75rem;
  padding: 0.338rem 0.488rem;
  transform: translate(-50%, -0.188rem);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 0.585rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.candidate-hotspot__label::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  transform: translate(-50%, 50%) rotate(45deg);
  background: #fff;
  content: "";
}

.candidate-hotspot:hover .candidate-hotspot__label,
.candidate-hotspot:focus-visible .candidate-hotspot__label {
  transform: translate(-50%, 0);
  opacity: 1;
}

.candidate-photo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: clamp(0.938rem, 2.5vw, 1.5rem);
  background: var(--color-surface);
}

.candidate-photo-panel__copy {
  display: grid;
  gap: 0.188rem;
}

.candidate-photo-panel__position {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.candidate-photo-panel__copy strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(0.938rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.candidate-photo-panel__copy [data-candidate-preview-meta] {
  color: var(--color-muted);
  font-size: 0.862rem;
  line-height: 1.45;
}

.candidate-photo-panel__copy [data-candidate-preview-meta]:empty {
  display: none;
}

.candidate-photo-panel.is-leaving .candidate-photo-panel__copy,
.candidate-photo-panel.is-leaving > .text-link {
  animation: candidate-preview-fade 110ms ease-in-out both reverse;
}

.candidate-photo-panel.is-entering .candidate-photo-panel__copy,
.candidate-photo-panel.is-entering > .text-link {
  animation: candidate-preview-fade 110ms ease-in-out both;
}

@keyframes candidate-preview-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--space-4);
  row-gap: var(--space-7);
}

.candidate-card {
  min-width: 0;
}

.candidate-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.candidate-card picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-green-soft);
}

.candidate-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 320ms ease;
}

.candidate-card__link:hover img {
  transform: scale(1.018);
}

.candidate-portrait {
  position: relative;
  overflow: hidden;
}

/* Bílá mlha označuje dosud nezveřejněné osobní představení. */
.candidate-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.637rem;
  padding: clamp(0.938rem, 3vw, 1.875rem);
  background: linear-gradient(160deg, rgb(255 255 255 / 65%), rgb(255 255 255 / 90%));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--color-primary);
  text-align: center;
}

.candidate-reveal__title {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.237rem, 2.5vw, 1.763rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.candidate-reveal__text {
  max-width: 25ch;
  padding-top: 0.6rem;
  border-top: 1px solid rgb(4 64 38 / 24%);
  color: rgb(4 64 38 / 78%);
  font-size: 0.825rem;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (prefers-reduced-transparency: reduce) {
  .candidate-reveal {
    background: #fcfaf6;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.candidate-card__body {
  position: relative;
  min-height: 6.75rem;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: clamp(0.938rem, 2.5vw, 1.5rem);
  background: var(--color-surface);
}

.candidate-card__position {
  display: block;
  margin-bottom: 0.188rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.candidate-card h3 {
  margin-bottom: 0.188rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(0.938rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.candidate-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.862rem;
  line-height: 1.45;
}

.candidate-card__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: 0.188rem;
}

.candidate-card__title-row h3 {
  margin-bottom: 0;
}

.candidate-card__profile {
  width: fit-content;
  justify-self: end;
  color: var(--color-primary);
  font-weight: 800;
  white-space: nowrap;
}

.candidate-card__link:hover .candidate-card__profile {
  color: var(--color-primary-hover);
  transform: translateY(-0.09rem);
}

.candidate-card__link:hover .candidate-card__profile::after {
  transform: translateX(0.165rem);
}

.section-heading--single {
  grid-template-columns: 1fr;
}

.editorial-list-wrap__link {
  margin-top: var(--space-4);
}

.editorial-list {
  counter-reset: approach;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-list li {
  display: grid;
  grid-template-columns: 2.062rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: baseline;
  counter-increment: approach;
  border-top: 1px solid var(--color-border);
  padding: 0.862rem 0;
  color: var(--color-text);
  font-size: 0.825rem;
  font-weight: 650;
}

.editorial-list li::before {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.615rem;
  font-weight: 800;
  content: counter(approach, decimal-leading-zero);
}

.editorial-list li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  width: min(100%, 64.5rem);
  margin-inline: auto;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.news-card__link {
  display: grid;
  height: 100%;
  text-decoration: none;
}

.news-card__media {
  display: flex;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 1;
  background: var(--color-surface-soft);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 320ms ease;
}

.news-card__link:hover .news-card__media img {
  transform: scale(1.045);
}

.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 9.75rem;
  background: var(--color-green-soft);
}

.news-card__body {
  padding: var(--space-5);
}

.news-card__body p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.news-card__excerpt {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.empty-state {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 6vw, 3.75rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.empty-state h1,
.empty-state h3 {
  max-width: 36rem;
}

.empty-state > p:not(.eyebrow) {
  font-size: 0.975rem;
  line-height: 1.6;
}

.contact-band {
  position: relative;
  overflow: hidden;
}

.contact-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(13.5rem, 0.65fr);
  gap: var(--space-7);
  align-items: end;
}

.contact-band h2 {
  max-width: 39rem;
  margin-bottom: var(--space-4);
}

.contact-band h2 span {
  color: var(--color-accent-on-dark);
}

.contact-band p {
  max-width: 31.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.862rem;
}

.contact-band__links {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.contact-band__mail {
  display: grid;
  gap: var(--space-3);
  justify-items: stretch;
}

.contact-band__button {
  min-width: 9.75rem;
  width: 100%;
}

.contact-band__email {
  color: #fff;
  font-size: 0.862rem;
}

.contact-band__links .social-link:not(.social-channel) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 0.15rem;
  color: #fff;
}

.contact-band__links .social-link:not(.social-channel):hover {
  border-bottom-color: var(--color-accent-on-dark);
  color: var(--color-accent-on-dark);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.413rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.social-link svg {
  width: 0.938rem;
  height: 0.938rem;
}

.social-channel {
  display: inline-flex;
  width: max-content;
  min-height: 2.25rem;
  padding: 0.338rem 0.675rem 0.338rem 0.375rem;
  align-items: center;
  gap: 0.488rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.social-channel__icon {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.15rem 0.488rem rgba(0, 0, 0, 0.14);
}

.social-channel__icon img {
  width: 0.862rem;
  height: 0.862rem;
}

.social-channel:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: var(--color-accent);
  box-shadow: 0 0.338rem 0.938rem rgba(0, 0, 0, 0.16);
  color: #fff;
  text-decoration: none;
  transform: translateY(-0.09rem);
}

.social-channel--facebook:hover,
.social-channel[href*="facebook.com"]:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.social-channel--instagram:hover,
.social-channel[href*="instagram.com"]:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #405de6 0%, #833ab4 28%, #c13584 45%, #e1306c 62%, #f56040 78%, #fcaf45 100%);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.375rem, 8vw, 6rem) var(--space-7);
}

.page-hero::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(2.25rem, 10vw, 9rem);
  transform: translateY(-50%);
  color: rgba(4, 64, 38, 0.045);
  content: "2026";
  font-family: var(--font-display);
  font-size: clamp(6.75rem, 18vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  animation: background-year-reveal 520ms ease 100ms forwards;
}

/* O nás a privacy: rok na pozadí nedává smysl. */
.page-hero--no-year::before {
  display: none;
}

@keyframes background-year-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 0.55fr);
  gap: var(--space-7);
  align-items: end;
}

.page-hero__inner--single {
  grid-template-columns: 1fr;
}

.page-hero h1 {
  margin-bottom: 0;
}

/* Jeden page-h1 pro podstránky, detail i článek; homepage hero používá základní display. */
.page-hero h1,
.article-header h1,
.candidate-detail__content h1 {
  font-size: clamp(2.4rem, 5vw, 4.35rem);
}

.page-hero__copy {
  max-width: 31.5rem;
  margin-bottom: 0.375rem;
  color: var(--color-muted);
  font-size: 0.862rem;
}

.page-hero__program-heading {
  display: grid;
  width: fit-content;
  max-width: 100%;
}

.page-hero__program-heading h1 {
  width: max-content;
  max-width: 100%;
}

.page-hero__program-meta {
  display: flex;
  width: 100%;
  margin-top: var(--space-4);
  align-items: center;
  gap: var(--space-3);
}

.page-hero__strapline {
  margin: 0;
  white-space: nowrap;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 0.938rem;
  font-weight: 700;
}

.page-hero__mini-stripe {
  display: grid;
  min-width: 6rem;
  height: 0.338rem;
  flex: 1;
  grid-template-columns: 74.074% 25.926%;
  overflow: hidden;
}

.page-hero__mini-stripe span:first-child {
  background: var(--color-primary);
}

.page-hero__mini-stripe span:last-child {
  background: var(--color-accent);
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 13.5rem) minmax(0, 1fr);
  gap: clamp(2.625rem, 5vw, 4.5rem);
  align-items: start;
}

.program-nav {
  position: sticky;
  top: calc(var(--header-height) + 1.125rem);
  display: grid;
  border-top: 1px solid var(--color-border);
}

.program-nav__link {
  position: relative;
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
  color: var(--color-muted);
  font-size: 0.862rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition), transform var(--transition);
}

.program-nav__link:hover {
  color: var(--color-primary);
  transform: translateX(0.09rem);
}

.program-nav__link.is-active {
  padding-left: 0.6rem;
  color: var(--color-accent);
  font-weight: 800;
}

.program-nav__link.is-active::before {
  position: absolute;
  top: 0.488rem;
  bottom: 0.488rem;
  left: 0;
  width: 0.165rem;
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
}
.program-pillar {
  padding-top: var(--space-7);
}

.program-pillar:first-child {
  padding-top: 0;
}

.program-pillar__header {
  display: grid;
  grid-template-columns: 3.75rem 4.5rem minmax(0, 1fr);
  gap: 1.125rem;
  align-items: center;
  margin-bottom: var(--space-5);
}

.program-pillar__header .eyebrow {
  display: grid;
  gap: 0.112rem;
  align-self: center;
  padding-top: 0;
}

.program-pillar__number {
  font-family: var(--font-display);
  font-size: clamp(1.688rem, 3.1vw, 2.737rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.program-pillar__icon {
  width: 3.938rem;
}

.program-pillar__header h2 {
  margin-bottom: var(--space-2);
  max-width: 43.5rem;
  font-size: clamp(1.688rem, 3.1vw, 2.737rem);
}

.program-pillar__tagline {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.program-pillar__intro {
  max-width: none;
  margin-left: 9.375rem;
  font-size: 0.96rem;
  line-height: 1.7;
}

.program-intro {
  margin: 0 0 var(--space-9) 9.375rem;
}

.program-intro p {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.program-intro p + p {
  margin-top: 1.125rem;
}

.program-intro p:last-child {
  margin-bottom: 0;
}

.program-intro__accent {
  color: var(--color-accent);
}

.program-pillar__details {
  width: calc(100% - 8.25rem);
  margin-top: var(--space-5);
  margin-left: 8.25rem;
  border-bottom: 1px solid transparent;
}

.program-pillar__details[open] {
  border-bottom-color: var(--color-border);
}

.program-pillar__details-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.program-pillar__details[open] .program-pillar__details-content {
  grid-template-rows: 1fr;
}

.program-pillar__details-body {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms ease;
}

.program-pillar__details[open] .program-pillar__details-body {
  opacity: 1;
}

.program-pillar__details-body > :first-child {
  margin-top: var(--space-4);
}

.program-pillar__details-body > :last-child {
  padding-bottom: var(--space-5);
}

.program-pillar__toggle {
  display: flex;
  width: 100%;
  min-height: 2.625rem;
  padding: 0.637rem 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 800;
  list-style: none;
  transition: color var(--transition), transform var(--transition);
}

.program-pillar__toggle::-webkit-details-marker {
  display: none;
}

.program-pillar__toggle::marker {
  content: "";
}

.program-pillar__toggle:hover {
  color: var(--color-accent);
  transform: translateY(-0.09rem);
}

.program-pillar__toggle-hide {
  display: none;
}

.program-pillar__details[open] .program-pillar__toggle-show {
  display: none;
}

.program-pillar__details[open] .program-pillar__toggle-hide {
  display: inline;
}

.program-pillar__details[open] .program-pillar__toggle {
  border-bottom-color: transparent;
}

.program-pillar__toggle-icon {
  width: 0.562rem;
  height: 0.562rem;
  flex: 0 0 0.562rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.112rem) rotate(45deg);
  transition: transform var(--transition);
}

.program-pillar__details[open] .program-pillar__toggle-icon {
  transform: translateY(0.15rem) rotate(225deg);
}

/* Řízené sbalení (třídu přidává JS,
   open se sundá až po animaci). */
.program-pillar__details.is-closing .program-pillar__details-content {
  grid-template-rows: 0fr;
}

.program-pillar__details.is-closing .program-pillar__details-body {
  opacity: 0;
}

.program-pillar__details.is-closing .program-pillar__toggle-show {
  display: inline;
}

.program-pillar__details.is-closing .program-pillar__toggle-hide {
  display: none;
}

.program-pillar__details.is-closing .program-pillar__toggle-icon {
  transform: translateY(-0.112rem) rotate(45deg);
}

.program-pillar__details-content {
  width: 100%;
}

.program-pillar__details-title {
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
}

.program-pillar__details-text {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.candidate-detail__main {
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.22fr);
  gap: var(--space-7);
  align-items: start;
}

.candidate-detail__back {
  margin-bottom: var(--space-5);
}

.candidate-detail__media {
  position: sticky;
  top: calc(var(--actual-header-height, var(--header-height)) + 1.125rem);
  transition: top 120ms linear;
}

.candidate-detail__media picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-green-soft);
}

.candidate-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.candidate-detail__content {
  padding-top: var(--space-4);
}

.candidate-detail__meta {
  margin-bottom: var(--space-6);
  color: var(--color-muted);
  font-size: 0.885rem;
  font-weight: 700;
}

.candidate-detail__sections > section {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-5);
}

.candidate-detail__sections > section:last-child {
  padding-bottom: 0;
}

.candidate-detail__sections h2 {
  font-size: 1.35rem;
}

.candidate-detail__text p {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.candidate-detail__text p + p {
  margin-top: 0.938rem;
}

.candidate-detail__coming-soon-lead {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.013rem;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: pretty;
}

.candidate-detail__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-7);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.candidate-detail__nav-button {
  min-height: 2.625rem;
  padding: 0.637rem 1.013rem;
  font-size: 0.862rem;
  justify-self: center;
}

.candidate-detail__nav-link:first-child {
  justify-self: start;
}

.candidate-detail__nav-link:last-child {
  justify-self: end;
}

.candidate-detail__nav-link {
  font-size: 0.862rem;
}

.candidate-video {
  display: block;
  width: min(100%, 24rem);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  background: #000;
  object-fit: contain;
}

.candidate-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: start;
}

.candidate-video-grid--single {
  grid-template-columns: minmax(0, 24rem);
  justify-content: center;
}

.candidate-video-grid .candidate-video {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.candidate-video:fullscreen,
.candidate-video:-webkit-full-screen {
  width: 100vw;
  max-width: none;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
}

.about-visual {
  display: block;
}

.about-visual__media {
  display: block;
  width: min(100%, 64.5rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-green-soft);
}

.about-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about-content {
  width: min(100%, 64.5rem);
  margin-inline: auto;
}

.about-content .lead {
  max-width: 51rem;
  margin: var(--space-7) auto 0;
  color: var(--color-primary);
  font-size: clamp(0.975rem, 2vw, 1.275rem);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

.about-content__sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-7);
  border-top: 1px solid var(--color-border);
}

.about-content__sections section {
  min-width: 0;
  padding: var(--space-5) clamp(1.125rem, 3vw, 2.25rem) 0;
}

.about-content__sections section:first-child {
  padding-left: 0;
}

.about-content__sections section:last-child {
  padding-right: 0;
}

.about-content__sections section + section {
  border-left: 1px solid var(--color-border);
}

.about-content h2 {
  margin: 0 0 var(--space-4);
  color: var(--color-primary);
  font-size: clamp(1.163rem, 2.1vw, 1.5rem);
  line-height: 1.2;
  text-wrap: balance;
}

.about-content__sections h2::after {
  display: block;
  width: 1.875rem;
  height: 0.15rem;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
}

.about-content__sections p {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.about-content__sections p + p {
  margin-top: 0.825rem;
}

.about-content__closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: var(--space-7);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.about-signoff {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(0.975rem, 2vw, 1.312rem);
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
}

.about-signoff__accent {
  color: var(--color-accent);
}

/* Privacy stránka: text na celou šířku kontejneru, bez úzkého sloupce. */
.privacy-content h2 {
  margin-top: var(--space-6);
  font-size: 1.2rem;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p + p,
.privacy-content h2 + p {
  margin-top: 0.825rem;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-5);
}

.article-shell {
  width: 100%;
}

.article-top {
  width: min(calc(100% - 3rem), 64.5rem);
  margin-inline: auto;
  padding-top: var(--space-6);
}

.article-header {
  position: relative;
  width: min(calc(100% - 3rem), 57rem);
  margin-inline: auto;
  padding-block: var(--space-6) var(--space-7);
}

.article-header::after {
  display: block;
  width: 3rem;
  height: 0.188rem;
  margin-top: var(--space-5);
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
}

.article-header h1 {
  max-width: 18ch;
  margin-bottom: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.article-header__lead {
  max-width: 80ch;
  margin-top: var(--space-4);
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(0.938rem, 2vw, 1.2rem);
  line-height: 1.6;
  white-space: normal;
}

.article-visual {
  display: block;
  width: min(calc(100% - 3rem), 46.5rem);
  margin: 0 auto var(--space-7);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.article-image {
  display: block;
  width: 100%;
  height: auto;
}

.article-image-placeholder {
  min-height: clamp(10.5rem, 30vw, 18rem);
  background: var(--color-green-soft);
}

.article-body .article-visual {
  width: 100%;
  margin-block: var(--space-6);
}

.article-body {
  width: min(calc(100% - 3rem), 46.5rem);
  margin-inline: auto;
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.article-body p:first-child {
  color: var(--color-text);
  font-size: 1.08em;
  font-weight: 600;
}

.article-body p + p {
  margin-top: 1.125rem;
}

.article-subheading {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.article-list {
  margin: 0 0 1.125rem;
  padding-left: 1.2rem;
}

.article-list li {
  padding-left: 0.225rem;
}

.article-list li::marker {
  color: var(--color-accent);
}

.article-list li + li {
  margin-top: 0.5rem;
}

.article-signoff {
  margin-top: var(--space-6);
  margin-bottom: 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

.article-nav {
  display: flex;
  justify-content: center;
  width: min(calc(100% - 3rem), 46.5rem);
  margin-inline: auto;
  margin-top: var(--space-7);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-6) var(--space-7);
}

.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(22.5rem, 1.6fr) repeat(2, minmax(7.5rem, 0.45fr));
  gap: clamp(1.5rem, 4vw, 3.75rem);
  padding-block: var(--space-7) var(--space-6);
}

.footer-brand {
  display: grid;
  grid-template-columns: minmax(8.25rem, 10.5rem) minmax(10.5rem, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.footer-brand .footer-logo {
  margin-bottom: 0;
}

.footer-brand__copy p {
  margin-bottom: var(--space-3);
}

.footer-logo {
  width: min(13.5rem, 100%);
  margin-bottom: var(--space-4);
  padding: 0;
  background: transparent;
}

.footer-logo a {
  display: block;
}

.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 0.488rem;
  align-content: start;
}

.footer-nav a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-nav a.social-channel:hover {
  text-decoration: none;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-block: var(--space-4);
  font-size: 0.63rem;
}

.footer-legal__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
}

.js [data-reveal] {
  transform: translateY(0.562rem);
  opacity: 0;
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  transform: none;
  opacity: 1;
}

/* Rezerva pro JS-renderovaný obsah: prázdná stránka
   drží patičku pod zlomem, než se obsah načte. */
.js [data-news-list] {
  min-height: 34rem;
}

.js [data-article-detail],
.js [data-candidate-detail] {
  min-height: 54rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    transform: none;
    opacity: 1;
  }
}

/* 2026-08-29 visual refinement: wider editorial canvas, calmer typography */
.desktop-nav a,
.button,
.text-link,
.candidate-detail__nav a {
  letter-spacing: 0;
}

.pillar-card h3,
.commitment-card h3,
.editorial-split__statement {
  text-transform: none;
}

.program-pillar__header h2,
.candidate-detail__content h1,
.page-hero h1,
.contact-band h2,
.section-heading h2 {
  text-transform: none;
}

.program-pillar__intro {
  width: calc(100% - 9.375rem);
}

.page-hero__copy {
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (min-width: 67.5rem) {
  .page-hero {
    padding-block: 4.875rem 3.562rem;
  }

  .program-nav {
    padding-right: 0.375rem;
  }
}

/* ==================================================
   HEADER – GREEN / RED SPLIT
   ================================================== */

.site-header {
  border-bottom: 0;
  background: var(--color-primary);
  backdrop-filter: none;
}

/* Ruší původní tenkou červenou linku úplně nahoře */
.site-header::before {
  display: none;
}

.header-inner {
  position: relative;
  isolation: isolate;

  /* 1/6 logo + 3/6 navigace + 2/6 kontakt */
  grid-template-columns: 1fr 3fr 2fr;
  gap: 0;
  align-items: stretch;
}

/*
  Červená část začíná přesně na 2/3 stejného containeru,
  takže bude zarovnaná s červenou částí spodní lišty.
*/
.header-inner::after {
  position: absolute;
  z-index: 0;

  top: 0;
  bottom: 0;

  /* přesně stejný poměr jako původní brand-stripe */
  left: 74.074%;

  right: calc((100vw - 100%) / -2);

  background: var(--color-accent);
  content: "";
  pointer-events: none;
}

.header-inner > * {
  position: relative;
  z-index: 1;
}


/* NAVIGACE V ZELENÉ ČÁSTI */

.desktop-nav {
  grid-column: 2;
  justify-self: center;

  gap: clamp(0.075rem, 0.4vw, 0.338rem);
}

.desktop-nav a {
  padding: 0.562rem clamp(0.525rem, 0.9vw, 0.75rem);

  color: rgba(255, 255, 255, 0.82);
}

/* Hover + právě otevřená stránka */
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #fff;
}

/* Podtržení aktivní / hover položky bude bílé */
.desktop-nav a::after {
  background: #fff;
}


/* CTA V ČERVENÉ ČÁSTI */

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.562rem;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header-social-link {
  display: grid;
  width: 2.438rem;
  height: 2.438rem;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1), height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity var(--transition), transform var(--transition);
}

.header-social-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  background: currentColor;
  filter: drop-shadow(0 0.09rem 0.15rem rgba(0, 0, 0, 0.18));
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1), height 320ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}

.header-social-icon--facebook {
  -webkit-mask-image: url("../icons/facebook.svg");
  mask-image: url("../icons/facebook.svg");
}

.header-social-icon--instagram {
  -webkit-mask-image: url("../icons/instagram.svg");
  mask-image: url("../icons/instagram.svg");
}

.header-social-link:hover {
  transform: translateY(-0.09rem) scale(1.1);
}

.header-social-link--facebook:hover .header-social-icon {
  background: #1877f2;
}

.header-social-link--instagram:hover .header-social-icon {
  background: linear-gradient(135deg, #405de6 0%, #833ab4 32%, #e1306c 62%, #fcaf45 100%);
}

.header-cta {
  grid-column: 3;

  width: auto;
  min-height: 2.438rem;

  align-self: center;
  justify-self: center;
  justify-content: center;

  border: 2px solid #fff;
  border-radius: var(--radius-sm);

  padding: 0.6rem 1.125rem;

  background: #fff;
  color: var(--color-accent);

  font-family: var(--font-display);
  font-size: 0.862rem;
  font-weight: 700;

  box-shadow: 0 0.225rem 0.6rem rgba(80, 0, 4, 0.15);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.header-cta::after {
  content: none;
}

.header-cta:hover {
  background: var(--color-bg);
  color: var(--color-accent-hover);

  transform: translateY(-2px);
  box-shadow: 0 0.375rem 0.75rem rgba(80, 0, 4, 0.22);
}

/* HEADER – výška podle loga + prostor nahoře/dole */

.site-header {
  height: auto;
  min-height: 0;
}

.header-inner {
  height: auto;
  min-height: 0;

  /* Tohle vytvoří prostor NAD a POD logem */
  padding-top: 0.675rem;
  padding-bottom: 0.675rem;

  align-items: center;
}

@media (min-width: 52.5075rem) {

  .header-inner {
    /*
      Stejně velké levé a pravé pole = navbar bude
      přesně uprostřed celé stránky.
    */
    grid-template-columns: 1fr auto 1fr;

    /*
      Stejná vzdálenost loga zleva
      a tlačítka zprava.
    */
    padding-inline: clamp(1.125rem, 4vw, 3.75rem);

    /* zachováme prostor nad a pod logem */
    padding-block: 0.75rem;

    align-items: center;
  }


  /* LOGO */

  .site-logo {
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }


  /* NAVBAR – přesný střed stránky */

  .desktop-nav {
    grid-column: 2;

    /* zruší případné předchozí absolute centrování */
    position: static;
    left: auto;
    transform: none;

    justify-self: center;
  }


  /* NAPIŠTE NÁM */

  .header-cta {
    grid-column: 3;

    justify-self: end;

    margin-right: 0;
  }
}

.site-logo {
  width: clamp(10.5rem, 18vw, 15rem);
  aspect-ratio: auto;

  padding: 0.262rem 0.488rem;
  overflow: hidden;

  border: 2px solid #fff;
  border-radius: var(--radius-sm);
  background: #fff;

  display: grid;
  place-items: center;

  justify-self: start;
  align-self: center;

  box-shadow: none;
  filter: none;
}

.site-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.375rem 0.938rem rgba(0, 0, 0, 0.16);
}

.site-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header {
  overflow-x: clip;
}

.header-inner {
  position: relative;
}

/* HERO = celý první viewport pod headerem */

.hero {
  min-height: calc(100svh - var(--expanded-header-height, var(--header-height)));

  display: flex;
  align-items: center;

  box-sizing: border-box;
}

/* container uvnitř hero musí zabrat normální šířku */
.hero > .container {
  width: min(calc(100% - 3rem), var(--content));
}

/* ==================================================
   COMPACT HEADER AFTER HERO
   ================================================== */

@media (min-width: 52.5075rem) {

  .site-header.is-positioning-program-anchor,
  .site-header.is-positioning-program-anchor .header-inner,
  .site-header.is-positioning-program-anchor .site-logo,
  .site-header.is-positioning-program-anchor .header-cta,
  .site-header.is-positioning-program-anchor .header-social-link,
  .site-header.is-positioning-program-anchor .header-social-icon {
    transition: none !important;
  }

  .site-header {
    transition:
      box-shadow 320ms ease,
      border-color 320ms ease;
  }

  .header-inner {
    transition:
      padding-top 320ms cubic-bezier(0.22, 1, 0.36, 1),
      padding-bottom 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-logo {
    transition:
      width 320ms cubic-bezier(0.22, 1, 0.36, 1),
      padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 180ms ease;
  }

  .header-cta {
    transition:
      min-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
      padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }


  /* HEADER PO ODSCROLLOVÁNÍ HERO */

  .site-header.is-compact {
    box-shadow:
      0 0.262rem 1.125rem rgba(4, 64, 38, 0.13);
  }

  .site-header.is-compact .header-inner {
    padding-top: 0.338rem;
    padding-bottom: 0.338rem;
  }

  .site-header.is-compact .site-logo {
    width: 9rem;
    padding: 0.225rem 0.413rem;
  }

  .site-header.is-compact .header-cta {
    min-height: 2.025rem;
    padding: 0.413rem 0.788rem;
  }

  .site-header.is-compact .header-social-link {
    width: 2.025rem;
    height: 2.025rem;
  }

  .site-header.is-compact .header-social-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .site-header.is-compact .desktop-nav a {
    padding-top: 0.413rem;
    padding-bottom: 0.413rem;
  }
}

/* Výjimka: nadpisek u skupinové fotky zůstává šedý. */
.section-heading--photo-link .eyebrow {
  margin-bottom: 0.262rem;
  color: var(--color-muted);
  font-size: 0.84rem;
}

/* Section heading s tlačítkem vpravo */

.section-heading--with-action {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.section-heading--with-action .button {
  justify-self: end;
  margin-bottom: var(--space-4);
}

.group-photo {
  width: min(100%, 64.5rem);
  margin-inline: auto;
}

.group-photo,
.candidate-photo-panel {
  width: min(100%, 64.5rem);
  margin-inline: auto;
}

/* ==================================================
   DOUBLE CHEVRON ICON
   ================================================== */

.text-link::after,
.button--chevron::after {
  content: "";

  width: 0.788rem;
  height: 0.788rem;
  flex: 0 0 auto;

  margin-left: 0.225rem;

  background-color: currentColor;

  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 4l6 6-6 6M10 4l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 4l6 6-6 6M10 4l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;

  transition: transform 180ms ease;
}

.text-link:hover::after,
.button--chevron:hover::after {
  transform: translateX(0.165rem);
}

.text-link {
  transition: color var(--transition), transform var(--transition);
}

.text-link:hover {
  transform: translateY(-0.09rem);
}

.news-card__link:hover .text-link,
.news-card__link:focus-visible .text-link {
  transform: translateY(-0.09rem);
}

.news-card__link:hover .text-link::after,
.news-card__link:focus-visible .text-link::after {
  transform: translateX(0.165rem);
}

/* Odkazy zpět používají stejný dvojitý chevron a pohyb jako běžné textové odkazy. */
.text-link--back::after {
  order: -1;
  margin-right: 0.225rem;
  margin-left: 0;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M17 4l-6 6 6 6M10 4l-6 6 6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M17 4l-6 6 6 6M10 4l-6 6 6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.text-link--back:hover::after {
  transform: translateX(-0.188rem);
}

/* Plovoucí návrat nahoru (stránka Program). */
.to-top {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.375rem);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition), color var(--transition);
}

/* Hover jen pro zařízení se skutečnou myší – na dotykových by jinak
   po prvním tapnutí zůstal „přilepený" tmavý stav. */
@media (hover: hover) {
  .to-top:hover {
    background: var(--color-primary);
    color: #fff;
  }
}

/* Krátká odezva po dobu stisku (funguje i na dotykových). */
.to-top:active {
  background: var(--color-primary);
  color: #fff;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ==================================================
   PROGRAM – JEDEN SEZNAM CÍLŮ
   ================================================== */

.program-pillar__goals {
  width: calc(100% - 8.25rem);
  margin-left: 8.25rem;

  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

.program-pillar__goals h3 {
  margin-bottom: var(--space-4);

  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.163rem;
  font-weight: 700;
}

.program-pillar__goals-list {
  margin: 0;
  padding-left: 1.013rem;
}

.program-pillar__goals-list li {
  padding-left: 0.225rem;

  color: var(--color-text);

  /* stejné jako hlavní text pilíře */
  font-size: 0.96rem;
  line-height: 1.7;
}

.program-pillar__goals-list li::marker {
  color: var(--color-primary);
}

.program-pillar__goals-list li + li {
  margin-top: 0.938rem;
}

.program-pillar__details-section + .program-pillar__details-section {
  margin-top: var(--space-6);
}

.program-pillar__details-title {
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.163rem;
  font-weight: 700;
}

.program-pillar__details-text + .program-pillar__details-text {
  margin-top: 0.938rem;
}

#candidate-list {
  scroll-margin-top: 5.25rem;
}

/* ==================================================
   PROGRAM – KONKRÉTNÍ ZÁVAZKY
   ================================================== */

.program-section {
  padding-bottom: 0;
}

.program-content {
  min-width: 0;
}

.program-nav {
  z-index: 2;
}


/*
  Obsah závazků zůstává zarovnaný
  s pravým sloupcem programu.

  Box-shadow pouze vizuálně protáhne
  zelené pozadí přes celý viewport.
*/

.program-commitments {
  position: relative;

  margin-top: var(--space-9);

  padding-block: var(--space-9);

  background: var(--color-primary);

  box-shadow:
    0 0 0 100vmax var(--color-primary);

  clip-path:
    inset(-1px -100vmax -2px);

  color: #fff;

  scroll-margin-top:
    calc(
      var(--actual-header-height, var(--header-height))
      + 1.125rem
    );
}


/* ==================================================
   HLAVNÍ NADPIS
   ================================================== */

.program-commitments__heading {
  margin-bottom: var(--space-7);
}

.program-commitments__heading .eyebrow {
  color: var(--color-accent-on-dark);
  font-size: clamp(0.712rem, 1.1vw, 0.788rem);
}

.program-commitments__heading h2 {
  max-width: 51rem;

  margin-bottom: 0;

  color: #fff;

  font-size:
    clamp(1.35rem, 2.4vw, 1.95rem);
}


/* ==================================================
   JEDEN ZÁVAZEK
   ================================================== */

.program-commitments__item {
  border-top:
    1px solid rgba(255, 255, 255, 0.28);

  padding-block: var(--space-6);
  scroll-margin-top: calc(var(--actual-header-height, var(--header-height)) + 1.125rem);
}

.program-commitments__item:last-child {
  padding-bottom: 0;
}


/* ČÍSLO */

.program-commitments__item-value {
  display: block;

  margin-bottom: var(--space-3);

  color: var(--color-accent-on-dark);
  font-family: var(--font-display);

  font-size: clamp(1.05rem, 1.8vw, 1.425rem);

  font-weight: 700;

  line-height: 1.2;
  text-transform: uppercase;
}


/* NADPIS JEDNOHO ZÁVAZKU */

.program-commitments__item-title {
  margin-bottom: var(--space-3);

  color: #fff;

  font-family: var(--font-display);

  font-size: clamp(1.05rem, 1.6vw, 1.312rem);

  font-weight: 700;

  line-height: 1.25;
}


/* TEXT */

.program-commitments__item-text {
  margin-bottom: 0;

  color:
    rgba(255, 255, 255, 0.88);

  font-size: 0.96rem;

  line-height: 1.7;
}

.program-commitments__item-text +
.program-commitments__item-text {
  margin-top: 0.938rem;
}


/* ==================================================
   LEVÁ NAVIGACE VE CHVÍLI,
   KDY JE NAD ZELENOU ČÁSTÍ
   ================================================== */

.program-nav.is-on-green {
  border-top-color:
    rgba(255, 255, 255, 0.28);
}

.program-nav.is-on-green .program-nav__link {
  border-bottom-color:
    rgba(255, 255, 255, 0.28);

  color:
    rgba(255, 255, 255, 0.72);
}

.program-nav.is-on-green .program-nav__link:hover {
  color: #fff;
}

.program-nav.is-on-green .program-nav__link.is-active {
  color: var(--color-accent-on-dark);
}

.program-nav.is-on-green
.program-nav__link.is-active::before {
  background: var(--color-accent-on-dark);
}
