/* Hokkaido Hobby Homes — Search / Archive page
   Editorial hero + centered command bar + premium card grid.
   ============================================================ */

.hhh-search-page {
	padding-top: 78px; /* clear the fixed nav */
	background: var(--bg);
	color: var(--fg);
	min-height: 100vh;
}
body.admin-bar .hhh-search-page { padding-top: 110px; }

/* ── HERO ────────────────────────────────────────────────────────────── */

.hhh-search-hero {
	padding: 96px 0 40px;
}

.hhh-search-title {
	font-family: var(--serif);
	font-size: clamp(48px, 7vw, 92px);
	font-weight: 400;
	line-height: 1;
	color: var(--fg);
	letter-spacing: -0.02em;
	margin: 0;
	max-width: 900px;
}
.hhh-search-title .serif-it {
	font-style: italic;
	font-weight: 400;
}

/* ── COMMAND BAR ─────────────────────────────────────────────────────── */

.hhh-cmdbar {
	padding: 24px 0 8px;
}
.hhh-cmdbar .hhh-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.hhh-cmdbar-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	width: 100%;
}

.hhh-cmdbar-pill {
	display: flex;
	align-items: stretch;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px;
	transition: border-color 250ms ease;
	max-width: 100%;
}
.hhh-cmdbar-pill:hover,
.hhh-cmdbar-pill:focus-within {
	border-color: var(--line-strong);
}

.cmd-fields {
	display: flex;
	align-items: stretch;
}

.cmd-field {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 22px;
	min-width: 140px;
	cursor: pointer;
	border-radius: 999px;
	transition: background 200ms ease;
}
.cmd-field:hover {
	background: var(--glass-hi);
}
.cmd-field label {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--fg-dim);
	pointer-events: none;
	line-height: 1;
	margin-bottom: 5px;
}
.cmd-field select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	outline: none;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	color: var(--fg);
	cursor: pointer;
	padding: 0 18px 0 0;
	line-height: 1.2;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23A8A8A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 10px 6px;
	width: 100%;
}
.cmd-field select option {
	background: var(--bg-2);
	color: var(--fg);
}

.cmd-divider {
	width: 1px;
	background: var(--line);
	margin: 14px 0;
	flex-shrink: 0;
	align-self: stretch;
}

.cmd-submit {
	background: var(--amber);
	color: #000;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	margin-left: 10px;
	flex-shrink: 0;
	transition: transform 200ms ease, background 200ms ease;
}
.cmd-submit:hover {
	background: #ffb929;
	transform: scale(1.04);
}
.cmd-submit svg { display: block; }

.cmd-more {
	background: transparent;
	border: none;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg-dim);
	cursor: pointer;
	padding: 8px 14px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color 200ms ease;
}
.cmd-more:hover { color: var(--fg); }
.cmd-more svg { color: currentColor; flex-shrink: 0; }
.cmd-more .cmd-more-caret {
	transition: transform 300ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cmd-more[aria-expanded="true"] .cmd-more-caret {
	transform: rotate(180deg);
}
.cmd-more[aria-expanded="true"] { color: var(--fg); }

/* ── EXPANDABLE MORE-FILTERS PANEL ───────────────────────────────────── */

.cmd-more-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 350ms cubic-bezier(0.2, 0.6, 0.2, 1),
	            opacity 200ms ease,
	            margin-top 250ms ease;
	opacity: 0;
	width: 100%;
	max-width: 720px;
	margin-top: 0;
}
.cmd-more-panel.is-open {
	max-height: 260px;
	opacity: 1;
	margin-top: 4px;
}
.cmd-more-inner {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 22px 26px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.mf-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mf-field label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--fg-dim);
}
.mf-field input,
.mf-field select {
	appearance: none;
	-webkit-appearance: none;
	background: var(--bg-3);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 16px;
	font-family: var(--sans);
	font-size: 14px;
	color: var(--fg);
	outline: none;
	transition: border-color 200ms;
	width: 100%;
}
.mf-field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23A8A8A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 6px;
	padding-right: 36px;
	cursor: pointer;
}
.mf-field input:focus,
.mf-field select:focus { border-color: var(--amber); }
.mf-field input::placeholder { color: var(--fg-faint); }
.mf-field select option { background: var(--bg-3); }

