/* ==========================================================================
   Base Styles
   Element-level defaults and typography. No class-based utilities here.
   ========================================================================== */

body {
  font-family: var(--dq-font-family-sans);
  font-size: var(--dq-font-size-base);
  line-height: var(--dq-line-height-normal);
  color: var(--dq-text);
  background-color: var(--dq-bg);
  padding-top: 0;
}

/* ── Layout spacing beneath sticky navbar ──────────────────────────────── */

.content-below-navbar {
  padding-top: var(--dq-space-2);
  padding-bottom: var(--dq-space-4);
}

.admin-content-spacing {
  padding-top: var(--dq-space-6);
  padding-bottom: var(--dq-space-8);
}

@media (max-width: 470px) {
  .content-below-navbar {
    padding-top: var(--dq-space-1);
    padding-bottom: var(--dq-space-2);
  }
}

/* ── Typography ────────────────────────────────────────────────────────── */

h1, .h1 {
  font-size: var(--dq-font-size-4xl);
  font-weight: var(--dq-font-weight-bold);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-text-heading);
  margin-bottom: var(--dq-space-6);
}

h2, .h2 {
  font-size: var(--dq-font-size-3xl);
  font-weight: var(--dq-font-weight-semibold);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-text-heading);
  margin-bottom: var(--dq-space-5);
}

h3, .h3 {
  font-size: var(--dq-font-size-2xl);
  font-weight: var(--dq-font-weight-semibold);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-text);
  margin-bottom: var(--dq-space-4);
}

h4, .h4 {
  font-size: var(--dq-font-size-xl);
  font-weight: var(--dq-font-weight-medium);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-text);
  margin-bottom: var(--dq-space-3);
}

h5, .h5 {
  font-size: var(--dq-font-size-lg);
  font-weight: var(--dq-font-weight-medium);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-gray-700);
  margin-bottom: var(--dq-space-2);
}

h6, .h6 {
  font-size: var(--dq-font-size-base);
  font-weight: var(--dq-font-weight-medium);
  line-height: var(--dq-line-height-tight);
  color: var(--dq-gray-700);
  margin-bottom: var(--dq-space-2);
}

p {
  margin-bottom: var(--dq-space-4);
  color: var(--dq-text-muted);
}

.text-small {
  font-size: var(--dq-font-size-sm);
  line-height: var(--dq-line-height-relaxed);
}

.text-xs {
  font-size: var(--dq-font-size-xs);
  line-height: var(--dq-line-height-relaxed);
}
