/* Horizontal Image Box Bootstrap v5 */

:where(.rspbld-horizontal-image-box) {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

:where(.rspbld-horizontal-image-box .rspbld-content-container) {
	display: flex;
	flex-flow: column;
	gap: 1rem;
	justify-content: center;
	align-items: flex-start;
}

:where(.rspbld-horizontal-image-box.text-center .rspbld-content-container) {
	align-items: center;
}

:where(.rspbld-horizontal-image-box.text-right .rspbld-content-container) {
	align-items: flex-end;
}

:where(.rspbld-horizontal-image-box:has(.rspbld-image.float-right) .rspbld-image) {
	order: 2;
}

@media (min-width: 1200px) {
	:where(.rspbld-horizontal-image-box .rspbld-image) {
		flex: 1;
	}

	:where(.rspbld-horizontal-image-box .rspbld-content-container) {
		flex: 2;
	}
}