/* Manrope served from our own server (SIL OFL 1.1, see fonts/OFL.txt), so
   visitors' browsers never contact Google Fonts. Variable weight 200–800. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-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;
}

:root {
  --color-bg: #FBF8F3;
  --color-navy: #1E2A5A;
  --color-green: #7CB342;
  --color-amber: #F5A623;
  --color-orange: #F0653C;
  --color-magenta: #E4368F;
  --color-blue: #2AA9E0;
  --color-green-label: #4A7326;
  --color-amber-label: #8A5D00;
  --color-orange-label: #B23815;
  --color-magenta-label: #A02368;
  --color-blue-label: #0E6E93;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-white: #FFFFFF;
  --font-base: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-base);
  --container-width: 1120px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

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

.section { padding: 64px 0; }
.section--alt { background: var(--color-white); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.stripe {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-amber), var(--color-orange), var(--color-magenta), var(--color-blue));
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-navy); color: var(--color-white); }
.btn-outline { border: 2px solid var(--color-navy); color: var(--color-navy); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid #e8e2d6;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header__logo { height: 40px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a:not(.btn) { font-weight: 600; font-size: 0.9rem; }
.site-nav a:not(.btn):hover { color: var(--color-navy); text-decoration: underline; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -11px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  display: block;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid #e8e2d6;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
  }
  .site-nav li { width: 100%; }
  .site-nav a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1rem;
    border-bottom: 1px solid #e8e2d6;
  }
  .site-nav .btn { margin-top: 16px; min-height: 44px; padding: 10px 24px; font-size: 1rem; }
}

.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 56px 0 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hero: text on the left, the logo's circle of dots on the right —
   children in the middle, the forms of help around them. Navy like the
   logo's wordmark, so the opening reads apart from the content below. */
.hero { padding: 56px 0 72px; overflow: hidden; background: var(--color-navy); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__eyebrow { color: #A5D46A; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 24px;
}

/* The page's colour stripe, reused as the underline of the promise. */
.hero__accent {
  white-space: nowrap;
  background: linear-gradient(90deg, var(--color-green), var(--color-amber), var(--color-orange), var(--color-magenta), var(--color-blue)) left 92% / 100% 0.14em no-repeat;
  padding-bottom: 0.06em;
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { padding: 14px 28px; font-size: 1rem; }
.hero .btn-primary { background: var(--color-amber); color: var(--color-navy); }
.hero .btn-outline { border-color: var(--color-white); color: var(--color-white); }

.ring {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  justify-self: center;
}
.ring__art { width: 100%; height: 100%; display: block; }

.ring__spokes line {
  stroke: var(--color-white);
  stroke-opacity: 0.35;
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.ring__loop {
  fill: none;
  stroke: var(--color-white);
  stroke-opacity: 0.3;
  stroke-width: 2;
}
.ring__core text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  fill: var(--color-navy);
}

.ring__labels { position: absolute; inset: 0; }
.ring__label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 9.5em;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--color-white);
}
.ring__label--top    { transform: translate(-50%, -100%); text-align: center; }
.ring__label--bottom { transform: translate(-50%, 0); text-align: center; }
.ring__label--right  { transform: translate(0, -50%); }
.ring__label--left   { transform: translate(-100%, -50%); text-align: right; }

/* Load sequence: the core appears, the dots join it, then the names. */
@keyframes ring-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ring-fade { from { opacity: 0; } to { opacity: 1; } }

.ring__core { transform-origin: 280px 280px; animation: ring-pop 0.6s cubic-bezier(.2,.9,.3,1.3) both; }
.ring__spokes, .ring__loop { animation: ring-fade 0.8s ease 0.3s both; }
.ring__dots circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-pop 0.5s cubic-bezier(.2,.9,.3,1.4) both;
}
.ring__label { animation: ring-fade 0.6s ease both; }
.ring__dots circle:nth-child(1), .ring__label:nth-child(1) { animation-delay: 0.35s; }
.ring__dots circle:nth-child(2), .ring__label:nth-child(2) { animation-delay: 0.45s; }
.ring__dots circle:nth-child(3), .ring__label:nth-child(3) { animation-delay: 0.55s; }
.ring__dots circle:nth-child(4), .ring__label:nth-child(4) { animation-delay: 0.65s; }
.ring__dots circle:nth-child(5), .ring__label:nth-child(5) { animation-delay: 0.75s; }
.ring__dots circle:nth-child(6), .ring__label:nth-child(6) { animation-delay: 0.85s; }
.ring__dots circle:nth-child(7), .ring__label:nth-child(7) { animation-delay: 0.95s; }

