/* /gramatyka-od-zera — wyjaśnienia poziomu A0 + ćwiczenia inline */
.a0-stats {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.a0-breadcrumb {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.a0-group-heading {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.a0-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 1rem;
}

.a0-topic-card {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--border);
}

.a0-topic-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-text);
  letter-spacing: 0.05em;
}

.a0-topic-title {
  margin: 4px 0 2px;
  font-size: 1.05rem;
}

.a0-topic-en {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.a0-topic-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.a0-howto {
  max-width: 720px;
  line-height: 1.6;
  padding-left: 1.25rem;
}

.a0-article {
  max-width: 760px;
}

.a0-why {
  padding: 16px 20px;
  border-left: 3px solid var(--teal);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-bottom: 2rem;
}

.a0-why-title {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-text);
}

.a0-why p {
  margin: 0;
  line-height: 1.6;
}

.a0-section {
  margin-bottom: 2rem;
}

.a0-section-title {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.a0-body {
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.a0-bullets {
  padding-left: 1.25rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.a0-bullets code,
.a0-cheatsheet code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--teal-lt);
  color: var(--teal-text-strong);
  font-size: 0.92em;
}

.a0-examples {
  list-style: none;
  margin: 0;
  padding: 0;
}

.a0-examples li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-input);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 6px;
}

.a0-en {
  font-weight: 600;
}

.a0-pl {
  color: var(--fg-muted);
}

.a0-table-wrap {
  overflow-x: auto;
}

.a0-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.a0-table th,
.a0-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.a0-table th {
  background: var(--bg-alt);
}

.a0-mistakes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.a0-mistakes li {
  padding: 10px 12px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.a0-wrong {
  text-decoration: line-through;
  color: var(--error);
}

.a0-arrow {
  margin: 0 6px;
  color: var(--fg-muted);
}

.a0-right {
  color: var(--teal-text);
  font-weight: 600;
}

.a0-why-line {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.a0-cheatsheet {
  padding: 16px 20px 16px 8px;
  border-radius: var(--radius-card);
  background: var(--teal-lt);
}

.a0-cheatsheet ul {
  padding-left: 1.5rem;
  line-height: 1.8;
  margin: 0;
}

.a0-exercise {
  padding: 20px 24px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.a0-exercise-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.a0-exercise-instruction {
  margin: 0 0 1rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.a0-item {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.a0-item-label {
  margin: 0 0 8px;
  line-height: 1.5;
}

.a0-item-number {
  font-weight: 700;
  color: var(--fg-muted);
  margin-right: 4px;
}

.a0-gap {
  display: inline-block;
  min-width: 60px;
  border-bottom: 2px solid var(--teal);
}

.a0-input {
  width: 100%;
  max-width: 420px;
  padding: 9px 12px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
}

.a0-input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.a0-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.a0-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  cursor: pointer;
}

.a0-feedback {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--fg-muted);
}

.a0-feedback-ok {
  color: var(--teal-text);
  font-weight: 600;
}

.a0-feedback-bad {
  color: var(--error);
  font-weight: 600;
}

.a0-item.is-correct,
.a0-item.is-wrong {
  padding-left: 12px;
}

.a0-item.is-correct {
  border-left: 3px solid var(--teal);
}

.a0-item.is-wrong {
  border-left: 3px solid var(--error);
}

.a0-exercise-actions {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.a0-exercise-score {
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.a0-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.a0-pager-link {
  font-weight: 600;
  color: var(--teal-text);
}
