/* Section head: H2 on the left, optional link on the right (below the title on mobile). */
@layer components {
  .section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }

  .section-head__title {
    font-size: var(--type-heading-l-size);
    line-height: var(--type-heading-l-line-height);
  }

  @media (min-width: 1024px) {
    .section-head {
      flex-direction: row;
      align-items: baseline;
      justify-content: space-between;
      gap: var(--space-24);
    }

    .section-head__link {
      flex: none;
    }
  }
}
