.df-post-tile {
	width: 100%;
	height: 100%;
}

.df-post-tile__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.df-post-tile__media {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: #252525;
}

.df-post-tile__image {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.df-post-tile__image--placeholder {
	background: linear-gradient(135deg, #252525 0%, #3a3a3a 100%);
}

.df-post-tile__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 44.24%, rgba(0, 0, 0, 0.7) 110.36%);
	pointer-events: none;
}

.df-post-tile__meta {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--text-m-xs);
	line-height: 1.2;
}

.df-post-tile__title {
	margin: 32px 0 0;
	color: var(--wp--preset--color--white);
}

.df-post-tile__excerpt {
	margin: 16px 0 0;
	color: var(--wp--preset--color--grey);
	font-size: 18px;
	line-height: 1.4;
}

.df-post-tile__media:hover .df-post-tile__image {
	transform: scale(1.035);
}

@media (max-width: 575px) {
	.df-post-tile__media {
		aspect-ratio: 4 / 3;
	}

	.df-post-tile__meta {
		flex-wrap: wrap;
	}
}
