/* KumamTo Articles CSS - wspólny styl dla wszystkich artykułów */


*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --black: #111111;
  --white: #ffffff;
  --orange: #ff5f00;
  --pink: #ff82ff;
  --blue: #2800ff;
  --gray: #6c6c6c;
  --gray-light: #f0f0f0;
  --gray-mid: #d4d4d4;
}

html { scroll-behavior: smooth; scroll-padding-top: 9vw; overflow-x: hidden; }

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.2vw;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}
@media (max-width: 768px) { body { font-size: 15px; } }

p {
  font-size: 0.95em;
  line-height: 1.65;
  color: var(--gray);
  font-family: "Poppins", sans-serif;
}
a {
  color: var(--black);
  text-decoration: none;
  padding: 0 0.5em;
  margin: 0 0.5em;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}
a:hover { color: var(--orange); }

h1, h2, h3, h4 { font-family: "Poppins", sans-serif; font-weight: 600; }

/* HEADER + .cta_btn + .hamburger - WYŁĄCZNIE z css/kumamTOstyles.min.css (LP) */

/* DODATEK: zapobiegnij zawijaniu linków (mamy 10 pozycji vs 9 na LP) */
header nav ul.main_nav li a { white-space: nowrap; }
@media (max-width: 1400px) {
  header nav ul.main_nav li a { padding: 0 0.35em; margin: 0 0.25em; font-size: 0.8em; }
}
@media (max-width: 1200px) {
  header nav ul.main_nav li a { padding: 0 0.25em; margin: 0 0.15em; font-size: 0.75em; }
}

/* BREADCRUMBS */
.breadcrumbs {
  max-width: min(80vw, 1180px);
  margin: 0 auto;
  padding-top: 10vw; /* ustąp miejsca fixed header z LP (header nav { margin: 3vw } + wysokość) */
  font-size: 0.85em;
  color: var(--gray);
}
.breadcrumbs a { color: var(--gray); padding: 0; margin: 0; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span { margin: 0 0.5em; opacity: 0.6; }

/* ARTICLE HERO */
.article-hero {
  max-width: min(80vw, 1180px);
  margin: 1.5vw auto 0;
  padding-bottom: 3vw;
}
section.article-hero {
  display: block !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
}
section.article-hero .badges {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.5em;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  width: 100%;
}
section.article-hero .article-title-main {
  display: block !important;
  width: 100%;
}
section.article-hero .article-meta-bar {
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
}
.badges { display: flex; gap: 0.5em; margin-bottom: 1.5em; flex-wrap: wrap; }
.badge {
  padding: 0.45em 1em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Poppins", sans-serif;
}
.badge-orange { background: var(--orange); color: var(--white); }
.badge-pink { background: var(--pink); color: var(--black); }
.badge-gray { background: var(--gray-light); color: var(--black); }

.article-title-main {
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
  color: var(--black);
}
.article-title-main em { color: var(--orange); font-style: normal; }

.article-meta-bar {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.2em 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.85em;
  color: var(--gray);
}
.meta-divider { color: var(--gray-mid); }

/* LAYOUT */
.article-layout {
  display: grid;
  grid-template-columns: 14vw 1fr;
  gap: 4vw;
  max-width: min(80vw, 1180px);
  margin: 4vw auto 6vw;
  align-items: start;
}

/* Layout dla artykułów bez sidebar TOC */
.article-layout-single {
  display: block;
  max-width: min(86vw, 820px);
  margin: 4vw auto 6vw;
}

.toc {
  position: sticky;
  top: 9vw;
  align-self: start;
  font-size: 0.85em;
}
.toc-title {
  font-weight: 600;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
  color: var(--gray);
}
.toc ol { list-style: none; counter-reset: toc; padding: 0; }
.toc li {
  counter-increment: toc;
  margin-bottom: 0.7em;
  padding-left: 2em;
  position: relative;
  line-height: 1.4;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.85em;
}
.toc a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
  padding: 0;
  margin: 0;
  font-size: 0.95em;
}
.toc a:hover { color: var(--black); border-bottom-color: var(--gray-mid); }

/* CONTENT */
.article-content { max-width: 100%; min-width: 0; }
.article-content > * + * { margin-top: 1.4em; }

.lead {
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.5;
  color: var(--black);
  border-left: 4px solid var(--orange);
  padding-left: 1.2em;
  margin-bottom: 2em !important;
}

h2 {
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 3em !important;
  scroll-margin-top: 9vw;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  color: var(--black);
  flex-wrap: wrap;
}
h2::before {
  content: attr(data-num);
  font-size: 0.4em;
  color: var(--white);
  background: var(--orange);
  padding: 0.4em 0.8em;
  border-radius: 0.5em;
  flex-shrink: 0;
  font-weight: 700;
}
h3 {
  font-weight: 600;
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.3;
  margin-top: 2em !important;
  color: var(--black);
}

p { font-size: 1em; color: var(--gray); line-height: 1.65; }
.article-content p strong { color: var(--black); }
.article-content em { color: var(--orange); font-style: normal; font-weight: 500; }

.article-content ul,
.article-content ol {
  padding-left: 1.5em;
  color: var(--gray);
  list-style: revert;
}
.article-content ul li, .article-content ol li { margin-bottom: 0.4em; line-height: 1.65; }

/* TABELA */
.table-wrap {
  margin: 1.5em 0;
  border-radius: 1vw;
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  background: var(--white);
}
table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
th, td { padding: 0.9em 1.2em; text-align: left; border-bottom: 1px solid var(--gray-light); }
th {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gray-light); }

.formula-box {
  background: var(--gray-light);
  border-radius: 1vw;
  padding: 1.5em 1.8em;
  margin: 1.5em 0;
  text-align: center;
  border-left: 4px solid var(--orange);
}

.example {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 1.5vw;
  padding: 1.5em 1.8em;
  margin: 1.8em 0;
}
.example-header { display: flex; align-items: center; gap: 0.8em; margin-bottom: 0.8em; flex-wrap: wrap; }
.example-label {
  background: var(--pink);
  color: var(--black);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.example-title { font-weight: 600; font-size: 0.95em; color: var(--black); }
.example-body p { font-size: 1em; }

.infobox {
  border-radius: 1vw;
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  font-size: 0.95em;
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
}
.infobox-icon { font-size: 1.4em; flex-shrink: 0; line-height: 1; padding-top: 0.1em; }
.infobox-tip { background: var(--gray-light); border-left: 4px solid var(--blue); }
.infobox-warn { background: #fff5e8; border-left: 4px solid var(--orange); }
.infobox-rule { background: #ffeefb; border-left: 4px solid var(--pink); }
.infobox-strong { background: var(--black); color: var(--white); }
.infobox-strong p { color: var(--white); }
.infobox-strong strong { color: var(--orange); }
.infobox p { font-size: 1em; margin: 0; }
.infobox > div { flex: 1; }

/* === LEAD MAGNET = ta notatka jako PDF === */
.lead-magnet {
  background: var(--orange);
  color: var(--white);
  border-radius: 1.5vw;
  padding: 2em 2.5em;
  margin: 2em -6vw;  /* duży negatywny margin = box wystaje wyraźnie poza content */
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 8em;
  gap: 1.5em;
  align-items: center;
}
.lead-magnet::before {
  content: '';
  position: absolute;
  width: 16em;
  height: 16em;
  background: var(--pink);
  border-radius: 50%;
  top: -8em;
  right: -6em;
  opacity: 0.5;
  pointer-events: none;
}
.lead-magnet-text { position: relative; z-index: 2; }
.lead-magnet ul.lead-features {
  list-style: none;
  padding: 0;
  margin: 0.6em 0 1.2em;
  display: grid;
  gap: 0.45em;
}
.lead-magnet ul.lead-features li {
  color: rgba(255,255,255,0.95);
  font-size: 0.95em;
  padding-left: 1.4em;
  position: relative;
  line-height: 1.5;
}
.lead-magnet ul.lead-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1em;
}
.lead-magnet h3 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.35em;
  margin: 0 0 0.4em 0 !important;
}
.lead-magnet p { color: rgba(255,255,255,0.95); margin-bottom: 1em; }
.lead-magnet form { display: flex; gap: 0.5em; flex-wrap: wrap; }
.lead-magnet input {
  flex: 1;
  min-width: 180px;
  padding: 0.85em 1.2em;
  border: 1px solid transparent;
  border-radius: 0.75em;
  font-family: "Poppins", sans-serif;
  font-size: 0.95em;
  background: var(--white);
  color: var(--black);
}
.lead-magnet input:focus { outline: none; border-color: var(--black); }
.lead-magnet .cta_btn { margin: 0; padding: 0.85em 1.5em; }
.lead-magnet-character { position: relative; z-index: 2; }
.lead-magnet-character svg,
.lead-magnet-character img { width: 100%; }

/* === QUIZ – DOKŁADNIE jak w aplikacji kumamTO === */
.quiz-section h2::before { display: none; }
.quiz-section > p.intro { color: var(--gray); margin-bottom: 1.5em; }

/* karta zadania = phone-like w środku szarej sekcji */
/* TOPBAR */
.quiz-topbar {
  background: var(--white);
  padding: 1.2em 1.5em 0.8em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.quiz-topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quiz-back {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.6em;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: var(--black);
  flex-shrink: 0;
}
.quiz-stats {
  display: flex;
  gap: 1em;
  align-items: center;
  font-weight: 700;
  font-size: 1em;
}
.quiz-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.quiz-stat-star {
  width: 1.5em;
  height: 1.5em;
  background: #FFB400;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7em;
}
.quiz-progress {
  height: 6px;
  background: var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: #FFB400;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.quiz-progress-text {
  text-align: center;
  font-size: 0.85em;
  color: var(--gray);
  font-weight: 500;
}

/* PYTANIE */
.question-card {
  background: var(--white);
  padding: 1em 1.5em 1.5em;
  position: relative;
}
.question-label-wrap {
  text-align: center;
  margin-bottom: 1.2em;
  position: relative;
}
.question-label-wrap::before, .question-label-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--gray-light);
}
.question-label-wrap::before { left: 0; }
.question-label-wrap::after { right: 0; }
.question-label {
  display: inline-block;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  color: var(--gray);
  padding: 0.3em 1em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}
