/* MT - Latest Listings widget (grid of listing cards — no main title) */
.ahcl {
	width: 100%;
	box-sizing: border-box;
	padding: 0px;
}
.ahcl__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}
.ahcl__grid * { box-sizing: border-box; }

/* ── Listing card (mobile.de style) ───────────────────────── */
.ahlc-card {
	background: #ffffff;
	border: 1px solid #e6e8ec;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
.ahlc-card:hover {
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
	transform: translateY(-2px);
}
.ahlc-card__media {
	position: relative;
	background: #f1f3f7;
}
.ahlc-card__media-link { display: block; width: 100%; height: 100%; }
.ahlc-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ahlc-card__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #cbd5e1;
}
.ahlc-card__ph svg { width: 46px; height: 46px; }

/* Favorite + Compare — white circle icon buttons, top-right (plugin buttons) */
.ahlc-card__actions {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	gap: 8px;
}
/* Compare shows only its icon on the cards (hide its text label). */
.ahlc-card__actions .houselist-compare-btn span { display: none; }
.ahlc-card__actions .houselist-btn,
.ahlc-card__actions .houselist-fav-btn {
	width: 40px;
	height: 40px;
	min-width: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #111827;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}
.ahlc-card__actions .houselist-btn:hover { color: #0f766e; transform: scale(1.05); }
.ahlc-card__actions .houselist-fav-btn.houselist-fav-active,
.ahlc-card__actions .houselist-compare-btn.houselist-compare-active { color: #0f766e; }
.ahlc-card__actions .houselist-fav-count { display: none; }

/* Body */
.ahlc-card__body {
	padding: 15px 17px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ahlc-card__title {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #0f172a;
	text-decoration: none;
	line-height: 1.25;
	/* Always a single row so every card lines up; longer titles are cut off with an ellipsis. */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ahlc-card__title:hover { color: #0f766e; }
.ahlc-card__price {
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin-top: -2px;
}
.ahlc-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ahlc-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f1f3f7;
	color: #374151;
	border-radius: 9px;
	padding: 5px 10px;
	font-size: 0.75rem;
	font-weight: 600;
}
.ahlc-chip svg { width: 14px; height: 14px; color: #6b7280; flex-shrink: 0; }
.ahlc-card__loc {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
	font-size: 0.78rem;
	margin-top: 2px;
}
.ahlc-card__loc svg { width: 14px; height: 14px; color: #94a3b8; flex-shrink: 0; }
