/* =featured post */
.block-featured-post {
	display: grid;
	background: #FFFFFF;
	box-shadow: 2px 3px 6px 0 rgba(0,0,0,0.10);
	border-radius: 6px;
	position: relative;
}

.block-featured-post p {
	margin-top: 0;
}

.block-featured-post__badge-container {
	position: absolute;
	transform: rotate(20deg);
	z-index: 1;
}

.block-featured-post__content-container{}

.block-featured-post .entry-category {
	display: inline-block;
	margin-top: 0;
	font-size: 0.75rem;
}

.block-featured-post .entry-category a {
	font-weight: 800;
	font-family: var(--wp--preset--font-family--sans-serif);
	color: var(--wp--preset--color--primary);
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
}
.block-featured-post .entry-category a:hover {
	box-shadow: none;
	color: var(--wp--custom--color--link-hover);
}

.block-featured-post__title {
	font-family: var(--wp--preset--font-family--playfair-display);
	font-weight: 800;
	line-height: var(--wp--custom--line-height--tiny);
}

.block-featured-post__excerpt {}

.block-featured-post__excerpt > *:last-child {
	margin-bottom: 0;
}

.block-featured-post .wp-block-button .wp-block-button__link {

}

.block-featured-post__image-container {
	position: relative;
	overflow: hidden;
}

.block-featured-post__image-container img {
	/* position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	object-fit: cover; */
}


@media only screen and (max-width: 767px) {
	.block-featured-post__badge-container {
		width: 158px;
		height: 158px;
		bottom: -30px;
		right: 9px;
	}

	.block-featured-post__content-container {
		padding: 24px 18px 34px;
		text-align: center;
	}

	.block-featured-post__title {
		font-size: 1.5rem;
		margin-bottom: 15px;
	}

	.block-featured-post .wp-block-button {
		margin-top: 15px;
	}

	/* Image */
	.block-featured-post__image-container {
		/* min-height: 57.86666667vw; */
	}

	.block-featured-post__image-container img {
		margin: 0 auto;
	}

}

@media only screen and (max-width: 359px) {
	/* when padding gets lower at small sizes need to adjust this */
	.block-featured-post__badge-container {
		right: 13px;
	}
}

@media only screen and (min-width: 768px) {

	.block-featured-post__badge-container {
		width: 263px;
		height: 263px;
		bottom: -30px;
		right: 21px;
	}

	.block-featured-post__content-container{
		padding: 80px 0 80px 26px;
	}

	.block-featured-post__title {
		font-size: 2rem;
		margin-bottom: 11px;
	}

	.block-featured-post {
		/* grid-template-columns: repeat(2, minmax(0,1fr) ); */
		grid-template-columns: minmax(0,1fr) 468px;
		column-gap: 32px;
		align-items: center;
	}

	.block-featured-post .wp-block-button {
		margin-top: 15px;
	}

	/* Image */
	.block-featured-post__image-container {
		height: 100%;
	}
}

@media only screen and (min-width: 1418px) {
	/* Only at large sizes can we get it sticking way out to the right to prevent horizontal scrolling */
	.block-featured-post__badge-container {
		top: 30px;
		right: -86px;
	}
}
