.dp-wc-listing-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dp-wc-listing-card:hover {
	border-color: #d0d5dd;
	box-shadow: 0 4px 16px rgba(29, 33, 40, 0.06);
}

.dp-wc-listing-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f6f7f9;
	overflow: hidden;
}

.dp-wc-listing-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dp-wc-listing-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #999;
	font-size: 13px;
}

.dp-wc-listing-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: 16px;
}

.dp-wc-listing-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.dp-wc-listing-card__title a {
	color: #1d2128;
	text-decoration: none;
}

.dp-wc-listing-card__title a:hover {
	color: var(--mt-color__primary, #1d2128);
}

.dp-wc-listing-card__excerpt {
	flex: 1;
	color: #667085;
	font-size: 13px;
	line-height: 1.5;
}

.dp-wc-listing-card__cta {
	align-self: flex-start;
	margin-top: 4px;
	color: var(--mt-color__primary, #1d2128);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.dp-wc-listing-card__cta:hover {
	text-decoration: underline;
}

/* Row layout in List view */
.drts-view-entities-row .dp-wc-listing-card {
	flex-direction: row;
	align-items: stretch;
}

.drts-view-entities-row .dp-wc-listing-card__media {
	flex: 0 0 220px;
	max-width: 220px;
	aspect-ratio: auto;
	min-height: 160px;
}

@media (max-width: 575px) {
	.drts-view-entities-row .dp-wc-listing-card {
		flex-direction: column;
	}

	.drts-view-entities-row .dp-wc-listing-card__media {
		flex: none;
		max-width: none;
		aspect-ratio: 4 / 3;
		min-height: 0;
	}
}
