/* Theme adaptation for legal content */
.terms-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.terms-content h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.terms-content h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.terms-content h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.terms-content ul,
.terms-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
}

.terms-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.terms-intro {
  background: var(--card-bg);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 2rem;
}

.last-updated {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

.section-number {
  color: var(--primary-color);
  font-weight: 700;
}

.important-notice {
  background: var(--dark-bg);
  border: 1px solid var(--primary-color);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .terms-content h1 {
    font-size: 2rem;
  }
  
  .terms-content h2 {
    font-size: 1.5rem;
  }
}