/* ==========================================================================
   Component — Section heading
   --------------------------------------------------------------------------
   Eyebrow + heading + optional lead paragraph that opens a section.
   Children use the typography role classes; this component only handles
   grouping, width and alignment.

   <header class="section-heading">
     <p class="type-eyebrow">Services</p>
     <h2 class="section-heading__title">…</h2>
     <p class="section-heading__lead">…</p>
   </header>

   The eyebrow is a <p>, never a heading, so the outline stays clean.
   WordPress: template-parts/section-heading.php
   ========================================================================== */

.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-inline-size: var(--container-narrow);
}

.section-heading__lead {
  font-size: var(--type-body-large-size);
  line-height: var(--type-body-large-leading);
  color: var(--color-text-secondary);
}

.section-heading--center {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}
