/* ==========================================================================
   DYSFÁZKA — vrstva říjen 2026
   Načítá se po brand.css. Nové menu, patička, formuláře a nové stránky
   (Podpořte nás, Poradna, Ptáte se, Partneři, Pro média, Zásady, 404).
   Staví na tokenech z brand.css (--dys-*). Původní soubory nemění.
   ========================================================================== */

/* ---------- 0. Co se zobrazuje podle nastaveni.js ----------
   nastaveni.js nastaví na <html> atributy data-dary / data-darujme /
   data-ucet / data-poradna. Bez nich zůstanou příslušné části skryté.   */
html:not([data-dary])    [data-show="dary"],
html:not([data-darujme]) [data-show="darujme"],
html:not([data-ucet])    [data-show="ucet"],
html:not([data-poradna]) [data-show="poradna"],
html[data-dary]          [data-hide="dary"],
html[data-darujme]       [data-hide="darujme"],
html[data-poradna]       [data-hide="poradna"] { display: none !important; }

[hidden] { display: none !important; }

/* ---------- 1. Kratší menu ----------
   Bylo 57 odkazů v sedmi nabídkách, teď 25 v pěti. Menu se vejde
   i na 1100 px, takže stahování písma z brand.css (sekce 13) už není
   potřeba — vracíme čitelnou velikost.                                  */
@media (min-width: 1025px) {
  .nav { gap: clamp(2px, 0.6vw, 12px) !important; }
  .nav-link {
    font-size: clamp(0.9rem, 0.5vw + 0.55rem, 0.98rem) !important;
    padding-inline: clamp(6px, 0.7vw, 12px) !important;
  }
  .nav-dropdown { min-width: 250px; }
  .nav-dropdown .nav-all {
    margin-top: 0.3rem; padding-top: 0.75rem !important;
    border-top: 1px solid rgba(26, 21, 48, 0.18);
    border-radius: 0 0 6px 6px;
    font-weight: 700; color: var(--dys-ink);
  }
  /* poslední nabídka by u pravého okraje přetekla — zarovnat doprava */
  .nav-item--right .nav-dropdown { left: auto; right: 0; }
}

.nav-map { font-weight: 700 !important; }
.nav-map svg { width: 15px !important; height: 15px !important; transform: none !important; }

.nav-ext { font-size: 0.8em; opacity: 0.7; margin-left: 0.25em; }

.nav-donate {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-left: 0.4rem;
  padding: 0.55rem 1.05rem !important;
  background: var(--dys-pear) !important;
  color: var(--dys-ink) !important;
  border: 2px solid var(--dys-ink);
  border-radius: 999px !important;
  box-shadow: 3px 3px 0 0 var(--dys-ink);
  font-weight: 700 !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-donate svg { width: 15px !important; height: 15px !important; transform: none !important; }
.nav-donate:hover, .nav-donate:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--dys-ink);
  background: var(--dys-pear) !important;
}
html:not([data-dary]) .nav-donate { display: none !important; }

@media (max-width: 1024px) {
  /* Otevřené mobilní menu nešlo zavřít jinak než klepnutím vedle —
     křížek zůstával schovaný pod panelem. */
  .menu-toggle.is-active {
    position: fixed; top: 14px; right: 16px; z-index: 110;
    background: #fff; border: 2px solid var(--dys-ink);
  }
  .nav.is-open .nav-donate {
    margin: 1.4rem 0 0; justify-content: center; width: 100%;
    padding: 0.9rem 1rem !important; font-size: 1.05rem !important;
  }
  .nav.is-open .nav-map { border-bottom: 1px solid var(--line-soft); justify-content: flex-start !important; gap: 0.5rem; }
  .nav.is-open .nav-dropdown a { padding-block: 0.7rem !important; }
}

/* ---------- 2. Patička ---------- */
.footer-brand { display: none !important; }           /* značka tam byla dvakrát */
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr !important; gap: 2.2rem !important; }
}
.footer-legal { line-height: 1.6; }
.footer-legal span { white-space: normal; }
.footer-legal .footer-legal-wide { flex-basis: 100%; }

