.alignleft, .alignright {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

.alignleft {
	float: left;
	margin-inline-end: 1.5em;
}

.alignright {
	float: right;
	margin-inline-start: 1.5em;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}



.entry-content {

	> .alignleft {
		margin-inline-start: calc( ( 100% - #{'min(var(--theme-block-max-width), var(--theme-container-width-base))'} ) / 2 );
	}

	> .alignright {
		margin-inline-end: calc( ( 100% - #{'min(var(--theme-block-max-width), var(--theme-container-width-base))'} ) / 2 );
	}

	.alignleft {
		margin-inline-end: var(--theme-content-spacing);
	}

	.alignright {
		margin-inline-start: var(--theme-content-spacing);
	}


	// fix for left & right alignments
	&:after {
		display: table;
		clear: both;
		content: '';
	}
}