/* ==========================================================================
   ZELSEPTIK TYPOGRAPHY
   File: typography.css
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-extra-bold);
  line-height: var(--line-height-heading);
  color: var(--color-secondary);
}

h1 {
  font-size: clamp(2rem, 5vw, var(--font-size-4xl));
  line-height: var(--line-height-tight);
}

h2 {
  font-size: clamp(1.75rem, 4vw, var(--font-size-3xl));
}

h3 {
  font-size: clamp(1.375rem, 3vw, var(--font-size-2xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

.text-lead {
  font-size: var(--font-size-md);
  line-height: var(--line-height-loose);
  color: var(--color-text-muted);
}

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

.text-small {
  font-size: var(--font-size-sm);
}

.text-caption {
  font-size: var(--font-size-xs);
  line-height: 1.4;
  color: var(--color-text-light);
}

/* SEO / article content */

.content {
  max-width: var(--container-narrow);
}

.content h2 {
  margin-top: var(--space-2xl);
}

.content h3 {
  margin-top: var(--space-xl);
}

.content p,
.content ul,
.content ol {
  margin-bottom: var(--space-lg);
}

.content a {
  text-decoration: underline;
}

.content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-secondary);
  font-weight: var(--font-weight-medium);
}

.content table {
  margin: var(--space-xl) 0;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.content th,
.content td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--color-bg-muted);
  font-weight: var(--font-weight-bold);
}

.content tr:last-child th,
.content tr:last-child td {
  border-bottom: 0;
}