/* Shared page headings, not form controls or feature-specific layouts. */
.page-shell {
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
}

.section-heading {
  align-items: start;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.section-heading > div:first-child {
  flex: 1 1 24rem;
  min-width: 0;
}

.section-heading > .button-row {
  flex: 0 1 auto;
  align-self: end;
}

.section-heading h1,
.item-detail-heading h1 {
  max-width: none;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.section-heading .lede {
  margin-bottom: 0;
}

.section-heading > .button {
  flex-shrink: 0;
}

@media (max-width: 34rem) {
  .section-heading > div:first-child {
    flex-basis: auto;
  }
  .section-heading > .button-row {
    align-self: stretch;
  }
}
