.topic-writer-cta {
  max-width: 900px;
  margin: 22px auto;
  padding: 18px 20px;
  border: 1px solid var(--border, rgba(15, 23, 42, .14));
  background: var(--secondary, #f7f7f8);
  color: var(--foreground, #0b0f19);
  text-align: center;
}

.topic-writer-cta h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 20px;
  line-height: 1.3;
}

.topic-writer-cta a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--primary, #f00000);
  border-radius: 999px;
  background: var(--primary, #f00000);
  color: var(--primary-foreground, #fff);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.topic-writer-cta a:hover { filter: brightness(.92); }

/* Shared project-topic visual theme */
.site-header {
  background: var(--background) !important;
  border-bottom-color: var(--border) !important;
}

.desktop-nav a {
  color: var(--muted-foreground) !important;
}

.desktop-nav a:hover {
  color: var(--foreground) !important;
}

.menu-toggle {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--foreground) !important;
}

.menu-toggle:hover {
  background: transparent !important;
  color: var(--primary) !important;
}

.menu-toggle .ic {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.intro {
  background: var(--background) !important;
  color: var(--foreground) !important;
}

.hub-intro {
  background: var(--background) !important;
  color: var(--foreground) !important;
}

.intro .page-hero-slide,
.intro .page-hero-overlay,
.hub-intro .page-hero-slide,
.hub-intro .page-hero-overlay {
  display: none !important;
}

.intro h1 {
  color: var(--primary) !important;
  font-size: 36px !important;
  line-height: 1.12 !important;
}

.hub-intro h1 {
  color: var(--primary) !important;
  font-size: 36px !important;
  line-height: 1.12 !important;
}

.intro p,
.intro-copy,
.breadcrumb {
  color: var(--muted-foreground) !important;
}

.intro p,
.intro-copy {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.section-intro,
.topic-group ol,
.guide p,
.guide-block p,
.guide-block ul,
.guide-block ol,
.step-card p,
.step-card ul,
.step-card ol,
.faq details p {
  font-size: 15px !important;
}

.hub-intro .btn-ghost {
  color: var(--foreground) !important;
  border-color: var(--border) !important;
}

.intro .breadcrumb,
.intro .eyebrow,
.hub-intro .breadcrumb,
.hub-intro .eyebrow {
  display: none !important;
}

.breadcrumb a:hover {
  color: var(--foreground) !important;
}

.writer-cta h2 {
  color: var(--foreground) !important;
}

.section-heading,
.faq h2,
.guide h2,
.topic-group h3,
.guide-block h3,
.step-card h3 {
  color: var(--primary) !important;
}

.topic-grid {
  display: block !important;
}

.topic-grid .topic-group {
  padding: 0 !important;
  margin: 0 0 32px !important;
  border: 0 !important;
  background: transparent !important;
}

.topic-grid .topic-group:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .intro h1,
  .hub-intro h1 {
    font-size: 32px !important;
  }
}
