/**
 * Section Divider
 *
 * A quiet transition between major article sections using an editable
 * Gutenberg heading and lines that adapt to the inherited text color.
 */
.wp-block-group.is-style-section-divider {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-block: clamp(2.5rem, 6vw, 5rem);
  padding: 0;
  gap: clamp(1rem, 3vw, 2rem);
  color: inherit;
}

.wp-block-group.is-style-section-divider::before,
.wp-block-group.is-style-section-divider::after {
  content: "";
  flex: 1 1 0;
  min-width: 1.5rem;
  height: 1px;
  background-color: rgba(127, 127, 127, .35);
  background-color: color-mix(in srgb, currentColor 24%, transparent);
}

.wp-block-group.is-style-section-divider > .wp-block-heading,
.wp-block-group.is-style-section-divider > p {
  flex: 0 1 auto;
  max-width: min(70%, 42rem);
  margin: 0;
  color: inherit;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 575.98px) {
  .wp-block-group.is-style-section-divider {
    gap: .75rem;
  }

  .wp-block-group.is-style-section-divider > .wp-block-heading,
  .wp-block-group.is-style-section-divider > p {
    max-width: 75%;
  }
}