.question-text-main {
  font-size: 1em;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5em;
  line-height: 1.5;
  color: var(--black);
  padding: 0 0.5em;
}

.answers-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-bottom: 1.5em;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.95em 1.2em;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 0.75em;
  transition: all 0.2s;
  font-size: 1em;
  text-align: left;
  width: 100%;
  color: var(--black);
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.answer-option:hover { border-color: var(--orange); }
.answer-checkbox {
  width: 1.6em;
  height: 1.6em;
  border-radius: 0.4em;
  border: 1.5px solid var(--gray-mid);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--white);
  font-size: 0.9em;
  font-weight: 700;
  transition: all 0.2s;
}
.answer-option.selected {
  background: #fff5e8;
  border-color: var(--orange);
}
.answer-option.selected .answer-checkbox {
  background: var(--orange);
  border-color: var(--orange);
}

/* przycisk Sprawdź - umieszczony w szarym pasku na dole karty (jak w app) */
.quiz-bottom {
  background: var(--gray-light);
  padding: 1.2em 1.5em 1em;
}
.quiz-submit {
  background: var(--orange);
  color: var(--white);
  width: 100%;
  padding: 1.05em;
  border-radius: 0.75em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
}
.quiz-submit:hover { background: var(--black); }
.quiz-submit:disabled {
  background: var(--gray-mid);
  cursor: not-allowed;
}

/* 3 ikony akcji */
.quiz-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 1em;
  padding-top: 1em;
}
.quiz-action-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78em;
  color: var(--gray);
  cursor: pointer;
  padding: 0.5em;
  font-family: "Poppins", sans-serif;
}
.quiz-action-btn .quiz-action-icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.5em;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--white);
}
.quiz-action-btn:hover .quiz-action-icon { border-color: var(--orange); color: var(--orange); }
.quiz-action-btn:hover { color: var(--orange); }
.quiz-action-btn svg { width: 60%; height: 60%; fill: currentColor; }

/* === FEEDBACK === */
.quiz-feedback { display: none; }
.quiz-feedback.show {
  display: block;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* animacja Lottie - W TLE */
.feedback-animation-bg {
  position: relative;
  height: 280px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feedback-animation {
  width: 240px;
  height: 240px;
}

/* dolny panel z tekstem - jasnoniebieski lub jasnoróżowy */
.feedback-panel {
  padding: 1.5em;
  text-align: left;
}
.feedback-panel.success { background: #DCE7FF; }
.feedback-panel.fail { background: #FFE0E0; }

.feedback-headline {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1em;
}
.feedback-icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 1em;
}
.feedback-icon.success { background: var(--blue); }
.feedback-icon.fail { background: var(--orange); }
.feedback-text-block {
  display: flex;
  flex-direction: column;
}
.feedback-title {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.1;
}
.feedback-title.success { color: var(--blue); }
.feedback-title.fail { color: var(--orange); }
.feedback-subtitle {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 0.3em;
}

.feedback-correct {
  font-size: 0.95em;
  color: var(--black);
  margin-bottom: 0.3em;
}
.feedback-correct-value {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
  color: var(--black);
}
.feedback-next {
  width: 100%;
  padding: 1.05em;
  border-radius: 0.75em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
  color: var(--white);
}
.feedback-next.success { background: var(--blue); }
.feedback-next.success:hover { background: var(--black); }
.feedback-next.fail { background: var(--orange); }
.feedback-next.fail:hover { background: var(--black); }

/* Wyróżniona poprawna odpowiedź - duża wartość pod labelem */
.feedback-correct-wrap {
  text-align: center;
  margin: 0.4em 0 1.3em;
  padding: 0.9em 1em;
}
.feedback-correct-label {
  font-size: 0.95em;
  color: #555;
  font-weight: 500;
  margin-bottom: 0.45em;
}
.feedback-correct-value {
  font-size: 2.1em;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* === SEKCJA LABEL "── PYTANIE ──" / "── ROZWIĄZANIE ──" === */
.quiz-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 14px;
  max-width: 100%;
}
.quiz-section-label::before,
.quiz-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-mid);
  max-width: 80px;
}
.quiz-section-label > span {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
  background: var(--white);
  white-space: nowrap;
}

/* === ROZWIJANY BLOK Z ROZWIĄZANIEM (w środku karty) === */
.quiz-solution-block {
  margin: 0 auto 18px;
  padding: 0 1.5em 1em;
  animation: quizSolutionFadeIn 0.28s ease-out;
}
.quiz-solution-block[hidden] { display: none; }
.quiz-solution-content {
  text-align: center;
  font-size: 1em;
  line-height: 1.7;
  color: var(--black);
}
.quiz-solution-content p { margin: 0.6em 0; }
.quiz-solution-content p:first-child { margin-top: 0; }
.quiz-solution-content p:last-child { margin-bottom: 0; }

@keyframes quizSolutionFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === TOOLBAR Z 3 PRZYCISKAMI (Wyjaśnienie / Rozwiązanie / Sprawdź) === */
.quiz-toolbar {
  background: #F2F2F2;
  border-bottom-left-radius: 1.5em;
  border-bottom-right-radius: 1.5em;
  padding: 14px 18px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}
.quiz-toolbar-left {
  display: flex;
  gap: 10px;
  align-items: center;
}
.quiz-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 0.75em;
  font-size: 0.95em;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.quiz-toolbar-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.quiz-toolbar-explanation {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-mid);
}
.quiz-toolbar-explanation:hover {
  background: #FAFAFA;
  border-color: var(--gray);
}
/* Rozwiązanie: biały jak Wyjaśnienie. Żółty #FFB701 dopiero po kliknięciu (is-open). */
.quiz-toolbar-solution {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-mid);
}
.quiz-toolbar-solution:hover {
  background: #FAFAFA;
  border-color: var(--gray);
}
.quiz-toolbar-solution.is-open {
  background: #FFB701;
  color: var(--black);
  border-color: #FFB701;
}
.quiz-toolbar-solution.is-open:hover {
  background: #E5A400;
  border-color: #E5A400;
}
.quiz-toolbar-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.quiz-toolbar-text { line-height: 1; }

.quiz-toolbar .quiz-submit {
  margin: 0;
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 0.75em;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.18s;
}
.quiz-toolbar .quiz-submit:hover:not(:disabled) {
  background: var(--black);
  transform: translateY(-1px);
}
.quiz-toolbar .quiz-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* zablokowane pytania */
.quiz-locked {
  background: var(--white);
  border: 2px dashed var(--gray-mid);
  border-radius: 1.5vw;
  text-align: center;
  padding: 2.5em 2em;
  margin: 1.5em auto 0;
  max-width: 480px;
}
.quiz-locked .lock-icon { font-size: 2.5em; margin-bottom: 0.5em; display: block; }
.quiz-locked .question-num {
  font-weight: 600;
  font-size: 0.75em;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
}
.quiz-locked p { color: var(--gray); margin-bottom: 1.2em; max-width: 38ch; margin-left: auto; margin-right: auto; }
.quiz-locked .cta_btn { background: var(--orange); color: var(--white); padding: 0.95em 1.8em; }
.quiz-locked .cta_btn:hover { background: var(--black); color: var(--white); }

