/*
 * Section Header block — structural section marker with optional step numbering and metadata.
 * Visual tokens come from the active EggBlocks theme.
 */

.cegg5-container .eggb-block .eggb-sh-title,
.cegg5-container .eggb-block h1.eggb-sh-title,
.cegg5-container .eggb-block h2.eggb-sh-title,
.cegg5-container .eggb-block h3.eggb-sh-title,
.cegg5-container .eggb-block h4.eggb-sh-title,
.cegg5-container .eggb-block h5.eggb-sh-title,
.cegg5-container .eggb-block h6.eggb-sh-title {
  margin: 0;
  padding: 0;
  max-width: none;
  color: var(--eggb-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: var(--eggb-sh-title-weight, 700);
  line-height: 1.15;
}

.eggb-sh-title {
  font-weight: inherit;
  line-height: inherit;
}

.eggb-section-header--default {
  --eggb-sh-title-weight: 700;
}

.eggb-sh-subtitle {
  color: var(--eggb-text-muted);
}

.eggb-section-header--accent {
  --eggb-sh-title-weight: 700;
  border-left: 3px solid color-mix(in srgb, var(--eggb-accent) 40%, transparent);
  padding-left: 0.875rem;
}

.eggb-sh-step-label {
  font-size: var(--eggb-text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eggb-accent);
}

.eggb-section-header--editorial {
  --eggb-sh-title-weight: 700;
  border-bottom: var(--eggb-border-w) solid color-mix(in srgb, var(--eggb-border) 85%, transparent);
  padding-bottom: 0.875rem;
}

.eggb-sh-kicker {
  font-size: var(--eggb-text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eggb-accent);
}

.eggb-section-header--editorial .eggb-sh-title {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.eggb-sh-meta {
  font-size: var(--eggb-text-xs);
  color: var(--eggb-text-muted);
  line-height: 1.5;
}