/* ---------- 3. Sdílené stavební prvky nových stránek ---------- */
.dz-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.dz-section--tint { background: var(--dys-indigo); border-block: 2px solid var(--dys-ink); }
.dz-section--pear { background: var(--dys-pear); border-block: 2px solid var(--dys-ink); }
.dz-section--tint .eyebrow, .dz-section--pear .eyebrow { color: var(--dys-ink) !important; }
.dz-narrow { max-width: 780px; margin-inline: auto; }
.dz-head { max-width: 62ch; margin-bottom: 2.2rem; }
.dz-head h2 { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.5rem); margin-bottom: 0.7rem; }
.dz-head p { font-size: 1.08rem; color: var(--text-muted); }
.dz-section--tint .dz-head p, .dz-section--pear .dz-head p { color: var(--dys-ink); }

.dz-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px)  { .dz-grid--2 { grid-template-columns: 1fr 1fr; } .dz-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .dz-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.dz-card {
  background: #fff;
  border: 2px solid var(--dys-ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--dys-ink);
  padding: 1.6rem 1.6rem 1.5rem;
}
.dz-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.dz-card p { font-size: 1rem; line-height: 1.6; color: var(--text-muted); }
.dz-card p + p { margin-top: 0.6rem; }
.dz-card--ivory { background: var(--dys-ivory); }

.dz-note {
  border-left: 5px solid var(--dys-indigo);
  background: #fff;
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  font-size: 0.98rem; line-height: 1.6;
  margin: 1.4rem 0;
}
.dz-note--pear { border-left-color: var(--dys-pear); }
.dz-note strong { color: var(--dys-ink); }

.dz-list { list-style: none; padding: 0; margin: 0; }
.dz-list li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; line-height: 1.55; }
.dz-list li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--dys-indigo);
}
.dz-links { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.dz-links li + li { border-top: 1px solid rgba(26, 21, 48, 0.14); }
.dz-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.7rem 0.1rem; font-weight: 600; color: var(--dys-ink);
}
.dz-links a::after { content: "→"; flex: none; transition: transform 0.15s; }
.dz-links a:hover { color: var(--dys-indigo-deep); }
.dz-links a:hover::after { transform: translateX(3px); }

.dz-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; align-items: center; }
/* Mimo úvodní stránku se .btn-ghost choval jako podtržený odkaz bez odsazení */
.btn.btn-dark, .btn.btn-ghost, .btn.btn-pear { padding: 14px 28px; border-radius: 999px; text-align: center; }
@media (max-width: 520px) { .btn.btn-dark, .btn.btn-ghost, .btn.btn-pear { white-space: normal; padding: 13px 22px; } }
.btn-pear { background: var(--dys-pear) !important; color: var(--dys-ink) !important; }
.btn-sm { padding: 10px 18px !important; font-size: 0.95rem !important; }

