/* ===== WP Service Listing – Frontend Styles ===== */

.wpsl-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	margin: 24px 0;
}
.wpsl-columns-1 { grid-template-columns: repeat(1, 1fr); }
.wpsl-columns-2 { grid-template-columns: repeat(2, 1fr); }
.wpsl-columns-3 { grid-template-columns: repeat(3, 1fr); }
.wpsl-columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
	.wpsl-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
	.wpsl-grid { grid-template-columns: 1fr !important; }
}

.wpsl-card {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	transition: box-shadow .2s ease, transform .2s ease;
	display: flex;
	flex-direction: column;
}
.wpsl-card:hover {
	box-shadow: 0 6px 18px rgba(0,0,0,.10);
	transform: translateY(-2px);
}

.wpsl-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f2f2;
}
.wpsl-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wpsl-card-body {
	padding: 18px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.wpsl-card-title {
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 10px;
}
.wpsl-card-title a {
	color: #1a1a2e;
	text-decoration: none;
}
.wpsl-card-title a:hover { color: #2563eb; }

.wpsl-house-type {
	display: none; /* house type folded into title in most layouts; enable below if wanted as a badge */
}

.wpsl-meta {
	color: #6b7280;
	font-size: 15px;
	margin-bottom: 16px;
}
.wpsl-meta .wpsl-sep { margin: 0 6px; }
.wpsl-meta .wpsl-price { color: #374151; font-weight: 600; }

.wpsl-btn {
	display: inline-block;
	align-self: flex-start;
	background: #2563eb;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 13px;
	padding: 10px 22px;
	border-radius: 22px;
	margin-top: auto;
	transition: background .2s ease;
}
.wpsl-btn:hover { background: #1d4ed8; color: #fff; }

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

/* ===== Single Service Details Page ===== */

.wpsl-single-wrap {
	max-width: 1140px;
	margin: 40px auto;
	padding: 0 20px;
}
.wpsl-single-inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 48px;
	align-items: start;
}
@media (max-width: 800px) {
	.wpsl-single-inner { grid-template-columns: 1fr; }
}

.wpsl-single-image img {
	width: 100%;
	border-radius: 8px;
	margin-bottom: 20px;
}

.wpsl-single-title {
	font-size: 30px;
	margin: 0 0 14px;
}

.wpsl-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.wpsl-badge {
	background: #f3f4f6;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
}
.wpsl-badge-price {
	background: #2563eb;
	color: #fff;
}

.wpsl-single-description {
	font-size: 16px;
	line-height: 1.7;
	color: #333;
}

.wpsl-single-right {
	position: sticky;
	top: 30px;
}
.wpsl-form-box {
	background: #f9fafb;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 28px;
}
.wpsl-form-box h3 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 20px;
}
