/* =========================================================
   Featured Listings page (page-featured-listings.php) — v1.8.0
   Reuses the Home page sections (.ich-home): hero, cards, closing.
   ========================================================= */

/* Shorter photo banner than the Home hero */
.ich-hero--page{
	min-height: clamp(380px, 56vh, 560px);
}
.ich-hero--page .ich-hero-inner{ padding-top: 96px; padding-bottom: clamp(48px, 7vh, 80px); }
.ich-home .ich-hero--page .ich-hero-heading{
	max-width: 18ch;
	font-size: clamp(2.3rem, 5vw, 3.9rem);
}

/* "Residences / Commercial for Lease" jump links under the intro */
.ich-page-jump{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin-top: 28px;
}
.ich-home .ich-page-jump a{
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	padding: 4px 0;
	border-bottom: 1px solid rgba(255,255,255,0.55);
}
.ich-home .ich-page-jump a::after{ content: " \2193"; }
.ich-home .ich-page-jump a:hover{ border-color: #fff; color: #fff; }
.ich-home .ich-page-jump a:focus-visible{ outline-color: #fff; }

/* Listing rows on this page sit on the page colour, not a white band */
.ich-featured--page{
	background: var(--ich-bg);
	border: 0;
}
.ich-featured--page .ich-card-body{ padding-top: 16px; }

/* Anchor targets clear the site header when jumped to */
.ich-page--featured #residences,
.ich-page--featured #commercial{ scroll-margin-top: 110px; }

/* Shown when a row has nothing to list */
.ich-empty-note{
	margin: 0;
	padding: 26px 28px;
	max-width: 760px;
	background: var(--ich-card);
	border: 1px solid var(--ich-line);
	border-left: 3px solid var(--ich-brass);
	color: var(--ich-ink-soft);
}
.ich-home .ich-empty-note a{
	color: var(--ich-accent);
	font-weight: 500;
	white-space: nowrap;
	border-bottom: 1px solid var(--ich-accent-soft);
	text-decoration: none;
}
.ich-home .ich-empty-note a::after{ content: " \2192"; }

/* Tablet / phone: cards stack in a grid here (the Home page rows swipe
   sideways instead). Everything on this page is meant to be seen. */
@media (max-width: 860px){
	.ich-hero--page{ min-height: 0; }
	.ich-hero--page .ich-hero-inner{ padding-top: 120px; padding-bottom: 48px; }
	.ich-cards.ich-cards--grid{
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 18px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}
	.ich-cards--grid .ich-card{ flex: none; }
}
@media (max-width: 560px){
	.ich-cards.ich-cards--grid{ grid-template-columns: 1fr; gap: 30px; }
}