/* ── CHIPS + SORT ────────────────────────────────────────────────────── */

.hhh-chips-bar {
	padding: 32px 0 40px;
	border-bottom: 1px solid var(--line);
}
.hhh-chips-bar .hhh-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.hhh-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	flex: 1;
	min-width: 0;
}
.chips-empty {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg-faint);
}

.results-summary {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	font-family: var(--sans);
	font-size: 14px;
	color: var(--fg-dim);
	line-height: 1;
}
.results-summary b {
	font-family: var(--serif);
	font-size: 26px;
	font-style: italic;
	color: var(--fg);
	font-weight: 400;
	line-height: 1;
	margin-right: 4px;
}
.results-summary .dot-sep { color: var(--fg-faint); }
.results-summary .updated {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg-dim);
}
.results-summary.is-inline {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fg-faint);
	margin-left: 6px;
}
.results-summary.is-inline b {
	font-family: var(--sans);
	font-size: 13px;
	font-style: normal;
	color: var(--fg);
	letter-spacing: 0;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(240, 165, 0, 0.10);
	border: 1px solid rgba(240, 165, 0, 0.32);
	color: var(--amber);
	border-radius: 999px;
	padding: 7px 14px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background 200ms ease, border-color 200ms ease;
	line-height: 1;
}
.chip:hover {
	background: rgba(240, 165, 0, 0.18);
	border-color: rgba(240, 165, 0, 0.55);
}
.chip .x {
	font-size: 15px;
	line-height: 1;
	opacity: 0.7;
}
.chip:hover .x { opacity: 1; }

.chips-clear {
	font-family: var(--sans);
	font-size: 13px;
	color: var(--fg-dim);
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-left: 4px;
	transition: color 150ms;
}
.chips-clear:hover { color: var(--fg); }

.hhh-controls {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

/* ── VIEW TOGGLE ─────────────────────────────────────────────────────── */
.hhh-view-toggle {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 3px;
	flex-shrink: 0;
}
.view-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 30px;
	border-radius: 999px;
	color: var(--fg-dim);
	text-decoration: none;
	transition: color 180ms ease, background 180ms ease;
}
.view-btn:hover { color: var(--fg); }
.view-btn.is-active {
	background: var(--fg);
	color: var(--bg);
}
.view-btn svg { display: block; }

.hhh-sort {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.hhh-sort label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--fg-dim);
}
.hhh-sort select {
	appearance: none;
	-webkit-appearance: none;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 9px 34px 9px 16px;
	font-family: var(--sans);
	font-size: 13px;
	color: var(--fg);
	cursor: pointer;
	outline: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23A8A8A3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 6px;
	transition: border-color 200ms;
}
.hhh-sort select:hover,
.hhh-sort select:focus { border-color: var(--line-strong); }
.hhh-sort select option { background: var(--bg-2); }

/* ── RESULTS GRID ────────────────────────────────────────────────────── */

.hhh-results { padding: 56px 0 100px; }

.hhh-prop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 28px;
}

/* ── PROPERTY CARD ───────────────────────────────────────────────────── */

.hhh-prop-card {
	position: relative;
	transition: transform 380ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hhh-prop-card:hover { transform: translateY(-6px); }

/* hhh-theme.css puts a dark bottom-gradient ::after on .hhh-prop-card for
   the homepage tiles (where content overlays the image). On search cards
   the body sits BELOW the media, so that overlay just darkens whatever
   sits at the card's bottom — including our hover pills. Kill it here. */
.hhh-search-page .hhh-prop-card::after { content: none; display: none; }

.pc-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.pc-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 18px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	margin-bottom: 20px;
	transition: border-color 380ms ease;
}
.hhh-prop-card:hover .pc-media { border-color: var(--line-strong); }
.pc-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hhh-prop-card:hover .pc-media img { transform: scale(1.06); }

