/**
 * Core Columns — "Divided Columns" block style (is-style-divided-column).
 *
 * A vertical rule + inset on every column after the first, used on the People
 * results layout to separate the refine sidebar from the results without a boxy
 * card. Values mirror the theme tokens the layout was mocked with (1px gray-light
 * rule, large inset).
 *
 * The divider is dropped once the columns stack on mobile. Core stacks columns at
 * <= 781px unless the block opts out with is-not-stacked-on-mobile, so the removal
 * is scoped to match — a side-by-side (not-stacked) layout keeps its rule.
 */
.wp-block-columns.is-style-divided-column > .wp-block-column:not(:first-child) {
	border-left: 1px solid var(--wp--preset--color--gray-light);
	padding-left: var(--wp--preset--spacing--large);
}

@media (max-width: 781px) {
	.wp-block-columns.is-style-divided-column:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
		border-left: 0;
		padding-left: 0;
	}
}

/**
 * Filter Column (is-style-filter-column) — pins the refine sidebar to a fixed,
 * capped width and stops it growing, so the results column takes the remaining
 * space. Applies only side-by-side (>= 782px); below that the columns stack and
 * the sidebar goes full width.
 */
@media (min-width: 782px) {
	.wp-block-column.is-style-filter-column {
		flex-basis: min(360px, 35%) !important;
		flex-grow: 0 !important;
	}
}