/* ---------- 4. Úvodní stránka: tři vstupy ---------- */
.home-entries { background: var(--dys-indigo); border-block: 2px solid var(--dys-ink); padding: clamp(2.6rem, 5vw, 4rem) 0; }
.home-entries-title {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dys-ink);
  margin-bottom: 1.3rem;
}
.entry-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .entry-grid { grid-template-columns: 1.25fr 1fr 1fr; } }
.entry {
  display: flex; flex-direction: column;
  background: var(--dys-ivory);
  border: 2px solid var(--dys-ink); border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--dys-ink);
  padding: 1.7rem 1.6rem 1.4rem;
}
.entry--main { background: #fff; }
.entry-kicker {
  align-self: flex-start;
  background: var(--dys-ink); color: var(--dys-ivory);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 0.9rem;
}
.entry h3 { font-size: clamp(1.35rem, 1vw + 1.05rem, 1.7rem); line-height: 1.2; margin-bottom: 0.55rem; }
.entry > p { font-size: 1rem; line-height: 1.55; color: var(--text-muted); }
.entry .dz-links { margin-top: 1rem; }
.entry .btn { margin-top: 1.2rem; align-self: flex-start; }
.entry-push { margin-top: auto; }

/* ---------- 5. Úvodní stránka: velká výzva na Mapu pomoci ---------- */
.map-cta { background: var(--dys-deep); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; border-block: 2px solid var(--dys-ink); }
.map-cta-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 940px) { .map-cta-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.map-cta .eyebrow { color: var(--dys-pear) !important; }
.map-cta h2 { color: #fff; font-size: clamp(2rem, 3vw + 1rem, 3.1rem); margin-bottom: 0.9rem; }
.map-cta h2 em { color: #fff; }
.map-cta-lead { color: rgba(255,255,255,0.86); font-size: 1.12rem; line-height: 1.6; max-width: 46ch; }
.map-cta-facts { display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.map-cta-facts li { font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.map-cta-facts strong {
  display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500;
  color: var(--dys-pear); line-height: 1.1;
}
.map-form {
  background: var(--dys-ivory); color: var(--dys-ink);
  border: 2px solid var(--dys-ink); border-radius: 18px;
  box-shadow: 6px 6px 0 0 var(--dys-pear);
  padding: 1.7rem;
}
.map-form h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.map-form .field + .field { margin-top: 0.9rem; }
.map-form .btn { width: 100%; justify-content: center; margin-top: 1.2rem; }
.map-form-all { display: block; text-align: center; margin-top: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 6. Formuláře ---------- */
.field { display: block; }
.field > label, .field > .field-label {
  display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--dys-ink);
}
.field-hint { display: block; font-size: 0.88rem; color: var(--text-muted); margin-top: 0.3rem; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1.02rem; color: var(--dys-ink);
  background: #fff;
  border: 2px solid var(--dys-ink); border-radius: 10px;
  padding: 0.72rem 0.85rem;
  min-height: 48px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231A1530' stroke-width='1.8'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 12px;
  padding-right: 2.4rem;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--dys-indigo); outline-offset: 2px;
}
.field ::placeholder { color: #6B6485; opacity: 1; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; margin: 1px 0 0;
  border: 2px solid var(--dys-ink); border-radius: 6px; background: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.check input:checked { background: var(--dys-indigo); }
.check input:checked::after {
  content: ""; width: 6px; height: 11px;
  border: solid var(--dys-ink); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check input:focus-visible { outline: 3px solid var(--dys-indigo); outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.dz-form { display: grid; gap: 1.15rem; }
.dz-form .btn { justify-self: start; }
.dz-form .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { border-radius: 12px; padding: 0.95rem 1.1rem; font-size: 1rem; line-height: 1.55; border: 2px solid var(--dys-ink); }
.form-status--ok  { background: var(--dys-pear); color: var(--dys-ink); }
.form-status--err { background: #fff; border-color: #A3261B; color: #7A1A12; }
.form-status a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-small { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.form-small a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. Startovní čára ke stažení (formulář na e-mail) ---------- */
.lead-box {
  display: grid; gap: 2rem; align-items: center;
  background: #fff;
  border: 2px solid var(--dys-ink); border-radius: 20px;
  box-shadow: 6px 6px 0 0 var(--dys-ink);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
@media (min-width: 900px) { .lead-box { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.lead-box h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-bottom: 0.7rem; }
.lead-box-text > p { color: var(--text-muted); font-size: 1.05rem; }
.lead-box .dz-list { margin-top: 1rem; }
.lead-box--inline { box-shadow: 4px 4px 0 0 var(--dys-ink); margin: 2.4rem 0; }
.lead-box .dz-form { gap: 0.95rem; }
.lead-box .dz-form .btn { width: 100%; justify-content: center; }
.prose .lead-box h2 { margin-top: 0; }
.prose .lead-box h2::before { display: none; }

/* ---------- 8. Ptáte se ---------- */
.faq-group { margin-top: 2.8rem; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group > h2 {
  font-size: clamp(1.4rem, 1.2vw + 1.1rem, 1.85rem);
  padding-bottom: 0.7rem; border-bottom: 2px solid var(--dys-ink); margin-bottom: 0;
}
.faq { border-bottom: 1px solid rgba(26, 21, 48, 0.22); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 34px; gap: 1rem; align-items: center;
  padding: 1.15rem 0.2rem;
  font-family: var(--font-display); font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
  font-weight: 500; line-height: 1.3; color: var(--dys-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--dys-ink); background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: background 0.15s, transform 0.2s;
}
.faq[open] summary::after { content: "–"; background: var(--dys-pear); }
.faq summary:hover::after { background: var(--dys-indigo); }
.faq summary:focus-visible { outline: 3px solid var(--dys-indigo); outline-offset: 3px; border-radius: 6px; }
.faq-body { padding: 0 0.2rem 1.4rem; max-width: 68ch; }
.faq-body p, .faq-body li { font-size: 1.04rem; line-height: 1.7; color: var(--text); }
.faq-body p + p, .faq-body ul + p, .faq-body p + ul { margin-top: 0.8rem; }
.faq-body ul { list-style: none; padding: 0; }
.faq-body li { position: relative; padding-left: 1.4rem; margin-top: 0.4rem; }
.faq-body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--dys-indigo); }
.faq-body a { color: var(--dys-indigo-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-body a:hover { background: var(--dys-pear); color: var(--dys-ink); }
.faq-more { margin-top: 1rem; font-size: 0.98rem; }
.faq-more strong { font-weight: 700; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.4rem; }
.faq-toc a {
  border: 2px solid var(--dys-ink); border-radius: 999px; background: #fff;
  padding: 0.4rem 0.95rem; font-weight: 600; font-size: 0.95rem;
}
.faq-toc a:hover { background: var(--dys-pear); }

/* ---------- 9. Partneři a slevové kódy ---------- */
.code-card { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .code-card { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2.6rem; } }
.code-box {
  background: var(--dys-ivory);
  border: 2px dashed var(--dys-ink); border-radius: 14px;
  padding: 1.3rem; text-align: center;
}
.code-box-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.code-box-code {
  display: block; margin: 0.4rem 0 0.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.1rem); font-weight: 700; letter-spacing: 0.06em; color: var(--dys-ink);
  user-select: all;
}
.code-box-value { font-size: 1rem; font-weight: 600; }
.code-box .btn { margin-top: 0.9rem; }
.code-copy {
  margin-top: 0.7rem; font-weight: 700; font-size: 0.95rem;
  text-decoration: underline; text-underline-offset: 3px; color: var(--dys-indigo-deep);
}
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.6rem; }
.logo-wall a { display: inline-flex; }
.logo-wall img { height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.78; transition: opacity 0.15s, filter 0.15s; }
.logo-wall a:hover img, .logo-wall a:focus-visible img { filter: none; opacity: 1; }
.logo-wall--lg img { height: 56px; max-width: 220px; }
.logo-wall-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 2rem 0 1rem; }

/* ---------- 10. Pro média ---------- */
.fact-grid { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .fact-grid { grid-template-columns: repeat(3, 1fr); } }
.fact { background: #fff; border: 2px solid var(--dys-ink); border-radius: 16px; box-shadow: 4px 4px 0 0 var(--dys-ink); padding: 1.6rem; }
.fact-num { font-family: var(--font-display); font-size: clamp(2.6rem, 3vw + 1.6rem, 3.6rem); line-height: 1; color: var(--dys-indigo-text); font-weight: 500; }
.fact h3 { font-size: 1.2rem; margin: 0.8rem 0 0.4rem; }
.fact p { font-size: 0.98rem; line-height: 1.55; color: var(--text-muted); }
.fact cite { display: block; margin-top: 0.8rem; font-size: 0.85rem; font-style: normal; color: var(--text-soft); }
.asset-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.asset {
  border: 2px solid var(--dys-ink); border-radius: 14px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.asset-preview { display: grid; place-items: center; padding: 1.6rem; min-height: 140px; border-bottom: 2px solid var(--dys-ink); background: var(--dys-ivory); }
.asset-preview--dark { background: var(--dys-deep); }
.asset-preview img { max-height: 76px; width: auto; max-width: 100%; }
.asset-preview--dark img.is-wordmark { filter: brightness(0) invert(1); }
.asset-meta { padding: 0.8rem 1rem 1rem; }
.asset-meta strong { display: block; font-size: 0.98rem; }
.asset-meta span { font-size: 0.86rem; color: var(--text-muted); }
.asset-meta a { display: inline-block; margin-top: 0.5rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--dys-indigo-deep); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.swatch { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 600; }
.swatch i { width: 34px; height: 34px; border-radius: 8px; border: 2px solid var(--dys-ink); display: block; }
.contact-card { display: grid; gap: 0.35rem; }
.contact-card a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
p.contact-big, .dz-card p.contact-big { font-family: var(--font-display); font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }

/* ---------- 11. Podpořte nás ---------- */
.amounts { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .amounts { grid-template-columns: repeat(3, 1fr); } }
.amount {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: #fff; border: 2px solid var(--dys-ink); border-radius: 16px;
  box-shadow: 4px 4px 0 0 var(--dys-ink);
  padding: 1.3rem 1.3rem 1.2rem; color: var(--dys-ink);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.amount:hover, .amount:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--dys-ink); background: var(--dys-pear); }
.amount-sum { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 500; }
.amount-sum small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; }
.amount-what { font-size: 0.95rem; line-height: 1.45; color: var(--text-muted); }
.amount:hover .amount-what { color: var(--dys-ink); }
.amount-go { margin-top: auto; padding-top: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.donate-alt { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: 1.4rem; font-size: 1rem; }
.donate-alt a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.account-box { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.03em; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; line-height: 1.6; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--dys-ink); color: var(--dys-ivory);
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}

/* ---------- 12. Poradna ---------- */
.poradna-grid { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 980px) { .poradna-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.2rem; } }
.poradna-aside { display: grid; gap: 1.3rem; }
.poradna-aside .dz-card h3 { font-size: 1.15rem; }
.poradna-aside .dz-card p, .poradna-aside .dz-card li { font-size: 0.97rem; }
.crisis { background: var(--dys-ivory); border: 2px solid #A3261B; border-radius: 16px; padding: 1.3rem 1.4rem; }
.crisis h3 { font-size: 1.1rem; color: #7A1A12; margin-bottom: 0.5rem; }
.crisis ul { list-style: none; padding: 0; margin: 0; }
.crisis li { padding: 0.3rem 0; font-size: 0.97rem; line-height: 1.5; }
.crisis strong { white-space: nowrap; }
.crisis a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.how { display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how-step { background: var(--dys-ivory); border: 2px solid var(--dys-ink); border-radius: 16px; padding: 1.4rem; }
.how-step b { display: inline-block; background: var(--dys-ink); color: var(--dys-ivory); border-radius: 999px; padding: 3px 11px; font-size: 0.82rem; letter-spacing: 0.03em; margin-bottom: 0.7rem; }
.how-step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.how-step p { font-size: 0.97rem; line-height: 1.55; color: var(--text-muted); }

/* ---------- 13. Zásady a jiné dlouhé právní texty ---------- */
.legal h2 { font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem) !important; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: 0.96rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border: 1px solid rgba(26, 21, 48, 0.25); line-height: 1.5; }
.legal th { background: var(--dys-indigo); color: var(--dys-ink); font-weight: 700; }
.legal td { background: #fff; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 640px; }
.legal-meta { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- 14. Stránka 404 ---------- */
.nf { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.nf-code { font-family: var(--font-display); font-size: clamp(4.5rem, 12vw, 9rem); line-height: 0.9; color: var(--dys-indigo); font-weight: 500; -webkit-text-stroke: 2px var(--dys-ink); }
.nf h1 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); margin: 1rem 0 0.8rem; }
.nf p { font-size: 1.12rem; color: var(--text-muted); max-width: 52ch; }
.nf-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 2.2rem; }
.nf-link { display: block; background: #fff; border: 2px solid var(--dys-ink); border-radius: 14px; box-shadow: 4px 4px 0 0 var(--dys-ink); padding: 1.1rem 1.2rem; font-weight: 700; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.nf-link span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--text-muted); margin-top: 0.2rem; }
.nf-link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--dys-ink); background: var(--dys-pear); }

/* ---------- 15. Drobnosti ---------- */
.page-lead-wide { max-width: 62ch; font-size: 1.15rem; line-height: 1.6; color: var(--text-muted); margin-top: 1rem; }
.page-header .page-lead-wide { margin-inline: auto; }
.updated { font-size: 0.9rem; color: var(--text-soft); margin-top: 2rem; }
.pill { display: inline-block; background: var(--dys-pear); color: var(--dys-ink); border: 2px solid var(--dys-ink); border-radius: 999px; padding: 2px 11px; font-size: 0.82rem; font-weight: 700; }
.pill--plain { background: #fff; }
a.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--dys-indigo-deep); }
a.text-link:hover { background: var(--dys-pear); color: var(--dys-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .nav-donate, .amount, .nf-link, .dz-links a::after, .faq summary::after { transition: none !important; }
}

@media print {
  .nav-donate, .map-cta, .lead-box form { display: none !important; }
}