@media (max-width: 900px) {
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .ring { max-width: 460px; }
}

/* On phones the names leave the circle and become a row of tags under it. */
@media (max-width: 600px) {
  .ring { aspect-ratio: auto; max-width: none; }
  /* Trim the label room the SVG keeps around the circle on desktop. */
  .ring__art { width: 92%; height: auto; margin: -10% auto -12%; }
  .ring__labels {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: -8px;
  }
  .ring__label {
    position: static;
    transform: none;
    text-align: left;
    max-width: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: var(--color-navy);
    background: var(--color-white);
    border-radius: var(--radius-pill);
  }
  .ring__label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c);
    flex-shrink: 0;
  }
}

.o-nadaci__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

.o-nadaci__text p { margin-bottom: 16px; max-width: 68ch; }

.o-nadaci__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  background: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--color-blue);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
}
.stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .o-nadaci__grid { grid-template-columns: 1fr; }
}

.container.narrow p { margin-bottom: 16px; max-width: 68ch; }

.text-graphic {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-wrap: wrap;
}
.text-graphic__media {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}
.text-graphic__media svg { width: 100%; height: auto; max-width: 200px; }
.text-graphic__media--zoom { flex-basis: 240px; }
.text-graphic__media--zoom svg { max-width: 240px; }
.text-graphic__content { flex: 1 1 320px; min-width: 280px; }
.text-graphic__content p { margin-bottom: 16px; max-width: 68ch; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green);
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.narrow-lead { max-width: 68ch; margin-bottom: 32px; color: var(--color-text-muted); }

/* Forms of help as tiles, each marked with a dot from the hero circle. */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.help-grid li {
  background: var(--color-white);
  border-radius: 12px;
  padding: 20px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
}
.help-grid li::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--dot);
}
.help-grid li:nth-child(5n+1) { --dot: var(--color-green); }
.help-grid li:nth-child(5n+2) { --dot: var(--color-blue); }
.help-grid li:nth-child(5n+3) { --dot: var(--color-magenta); }
.help-grid li:nth-child(5n+4) { --dot: var(--color-orange); }
.help-grid li:nth-child(5n+5) { --dot: var(--color-amber); }

@media (max-width: 600px) {
  .help-grid { gap: 10px; }
  .help-grid li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
  .help-grid li::before { margin-bottom: 0; flex-shrink: 0; }
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.support-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 24px;
}
.support-card h3 { color: var(--color-navy); font-size: 1.05rem; margin-bottom: 8px; }
.support-card p:not(.support-card__account) { font-size: 0.9rem; color: var(--color-text-muted); }
.support-card__account {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.5px;
}

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

.team-group-title {
  color: var(--color-navy);
  font-size: 1.1rem;
  margin: 32px 0 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 24px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.team-card h4 { color: var(--color-navy); font-size: 1rem; margin-bottom: 2px; }
.team-card__role { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 10px; }
.team-card p:not(.team-card__role) { font-size: 0.88rem; }

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

/* Logos sit in equal tiles. The source files are small, so each logo gets
   its own height (set inline as --h) to look equally heavy without being
   upscaled much; the tile padding absorbs the difference. */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.partner-logo {
  --tile: 96px;
  width: 100%;
  height: var(--tile);
  padding: calc((var(--tile) - var(--h, 44px)) / 2) 14px;
  object-fit: contain;
  background: var(--color-white);
  border: 1px solid #ece6da;
  border-radius: 12px;
  filter: grayscale(20%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.footer-logo {
  height: 64px;
  background: var(--color-white);
  padding: 10px 16px;
  border-radius: 10px;
}

.footer-info address, .footer-info p { margin-bottom: 8px; font-size: 0.9rem; opacity: 0.9; }
.footer-info a:hover { text-decoration: underline; }

/* On the navy footer the brand amber reads; the darker amber label does not. */
.footer-label { color: var(--color-amber); margin-top: 20px; }
.site-footer .btn-primary { background: var(--color-amber); color: var(--color-navy); }

.contact-form .form-row { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  opacity: 0.9;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-base);
  font-size: 0.95rem;
}
.form-row--honeypot { position: absolute; left: -9999px; }
.form-error { color: #FF9A7A; font-size: 0.8rem; margin-top: 4px; }
.form-status { margin-top: 12px; font-size: 0.9rem; }

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Display face for headings and figures; body stays in the reading face. */
.support-card h3,
.team-group-title,
.team-card h4,
.support-card__account { font-family: var(--font-display); }

/* News carousel: a horizontal scroll-snap row of cards; arrows (js/main.js)
   appear only when the cards overflow. Works as a plain swipe row without JS. */
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.news__head .section-title { margin-bottom: 0; }
.news__nav { display: flex; gap: 8px; flex-shrink: 0; }
.news__nav[hidden] { display: none; }
.news__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.news__arrow:hover:not(:disabled) { background: var(--color-navy); color: var(--color-white); }
.news__arrow:disabled { opacity: 0.3; cursor: default; }

.news__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.news__track::-webkit-scrollbar { display: none; }
.news__track > li { display: flex; scroll-snap-align: start; }

.news-card {
  flex: 1;
  background: var(--color-bg);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(30, 42, 90, 0.1); }
.news-card__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #EEE7DB; }
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: 0.8rem; font-weight: 700; color: var(--color-blue-label); letter-spacing: 0.5px; }
.news-card__title { color: var(--color-navy); font-size: 1.15rem; line-height: 1.3; }
.news-card__excerpt { font-size: 0.92rem; color: var(--color-text-muted); }
.news-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--color-navy); font-size: 0.92rem; }
.news-card:hover .news-card__more { text-decoration: underline; }

