/* SEO landing pages (/bilety/...) */
.seo-page {
  min-height: 100%;
}
.seo-app {
  width: min(var(--app-max, 980px), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 calc(36px + var(--safe-bottom, 0px));
}
.seo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--elev-1);
}
.seo-top .brand {
  text-decoration: none;
  color: inherit;
}
.seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.92rem;
}
.seo-nav a {
  color: var(--muted);
  text-decoration: none;
}
.seo-nav a:hover { color: var(--accent); }
.seo-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.seo-crumbs a {
  color: var(--accent);
  text-decoration: none;
}
.seo-crumbs a:hover { text-decoration: underline; }
.seo-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 26px;
  box-shadow: var(--elev-1);
}
.seo-article h1 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.seo-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}
.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.seo-cta,
.seo-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
a.seo-cta.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
a.seo-cta-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 600;
}
a.seo-cta-secondary:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.seo-q-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-q-list a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-decoration: none;
  color: inherit;
}
.seo-q-list a:hover {
  border-color: #b7dccb;
  background: var(--accent-soft);
}
.seo-q-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}
.seo-q-text {
  font-size: 1rem;
  line-height: 1.4;
}
.seo-question-card {
  margin-bottom: 20px;
}
.seo-question-text {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.45;
}
.seo-figure {
  margin: 0 0 16px;
}
.seo-figure img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.seo-answers-title {
  margin: 0 0 10px;
  font-size: 1rem;
}
.seo-answers {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: seo-ans;
}
.seo-answers li {
  counter-increment: seo-ans;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.seo-answers li::before {
  content: counter(seo-ans);
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}
.seo-answers li.is-correct {
  background: var(--ok-soft);
  border-color: #b7dccb;
}
.seo-answers li.is-correct::before {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.seo-answer-text { flex: 1; line-height: 1.4; }
.seo-correct-badge {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: lowercase;
}
.seo-correct-line {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ok-soft);
  border: 1px solid #b7dccb;
}
.seo-tip {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.seo-tip h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.seo-tip p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}
.seo-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.seo-pager a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.seo-pager a:hover { text-decoration: underline; }
.seo-footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.seo-footer a {
  color: var(--accent);
  text-decoration: none;
}
.seo-footer a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .seo-top { flex-direction: column; align-items: flex-start; }
  .seo-main { padding: 18px 14px 22px; }
}
