/**
 * Scanmelabs Typography
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Noto+Sans:wght@400;500&family=JetBrains+Mono:wght@400&display=swap');

.sl-eyebrow {
  font-size: var(--sl-text-xs);
  font-weight: var(--sl-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sl-navy-light);
}

.sl-label {
  font-size: var(--sl-text-xs);
  font-weight: var(--sl-weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sl-color-text-muted);
}

.sl-text-mono {
  font-family: var(--sl-font-mono);
  font-size: var(--sl-text-sm);
}

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

.sl-text-inverse {
  color: var(--sl-color-text-inverse);
}

/* Drupal field overrides */
.field__label {
  font-size: var(--sl-text-xs);
  font-weight: var(--sl-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sl-color-text-muted);
  margin-bottom: var(--sl-space-1);
}

.field__items {
  font-size: var(--sl-text-base);
}

/* Body content typography */
.text-content h2,
.node__content h2 { font-size: var(--sl-text-xl); margin: var(--sl-space-6) 0 var(--sl-space-3); }
.text-content h3,
.node__content h3 { font-size: var(--sl-text-lg); margin: var(--sl-space-5) 0 var(--sl-space-3); }
.text-content p,
.node__content p  { margin-bottom: var(--sl-space-4); }
.text-content ul,
.node__content ul { list-style: disc; padding-left: var(--sl-space-6); margin-bottom: var(--sl-space-4); }
.text-content ol,
.node__content ol { list-style: decimal; padding-left: var(--sl-space-6); margin-bottom: var(--sl-space-4); }
.text-content li,
.node__content li { margin-bottom: var(--sl-space-2); }
.text-content table,
.node__content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sl-space-6);
  font-size: var(--sl-text-sm);
}
.text-content th,
.node__content th {
  background: var(--sl-navy-ghost);
  color: var(--sl-navy-dark);
  font-weight: var(--sl-weight-medium);
  padding: var(--sl-space-2) var(--sl-space-4);
  text-align: left;
  border-bottom: var(--sl-border);
}
.text-content td,
.node__content td {
  padding: var(--sl-space-2) var(--sl-space-4);
  border-bottom: var(--sl-border-light);
}
.text-content tr:hover td,
.node__content tr:hover td {
  background: var(--sl-gray-ghost);
}
