/* PURPOSE: Divisor horizontal / vertical / con texto en el centro.
   KEY CLASSES: .separator, .separator-vertical, .separator-horizontal, .separator-with-label
   DEPENDS ON: --hg-color-dark-grey, --hg-color-middle-grey, --hg-spacing-12, --hg-typo-font-family-primary-regular, --hg-typo-font-size-12 (config).
   DEMO: dist/componentes.html#separator */

.separator {
  flex-shrink: 0;
  background: var(--hg-color-middle-grey);
  border: 0;
  margin: 0;
}

/* Horizontal (default) */
.separator,
.separator-horizontal {
  width: 100%;
  height: 1px;
}

/* Vertical */
.separator-vertical {
  width: 1px;
  height: 100%;
  min-height: 1em;
  align-self: stretch;
}

/* Variante con texto en el medio */
.separator-with-label {
  display: flex;
  align-items: center;
  gap: var(--hg-spacing-12);
  width: 100%;
  height: auto;
  background: transparent;
  font-family: var(--hg-typo-font-family-primary-regular);
  font-size: var(--hg-typo-font-size-12, 12px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hg-color-dark-grey);
}

.separator-with-label::before,
.separator-with-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hg-color-middle-grey);
}
