/* =========================================================
   Browsing between listings (v1.17.0): inc/listing-browse.php
     - .ich-listing-nav      bar above the photos on listing pages
     - .ich-more-listings    "More Homes" / "More Office Suites" at the bottom
     - .ich-page--all-listings  All Homes / All Office Suites pages
   Cards, buttons and the section heading come from home.css and
   featured-listings.css (loaded on these pages too).
   ========================================================= */

/* ---- Top bar: "‹ Featured Listings"  ·  "All Homes ›" ---- */
.ich-listing-nav{
	background: var(--ich-bg);
	border-bottom: 1px solid var(--ich-line);
	font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.ich-listing-nav-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.ich-listing-nav a{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--ich-accent);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
}
.ich-listing-nav a:hover{ color: var(--ich-ink); text-decoration: underline; text-underline-offset: 4px; }
.ich-listing-nav a:focus-visible{ outline: 2px solid var(--ich-accent); outline-offset: 2px; }
.ich-listing-nav-back::before{ content: "\2039"; font-size: 1.35em; line-height: 1; margin-top: -2px; }
.ich-listing-nav-all::after{ content: "\203A"; font-size: 1.35em; line-height: 1; margin-top: -2px; }

/* ---- "More Homes" at the bottom of a listing page ---- */
.ich-more-listings .ich-featured{
	border-top: 1px solid var(--ich-line);
	border-bottom: 0;
	padding: clamp(48px, 7vw, 88px) 0;
}
.ich-more-listings .ich-section-head{ margin-bottom: 28px; }
.ich-more-listings .ich-cards + .ich-more-listings-buttons{ margin-top: 40px; }

/* Second button on a light background: outlined in the accent colour */
.ich-home .ich-btn--outline{
	padding: 14px 26px;
	border: 1px solid var(--ich-accent);
	background: transparent;
	color: var(--ich-accent);
}
.ich-home .ich-btn--outline:hover{ background: var(--ich-accent); color: #fff; }

@media (max-width: 860px){
	/* the fixed "Schedule a Tour" bar now sits under this section, not the spec sheet */
	.ich-listing:has(.ich-more-listings) .ich-body{ padding-bottom: 32px; }
	.ich-more-listings{ padding-bottom: 76px; }
}
@media (max-width: 520px){
	.ich-more-listings-buttons .ich-btn,
	.ich-btn-row .ich-btn--outline{ flex: 1 1 100%; text-align: center; }
}

/* ---- All Homes / All Office Suites ---- */
.ich-all-cross{
	margin: 48px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--ich-line);
	color: var(--ich-ink-soft);
}
.ich-home .ich-all-cross a{
	margin-left: 6px;
	color: var(--ich-accent);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--ich-accent-soft);
	white-space: nowrap;
}
.ich-home .ich-all-cross a::after{ content: " \2192"; }
.ich-home .ich-all-cross a:hover{ color: var(--ich-ink); border-color: var(--ich-ink); }

@media (prefers-reduced-motion: reduce){
	.ich-home .ich-btn--outline{ transition: none; }
}

@media print{
	.ich-listing-nav,
	.ich-more-listings{ display: none !important; }
}
