/* SEO-страницы «Расклад Таро» — дополняет css/styles.css, не заменяет его */

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, var(--gold-bright), var(--violet), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.seo-header {
  padding-top: 1.75rem;
}

.seo-nav,
.seo-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1.3rem;
  line-height: 1.4;
}

.seo-nav a,
.seo-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.15rem;
  color: var(--text-soft);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.seo-nav a:hover,
.seo-nav a:focus-visible,
.seo-footer-nav a:hover,
.seo-footer-nav a:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.seo-nav-cta {
  color: var(--gold-bright) !important;
}

.seo-main {
  max-width: 960px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: var(--fs-caption);
  color: var(--text-soft);
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.6rem;
  color: var(--violet);
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-bright);
}

.seo-article {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(8px);
}

.seo-hero {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.seo-kicker {
  margin: 0 0 0.5rem;
  font-size: var(--fs-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.seo-article h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.18;
  color: var(--gold-bright);
  margin: 0 0 0.85rem;
}

.seo-lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.seo-actions {
  margin: 1.25rem 0 0;
}

.seo-section {
  margin-top: 2.25rem;
}

.seo-section h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.seo-section h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-tight);
  font-weight: 600;
  color: var(--gold-bright);
  margin: 1.5rem 0 0.5rem;
}

.seo-section p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-soft);
  margin: 0 0 0.9rem;
  white-space: pre-line;
}

.seo-note {
  color: var(--text-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-style: italic;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.seo-card {
  background: rgba(11, 7, 20, 0.45);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.seo-card h3 {
  display: inline;
  margin: 0;
  font-size: 1.05rem;
}

.seo-card p {
  margin: 0.25rem 0 0;
  font-size: var(--fs-caption);
  line-height: 1.5;
  color: var(--text-soft);
}

.seo-card-num {
  display: inline;
  margin-right: 0.35rem;
  color: var(--gold);
  font-family: var(--font-display);
}

.seo-card a,
.seo-link-grid a,
.seo-prevnext a,
.seo-more a {
  color: var(--gold-bright);
  text-decoration: none;
}

.seo-card a:hover,
.seo-link-grid a:hover,
.seo-prevnext a:hover,
.seo-more a:hover {
  text-decoration: underline;
}

.seo-link-grid {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.4rem 1rem;
}

.seo-link-grid li {
  position: relative;
  padding-left: 1rem;
}

.seo-link-grid li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--violet);
}

.seo-steps {
  padding-left: 1.4rem;
  color: var(--text);
}

.seo-steps li + li {
  margin-top: 0.5rem;
}

.seo-prevnext {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.seo-prevnext .seo-next {
  margin-left: auto;
  text-align: right;
}

.seo-more {
  margin-top: 2rem;
  color: var(--text-dim);
  text-align: center;
}

.seo-footer-nav {
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .seo-article {
    padding: 1.1rem;
  }

  .seo-nav {
    gap: 0.3rem 0.9rem;
    font-size: 1.3rem;
  }
}
