/**
 * Block Projects
 */

:root {
	--knd-block-events-background: transparent;
	--knd-block-events-title-color: var(--knd-color-headings);
}
.wp-block-knd-events {
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 25px;
	margin-bottom: 25px;
	background-color: var(--knd-block-events-background);

	&:not(.alignfull) .knd-container {
		padding-left: 0;
		padding-right: 0;
	}
}
.wp-block-knd-events.has-background {
	padding-left: 20px;
	padding-right: 20px
}
.wp-block-knd-events.has-background.alignfull {
	padding-top: 50px;
	padding-bottom: 50px;
	margin-top: 0;
	margin-bottom: 0;
}
.wp-block-knd-events.has-background:not(.alignfull) {
	border-radius: var(--knd-image-border-radius);
}
.the-content .wp-block-knd-events.alignfull {
	margin-left: -30px;
	margin-right: -30px;
}
@media (min-width: 1200px){
	.the-content .wp-block-knd-events.alignwide {
		margin-left: calc( ( ( var(--knd-medium-content-width) - var(--knd-content-width) ) / 2 ) * -1 );
		margin-right: calc( ( ( var(--knd-medium-content-width) - var(--knd-content-width) ) / 2 ) * -1 );
	}
	.wp-block-knd-events.has-background:not(.alignfull):not(.alignwide) {
		margin-left: -20px;
		margin-right: -20px;
	}
	.wp-block-knd-events.alignwide:not(.is-style-grid) .knd-container {
		max-width: 960px;
	}

}
@media (min-width: 768px){
	.the-content .wp-block-knd-events.alignfull {
		margin-left: calc( ( ( 100vw - var(--knd-content-width) ) / 2 ) * -1 );
		margin-right: calc( ( ( 100vw - var(--knd-content-width) ) / 2 ) * -1 );
	}
}

.wp-block-knd-events {
	.section-title {
		font-size: 24px;
		font-family: var(--knd-font-family-headings);
		color: var(--knd-color-headings);
		margin-top: 0;
		margin-bottom: 0;
	}

	.section-heading {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		flex-wrap: wrap;
		margin-bottom: 30px;
	}
}