/* (Stara duolingo-style reguła usunięta - quiz został przepisany na nowy system) */

/* PAYWALL – w stylu aplikacji kumamTO, jak ekran sukcesu z postacią */
.quiz-paywall {
  display: none;
  background: var(--white);
  border-radius: 1.5vw;
  margin-bottom: 1.5em;
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-paywall.active { display: block; }

/* Górna część paywalla z postacią - jak feedback w aplikacji */
.paywall-hero {
  position: relative;
  height: 280px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.paywall-character {
  width: 240px;
  height: 240px;
}
.paywall-character svg,
.paywall-character img { width: 100%; height: 100%; }

/* Dolny pomarańczowy panel - jak feedback success/fail ale w brandowym pomarańczu */
.quiz-paywall-body {
  background: var(--orange);
  color: var(--white);
  padding: 1.8em 1.5em 1.5em;
  position: relative;
  overflow: hidden;
}
.quiz-paywall-body::before {
  content: '';
  position: absolute;
  width: 16em;
  height: 16em;
  background: var(--pink);
  border-radius: 50%;
  top: -8em;
  right: -6em;
  opacity: 0.4;
  pointer-events: none;
}
.quiz-paywall-body > * { position: relative; z-index: 2; }

.quiz-paywall-headline {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 0.8em;
}
.quiz-paywall-headline-icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1em;
}
.quiz-paywall-title {
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.1;
  color: var(--white);
}
.quiz-paywall-subtitle {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-top: 0.3em;
}

.quiz-paywall-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em 0;
}
.quiz-paywall-perks li {
  padding-left: 1.8em;
  position: relative;
  margin-bottom: 0.5em;
  font-size: 0.9em;
  color: var(--white);
}
.quiz-paywall-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  background: var(--white);
  color: var(--orange);
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  text-align: center;
  line-height: 1.3em;
  font-size: 0.7em;
  font-weight: 700;
}

.quiz-paywall-cta {
  background: var(--black);
  color: var(--white);
  width: 100%;
  padding: 1.05em;
  border-radius: 0.75em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
  display: block;
  text-align: center;
  text-decoration: none;
  margin: 0;
}
.quiz-paywall-cta:hover { background: var(--white); color: var(--orange); }
.quiz-paywall-secondary {
  font-size: 0.8em;
  color: rgba(255,255,255,0.85);
  margin-top: 0.8em;
  text-align: center;
}
.quiz-paywall-secondary a {
  color: var(--white);
  padding: 0;
  margin: 0;
  font-weight: 700;
  text-decoration: underline;
}

/* FAQ */
details.faq {
  background: var(--gray-light);
  border-radius: 1vw;
  margin-bottom: 0.7em;
  overflow: hidden;
  transition: background 0.2s;
}
details.faq summary {
  padding: 1.1em 1.4em;
  cursor: pointer;
  font-weight: 600;
  font-size: 1em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  color: var(--black);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-size: 1.5em;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  font-weight: 400;
  transition: transform 0.2s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq[open] { background: var(--white); border: 1px solid var(--gray-mid); }
.faq-content { padding: 0 1.4em 1.2em; font-size: 0.95em; color: var(--gray); }

/* CTA COURSE */
.cta-course {
  background: var(--black);
  color: var(--white);
  border-radius: 1.5vw;
  padding: 2.5em;
  margin: 3em 0 2em;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 12em;
  gap: 2em;
  align-items: center;
}
.cta-course::after {
  content: '';
  position: absolute;
  width: 18em;
  height: 18em;
  background: var(--pink);
  border-radius: 50%;
  bottom: -10em;
  right: -8em;
  opacity: 0.4;
  pointer-events: none;
}
.cta-course > * { position: relative; z-index: 2; }
.cta-course h2 {
  color: var(--white);
  margin-top: 0 !important;
  margin-bottom: 0.4em;
  font-size: clamp(22px, 2.2vw, 36px);
}
.cta-course h2::before { display: none; }
.cta-course p { color: rgba(255,255,255,0.85); margin-bottom: 1.5em; }
.cta-course ul { padding-left: 0; list-style: none; margin-bottom: 1.5em; color: rgba(255,255,255,0.95); }
.cta-course li {
  padding-left: 2em;
  position: relative;
  margin-bottom: 0.6em;
  font-size: 0.95em;
}
.cta-course li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  background: var(--orange);
  color: var(--white);
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  text-align: center;
  line-height: 1.4em;
  font-size: 0.7em;
  font-weight: 700;
}
.cta-course .cta_btn { background: var(--orange); color: var(--white); padding: 1em 2em; font-size: 1em; margin: 0; }
.cta-course .cta_btn:hover { background: var(--pink); color: var(--black); }
.cta-course .small { font-size: 0.75em; color: rgba(255,255,255,0.6); margin-top: 0.7em; }
.cta-course-character svg,
.cta-course-character img { width: 100%; }

