/* TSD Veco Property Feed — scoped, theme-agnostic styles.
   Override via the CSS custom properties below (e.g. in Customizer → Additional CSS):
   .veco-grid { --veco-accent: #123456; }
*/

.veco-grid,
.veco-single {
	--veco-accent: #1a4d8f;
	--veco-text: #2b2b2b;
	--veco-muted: #6b7280;
	--veco-card-bg: #ffffff;
	--veco-border: #e5e7eb;
	--veco-radius: 10px;
	box-sizing: border-box;
	color: var(--veco-text);
}

.veco-grid *,
.veco-single * {
	box-sizing: inherit;
}

.veco-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 0 0 24px;
}

.veco-card {
	background: var(--veco-card-bg);
	border: 1px solid var(--veco-border);
	border-radius: var(--veco-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.veco-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.veco-card,
	.veco-card:hover {
		transition: none;
		transform: none;
	}
}

.veco-card-media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background: #f3f4f6;
}

.veco-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
}

.veco-card-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 12px, #eceef1 12px, #eceef1 24px);
}

.veco-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--veco-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 4px;
}

.veco-card-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.veco-card-title {
	font-size: 1.05rem;
	line-height: 1.35;
	margin: 0;
}

.veco-card-title a {
	color: var(--veco-text);
	text-decoration: none;
}

.veco-card-title a:hover,
.veco-card-title a:focus {
	color: var(--veco-accent);
	text-decoration: underline;
}

.veco-card-town {
	margin: 0;
	color: var(--veco-muted);
	font-size: 0.88rem;
}

.veco-card-price {
	margin: 4px 0 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--veco-accent);
}

.veco-card-freq {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--veco-muted);
	margin-left: 4px;
}

.veco-card-specs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 6px 0 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--veco-muted);
}

.veco-card-specs li {
	margin: 0;
}

.veco-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 8px 0 0;
	justify-content: center;
}

.veco-pagination a,
.veco-pagination span {
	display: inline-block;
	padding: 7px 13px;
	border: 1px solid var(--veco-border, #e5e7eb);
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
}

.veco-pagination .current {
	background: #1a4d8f;
	border-color: #1a4d8f;
	color: #fff;
}

/* Single property */
.veco-single {
	margin-top: 28px;
}

.veco-single-summary {
	border: 1px solid var(--veco-border);
	border-radius: var(--veco-radius);
	padding: 18px 20px;
	margin-bottom: 24px;
	background: #fafbfc;
}

.veco-features {
	columns: 2;
	column-gap: 32px;
	padding-left: 20px;
}

@media (max-width: 600px) {
	.veco-features {
		columns: 1;
	}
}

.veco-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.veco-gallery img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.veco-empty {
	padding: 24px;
	text-align: center;
	color: #6b7280;
	border: 1px dashed #e5e7eb;
	border-radius: 10px;
}