/* Spec tag pills — always visible at bottom of media, subtle by default.
   Grow larger and brighten on card hover.
   Fully solid background on hover so they read crisp regardless of any
   transform/stacking-context or overlay quirks. */
.pc-hover {
	position: absolute;
	left: 14px; right: 14px; bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	pointer-events: none;
}

body.hhh-page .pc-htag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(250, 250, 247, 0.60);
	background-color: rgba(10, 10, 10, 0.55);
	background-image: none;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	padding: 4px 9px;
	line-height: 1;
	opacity: 1;
	transition:
		padding 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
		font-size 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
		letter-spacing 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
		gap 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
		color 260ms ease,
		background-color 260ms ease,
		border-color 260ms ease;
}
body.hhh-page .hhh-prop-card:hover .pc-htag {
	padding: 6px 12px;
	font-size: 9px;
	letter-spacing: 0.18em;
	gap: 6px;
	color: #FAFAF7;
	background-color: #0F0F0F;
	border-color: rgba(255, 255, 255, 0.14);
}

body.hhh-page .pc-htag b {
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1;
	opacity: 1;
	transition:
		font-size 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
		color 260ms ease;
}
body.hhh-page .hhh-prop-card:hover .pc-htag b {
	font-size: 13px;
	color: #FFFFFF;
}
.pc-media-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

.pc-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fg);
	background: rgba(10, 10, 10, 0.68);
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	padding: 6px 12px;
	line-height: 1;
}

.pc-price {
	position: absolute;
	top: 14px;
	right: 14px;
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 600;
	color: #000;
	background: var(--amber);
	border-radius: 999px;
	padding: 7px 14px;
	line-height: 1;
	letter-spacing: 0.02em;
}

.pc-body {
	padding: 0 4px;
}

.pc-title {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--fg);
	margin: 0 0 10px;
	letter-spacing: -0.01em;
	transition: color 200ms;
}
.hhh-prop-card:hover .pc-title { color: var(--amber); }

.pc-loc {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	color: var(--fg-dim);
	margin: 0 0 16px;
	line-height: 1.4;
}
.pc-loc svg {
	color: var(--fg-faint);
	flex-shrink: 0;
}

.pc-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--fg-dim);
	line-height: 1;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	text-transform: lowercase;
}
.pc-stat b {
	font-weight: 600;
	color: var(--fg);
	font-family: var(--sans);
	font-size: 13px;
	letter-spacing: 0;
}
.pc-meta .sep {
	color: var(--fg-faint);
}

/* ── NO RESULTS ──────────────────────────────────────────────────────── */

.hhh-no-results {
	text-align: center;
	padding: 100px 0 140px;
}
.hhh-no-results h3 {
	font-family: var(--serif);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 400;
	color: var(--fg);
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}
.hhh-no-results p {
	font-family: var(--sans);
	font-size: 15px;
	color: var(--fg-dim);
	margin: 0 0 32px;
}
.btn-clear {
	display: inline-block;
	background: var(--amber);
	color: #000;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 200ms, background 200ms;
}
.btn-clear:hover {
	background: #ffb929;
	transform: translateY(-1px);
}

/* ── PAGINATION ──────────────────────────────────────────────────────── */

.hhh-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 72px 0 20px;
}
.pag-btn {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fg-dim);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 12px 26px;
	transition: border-color 200ms, color 200ms, background 200ms;
	text-decoration: none;
	line-height: 1;
}
.pag-btn:hover {
	border-color: var(--amber);
	color: var(--amber);
	background: rgba(240, 165, 0, 0.06);
}
.pag-btn.is-disabled {
	color: var(--fg-faint);
	border-color: var(--line);
	background: transparent;
	pointer-events: none;
	opacity: 0.5;
}
.pag-info {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--fg-faint);
	text-transform: uppercase;
	line-height: 1;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
	.hhh-prop-grid { gap: 40px 24px; }
}

