/* Global styles for markdown content */

.spec-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.spec-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.spec-content h4 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.spec-content p {
  margin-bottom: 1rem;
}

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

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

.spec-content code {
  background: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: var(--font-mono, 'Monaco', monospace);
  font-size: 0.9em;
}

.spec-content pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.spec-content pre code {
  background: transparent;
  padding: 0;
}

.spec-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #666;
  font-style: italic;
}

.spec-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.spec-content th,
.spec-content td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.spec-content th {
  background: #f5f5f5;
  font-weight: 600;
}

.spec-content a {
  color: #0066cc;
  text-decoration: none;
}

.spec-content a:hover {
  text-decoration: underline;
}

.spec-content hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}
