/* W-RealEstate Woningen — front-end layout */

.wre-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	margin: 0 0 1.5rem;
}
.wre-filters label {
	display: flex;
	flex-direction: column;
	font-size: 0.85rem;
	gap: 0.25rem;
}
.wre-filters select,
.wre-filters input {
	padding: 0.4rem 0.6rem;
}
.wre-filters button {
	padding: 0.5rem 1.2rem;
	cursor: pointer;
}

.wre-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.wre-card {
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wre-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.wre-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.wre-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
}
.wre-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wre-card__placeholder {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(45deg, #eef0f2, #eef0f2 12px, #e7e9ec 12px, #e7e9ec 24px);
}
.wre-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #fff;
	background: #555;
}
.wre-badge--huur { background: #2563eb; }
.wre-badge--koop { background: #b8860b; }

.wre-card__body { padding: 1rem; }
.wre-card__title { margin: 0 0 0.25rem; font-size: 1.05rem; line-height: 1.3; }
.wre-card__city { margin: 0 0 0.5rem; color: #6b7280; font-size: 0.9rem; }
.wre-card__price { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.1rem; }
.wre-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
	color: #4b5563;
}
.wre-card__meta .wre-status { font-weight: 600; }

.wre-empty { color: #6b7280; }

.wre-detail__specs {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}
.wre-detail__specs th,
.wre-detail__specs td {
	text-align: left;
	padding: 0.55rem 0.75rem;
	border-bottom: 1px solid #eee;
}
.wre-detail__specs th { width: 40%; color: #6b7280; font-weight: 600; }
