/* Akcja Witold, O fundacji, Kontakt, 404 */
.dokument-krotki .przycisk, .dokument-krotki a.przycisk { display: flex; max-width: 420px; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.kontakt-mail { display: inline-block; margin-top: 10px; font-size: 26px; font-weight: 700; color: var(--zielony); word-break: break-all; }

.akcja-strona { max-width: 1100px; margin: 0 auto; padding: 22px var(--margines) 10px; }
.akcja-strona h1 { font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.akcja-strona .lead-krotki { margin-top: 12px; font-size: 20px; line-height: 1.45; color: var(--tekst); }

.posty { display: flex; gap: 14px; margin: 22px calc(-1 * var(--margines)) 0; padding: 0 var(--margines) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.posty::-webkit-scrollbar { display: none; }
.posty figure { flex: 0 0 78%; max-width: 340px; margin: 0; scroll-snap-align: start; }
.posty img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.posty figcaption { margin-top: 8px; font-size: 16px; line-height: 1.4; color: var(--tekst-2); }

.liczby { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--linia); }
.liczby li { display: flex; flex-direction: column; }
.liczby b { font-size: 44px; line-height: 1; font-weight: 800; color: var(--zielony); }
.liczby span { margin-top: 4px; font-size: 17px; }

.akcja-strona .dalsze { margin-top: 28px; border-top: 1px solid var(--linia); }
.akcja-strona .dalsze .wiecej { margin: 0; border-bottom: 1px solid var(--linia); }
.akcja-strona .dalsze .wiecej summary { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 21px; color: var(--tekst); font-weight: 700; }
.akcja-strona .dalsze .wiecej[open] summary { font-size: 21px; }
.akcja-strona .dalsze .wiecej[open] summary::before { content: none; }
.akcja-strona .rozwiniete { padding: 0 0 16px; font-size: 19px; line-height: 1.55; }
.akcja-strona .rozwiniete p + p { margin-top: 12px; }

.akcja-dalej { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--linia); }
.akcja-dalej h2 { font-size: 30px; font-weight: 800; }
.akcja-dalej p { margin-top: 6px; font-size: 19px; }
.akcja-dalej .przycisk { max-width: 420px; }
.ulotka img { width: 60%; max-width: 260px; box-shadow: 0 2px 12px rgba(20, 24, 36, .14); margin-bottom: 16px; }

@media (min-width: 1024px) {
  .akcja-strona { padding-top: 56px; }
  .akcja-strona h1 { font-size: 56px; max-width: 900px; }
  .akcja-strona .lead-krotki { font-size: 24px; max-width: 820px; }
  .posty { margin: 34px 0 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .posty figure { max-width: none; }
  .liczby { grid-template-columns: repeat(5, 1fr); }
  .liczby b { font-size: 56px; }
  .akcja-strona .dalsze { max-width: 820px; }
  .ulotka { display: flex; gap: 40px; align-items: center; }
  .ulotka img { width: 220px; margin: 0; }
}

/* O fundacji */
.onas { max-width: 1100px; margin: 0 auto; padding: 22px var(--margines) 10px; }
.onas-zdjecie { width: 100%; max-width: 440px; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; border-radius: 8px; }
.onas h1 { margin-top: 20px; font-size: 38px; line-height: 1.05; font-weight: 800; }
.onas .lead-krotki { margin-top: 10px; font-size: 22px; line-height: 1.4; }
.podpis-ceo { margin-top: 18px; font-size: 19px; line-height: 1.4; color: var(--tekst-2); }
.podpis-ceo b { color: var(--tekst); font-size: 22px; }
.fakty { margin: 14px 0 0; padding-left: 20px; font-size: 18px; line-height: 1.5; }
.fakty li + li { margin-top: 6px; }
.linki-ceo { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 0; font-size: 18px; }
.linki-ceo a { color: var(--zielony); font-weight: 600; }
.idea { margin-top: 34px; }
.idea h2 { font-size: 30px; font-weight: 800; }
.onas .dalsze { margin-top: 12px; border-top: 1px solid var(--linia); }
.onas .dalsze .wiecej { margin: 0; border-bottom: 1px solid var(--linia); }
.onas .dalsze .wiecej summary { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 21px; color: var(--tekst); font-weight: 700; }
.onas .dalsze .wiecej[open] summary { font-size: 21px; }
.onas .dalsze .wiecej[open] summary::before { content: none; }
.onas .rozwiniete { padding: 0 0 16px; font-size: 19px; line-height: 1.55; }
.onas .rozwiniete p + p { margin-top: 12px; }
.onas .akcja-dalej .przycisk { display: flex; max-width: 420px; }
@media (min-width: 1024px) {
  .onas { padding-top: 60px; }
  .onas-glowa { display: grid; grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
  .onas h1 { margin-top: 0; font-size: 56px; }
  .onas .lead-krotki { font-size: 26px; }
  .idea, .onas .akcja-dalej { max-width: 820px; }
}

/* Formularz */
.formularz { margin-top: 16px; }
.pole { display: block; margin: 0 0 18px; padding: 0; border: 0; }
.pole > span, .pole legend { display: block; margin-bottom: 8px; font-size: 19px; font-weight: 700; }
.pole input, .pole textarea { width: 100%; padding: 14px 16px; border: 2px solid #c9ccd2; border-radius: 10px; font: inherit; font-size: 20px; color: var(--tekst); background: #fff; }
.pole input:focus, .pole textarea:focus { outline: none; border-color: var(--zielony); }
.chipy { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.pole .chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.chip span { display: inline-block; padding: 12px 18px; border: 2px solid #c9ccd2; border-radius: 30px; font-size: 18px; cursor: pointer; }
.chip input:checked + span { background: var(--zielony); border-color: var(--zielony); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--zielony); outline-offset: 2px; }
.formularz .przycisk { width: 100%; max-width: 420px; border: 0; cursor: pointer; font: inherit; font-size: 23px; font-weight: 700; color: #fff; }
.formularz .przycisk:disabled { opacity: .7; }
.zgoda { margin-top: 14px; font-size: 15px; color: var(--szary); }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.blad-formularza { margin-top: 14px; padding: 12px 0; font-size: 18px; font-weight: 700; color: #b8411b; border-top: 1px solid var(--linia); border-bottom: 1px solid var(--linia); }

/* O fundacji – makieta onas-mobile-2 */
.onas2-hero { position: relative; height: calc(100svh - 64px); min-height: 560px; max-height: 860px; overflow: hidden; background: #e9e8e4; }
.onas2-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.onas2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,18,24,.55), rgba(15,18,24,0) 40%); }
.onas2-hero h1 { position: absolute; z-index: 1; left: 26px; right: 110px; bottom: 44px; color: #fff; font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.onas2-hero h1 span { display: block; }
.onas2-hero h1 small { display: block; margin-top: 12px; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.onas2-cytat { padding: 34px 26px 30px; }
.cytat { font-size: 46px; line-height: 1.02; font-weight: 800; letter-spacing: -.01em; }
.cytat::before { content: "„"; } .cytat::after { content: "”"; }
.cytat-dalej { margin-top: 20px; font-size: 21px; line-height: 1.45; }
.onas2-zdjecie { margin: 0; }
.onas2-zdjecie img { width: 100%; height: 300px; object-fit: cover; object-position: 55% 40%; }
.onas2-haslo { padding: 30px 26px 10px; }
.onas2-haslo div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linia); }
.onas2-haslo h2 { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.onas2-haslo p { margin-top: 6px; font-size: 20px; }
.onas2-witold { display: grid; grid-template-columns: 1fr 44%; align-items: center; margin-top: 26px; background: #2d2018; color: #fff; text-decoration: none; overflow: hidden; }
.onas2-witold img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 30%; }
.onas2-witold span { grid-column: 1; grid-row: 1; padding: 22px 16px 22px 26px; font-size: 18px; line-height: 1.35; }
.onas2-witold b { display: block; margin-bottom: 8px; font-size: 24px; line-height: 1.15; }
.onas2-pomysl { padding: 30px 26px 0; }
.onas2-pomysl h2 { font-size: 30px; font-weight: 800; }
.onas2-pomysl .przycisk { display: flex; max-width: 460px; }
.onas2-linki { margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--tekst-2); }
.onas2-linki a { color: var(--tekst-2); }
.onas2-linki span { margin: 0 6px; color: #b7b9bf; }
@media (min-width: 1024px) {
  .onas2 { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; padding-top: 40px; }
  .onas2-hero { grid-column: 1; grid-row: 1 / 3; height: 760px; max-height: none; border-radius: 8px; }
  .onas2-hero h1 { left: 40px; bottom: 48px; font-size: 64px; }
  .onas2-cytat { grid-column: 2; align-self: end; padding: 0; }
  .cytat { font-size: 64px; }
  .cytat-dalej { font-size: 24px; }
  .onas2-haslo { grid-column: 2; align-self: start; padding: 40px 0 0; }
  .onas2-haslo h2 { font-size: 40px; }
  .onas2-zdjecie { grid-column: 1 / 3; margin-top: 80px; }
  .onas2-zdjecie img { height: 520px; border-radius: 8px; }
  .onas2-witold { grid-column: 1 / 3; margin-top: 80px; border-radius: 8px; grid-template-columns: 1fr 1fr; }
  .onas2-witold span { padding: 48px 60px; font-size: 24px; }
  .onas2-witold b { font-size: 40px; }
  .onas2-pomysl { grid-column: 1 / 3; padding: 70px 0 0; text-align: center; }
  .onas2-pomysl h2 { font-size: 46px; }
  .onas2-pomysl .przycisk { margin: 20px auto 0; }
}
@media (min-width: 1024px) {
  .onas2 { grid-template-rows: auto auto; align-items: start; }
  .onas2-hero { grid-row: 1 / 3; }
  .onas2-cytat { grid-row: 1; align-self: end; padding-top: 60px; }
  .onas2-haslo { grid-row: 2; }
  .onas2-zdjecie { grid-row: 3; }
  .onas2-witold { grid-row: 4; max-height: 460px; }
  .onas2-witold img { max-height: 460px; }
  .onas2-pomysl { grid-row: 5; }
}
@media (min-width: 1024px) { .onas2-witold img { object-position: 50% 55%; } }
