/**
 * Site-wide corrections to the Divi layouts.
 *
 * Each rule states the problem it solves, because a stylesheet of small
 * overrides is otherwise impossible to prune safely later.
 */

/* ------------------------------------------------- Equal-height cards */

/*
 * Divi sizes a group module to its own content, so a row of cards goes ragged
 * as soon as one of them has an extra line of text - which is what left the
 * "Cultural Preservation" card taller than the two beside it.
 *
 * The columns are already equal height (the row is a flex container), so
 * stretching the card to fill its column is all that is needed. Scoped to
 * :only-child so a column holding several stacked groups is left alone -
 * there, 100% each would overflow the row.
 */
.et_pb_column.et_flex_column > .et_pb_group:only-child {
	height: 100%;
}

/*
 * With the card stretched, its contents should sit from the top rather than
 * spreading out to fill the new height.
 */
.et_pb_column.et_flex_column > .et_pb_group:only-child {
	justify-content: flex-start;
}