@media (max-width: 1080px) {
	.hhh-prop-grid { grid-template-columns: repeat(2, 1fr); }
	.cmd-field { min-width: 118px; padding: 8px 18px; }
}

@media (max-width: 900px) {
	.hhh-search-hero { padding: 64px 0 40px; }
	.hhh-search-title { font-size: clamp(40px, 8vw, 60px); }

	.hhh-cmdbar-form {
		flex-direction: column;
		border-radius: 24px;
		padding: 20px;
		width: 100%;
	}
	.hhh-cmdbar-pill {
		flex-direction: column;
		border-radius: 20px;
		width: 100%;
		padding: 6px;
	}
	.cmd-fields {
		flex-direction: column;
		width: 100%;
	}
	.cmd-field {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		border-bottom: 1px solid var(--line);
		border-radius: 12px;
		min-width: 0;
	}
	.cmd-field:last-of-type { border-bottom: none; }
	.cmd-field label { margin: 0; }
	.cmd-field select {
		width: auto;
		text-align: right;
		max-width: 60%;
	}
	.cmd-divider { display: none; }
	.cmd-submit {
		width: 100%;
		height: 52px;
		margin-left: 0;
		margin-top: 12px;
		border-radius: 999px;
	}

	.hhh-chips-bar .hhh-wrap {
		flex-direction: column;
		align-items: stretch;
	}
	.hhh-controls { align-self: flex-end; }
}

@media (max-width: 640px) {
	.hhh-search-page { padding-top: 64px; }
	body.admin-bar .hhh-search-page { padding-top: 110px; }
	.hhh-search-hero { padding: 48px 0 32px; }
	.hhh-search-title { font-size: clamp(36px, 10vw, 56px); }
	.results-summary b { font-size: 22px; }

	.hhh-prop-grid { grid-template-columns: 1fr; gap: 40px; }
	.pc-media { border-radius: 14px; }
	.pc-title { font-size: 22px; }

	.cmd-more-inner { grid-template-columns: 1fr; padding: 18px 20px; }
	.cmd-more-panel.is-open { max-height: 340px; }

	.hhh-pagination { gap: 12px; }
	.pag-btn { padding: 10px 18px; font-size: 10px; }

	/* Grid & list are visually redundant at 1-col — hide the toggle
	   and render every card as a unified glass panel (image + info fused). */
	.hhh-view-toggle { display: none; }
	.hhh-prop-grid,
	.hhh-prop-grid.is-list {
		display: flex;
		flex-direction: column;
		gap: 24px;
		grid-template-columns: none;
	}
	.hhh-prop-grid .hhh-prop-card,
	.hhh-prop-grid.is-list .hhh-prop-card {
		aspect-ratio: auto;
		background: var(--bg-2);
		border: 1px solid var(--line);
		border-radius: 18px;
		overflow: hidden;
		min-height: 0;
	}
	.hhh-prop-grid .pc-link,
	.hhh-prop-grid.is-list .pc-link {
		display: block;
		grid-template-columns: none;
		gap: 0;
	}
	.hhh-prop-grid .pc-media,
	.hhh-prop-grid.is-list .pc-media {
		margin-bottom: 0;
		aspect-ratio: 4 / 3;
		min-height: 0;
		height: auto;
		border-radius: 0;
	}
	/* Hide the on-image chrome so info reads from the text block below */
	.hhh-prop-grid .pc-tag,
	.hhh-prop-grid .pc-price,
	.hhh-prop-grid .pc-hover { display: none; }
	.hhh-prop-grid .pc-body,
	.hhh-prop-grid.is-list .pc-body {
		padding: 20px 20px 22px;
		display: flex;
		flex-direction: column;
	}
	.hhh-prop-grid .pc-header,
	.hhh-prop-grid.is-list .pc-header {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 10px;
	}
	.hhh-prop-grid .pc-title,
	.hhh-prop-grid.is-list .pc-title {
		font-size: 22px;
		line-height: 1.15;
		margin: 0 0 10px;
	}
	.hhh-prop-grid .pc-loc,
	.hhh-prop-grid.is-list .pc-loc {
		font-size: 13px;
		margin: 0 0 16px;
	}
	.hhh-prop-grid .pc-meta,
	.hhh-prop-grid.is-list .pc-meta {
		padding-top: 14px;
		font-size: 12px;
	}
	.hhh-prop-grid .pc-meta .sep:first-child,
	.hhh-prop-grid.is-list .pc-meta .sep:first-child { display: none; }
}

