/*
Theme Name: NHmakelaar
Theme URI: https://nhmakelaar.nl
Author: BitBeam
Description: Real-estate child theme for NHmakelaar on Flow Track.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: bb-nhmakelaar
Template: bb-printshop-flowtrack
*/

:root {
	--primary: #0f4c81;
	--secondary: #10b981;
	--accent: #f59e0b;
	--dark: #111827;
	--light: #f3f4f6;
	--radius: 0.5rem;
}

body {
	font-family: Inter, system-ui, sans-serif;
}

header.site-header {
	background: var(--primary);
}

header .site-title a {
	color: #fff;
}

.offer-toggle {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.offer-toggle a {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 2px solid var(--primary);
	border-radius: var(--radius);
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.offer-toggle a.active,
.offer-toggle a:hover {
	background: var(--primary);
	color: #fff;
}

.bb-municipality-counters {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0.75rem;
}

.bb-municipality-counters li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius);
	background: #fff;
}

.bb-municipality-counters .city-name {
	font-weight: 600;
}

.bb-municipality-counters .city-counts a {
	color: var(--primary);
	text-decoration: none;
	font-size: 0.875rem;
}

.bb-municipality-counters .city-counts a:hover {
	text-decoration: underline;
}

.bb-municipality-counters .sep {
	color: #9ca3af;
	margin: 0 0.35rem;
}

.property-card {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.property-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.property-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.property-card-body {
	padding: 1rem;
}

.property-card h2 {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
}

.property-card h2 a {
	color: var(--dark);
	text-decoration: none;
}

.property-card h2 a:hover {
	color: var(--primary);
}

.property-card .property-status {
	color: #6b7280;
	font-size: 0.875rem;
	margin: 0 0 0.5rem;
}

.property-card .price {
	color: var(--secondary);
	font-weight: 700;
	font-size: 1.125rem;
	margin: 0 0 0.5rem;
}

.property-card .meta {
	color: #6b7280;
	margin: 0;
	font-size: 0.875rem;
}

.property-detail .property-status {
	color: var(--primary);
	font-weight: 600;
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.property-detail .price {
	color: var(--secondary);
	font-weight: 700;
	font-size: 1.5rem;
	margin: 0 0 1.5rem;
}

.property-detail .property-meta {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	color: #6b7280;
}

.pagination {
	margin-top: 1.5rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.pagination a,
.pagination span {
	padding: 0.4rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: var(--radius);
	text-decoration: none;
}

.pagination .current {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}
