.page-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.page-header--hero {
    gap: var(--spacing-md);
    padding-block: var(--spacing-lg);
}

.page-header__eyebrow {
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.page-header__title {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.page-header__title--large {
    font-size: var(--font-size-xl);
}

.page-header__subtitle {
    margin: 0;
    max-width: 40rem;
    color: var(--color-on-surface-muted);
    font-size: var(--font-size-md);
}

/* Centred over a narrow column, as on the sign-in and sign-up pages. */
.page-header--centered {
    align-items: center;
    text-align: center;
}

/* A small line under what the header introduces, such as where else to go. */
.page-header__note {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-on-surface-muted);
    text-align: center;
}

/* A header with actions of its own (Approve, Suspend) at the right, beside the title and subtitle. */
.page-header--with-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.page-header__main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    min-width: 0;
}
