.tc-hero {
  border-bottom: 1px solid var(--gray-800);
}

.tc-breadcrumbs {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.tc-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.tc-breadcrumbs li::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--gray-600);
}

.tc-breadcrumbs li:last-child::after {
  content: "";
}

.tc-breadcrumbs a {
  color: var(--color-text-muted);
}

.tc-breadcrumbs a:hover {
  color: var(--color-primary);
}

.tc-hero-header {
  max-width: 760px;
}

.tc-hero-intro {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

.tc-meta {
  font-size: var(--font-size-sm);
}

.tc-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: var(--space-10);
}

.tc-toc {
  position: sticky;
  top: var(--space-8);
  align-self: flex-start;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}

.tc-toc-title {
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: var(--space-3);
}

.tc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tc-toc a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.tc-toc a:hover {
  color: var(--color-primary);
}

.tc-cta {
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-800);
}

.tc-cta-title {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-2);
}

.tc-content {
  max-width: 760px;
}

.tc-section {
  margin-bottom: var(--space-8);
}

.tc-section:last-of-type {
  margin-bottom: 0;
}

.tc-section h2 {
  margin-bottom: var(--space-3);
}

.tc-section ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.tc-section li {
  margin-bottom: var(--space-2);
}

.tc-related ul {
  list-style: disc;
}

.tc-related a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 214, 0, 0.7);
}

@media (max-width: 960px) {
  .tc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .tc-toc {
    padding: var(--space-4);
  }

  .tc-hero-intro {
    font-size: var(--font-size-base);
  }
}
