.topic-hero-strip {
  padding: 48px 24px 36px;
  background:
    linear-gradient(120deg, rgba(15, 15, 15, 0.92), rgba(26, 26, 26, 0.85)),
    url("/images/decorative/decor_3.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.topic-hero-strip .topic-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.topic-hero-strip h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}

.topic-hero-strip .lead {
  color: var(--muted);
  max-width: 560px;
}

.topic-split {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.topic-main h2 {
  color: var(--text);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.topic-main p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.topic-main ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--muted);
}

.topic-main li {
  margin-bottom: 0.45rem;
}

.topic-rail {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
}

.topic-rail img {
  max-width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.topic-rail h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.topic-rail p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.callout-gold {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin: 1.5rem 0;
  background: rgba(201, 162, 39, 0.06);
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

@media (max-width: 800px) {
  .topic-split {
    grid-template-columns: 1fr;
  }

  .topic-rail {
    position: static;
    max-width: 100%;
  }

  .topic-rail img {
    max-width: 100%;
    max-height: 220px;
  }
}

@media (max-width: 375px) {
  .topic-hero-strip,
  .topic-split {
    padding-left: 16px;
    padding-right: 16px;
  }
}
