/* Świadomość. Wiedza. Ochrona. – spis tematów (makieta wiedza-mobile-2) */
.wiedza { padding-bottom: 10px; }
.wiedza-wstep { padding: 26px 20px 4px 22px; }
.wiedza-wstep h1 { font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.wiedza-wstep p { margin-top: 10px; font-size: 19px; }

.dzial { padding: 26px 20px 0 22px; }
.dzial h2 { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.dzial .podpis { margin-top: 6px; font-size: 19px; color: var(--tekst-2); }
.tematy { list-style: none; margin: 16px 0 0; padding: 0; }
.tematy li + li { border-top: 1px solid var(--linia); }
.tematy a {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 12px; grid-template-rows: auto auto;
  column-gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; color: var(--tekst);
}
.tematy img { grid-row: 1 / 3; width: 104px; height: 78px; object-fit: cover; border-radius: 8px; }
.tematy .tytul, .tematy .zdanie { overflow-wrap: break-word; }
.tematy .tytul { align-self: end; font-size: 18px; line-height: 1.18; font-weight: 700; }
.tematy .zdanie { align-self: start; margin-top: 3px; font-size: 15px; line-height: 1.35; color: var(--tekst-2); }
.tematy a::after {
  content: ""; grid-column: 3; grid-row: 1 / 3; width: 10px; height: 10px;
  border-right: 2.5px solid var(--zielony); border-top: 2.5px solid var(--zielony); transform: rotate(45deg);
}
.tematy a:hover .tytul { color: var(--zielony); }

/* Podstrona tematu */
.temat { max-width: 760px; margin: 0 auto; padding: 22px var(--margines) 10px; }
.wroc { display: inline-block; font-size: 17px; font-weight: 600; color: var(--zielony); text-decoration: none; }
.wroc::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.temat h1, .dzial h2, .wiedza-wstep h1 { overflow-wrap: break-word; }
.temat h1 { margin-top: 10px; font-size: 36px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.temat-zdjecie { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-top: 18px; }
.temat .lead { margin-top: 16px; font-size: 22px; line-height: 1.35; }
.wiecej { margin-top: 10px; }
.wiecej summary, .pytania summary { cursor: pointer; list-style: none; }
.wiecej summary::-webkit-details-marker, .pytania summary::-webkit-details-marker { display: none; }
.wiecej summary { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 20px; font-weight: 600; color: var(--zielony); }
.wiecej summary::after { content: ""; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.wiecej[open] summary { font-size: 0; }
.wiecej[open] summary::before { content: "Zwiń"; font-size: 20px; }
.wiecej[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.temat .rozwiniete { padding: 4px 0; font-size: 19px; line-height: 1.55; }
.temat .rozwiniete p + p { margin-top: 12px; }

.pytania { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linia); }
.pytania h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.pytania details { border-bottom: 1px solid var(--linia); }
.pytania summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 19px; line-height: 1.3; font-weight: 700; }
.pytania summary::after { content: ""; flex: 0 0 9px; height: 9px; margin-top: 6px; border-right: 2px solid var(--zielony); border-bottom: 2px solid var(--zielony); transform: rotate(45deg); }
.pytania details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.pytania details p { padding: 0 0 16px; font-size: 18px; line-height: 1.5; }
.inne { margin-top: 26px; font-size: 18px; }
.inne a { color: var(--zielony); font-weight: 600; }

mark.sprawdz { background: #fff3a8; color: #6b5300; font-size: .8em; font-weight: 700; padding: 1px 4px; }

/* Lista tematów na dole strony głównej */
.tematy-dol { margin: 34px var(--margines) 0; padding-top: 24px; border-top: 1px solid var(--linia); }
.tematy-dol h2 { font-size: 24px; font-weight: 800; }
.tematy-dol .grupy { display: grid; gap: 18px; margin-top: 14px; }
.tematy-dol h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.tematy-dol ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.7; }
.tematy-dol a { color: var(--tekst-2); text-decoration: none; }
.tematy-dol a:hover { color: var(--zielony); text-decoration: underline; }
.tematy-dol .wszystkie { margin-top: 14px; font-size: 17px; }
.tematy-dol .wszystkie a { color: var(--zielony); font-weight: 600; }

@media (min-width: 1024px) {
  .wiedza { max-width: 1240px; margin: 0 auto; }
  .wiedza-wstep { padding: 60px 60px 10px; }
  .wiedza-wstep h1 { font-size: 64px; }
  .wiedza-wstep p { font-size: 26px; }
  .dzial { padding: 54px 60px 0; }
  .dzial h2 { font-size: 64px; }
  .dzial .podpis { font-size: 24px; }
  .tematy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
  .tematy li + li { border-top: 0; }
  .tematy li { border-bottom: 1px solid var(--linia); }
  .tematy a { grid-template-columns: 168px minmax(0, 1fr) 14px; column-gap: 22px; padding: 18px 0; }
  .tematy img { width: 168px; height: 126px; }
  .tematy .tytul { font-size: 23px; }
  .tematy .zdanie { font-size: 18px; }
  .temat { padding-top: 50px; }
  .temat h1, .dzial h2, .wiedza-wstep h1 { overflow-wrap: break-word; }
.temat h1 { font-size: 54px; }
  .temat .lead { font-size: 26px; }
  .tematy-dol { max-width: 1240px; margin: 70px auto 0; padding: 40px 60px 0; }
  .tematy-dol h2 { font-size: 30px; }
  .tematy-dol .grupy { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .tematy-dol h3 { font-size: 20px; }
  .tematy-dol ul { font-size: 18px; }
}

/* Ćwiczenie: quiz i lista (makieta temat-interaktywny-1) */
.temat .lead-krotki { margin-top: 6px; font-size: 20px; color: var(--tekst-2); }
.cwiczenie { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linia); }
.quiz-postep { display: flex; align-items: center; justify-content: space-between; font-size: 17px; color: var(--tekst-2); }
.quiz-kropki { display: flex; gap: 10px; }
.quiz-kropki i { width: 14px; height: 14px; border-radius: 50%; background: #e3e5e8; }
.quiz-kropki i.jest { background: var(--zielony); }
.quiz-wiadomosc { margin-top: 16px; padding: 16px 16px 18px; border: 1px solid var(--linia); border-radius: 16px; }
.quiz-nadawca { display: flex; align-items: center; gap: 12px; font-size: 19px; }
.quiz-awatar { width: 42px; height: 42px; border-radius: 50%; background: #9aa0a8 radial-gradient(circle at 50% 38%, #fff 0 22%, transparent 23%) ; position: relative; overflow: hidden; }
.quiz-awatar::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 30px; height: 22px; margin-left: -15px; border-radius: 50%; background: #fff; }
.quiz-tresc { margin-top: 12px; padding: 14px 16px; background: #eef0f3; border-radius: 16px 16px 16px 4px; font-size: 22px; line-height: 1.35; }
.quiz-link { color: #1a5fd0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.quiz-zdanie { margin-top: 16px; font-size: 23px; line-height: 1.35; }
.quiz-pytanie { margin-top: 22px; text-align: center; font-size: 34px; font-weight: 800; }
.quiz-odpowiedzi { display: grid; gap: 14px; margin-top: 16px; }
.quiz-przycisk, .quiz-dalej {
  width: 100%; min-height: 74px; padding: 12px 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--zielony); color: #fff; font: inherit; font-size: 24px; line-height: 1.2; font-weight: 700;
}
.quiz-przycisk:hover, .quiz-dalej:hover { background: var(--zielony-ciemny); }
.quiz-wynik { text-align: center; padding-top: 8px; }
.quiz-znak { display: block; width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; background: var(--zielony); position: relative; }
.quiz-znak::after { content: ""; position: absolute; left: 39px; top: 24px; width: 28px; height: 52px; border-right: 10px solid #fff; border-bottom: 10px solid #fff; transform: rotate(45deg); }
.quiz-wynik.zle .quiz-znak { background: #c7491f; }
.quiz-wynik.zle .quiz-znak::after { content: "!"; left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; border: 0; transform: none; display: grid; place-items: center; color: #fff; font-size: 72px; font-weight: 800; line-height: 1; }
.quiz-werdykt { margin-top: 18px; font-size: 40px; line-height: 1.05; font-weight: 800; }
.quiz-werdykt span { display: block; }
.quiz-wyjasnienie { margin-top: 14px; text-align: left; font-size: 21px; line-height: 1.45; }
.quiz-dalej { margin: 20px 0 14px; }
.quiz-wynik + .quiz-dalej + .quiz-postep { justify-content: center; gap: 16px; flex-direction: column; }

.nawyki { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linia); }
.nawyki-glowa { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.nawyki h2 { font-size: 30px; line-height: 1.08; font-weight: 800; }
.nawyki-licznik { flex: none; font-size: 30px; font-weight: 700; color: var(--zielony); }
.nawyki ul { list-style: none; margin: 10px 0 0; padding: 0; }
.nawyki li + li { border-top: 1px solid var(--linia); }
.nawyki label { display: flex; align-items: center; gap: 18px; padding: 14px 0; cursor: pointer; font-size: 21px; line-height: 1.3; }
.nawyki input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nawyki-pole { flex: none; width: 48px; height: 48px; border: 2.5px solid #b9bdc4; border-radius: 10px; position: relative; transition: background .15s, border-color .15s; }
.nawyki input:checked + .nawyki-pole { background: var(--zielony); border-color: var(--zielony); }
.nawyki input:checked + .nawyki-pole::after { content: ""; position: absolute; left: 15px; top: 6px; width: 12px; height: 24px; border-right: 5px solid #fff; border-bottom: 5px solid #fff; transform: rotate(45deg); }
.nawyki input:focus-visible + .nawyki-pole { outline: 3px solid var(--zielony); outline-offset: 3px; }

.temat .dalsze { margin-top: 26px; border-top: 1px solid var(--linia); }
.temat .dalsze .wiecej { margin-top: 0; border-bottom: 1px solid var(--linia); }
.temat .dalsze .wiecej summary { display: flex; justify-content: space-between; width: 100%; padding: 16px 0; font-size: 21px; color: var(--tekst); }
.temat .dalsze .wiecej[open] summary { font-size: 21px; }
.temat .dalsze .wiecej[open] summary::before { content: none; }
.temat .dalsze .pytania { margin-top: 0; padding-top: 0; border-top: 0; }
.temat .dalsze .pytania details { border-bottom: 0; }
.temat .dalsze .pytania .rozwiniete details { border-top: 1px solid var(--linia); }

@media (min-width: 1024px) {
  .cwiczenie { margin-top: 26px; }
  .quiz-tresc { font-size: 24px; }
  .quiz-pytanie { font-size: 42px; }
  .quiz-odpowiedzi { grid-template-columns: 1fr 1fr; }
  .quiz-werdykt { font-size: 52px; }
  .nawyki h2 { font-size: 42px; }
}
.temat .dalsze .pytania > summary::after { flex: none; width: 9px; height: 9px; margin-top: -5px; border-color: currentColor; }
.temat .dalsze .pytania[open] > summary::after { margin-top: 5px; }
.temat .dalsze .pytania > summary { align-items: center; font-weight: 600; }
