/**
 * Divider — atomic primitive.
 *
 * Horizontal rule. Default is a hairline neutral; the brand variant is
 * the gradient rule that recurs in deck slides and EDM section breaks.
 *
 * Markup:
 *   <hr class="ds-divider" />
 *   <hr class="ds-divider ds-divider--gradient" />
 *   <hr class="ds-divider ds-divider--strong" />
 */

.ds-divider {
  border: none;
  height: 1px;
  background: var(--ds-color-border-subtle);
  margin: var(--ds-space-lg) 0;
}

.ds-divider--strong {
  background: var(--ds-color-border-default);
}

/* The brand gradient rule — recurs in deck heroes and EDM section breaks */
.ds-divider--gradient {
  height: var(--ds-space-3xs);
  background: var(--ds-gradient-hero);
  border-radius: var(--ds-radius-pill);
}

.ds-divider--gradient.ds-divider--short {
  width: var(--ds-space-3xl);
  margin-left: 0;
  margin-right: 0;
}

.ds-divider--gradient.ds-divider--centred {
  width: var(--ds-space-3xl);
  margin-left: auto;
  margin-right: auto;
}

/* Vertical divider — for inline groups (date · time · location) */
.ds-divider--vertical {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: var(--ds-color-border-default);
  margin: 0 var(--ds-space-xs);
  vertical-align: middle;
}
