/* Page head for pages without a full-bleed hero (aanbod, contact, legal):
   the title and a short lead on light blue, with the SILO bar mark. */

@layer components {
  .page-head {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: var(--theme-space-lg) var(--theme-space-xl);
    background: var(--theme-color-panel);
  }

  .page-head__eyebrow {
    margin-bottom: var(--theme-space-2xs);
    font-size: var(--theme-text-xs);
    font-weight: var(--theme-weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .page-head__title {
    max-width: 18ch;
    font-size: var(--theme-text-3xl);
    font-weight: var(--theme-weight-bold);
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .page-head__lead {
    max-width: 36rem;
    margin-top: var(--theme-space-sm);
    font-size: var(--theme-text-lg);
    font-weight: var(--theme-weight-medium);
    line-height: var(--theme-leading-snug);
  }

  .page-head .bar-mark {
    opacity: 1;
    --theme-bar-mark-color: var(--theme-color-surface);
  }

  @media (width < 40rem) {
    .page-head .bar-mark {
      width: 4rem;
    }
  }
}