/* ── LIST VIEW ────────────────────────────────────────────────────────
   Cards stack vertically, image left / info right. Placed after the
   responsive breakpoints so its 2-class specificity + source order
   both trump any single-class .hhh-prop-grid rule above. */

/* Header row inside .pc-body — hidden by default, only appears in list mode.
   Contains: property type eyebrow (left) + amber price (right). */
.pc-header { display: none; }
.pc-type {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.20em;
	text-transform: uppercase;
	color: var(--fg-dim);
	line-height: 1;
}
.pc-price-line {
	font-family: var(--mono);
	font-size: 24px;
	font-weight: 600;
	color: var(--amber);
	letter-spacing: 0.02em;
	line-height: 1;
}

.hhh-prop-grid.is-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	grid-template-columns: none;
}

/* Reset homepage-tile styles that leak in from hhh-theme.css.
   Critical fix: aspect-ratio: 4/3 was forcing the full-width card
   to be ~900px tall, leaving huge empty space below content. */
.hhh-prop-grid.is-list .hhh-prop-card {
	aspect-ratio: auto;
	background: transparent;
	border: none;
	overflow: visible;
	min-height: 0;
	transition: transform 380ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hhh-prop-grid.is-list .hhh-prop-card:hover {
	transform: translateY(-2px);
}

.hhh-prop-grid.is-list .pc-link {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 40px;
	align-items: stretch;
}
.hhh-prop-grid.is-list .pc-media {
	margin-bottom: 0;
	aspect-ratio: 4 / 3;
	height: 100%;
	min-height: 240px;
}

/* All on-image chrome is redundant in list mode — info lives in the right column */
.hhh-prop-grid.is-list .pc-tag,
.hhh-prop-grid.is-list .pc-price,
.hhh-prop-grid.is-list .pc-hover {
	display: none;
}

.hhh-prop-grid.is-list .pc-body {
	padding: 8px 8px 8px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hhh-prop-grid.is-list .pc-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}
.hhh-prop-grid.is-list .pc-title {
	font-size: 30px;
	line-height: 1.1;
	margin: 0 0 14px;
}
.hhh-prop-grid.is-list .pc-loc {
	font-size: 14px;
	margin: 0 0 24px;
}
.hhh-prop-grid.is-list .pc-loc svg {
	width: 12px;
	height: 14px;
}
.hhh-prop-grid.is-list .pc-meta {
	padding-top: 22px;
	font-size: 12px;
}
.hhh-prop-grid.is-list .pc-stat b {
	font-size: 14px;
}
/* When beds is missing the leading '·' separator becomes the first meta child — hide it */
.hhh-prop-grid.is-list .pc-meta .sep:first-child { display: none; }

/* Responsive: list rows stack (image on top) when horizontal space is tight */
@media (max-width: 780px) {
	.hhh-prop-grid.is-list .pc-link {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.hhh-prop-grid.is-list .pc-media {
		min-height: auto;
		aspect-ratio: 4 / 3;
	}
	.hhh-prop-grid.is-list .pc-body {
		padding: 0 4px;
	}
	.hhh-prop-grid.is-list .pc-header {
		margin-bottom: 10px;
	}
	.hhh-prop-grid.is-list .pc-price-line {
		font-size: 20px;
	}
	.hhh-prop-grid.is-list .pc-title {
		font-size: 22px;
		margin-bottom: 10px;
	}
	.hhh-prop-grid.is-list .pc-loc {
		margin-bottom: 16px;
	}
	.hhh-prop-grid.is-list .pc-meta {
		padding-top: 16px;
	}
}
