.paragraphblock hgroup:has(h1),
main hgroup {
  display: flex;
  flex-direction: column;
}

.paragraphblock hgroup:has(h1) {
  gap: var(--spacing-5);
}

.paragraphblock hgroup:has(h1):not(:last-child) {
  margin-bottom: var(--spacing-50);
}

.paragraphblock hgroup:has(h1) :first-child {
  color: var(--colors-body-brand);
  font-size: var(--heading-6);
  font-weight: 600;
  line-height: 105%;
  margin: 0 0 var(--spacing-5);
}

.paragraphblock hgroup:has(h1) :nth-child(2) {
  color: var(--colors-heading-primary);
  font-size: var(--heading-2);
  font-weight: 700;
  line-height: 95%;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

.paragraphblock .center-aligned p:only-child {
  text-wrap-style: balance;
}

.paragraphblock .button-container {
  margin-top: var(--spacing-50);
}



/* tijdelijke oplossing centreren offerte blok */

.paragraphblock.displaymode-centered:only-child .left-aligned {
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

.paragraphblock.displaymode-centered:only-child .box.left-aligned > * {
  flex: 0 1 auto;
  max-width: 100%;
}