@media (max-width: 900px) {
  .news__track { grid-auto-columns: 46%; }
}
@media (max-width: 600px) {
  .news__track { grid-auto-columns: 84%; }
  .news__nav, .news__nav:not([hidden]) { display: none; }
}

/* Single news page (aktualita.php) */
.article { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.article__back { font-weight: 700; color: var(--color-navy); display: inline-block; margin-bottom: 28px; }
.article__back:hover { text-decoration: underline; }
.article__date { font-size: 0.85rem; font-weight: 700; color: var(--color-blue-label); letter-spacing: 0.5px; margin-bottom: 8px; }
.article h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}
.article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 32px; background: #EEE7DB; }
.article p:not(.article__date) { margin-bottom: 18px; font-size: 1.05rem; max-width: 68ch; }

/* Team cards are white; on a white (alt) section they take the page tone. */
.section--alt .team-card { background: var(--color-bg); }

/* Grant section: key conditions as dotted tiles, then what to submit and
   how the grant is approved and accounted for. */
.grant-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.grant-facts li {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 20px;
  line-height: 1.35;
}
.grant-facts li::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--dot);
}
.grant-facts strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.grant-facts span { display: block; font-size: 0.88rem; color: var(--color-text-muted); }

.grant-details {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}
.grant-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 28px;
}
.grant-card h3 { color: var(--color-navy); font-size: 1.1rem; margin-bottom: 16px; }
.grant-card p { font-size: 0.95rem; margin-bottom: 12px; }
.grant-card p:last-child { margin-bottom: 0; }

.grant-steps { list-style: none; counter-reset: grant-step; }
.grant-steps li {
  counter-increment: grant-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.grant-steps li:last-child { margin-bottom: 0; }
.grant-steps li::before {
  content: counter(grant-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
}

.grant-note { margin-top: 20px; font-size: 0.8rem; color: var(--color-text-muted); }

@media (max-width: 960px) {
  .grant-facts { grid-template-columns: repeat(2, 1fr); }
  .grant-details { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grant-facts { grid-template-columns: 1fr; gap: 10px; }
  .grant-card { padding: 22px; }
}

/* Privacy notice under the contact form and the footer link to the policy. */
.form-privacy { font-size: 0.8rem; opacity: 0.85; margin: -4px 0 16px; max-width: 52ch; }
.form-privacy a, .footer-legal a { text-decoration: underline; }
.footer-legal { margin-top: 16px; }

/* Long-form text pages (ochrana-osobnich-udaju.php). */
.article--legal h2 { font-size: 1.3rem; color: var(--color-navy); margin: 36px 0 12px; }
.article--legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 18px; max-width: 68ch; }
.article--legal li { margin-bottom: 6px; font-size: 1.05rem; }
.article--legal a:not(.article__back) { color: var(--color-navy); text-decoration: underline; }
.article .article__updated { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 36px; }