/* RELATED */
.related { margin-top: 5em; padding-top: 3em; border-top: 1px solid var(--gray-mid); }
section.related {
  display: block !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
}
section.related .related-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)) !important;
  gap: 1em;
  align-items: stretch;
  width: 100%;
}
.related h2 {
  margin-top: 0 !important;
  font-size: clamp(22px, 1.8vw, 30px);
  margin-bottom: 1.5em;
}
.related h2::before { display: none; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1em;
  align-items: stretch;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 1vw;
  padding: 1.2em 1.4em;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100%;
}
.related-card .badge { font-size: 0.65em; align-self: flex-start; }
.related-card h3 {
  font-size: 1em;
  margin-top: 0.7em !important;
  line-height: 1.3;
  color: var(--black);
  flex: 1;
}
.related-card:hover {
  border-color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.hl-pink { background: linear-gradient(transparent 60%, var(--pink) 60%); padding: 0 0.15em; }

/* FOOTER */
footer {
  background-color: var(--gray-light);
  padding: 3vw 5vw;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2vw;
  align-items: start;
}
footer > div { min-width: 0; }
footer .start_logo { margin: 0; padding: 0; display: block; }
footer .start_logo img,
footer .start_logo svg { width: 10vw; min-width: 120px; max-width: 160px; }
footer .start_logo:hover {
  filter: brightness(0) saturate(100%) invert(43%) sepia(86%) saturate(2895%) hue-rotate(2deg) brightness(108%) contrast(102%);
}
footer ul li { line-height: 2.2em; }
footer ul li a { font-size: 0.875em; margin: 0; padding: 0; color: var(--black); }
footer ul li a:hover { color: var(--orange); }
.footer-h {
  font-size: 0.78em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 0.6em;
}
.social-row { display: flex; gap: 0.6em; margin-top: 0.5em; align-items: center; flex-wrap: wrap; }
.social-row a {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: all 0.3s;
}
.social-row a:hover { background: var(--orange); }
.social-row a svg { width: 50%; height: 50%; fill: currentColor; }
.contact-link { font-size: 0.85em; display: block; margin-top: 0.8em; }
.copyright {
  flex: 1 1 100%;
  border-top: 1px solid var(--gray-mid);
  padding-top: 1.5em;
  margin-top: 1em;
  font-size: 0.78em;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5em;
}

.lead-magnet-character img,
.paywall-character img,
.cta-course-character img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE - kluczowe dla mobile
   Na mobile: WSZYSTKIE vw zamieniam na px/em
   ============================================ */

/* Tablet / małe laptopy poniżej 1100px - HEADER z LP CSS */
@media (max-width: 1100px) {
  body { font-size: 15px; }
  
  .article-hero, .breadcrumbs { max-width: 92vw; }
  .article-layout { max-width: 92vw; }
  .article-layout-single { max-width: 92vw; }
  }

/* Mobile - HEADER z LP CSS */
@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.5; }
  
  /* BREADCRUMBS */
  .breadcrumbs { 
    padding-top: 100px; 
    max-width: calc(100vw - 24px);
    font-size: 13px;
  }
  
  /* HERO ARTYKUŁU */
  .article-hero { 
    max-width: calc(100vw - 24px);
    padding-bottom: 24px;
  }
  .article-title-main {
    font-size: 32px;
    line-height: 1.1;
  }
  .article-meta-bar { 
    font-size: 13px; 
    gap: 12px;
    padding: 12px 0;
  }
  .meta-divider { display: none; }
  
  /* LAYOUT artykułu */
  .article-layout { 
    grid-template-columns: 1fr; 
    max-width: calc(100vw - 24px);
    gap: 20px; 
    margin: 24px auto 40px;
  }
  .article-layout-single {
    max-width: calc(100vw - 24px);
    margin: 24px auto 40px;
  }
  .toc { 
    position: static; 
    background: var(--gray-light); 
    border-radius: 12px; 
    padding: 20px;
    font-size: 14px;
  }
  
  /* TREŚĆ */
  .article-content > * + * { margin-top: 16px; }
  .lead { font-size: 16px; padding-left: 14px; margin-bottom: 24px !important; }
  h2 { 
    font-size: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 36px !important;
  }
  h2::before { font-size: 12px; padding: 4px 8px; }
  h3 { font-size: 18px; margin-top: 24px !important; }
  p { font-size: 15px; }
  
  /* TABELA */
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  
  /* FORMULA / EXAMPLE / INFOBOX - wszystkie zaokrąglenia px na mobile */
  .formula-box { padding: 16px; border-radius: 12px; margin: 16px 0; }
  .example { padding: 18px; border-radius: 14px; margin: 20px 0; }
  .infobox { padding: 14px 16px; border-radius: 12px; margin: 16px 0; font-size: 14px; }
  
  /* LEAD MAGNET */
  .lead-magnet { 
    grid-template-columns: 1fr; 
    padding: 20px;
    border-radius: 16px;
    gap: 16px;
  }
  .lead-magnet-character { display: none; }
  .lead-magnet h3 { font-size: 18px; }
  .lead-magnet p { font-size: 14px; }
  .lead-magnet form { flex-direction: column; }
  .lead-magnet input { width: 100%; min-width: 0; }
  .lead-magnet .cta_btn { width: 100%; }
  
  /* CTA COURSE */
  .cta-course { 
    grid-template-columns: 1fr; 
    padding: 24px 20px;
    border-radius: 16px;
    gap: 0;
  }
  .cta-course-character { display: none; }
  .cta-course h2 { font-size: 22px; }
  .cta-course p { font-size: 14px; }
  .cta-course li { font-size: 14px; }
  
  /* === QUIZ === */
  .quiz-section > p.intro { font-size: 14px; margin-bottom: 16px; }
  .quiz-topbar { 
    padding: 14px 16px 10px;
    gap: 8px;
  }
  .quiz-back {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .quiz-stats { gap: 12px; font-size: 15px; }
  .quiz-progress { height: 6px; }
  .quiz-progress-text { font-size: 13px; }
  
  .question-card { padding: 14px 16px 16px; }
  .question-label-wrap { margin-bottom: 16px; }
  .question-label-wrap::before, .question-label-wrap::after { width: 25%; }
  .question-label { font-size: 11px; padding: 4px 12px; }
  .question-text-main { 
    font-size: 16px; 
    padding: 0;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .answers-list { gap: 8px; margin-bottom: 16px; }
  .answer-option { 
    padding: 14px 16px; 
    font-size: 15px;
    border-radius: 12px;
    gap: 12px;
  }
  .answer-checkbox { width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
  
  .quiz-bottom { padding: 14px 16px 12px; }
  .quiz-submit { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  .quiz-actions { 
    margin-top: 12px;
    padding-top: 12px;
    gap: 0;
  }
  .quiz-action-btn { font-size: 11px; padding: 4px; gap: 4px; }
  .quiz-action-btn .quiz-action-icon { 
    width: 36px; 
    height: 36px; 
    border-radius: 10px;
  }
  
  /* FEEDBACK */
  .feedback-animation-bg { height: 200px; }
  .feedback-animation { width: 180px; height: 180px; }
  .feedback-panel { padding: 20px 16px; }
  .feedback-headline { gap: 12px; margin-bottom: 14px; }
  .feedback-icon { width: 36px; height: 36px; font-size: 16px; }
  .feedback-title { font-size: 18px; }
  .feedback-subtitle { font-size: 11px; }
  .feedback-correct { font-size: 14px; }
  .feedback-correct-value { font-size: 22px; margin-bottom: 14px; }
  .feedback-correct-wrap { padding: 12px 8px; margin: 0.3em 0 1em; }
  .feedback-correct-label { font-size: 13px; }
  .feedback-correct-wrap .feedback-correct-value { font-size: 28px; margin-bottom: 0; }
  .feedback-next { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  
  /* === Quiz Toolbar mobile === */
  .quiz-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }
  .quiz-toolbar-left {
    width: 100%;
    gap: 8px;
  }
  .quiz-toolbar-left .quiz-toolbar-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 10px;
    font-size: 0.88em;
    border-radius: 10px;
  }
  .quiz-toolbar .quiz-submit {
    padding: 13px 16px;
    font-size: 1em;
    border-radius: 12px;
  }
  .quiz-toolbar-icon { width: 16px; height: 16px; }
  
  /* === Quiz section labels mobile === */
  .quiz-section-label {
    margin: 20px auto 12px;
    gap: 10px;
  }
  .quiz-section-label::before,
  .quiz-section-label::after { max-width: 40px; }
  .quiz-section-label > span {
    font-size: 0.65em;
    padding: 4px 12px;
    letter-spacing: 0.14em;
  }
  
  /* === Quiz solution block mobile === */
  .quiz-solution-block {
    padding: 0 0.8em 0.6em;
    margin-bottom: 12px;
  }
  .quiz-solution-content { font-size: 0.95em; line-height: 1.65; }
  
  /* PAYWALL */
  .quiz-paywall { 
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .paywall-hero { height: 220px; }
  .paywall-character { width: 200px; height: 200px; }
  .quiz-paywall-body { padding: 24px 18px 20px; }
  .quiz-paywall-headline { gap: 12px; margin-bottom: 14px; }
  .quiz-paywall-headline-icon { width: 36px; height: 36px; font-size: 16px; }
  .quiz-paywall-title { font-size: 18px; }
  .quiz-paywall-subtitle { font-size: 11px; }
  .quiz-paywall-perks li { font-size: 14px; padding-left: 26px; }
  .quiz-paywall-perks li::before { width: 18px; height: 18px; line-height: 18px; font-size: 10px; }
  .quiz-paywall-cta { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  .quiz-paywall-secondary { font-size: 13px; }
  
  /* FAQ */
  details.faq summary { padding: 14px 16px; font-size: 15px; }
  details.faq summary::after { font-size: 22px; }
  .faq-content { padding: 0 16px 14px; font-size: 14px; }
  
  /* RELATED */
  .related { margin-top: 40px; padding-top: 24px; }
  .related h2 { font-size: 22px; margin-bottom: 18px; }
  .related-grid { gap: 10px; }
  .related-card { padding: 16px; border-radius: 12px; }
  
  /* FOOTER */
  footer { 
    padding: 24px 18px; 
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  footer > div { 
    min-width: 0;
  }
  footer .start_logo img,
footer .start_logo svg { 
    width: 130px; 
    min-width: 130px;
    max-width: 130px;
  }
  .footer-h { font-size: 12px; }
  footer ul li a { font-size: 14px; }
}

/* Bardzo małe telefony */
@media (max-width: 500px) {
  body { font-size: 15px; }
  
  .article-title-main { font-size: 28px; }
  h2 { font-size: 22px; }
  h2::before { font-size: 11px; padding: 3px 7px; }
  
  /* Footer 1 kolumna */
  footer { grid-template-columns: 1fr; }
  footer > div { min-width: 0; }
  footer .start_logo img,
footer .start_logo svg { width: 120px; min-width: 120px; max-width: 120px; }
  .copyright { flex-direction: column; }
  
  /* Quiz - jeszcze ciaśniej */
  .question-text-main { font-size: 15px; }
  .answer-option { padding: 12px 14px; font-size: 14px; }
  
  /* Stats - mniejsze na bardzo wąskich */
  .quiz-stats { gap: 10px; font-size: 14px; }
  .quiz-stat-star { width: 22px; height: 22px; font-size: 11px; }
  
  /* Quiz actions - 3 ikony muszą się zmieścić */
  .quiz-actions { padding-top: 10px; }
  .quiz-action-btn { font-size: 10px; }
  .quiz-action-btn .quiz-action-icon { width: 32px; height: 32px; }
  
  /* Paywall hero mniejszy */
  .paywall-hero { height: 180px; }
  .paywall-character { width: 160px; height: 160px; }
  
  /* Lead magnet */
  .lead-magnet { padding: 16px; }
  .lead-magnet h3 { font-size: 16px; }
  
  /* CTA course */
  .cta-course { padding: 20px 16px; }
  .cta-course h2 { font-size: 20px; }
}

/* === SEO upgrades === */
/* Answer block - AI Overview citation block po każdym H2 */
.answer-block {
  background: linear-gradient(135deg, #fff5ee 0%, #fff0fb 100%);
  border-left: 4px solid var(--orange, #ff5f00);
  border-radius: 0 12px 12px 0;
  padding: 1em 1.4em;
  margin: 1em 0 1.6em;
}
.answer-block p {
  margin: 0;
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1.55;
  color: #222;
}

/* Bio redakcji - EEAT */
.author-bio {
  background: var(--white, #fff);
  border: 1px solid var(--gray-mid, #e5e5e5);
  border-radius: 1.5vw;
  padding: 1.6em 1.8em;
  margin: 2.5em 0 1.5em;
}
.author-bio-inner {
  display: flex;
  gap: 1.4em;
  align-items: flex-start;
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ff5f00 0%, #ff82ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.author-bio-content {
  flex: 1;
}
.author-bio-label {
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #888;
  margin-bottom: 4px;
}
.author-bio-name {
  font-size: 1.25em;
  font-weight: 800;
  margin: 0 0 0.5em;
  color: #111;
}
.author-bio-desc {
  font-size: 0.95em;
  line-height: 1.55;
  color: #333;
  margin: 0 0 0.8em;
}
.author-bio-meta {
  font-size: 0.82em;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
}
.author-bio-divider { opacity: 0.5; }
@media (max-width: 600px) {
  .author-bio-inner { flex-direction: column; gap: 1em; }
  .author-bio-avatar { width: 48px; height: 48px; font-size: 22px; }
}





/* ===== SEO additions: AUTHOR BIO + ANSWER BLOCK ===== */
.author-bio {
  background: #FAF7F2;
  border: 2px solid var(--black, #111);
  border-radius: 1.5vw;
  padding: 1.5em 1.8em;
  margin: 3em 0 2em;
  box-shadow: 4px 4px 0 var(--black, #111);
}
.author-bio-inner {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}
.author-bio-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2.5px solid var(--black, #111);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--black, #111);
}
.author-bio-avatar svg { width: 100%; height: 100%; display: block; }
.author-bio-text { flex: 1; min-width: 0; }
.author-bio-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange, #ff5f00);
  margin-bottom: 0.4em;
}
.author-bio-text h3 { margin: 0 0 0.5em; font-size: 1.15em; font-weight: 800; }
.author-bio-text p { margin: 0 0 0.9em; font-size: 0.95em; line-height: 1.55; color: #333; }
.author-bio-meta {
  font-size: 0.82em;
  color: #666;
  display: flex;
  gap: 0.6em;
  flex-wrap: wrap;
  font-weight: 500;
}
.author-bio-meta .meta-divider { opacity: 0.4; }
@media (max-width: 600px) {
  .author-bio-inner { flex-direction: column; align-items: center; text-align: center; }
}

.answer-block {
  background: linear-gradient(90deg, rgba(255, 95, 0, 0.06), rgba(255, 130, 255, 0.04));
  border-left: 4px solid var(--orange, #ff5f00);
  padding: 1em 1.3em;
  margin: 1em 0 1.5em;
  border-radius: 0.4em;
  font-size: 1.02em;
  line-height: 1.6;
  font-weight: 500;
  color: #222;
}
.answer-block strong { color: var(--orange, #ff5f00); font-weight: 700; }
/* ===== /SEO additions ===== */


/* === SEO: answer blocks i author bio === */
.answer-block {
  background: linear-gradient(135deg, #ffe8f5 0%, #fff0e8 100%);
  border-left: 4px solid #ff5f00;
  border-radius: 12px;
  padding: 1.1em 1.4em;
  margin: 1em 0 1.6em;
  font-size: 0.97em;
  line-height: 1.65;
  color: #1a1a1a;
}
.author-bio {
  background: white;
  border: 2px solid #111;
  border-radius: 16px;
  padding: 1.6em 1.8em;
  margin: 3em 0 2em;
  display: flex;
  gap: 1.4em;
  align-items: flex-start;
  box-shadow: 4px 4px 0 #111;
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5f00 0%, #ff82ff 100%);
  border: 2px solid #111;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: 800;
}
.author-bio-content { flex: 1; }
.author-bio-name {
  font-size: 1.05em;
  font-weight: 800;
  margin: 0 0 0.3em 0;
  letter-spacing: -0.01em;
}
.author-bio-desc {
  font-size: 0.92em;
  line-height: 1.6;
  color: #444;
  margin: 0 0 0.7em 0;
}
.author-bio-meta {
  font-size: 0.82em;
  color: #888;
  font-weight: 500;
}
.author-bio-meta strong { color: #555; }
@media (max-width: 600px) {
  .author-bio { flex-direction: column; }
}
/* answer-block-styles-added */

/* ============ FEATURES SEO/UX ============ */

/* === TRYB PRZED SPRAWDZIANEM === */
.exam-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.2em;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(255,53,0,0.3);
  margin: 0.5em 0;
}
.exam-toggle:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,53,0,0.4); }
.exam-toggle .icon { font-size: 1.1em; }
.exam-toggle .text-on { display: none; }
body.exam-mode .exam-toggle { background: var(--black); }
body.exam-mode .exam-toggle .text-off { display: none; }
body.exam-mode .exam-toggle .text-on { display: inline; }

/* W trybie egzaminu: ukryj rzeczy oznaczone data-exam-hide */
body.exam-mode [data-exam-hide] { display: none !important; }
body.exam-mode .lead-magnet,
body.exam-mode .diagnostic-quiz,
body.exam-mode .mistakes-quiz-section,
body.exam-mode .author-bio,
body.exam-mode .related-section,
body.exam-mode .quiz-section,
body.exam-mode .answer-block { display: none !important; }
body.exam-mode .infobox { display: block; }

/* Pokazuj tryb-banner gdy egzamin */
.exam-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 0.8em 1.2em;
  text-align: center;
  font-weight: 700;
  font-size: 0.9em;
  border-bottom: 3px solid var(--orange);
}
body.exam-mode .exam-banner { display: block; }
.exam-banner .exit-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-left: 1em;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font);
}

/* === DIAGNOSTYCZNY QUIZ === */
.diagnostic-quiz {
  background: linear-gradient(135deg, #fff7f2, #ffeee0);
  border: 2px solid var(--orange);
  border-radius: 1.5vw;
  padding: 2em 2.2em;
  margin: 2em 0;
  position: relative;
}
.diagnostic-quiz::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2em;
  right: 2em;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  border-radius: 4px 4px 0 0;
}
.diagnostic-quiz .dq-header {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 0.8em;
}
.diagnostic-quiz .dq-badge {
  background: var(--orange);
  color: var(--white);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.diagnostic-quiz h3 {
  margin: 0;
  font-size: 1.4em;
  color: var(--black);
}
.diagnostic-quiz .dq-intro {
  font-size: 0.95em;
  color: #555;
  margin: 0.3em 0 1.5em 0;
}
.dq-question {
  margin: 1.2em 0;
  padding: 1em 1.2em;
  background: var(--white);
  border-radius: 0.8em;
  border: 1px solid #eee;
}
.dq-question p {
  margin: 0 0 0.8em 0;
  font-weight: 600;
  font-size: 1.05em;
}
.dq-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.dq-option {
  flex: 1 1 45%;
  padding: 0.7em 1em;
  background: #f8f8f8;
  border: 2px solid #eee;
  border-radius: 0.6em;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font);
  font-size: 0.95em;
  text-align: left;
  color: var(--black);
}
.dq-option:hover { background: #fff; border-color: var(--orange); transform: translateY(-1px); }
.dq-option.correct { background: #d4edda; border-color: #28a745; color: #155724; }
.dq-option.wrong { background: #f8d7da; border-color: #dc3545; color: #721c24; }
.dq-feedback {
  display: none;
  margin-top: 0.8em;
  padding: 0.8em 1em;
  border-radius: 0.6em;
  font-size: 0.9em;
}
.dq-feedback.show { display: block; }
.dq-feedback.correct { background: #d4edda; color: #155724; }
.dq-feedback.wrong { background: #fff3cd; color: #856404; }
.dq-feedback a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}
.dq-summary {
  display: none;
  margin-top: 1.5em;
  padding: 1.2em 1.4em;
  background: var(--black);
  color: var(--white);
  border-radius: 0.8em;
  text-align: center;
  font-size: 1.05em;
}
.dq-summary.show { display: block; }
.dq-summary .score {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 0.4em;
}

/* === MINI-QUIZ BŁĘDÓW === */
.mistake-question:hover { background: #ffe8e8; }
.mistake-card.opened .mistake-wrong-label {
  display: inline-block;
  background: #dc3545;
  color: white;
  padding: 0.2em 0.7em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}
.mistake-text {
  font-family: var(--font);
  font-size: 1em;
  color: var(--black);
  line-height: 1.5;
}
.mistake-card.opened .mistake-card.opened .mistake-why {
  margin-bottom: 0.8em;
  font-size: 0.95em;
  color: #666;
  font-style: italic;
}
.mistake-correct {
  padding: 0.9em 1.1em;
  background: #d4edda;
  border-left: 4px solid #28a745;
  border-radius: 0.4em;
  font-size: 0.95em;
  color: #155724;
}
.mistake-correct strong { color: #0f5132; }

/* === LEAD MAGNET – POBIERZ PDF === */
.lead-magnet a.pdf-download {
  display: inline-block;
  margin-top: 0.6em;
  padding: 0.7em 1.3em;
  background: var(--white);
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.95em;
  transition: transform 0.15s ease;
}
.lead-magnet a.pdf-download:hover { transform: translateY(-2px); }

/* Mobile */
@media (max-width: 720px) {
  .dq-options { flex-direction: column; }
  .dq-option { flex: 1 1 100%; }
}


/* === LEAD MAGNET v2 – CTA do platformy === */
.lead-magnet .lead-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  margin-top: 1em;
}
.lead-magnet .cta_btn-primary {
  background: var(--white) !important;
  color: var(--orange) !important;
  font-weight: 800;
}
.lead-magnet .cta_btn-primary:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}
.lead-magnet .cta_btn-ghost {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
  font-weight: 700;
}
.lead-magnet .cta_btn-ghost:hover {
  background: var(--white) !important;
  color: var(--orange) !important;
}
.lead-magnet .lead-note {
  margin-top: 1em !important;
  font-size: 0.85em;
  opacity: 0.85;
  font-style: italic;
}



/* === SECTION === */


/* === FIX KUMAMTO ARTYKUŁY === */

/* 1. Linki w treści - bez paddingu z menu */
.article-content a, .faq-content a, .lead a, p a, .related-card,
.lead-magnet a, .lead-magnet-text a {
  padding: 0;
  margin: 0;
}

/* 2. Lead magnet - centered + 720px */
.lead-magnet,
.article-content .lead-magnet {
  display: block !important;
  width: 100% !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 2.5em !important;
  margin-bottom: 2.5em !important;
  padding: 2em 2.2em !important;
  box-sizing: border-box !important;
  position: relative !important;
  grid-template-columns: none !important;
}
.lead-magnet-character {
  display: none !important;
}

.lead-magnet h3 { font-size: 1.5em !important; margin-bottom: 0.6em; }
.lead-magnet p { margin-bottom: 0.8em; line-height: 1.5; }

/* 3. CTA buttony w lead-magnet - prawdziwy duży przycisk */
.lead-magnet .cta_btn,
.lead-magnet .cta_btn-primary,
.lead-magnet .cta_btn-ghost {
  display: inline-block !important;
  padding: 0.95em 1.8em !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1em;
  line-height: 1;
  margin: 0.3em 0.4em 0.3em 0 !important;
  transition: transform 0.15s ease;
}
.lead-magnet .cta_btn-primary {
  background: var(--white);
  color: var(--orange);
}
.lead-magnet .cta_btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.lead-magnet .cta_btn:hover { transform: translateY(-2px); }

.lead-magnet .lead-note {
  margin-top: 1.2em !important;
  font-size: 0.85em;
  opacity: 0.9;
  font-style: normal !important;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 1em;
}

/* 4. Related cards - jeden klikalny blok (nie 2 linki) */
.related-card {
  display: block !important;
  padding: 1.5em 1.6em !important;
  background: var(--gray-light);
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--black) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.related-card h3 {
  margin: 0 0 0.5em 0 !important;
  font-size: 1.1em;
  color: var(--black);
}
.related-card p {
  margin: 0 !important;
  font-size: 0.92em;
  color: var(--gray);
  line-height: 1.5;
}
.related-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2em;
  margin-top: 1.5em;
}

/* 5. Infobox icon - okrąg z tłem, prawidłowy rozmiar */
.article-content .infobox {
  padding: 1.4em 1.6em;
  display: flex;
  gap: 1em;
  align-items: center;
  border-radius: 14px;
}
.article-content .infobox .infobox-icon {
  font-size: 1.6em !important;
  width: 2.6em !important;
  height: 2.6em !important;
  min-width: 2.6em;
  max-width: 2.6em;
  flex: 0 0 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 0, 255, 0.1);
  border-radius: 50%;
}
.article-content .infobox > div:last-child { flex: 1; }
.article-content .infobox h4 { margin: 0 0 0.5em 0; }
.article-content .infobox ul { margin: 0; }

/* 6. Mobile responsive */
@media (max-width: 768px) {
  .lead-magnet { padding: 1.5em 1.4em !important; margin: 1.5em auto !important; }
  .lead-magnet h3 { font-size: 1.25em !important; }
  .lead-magnet .cta_btn { width: 100%; text-align: center; margin: 0.3em 0 !important; }
}


/* === SECTION === */


/* CTA buttony - łagodne zaokrąglenie 1em (NIE pill 999px), tak jak Sprawdź się */
.lead-magnet .cta_btn,
.lead-magnet .cta_btn-primary,
.lead-magnet .cta_btn-ghost {
  border-radius: 1em !important;
}

/* Menu: hamburger na średnim ekranie (≤1024px) - z działającym otwieraniem */
@media (max-width: 1024px) {
  header ul.main_nav { display: none !important; }
  header ul.main_nav.open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    margin-top: 8px;
    z-index: 100;
  }
  header ul.main_nav.open li { width: 100%; padding: 8px 0; list-style: none; }
  header ul.main_nav.open li a { padding: 8px 0; display: block; margin: 0; font-size: 16px; }
  header ul.main_nav.open .cta_btn { margin-top: 8px; width: 100%; margin-left: 0; padding: 12px 16px; text-align: center; }
  .hamburger { display: flex !important; }
  header nav { max-width: 92vw; margin: 14px auto 0; position: relative; }
}


/* === SECTION === */


/* MENU CTA "Testuj za darmo" - własny styling (nie nadpisany przez lead-magnet) */
header .cta_btn,
header nav .cta_btn,
header .header_login_register .cta_btn {
  padding: 0.65em 1.2em !important;
  border-radius: 1em !important;
  font-size: 0.875em !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* Hover dla menu CTA */
header .cta_btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ===========================================
   ZADANIA INTERAKTYWNE - prosty system pytań
   =========================================== */

.quiz-option:hover:not(:disabled) {
  background: var(--white);
  border-color: var(--blue);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  }


/* ====== QUIZ INTERAKTYWNY (styl LP "Sprawdź się") ====== */
.ks-quiz-container {
  max-width: 100%;
  margin: 2em auto 1em;
  font-family: 'Poppins', sans-serif;
}
.ks-quiz-intro {
  text-align: center;
  margin-bottom: 1.4em;
}
.ks-quiz-intro h2 {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: #111;
}
.ks-quiz-intro p {
  color: #6c6c6c;
  font-size: 0.95em;
  margin: 0;
}
.ks-quiz-wrap {
  background: #f5f5f5;
  border-radius: 24px;
  padding: 18px 16px;
}
.quiz-card {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: none;
}
.quiz-card.active { display: block; }
.quiz-topbar {
  background: #fff;
  padding: 16px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-progress-text {
  text-align: center;
  font-size: 13px;
  color: #6c6c6c;
  font-weight: 500;
}
.quiz-progress {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: #FFB400;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.question-card {
  background: #fff;
  padding: 14px 18px 18px;
}
.question-label-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.question-label {
  display: inline-block;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #6c6c6c;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.question-text-main {
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.45;
  color: #111;
  padding: 0;
}
.answers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #d4d4d4;
  border-radius: 16px;
  transition: all 0.18s;
  font-size: 15px;
  text-align: left;
  width: 100%;
  color: #111;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.answer-option:hover { border-color: #ff5f00; }
.answer-option.selected {
  background: #fff5e8;
  border-color: #ff5f00;
}
.quiz-bottom {
  background: #f5f5f5;
  padding: 14px 18px 14px;
}
.quiz-submit {
  background: #ff5f00;
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}
.quiz-submit:hover { background: #111; }
.quiz-submit:disabled {
  background: #d4d4d4;
  cursor: not-allowed;
}
.quiz-feedback { display: none; }
.quiz-feedback.show {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.feedback-panel {
  padding: 20px 18px;
  text-align: left;
}
.feedback-panel.success { background: #DCE7FF; }
.feedback-panel.fail { background: #FFE0E0; }
.feedback-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.feedback-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.feedback-icon.success { background: #2800ff; }
.feedback-icon.fail { background: #dc2626; }
.feedback-text-block { display: flex; flex-direction: column; }
.feedback-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}
.feedback-title.success { color: #2800ff; }
.feedback-title.fail { color: #dc2626; }
.feedback-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin-top: 4px;
}
.feedback-correct {
  font-size: 14px;
  color: #111;
  margin: 14px 0 4px;
}
.feedback-correct-value {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}
.feedback-explain {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}
.feedback-explain strong { color: #ff5f00; }
.feedback-next {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  transition: background 0.2s;
}
.feedback-next.success { background: #2800ff; }
.feedback-next.success:hover { background: #111; }
.feedback-next.fail { background: #dc2626; }
.feedback-next.fail:hover { background: #111; }
.quiz-end {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  display: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.quiz-end.active { display: block; }
.quiz-end-icon {
  font-size: 48px;
  margin-bottom: 8px;
}
.quiz-end-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}
.quiz-end-text {
  color: #6c6c6c;
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.ks-quiz-wrap .quiz-end-cta,
a.quiz-end-cta {
  display: inline-block;
  background: #ff5f00 !important;
  color: #fff !important;
  padding: 14px 28px !important;
  margin: 0 !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}
.ks-quiz-wrap .quiz-end-cta:hover,
a.quiz-end-cta:hover { background: #111 !important; }


/* ====== QUIZ INTERAKTYWNY (styl z LP) ====== */

/* ====== ORYGINALNE STYLE UŻYTKOWNIKA Z PROCENTY-KLASA-8 ====== */


.quiz-card {
  background: #ffffff;
  border-radius: 1.5vw;
  margin-bottom: 1.5em;
  overflow: hidden;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.quiz-topbar {
  background: #ffffff;
  padding: 1.2em 1.5em 0.8em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.quiz-topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-back {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.6em;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  color: #111111;
  flex-shrink: 0;
}

.quiz-progress {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: #FFB400;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-progress-text {
  text-align: center;
  font-size: 0.85em;
  color: #6c6c6c;
  font-weight: 500;
}

.question-card {
  background: #ffffff;
  padding: 1em 1.5em 1.5em;
  position: relative;
}

.question-label-wrap {
  text-align: center;
  margin-bottom: 1.2em;
  position: relative;
}

.question-label-wrap::before, .question-label-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #f0f0f0;
}

.question-label-wrap::before {
  left: 0;
}

.question-label-wrap::after {
  right: 0;
}

.question-label {
  display: inline-block;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #6c6c6c;
  padding: 0.3em 1em;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.question-text-main {
  font-size: 1em;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5em;
  line-height: 1.5;
  color: #111111;
  padding: 0 0.5em;
}

.answers-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-bottom: 1.5em;
}

.answer-option {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.95em 1.2em;
  background: #ffffff;
  border: 1.5px solid #d4d4d4;
  border-radius: 0.75em;
  transition: all 0.2s;
  font-size: 1em;
  text-align: left;
  width: 100%;
  color: #111111;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

.answer-option:hover {
  border-color: #ff5f00;
}

.answer-checkbox {
  width: 1.6em;
  height: 1.6em;
  border-radius: 0.4em;
  border: 1.5px solid #d4d4d4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  transition: all 0.2s;
}

.answer-option.selected {
  background: #fff5e8;
  border-color: #ff5f00;
}

.answer-option.selected .answer-checkbox {
  background: #ff5f00;
  border-color: #ff5f00;
}

.quiz-bottom {
  background: #f0f0f0;
  padding: 1.2em 1.5em 1em;
}

.quiz-submit {
  background: #ff5f00;
  color: #ffffff;
  width: 100%;
  padding: 1.05em;
  border-radius: 0.75em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
}

.quiz-submit:hover {
  background: #111111;
}

.quiz-submit:disabled {
  background: #d4d4d4;
  cursor: not-allowed;
}

.quiz-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 1em;
  padding-top: 1em;
}

.quiz-action-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78em;
  color: #6c6c6c;
  cursor: pointer;
  padding: 0.5em;
  font-family: "Poppins", sans-serif;
}

.quiz-action-btn .quiz-action-icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.5em;
  border: 1.5px solid #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  background: #ffffff;
}

.quiz-action-btn:hover .quiz-action-icon {
  border-color: #ff5f00; color: #ff5f00;
}

.quiz-action-btn:hover {
  color: #ff5f00;
}

.quiz-action-btn svg {
  width: 60%; height: 60%; fill: currentColor;
}

.quiz-feedback {
  display: none;
}

.quiz-feedback.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.feedback-animation-bg {
  position: relative;
  height: 280px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feedback-animation {
  width: 240px;
  height: 240px;
}

.feedback-panel {
  padding: 1.5em;
  text-align: left;
}

.feedback-panel.success {
  background: #DCE7FF;
}

.feedback-panel.fail {
  background: #FFE0E0;
}

.feedback-headline {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1em;
}

.feedback-icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 1em;
}

.feedback-icon.success {
  background: #2800ff;
}

.feedback-icon.fail {
  background: #dc2626;
}

.feedback-text-block {
  display: flex;
  flex-direction: column;
}

.feedback-title {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.1;
}

.feedback-title.success {
  color: #2800ff;
}

.feedback-title.fail {
  color: #dc2626;
}

.feedback-subtitle {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  margin-top: 0.3em;
}

.feedback-correct {
  font-size: 0.95em;
  color: #111111;
  margin-bottom: 0.3em;
}

.feedback-correct-value {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
  color: #111111;
}

.feedback-next {
  width: 100%;
  padding: 1.05em;
  border-radius: 0.75em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s;
  color: #ffffff;
}

.feedback-next.success {
  background: #2800ff;
}

.feedback-next.success:hover {
  background: #111111;
}

.feedback-next.fail {
  background: #dc2626;
}

.feedback-next.fail:hover {
  background: #111111;
}

.quiz-card {
  display: none;
}

.quiz-card.active {
  display: block;
}

@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.5; }
  
  
  header nav { 
    max-width: calc(100vw - 24px);
    margin: 12px auto 0;
    padding: 12px 14px;
    border-radius: 14px;
  }
  header .start_logo { margin: 0; }
  header .start_logo img,
header .start_logo svg { width: 100px; min-width: 100px; max-width: 100px; }
  header ul.main_nav { display: none; }
  header ul.main_nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111111;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    margin-top: 8px;
    z-index: 100;
  }
  header ul.main_nav.open li { width: 100%; padding: 8px 0; list-style: none; }
  header ul.main_nav.open li a { padding: 8px 0; display: block; margin: 0; font-size: 16px; }
  header ul.main_nav.open .cta_btn { margin-top: 8px; width: 100%; margin-left: 0; padding: 12px; }
  .hamburger { display: flex; }
  
  
  .breadcrumbs { 
    padding-top: 100px; 
    max-width: calc(100vw - 24px);
    font-size: 13px;
  }
  
  
  .article-hero { 
    max-width: calc(100vw - 24px);
    padding-bottom: 24px;
  }
  .article-title-main {
    font-size: 32px;
    line-height: 1.1;
  }
  .article
  .meta-divider { display: none; }
  
  
  .article-layout { 
    grid-template-columns: 1fr; 
    max-width: calc(100vw - 24px);
    gap: 20px; 
    margin: 24px auto 40px;
  }
  .toc { 
    position: static; 
    background: #f0f0f0; 
    border-radius: 12px; 
    padding: 20px;
    font-size: 14px;
  }
  
  
  .article-content > * + * { margin-top: 16px; }
  .lead { font-size: 16px; padding-left: 14px; margin-bottom: 24px !important; }
  h2 { 
    font-size: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 36px !important;
  }
  h2::before { font-size: 12px; padding: 4px 8px; }
  h3 { font-size: 18px; margin-top: 24px !important; }
  p { font-size: 15px; }
  
  
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  
  
  .formula-box { padding: 16px; border-radius: 12px; margin: 16px 0; }
  .example { padding: 18px; border-radius: 14px; margin: 20px 0; }
  .infobox { padding: 14px 16px; border-radius: 12px; margin: 16px 0; font-size: 14px; }
  
  
  .lead-magnet { 
    grid-template-columns: 1fr; 
    padding: 20px;
    border-radius: 16px;
    gap: 16px;
  }
  .lead-magnet-character { display: none; }
  .lead-magnet h3 { font-size: 18px; }
  .lead-magnet p { font-size: 14px; }
  .lead-magnet form { flex-direction: column; }
  .lead-magnet input { width: 100%; min-width: 0; }
  .lead-magnet .cta_btn { width: 100%; }
  
  
  .cta-course { 
    grid-template-columns: 1fr; 
    padding: 24px 20px;
    border-radius: 16px;
    gap: 0;
  }
  .cta-course-character { display: none; }
  .cta-course h2 { font-size: 22px; }
  .cta-course p { font-size: 14px; }
  .cta-course li { font-size: 14px; }
  
  
  .quiz-section { 
    padding: 24px 16px; 
    border-radius: 16px;
    margin: 32px 0;
  }
  .quiz-section h2 { font-size: 22px; }
  .quiz-section > p.intro { font-size: 14px; margin-bottom: 16px; }
  .quiz-card { 
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .quiz-topbar { 
    padding: 14px 16px 10px;
    gap: 8px;
  }
  .quiz-back {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .quiz-stats { gap: 12px; font-size: 15px; }
  .quiz-progress { height: 6px; }
  .quiz-progress-text { font-size: 13px; }
  
  .question-card { padding: 14px 16px 16px; }
  .question-label-wrap { margin-bottom: 16px; }
  .question-label-wrap::before, .question-label-wrap::after { width: 25%; }
  .question-label { font-size: 11px; padding: 4px 12px; }
  .question-text-main { 
    font-size: 16px; 
    padding: 0;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .answers-list { gap: 8px; margin-bottom: 16px; }
  .answer-option { 
    padding: 14px 16px; 
    font-size: 15px;
    border-radius: 12px;
    gap: 12px;
  }
  .answer-checkbox { width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
  
  .quiz-bottom { padding: 14px 16px 12px; }
  .quiz-submit { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  .quiz-actions { 
    margin-top: 12px;
    padding-top: 12px;
    gap: 0;
  }
  .quiz-action-btn { font-size: 11px; padding: 4px; gap: 4px; }
  .quiz-action-btn .quiz-action-icon { 
    width: 36px; 
    height: 36px; 
    border-radius: 10px;
  }
  
  
  .feedback-animation-bg { height: 200px; }
  .feedback-animation { width: 180px; height: 180px; }
  .feedback-panel { padding: 20px 16px; }
  .feedback-headline { gap: 12px; margin-bottom: 14px; }
  .feedback-icon { width: 36px; height: 36px; font-size: 16px; }
  .feedback-title { font-size: 18px; }
  .feedback-subtitle { font-size: 11px; }
  .feedback-correct { font-size: 14px; }
  .feedback-correct-value { font-size: 22px; margin-bottom: 14px; }
  .feedback-next { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  
  
  .quiz-paywall { 
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .paywall-hero { height: 220px; }
  .paywall-character { width: 200px; height: 200px; }
  .quiz-paywall-body { padding: 24px 18px 20px; }
  .quiz-paywall-headline { gap: 12px; margin-bottom: 14px; }
  .quiz-paywall-headline-icon { width: 36px; height: 36px; font-size: 16px; }
  .quiz-paywall-title { font-size: 18px; }
  .quiz-paywall-subtitle { font-size: 11px; }
  .quiz-paywall-perks li { font-size: 14px; padding-left: 26px; }
  .quiz-paywall-perks li::before { width: 18px; height: 18px; line-height: 18px; font-size: 10px; }
  .quiz-paywall-cta { 
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
  }
  .quiz-paywall-secondary { font-size: 13px; }
  
  
  details.faq summary { padding: 14px 16px; font-size: 15px; }
  details.faq summary::after { font-size: 22px; }
  .faq-content { padding: 0 16px 14px; font-size: 14px; }
  
  
  .related { margin-top: 40px; padding-top: 24px; }
  .related h2 { font-size: 22px; margin-bottom: 18px; }
  .related-grid { gap: 10px; }
  .related-card { padding: 16px; border-radius: 12px; }
  
  
  footer { 
    padding: 24px 18px; 
    gap: 20px;
  }
  footer > div { 
    flex: 1 1 45%; 
    min-width: 140px;
  }
  footer .start_logo img,
footer .start_logo svg { 
    width: 130px; 
    min-width: 130px;
    max-width: 130px;
  }
  .footer-h { font-size: 12px; }
  footer ul li a { font-size: 14px; }
}

@media (max-width: 500px) {
  body { font-size: 15px; }
  
  .article-title-main { font-size: 28px; }
  h2 { font-size: 22px; }
  h2::before { font-size: 11px; padding: 3px 7px; }
  
  
  footer > div { flex: 1 1 100%; }
  footer .start_logo img,
footer .start_logo svg { width: 120px; min-width: 120px; max-width: 120px; }
  .copyright { flex-direction: column; }
  
  
  .quiz-section { padding: 20px 12px; }
  .question-text-main { font-size: 15px; }
  .answer-option { padding: 12px 14px; font-size: 14px; }
  
  
  .quiz-stats { gap: 10px; font-size: 14px; }
  .quiz-stat-star { width: 22px; height: 22px; font-size: 11px; }
  
  
  .quiz-actions { padding-top: 10px; }
  .quiz-action-btn { font-size: 10px; }
  .quiz-action-btn .quiz-action-icon { width: 32px; height: 32px; }
  
  
  .paywall-hero { height: 180px; }
  .paywall-character { width: 160px; height: 160px; }
  
  
  .lead-magnet { padding: 16px; }
  .lead-magnet h3 { font-size: 16px; }
  
  
  .cta-course { padding: 20px 16px; }
  .cta-course h2 { font-size: 20px; }
}


/* ====== KONIEC QUIZ ====== */


/* === Lottie animations w quizach === */
.feedback-anim-success, .feedback-anim-fail {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.feedback-animation-bg {
  background: transparent !important;
  height: 220px !important;
  padding: 1em 0 0;
}

/* ============================================================
   FINAL OVERRIDE - wymuszone style które MUSZĄ wygrać z LP CSS
   ============================================================ */
.lead-magnet a.cta_btn-primary,
.lead-magnet a.cta_btn.cta_btn-primary {
  background: #ffffff !important;
  color: #ff5f00 !important;
  border: none !important;
}
.lead-magnet a.cta_btn-primary:hover,
.lead-magnet a.cta_btn.cta_btn-primary:hover {
  background: #111 !important;
  color: #ffffff !important;
}
.lead-magnet a.cta_btn-ghost,
.lead-magnet a.cta_btn.cta_btn-ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}
.lead-magnet a.cta_btn-ghost:hover,
.lead-magnet a.cta_btn.cta_btn-ghost:hover {
  background: #ffffff !important;
  color: #ff5f00 !important;
}

/* ============================================================
   FINAL OVERRIDE 2 - mocniejsze wymuszenia (LP CSS przebija!)
   ============================================================ */

/* "Co dalej?" - tytuł NAD kartami */
html body section.related,
body section.related {
  display: block !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
}
html body section.related .related-grid,
body section.related .related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1em !important;
  width: 100% !important;
}
@media (max-width: 900px) {
  html body section.related .related-grid,
  body section.related .related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  html body section.related .related-grid,
  body section.related .related-grid {
    grid-template-columns: 1fr !important;
  }
}

/* FOOTER - FLEX z wrap (mocniejsze niż grid - LP CSS nie przebija) */
html body footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 2.5vw !important;
  align-items: flex-start !important;
  padding: 3vw 5vw !important;
}
html body footer > div {
  flex: 1 1 14em !important;
  min-width: 12em !important;
  max-width: none !important;
}
html body footer > div:first-child {
  flex: 1.4 1 16em !important;
}
html body footer > .copyright {
  flex: 1 1 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1px solid var(--gray-mid) !important;
  padding-top: 1.5em !important;
  margin-top: 1em !important;
  flex-wrap: wrap !important;
  gap: 1em !important;
}
html body footer .social-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6em !important;
  flex-wrap: wrap !important;
  margin-top: 0.5em !important;
  margin-bottom: 0.8em !important;
}
html body footer .social-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body footer .footer-h {
  white-space: nowrap !important;
}

/* LEAD MAGNET - symetrycznie szerszy (NIE przesunięty w lewo) */
.article-layout .lead-magnet {
  margin-left: -8vw !important;
  margin-right: -8vw !important;
}
@media (max-width: 1100px) {
  .article-layout .lead-magnet {
    margin-left: -2vw !important;
    margin-right: -2vw !important;
  }
}
