/* SEO-хабы ОГЭ: /oge/razbalka/, /oge/kumir/, /oge/probniki/ */

.page--oge-seo-hub .oge-seo-hub {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}

.page--oge-seo-hub.page--home {
  padding-bottom: var(--home-bottom-fixed-height);
}

.oge-seo-hub__hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.oge-seo-hub__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.oge-seo-hub__lead {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted, rgba(226, 232, 240, 0.82));
}

[data-theme="light"] .oge-seo-hub__lead {
  color: rgba(51, 65, 85, 0.88);
}

.oge-seo-hub__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(118deg, #059669, #047857);
  color: #fff;
  transition: opacity 0.2s ease;
}

.oge-seo-hub__cta:hover {
  opacity: 0.92;
}

.oge-seo-hub__section {
  margin-bottom: 2rem;
}

.oge-seo-hub__section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.oge-seo-hub__section-body {
  margin: 0;
  line-height: 1.65;
  color: var(--text-muted, rgba(226, 232, 240, 0.85));
}

[data-theme="light"] .oge-seo-hub__section-body {
  color: rgba(51, 65, 85, 0.9);
}

.oge-seo-hub__table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.oge-seo-hub__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.oge-seo-hub__table th,
.oge-seo-hub__table td {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-color, rgba(148, 163, 184, 0.25));
  text-align: left;
}

.oge-seo-hub__table th {
  font-weight: 600;
  background: rgba(5, 184, 125, 0.08);
}

.oge-seo-hub__grades {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.oge-seo-hub__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  opacity: 0.75;
}

.oge-seo-hub__task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oge-seo-hub__task-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color, rgba(148, 163, 184, 0.25));
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.oge-seo-hub__task-link:hover {
  border-color: rgba(5, 184, 125, 0.55);
  background: rgba(5, 184, 125, 0.06);
}

.oge-seo-hub__task-num {
  font-weight: 700;
  font-size: 1rem;
}

.oge-seo-hub__task-hint {
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.8;
}

.oge-seo-hub__related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oge-seo-hub__related-list a {
  color: var(--primary-color, #34d399);
  text-decoration: none;
}

.oge-seo-hub__related-list a:hover {
  text-decoration: underline;
}

.oge-seo-hub__faq-list {
  margin: 0;
}

.oge-seo-hub__faq-item {
  margin-bottom: 1.25rem;
}

.oge-seo-hub__faq-q {
  font-weight: 600;
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.oge-seo-hub__faq-a {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted, rgba(226, 232, 240, 0.85));
}

[data-theme="light"] .oge-seo-hub__faq-a {
  color: rgba(51, 65, 85, 0.9);
}

.oge-seo-hub__types-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.oge-seo-hub__types-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.oge-seo-hub__types-body {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted, rgba(226, 232, 240, 0.85));
}

.oge-seo-hub__types-link {
  text-align: center;
  margin: -0.5rem 0 1.5rem;
}

.oge-seo-hub__types-link a {
  color: var(--primary-color, #34d399);
  font-weight: 500;
  text-decoration: none;
}

.oge-seo-hub__types-link a:hover {
  text-decoration: underline;
}

.oge-seo-hub__table--compare th:first-child {
  width: 28%;
}
