/* SEO guide pages — article layout */

.guide-page .app-shell {
  min-height: 100vh;
}

.guide-page .app-body {
  flex: 1;
  min-height: 100vh;
}

.guide-main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  padding: 1.25rem clamp(0.75rem, 3vw, 2rem) 2rem;
}

.guide-article {
  max-width: 42rem;
  margin: 0 auto;
}

.guide-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.guide-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.guide-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.guide-soon-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-fuchsia);
  background: rgba(232, 121, 249, 0.12);
  border: 1px solid rgba(232, 121, 249, 0.35);
}

.guide-article h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

.guide-article h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.35rem 0 0.5rem;
}

.guide-article p {
  margin-bottom: 1rem;
  color: rgba(244, 244, 248, 0.92);
}

.guide-article ul,
.guide-article ol {
  margin: 0 0 1rem 1.25rem;
  color: rgba(244, 244, 248, 0.92);
}

.guide-article li {
  margin-bottom: 0.4rem;
}

.guide-article a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-article a:hover {
  color: var(--accent-fuchsia);
}

.guide-toc {
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.guide-toc-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.guide-toc ol {
  margin: 0 0 0 1.1rem;
  font-size: 0.9rem;
}

.guide-cta {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--gradient-subtle), var(--bg-card);
}

.guide-cta h2 {
  margin-top: 0 !important;
  font-size: 1.05rem;
}

.guide-cta p {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guide-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0f;
  text-decoration: none;
  background: var(--gradient-brand);
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.35);
  transition: filter 0.2s;
}

.guide-cta-btn:hover {
  filter: brightness(1.08);
  color: #0a0a0f;
}

.guide-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.guide-related h2 {
  font-size: 1rem;
  margin-top: 0;
}

.guide-related-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-related-list a {
  font-size: 0.9rem;
}

/* Guides hub */
.guides-hub-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.guides-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-list-item {
  margin: 0;
}

.guide-list-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1.15rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.guide-list-link:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.guide-list-link:hover .guide-list-more {
  color: var(--accent-cyan);
}

.guide-list-media {
  flex: 0 0 9.5rem;
  width: 9.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  align-self: center;
}

.guide-list-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.guide-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0;
}

.guide-list-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--text);
  line-height: 1.3;
}

.guide-list-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.guide-list-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-fuchsia);
  transition: color 0.2s;
}

@media (max-width: 1023px) {
  .sidebar.sidebar--collapsed .nav-section-label {
    display: block;
  }

  .sidebar.sidebar--collapsed .nav--guides {
    display: flex;
  }
}

@media (max-width: 767px) {
  .guide-list-link {
    flex-direction: column;
    gap: 0.85rem;
  }

  .guide-list-media {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .guide-article {
    max-width: none;
  }

  .guide-main {
    padding: 0.85rem 0.35rem 1.5rem;
  }
}

.nav-section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.85rem 0.85rem 0.35rem;
  margin-top: 0.5rem;
}

.nav--guides {
  margin-top: 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.nav--guides .nav-link {
  font-size: 0.8125rem;
  padding: 0.5rem 0.85rem;
}

.nav--guides .nav-link.active {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  font-weight: 600;
  box-shadow: none !important;
}

.nav--guides .nav-link.active:hover {
  filter: none;
  color: var(--text) !important;
}

.sidebar--collapsed .nav-section-label,
.sidebar--collapsed .nav--guides {
  display: none;
}
