/* ==========================================================================
   Bokka archive pages - shared styles
   --------------------------------------------------------------------------
   Loaded only by the archive-bokka_*.php templates, via
   lfg_bokka_archive_enqueue() in inc/bokka-archive-template.php. Per-page
   styles go in css/archive-{communities,plans,homes,models}.css, which load
   after this file and only hold what is specific to that page's markup.

   This file is the one design system the four archives share:
     1. Page shell
     2. Hero (breadcrumb + photo, partials/bokka-archive-hero.php)
     3. Group bands (flat green + notch)
     4. Result count + empty state
     5. Filter bar (plans + homes archive blocks)
     6. Pagination (plans + homes archive blocks)
     7. Cards (communities, plans, homes, models)
     8. Map + list split layout (homes, models)

   Scoping hooks:
     body.lfg-bokka-archive              every Bokka archive page
     body.lfg-bokka-archive--{type}      one archive (communities, plans, ...)
     .lfg-archive / .lfg-archive--{type} the template's container-wrap
     .lfg-archive--split                 map + list pages (communities, homes,
                                         models): compact group bands
     .lfg-archive-hero                   breadcrumb + hero partial
     #new-home-search                    plugin archive-plans block
     #available-homes-search             plugin archive-homes block

   The LFG palette tokens, the Salient heading/list bleed fixes, the button
   pills, icon masks and favorites hiding all come from the child style.css
   and are not scoped to singles, so they already apply here. Salient's
   main-styles.css prints AFTER this file and the plugin prints inline
   <style> blocks with id selectors (#new-home-search ...), so several rules
   below carry an id or a doubled class to win on specificity rather than on
   load order.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page shell
   -------------------------------------------------------------------------- */

/* Salient pads .container-wrap 40px top; the breadcrumb bar should sit flush
   under the header like it does on the singles. */
.bokka-archive-wrap.container-wrap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   2. Hero (partials/bokka-archive-hero.php -> bokka/bw-bottom-content)
   --------------------------------------------------------------------------
   Every archive uses the same partial, so type and spacing are identical;
   only the height tier differs (communities is tall like SJV's Our
   Neighborhoods, the others short like SJV's Model Homes). Every hero
   carries an eyebrow above the H1.
   -------------------------------------------------------------------------- */

/* Heights. The plugin's tall variant is sized for SJV's header plus promo
   banner (100vh - 302px); LFG's header plus breadcrumb is ~196px. Its class
   is an `!h-[...]` utility, hence !important. */
.lfg-archive-hero .bw-bottom-content {
	background-color: #313233;
	background-position: center;
}
.lfg-archive-hero--short .bw-bottom-content {
	min-height: 320px;
}
@media (min-width: 768px) {
	.lfg-archive-hero--short .bw-bottom-content {
		min-height: 410px;
	}
}
@media (min-width: 1024px) {
	.lfg-archive-hero--tall .bw-bottom-content {
		height: min(max(500px, calc(100vh - 196px)), 760px) !important;
	}
}

/* Darker, taller fade so white copy stays readable on light interiors. */
.lfg-archive-hero .bg-gradient-bottom-overlay {
	background-image: linear-gradient(to top, rgba(33, 35, 34, 0.78) 0%, rgba(33, 35, 34, 0.35) 45%, rgba(33, 35, 34, 0) 75%);
}

/* Eyebrow (title3). */
.lfg-archive-hero .bw-bottom-content .title3 {
	margin-bottom: 12px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #FFFFFF;
}

/* H1: keep the plugin's sizes (they match the single heroes), add a soft
   shadow for busy photos. */
.lfg-archive-hero .bw-bottom-content h1 {
	margin-bottom: 8px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* Intro copy. Salient's `p { padding-bottom: 27px }` bleeds in. */
.lfg-archive-hero .bw-bottom-content .content-wrapper .content {
	max-width: 40rem;
	margin: 0;
	font-family: Montserrat, sans-serif;
	line-height: 1.55;
}
.lfg-archive-hero .bw-bottom-content .content-wrapper .content p {
	padding-bottom: 0;
}
.lfg-archive-hero .bw-bottom-content .content-wrapper .content p + p {
	margin-top: 0.75em;
}

/* Buttons sit bottom-right on desktop (plugin layout), under the copy on
   phones. */
.lfg-archive-hero .bw-bottom-content .buttons-component {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Group bands
   --------------------------------------------------------------------------
   The archive blocks head every group with a flat charcoal band
   (`header.bg-neutral-dark-gray`): communities by city, plans and homes by
   community. SJV runs these as a brand gradient with a notch pointing into
   the cards; LFG's singles already use the green gradient for the same kind
   of band ("New homes at ..."), so match that. A group built in a child
   template (models by city) gets the same band by putting class
   `lfg-archive-group` on the <section> and a <header><h2> as its first
   child.

   Two sizes of the one band: full (plans, groups run the full content
   width) and compact (.lfg-archive--split pages, where groups sit in a
   list column beside a map).
   -------------------------------------------------------------------------- */
.lfg-archive :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header {
	position: relative;
	margin-bottom: 0;
	padding: 32px 16px 40px;
	--lfg-band-bg: #6A8C73;
	background: var(--lfg-band-bg);
}
@media (min-width: 768px) {
	.lfg-archive :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header {
		padding: 48px 24px 56px;
	}
}
.lfg-archive :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -15px;
	transform: translateX(-50%);
	border-top: 16px solid var(--lfg-band-bg, #6A8C73);
	border-right: 18px solid transparent;
	border-left: 18px solid transparent;
}
.lfg-archive .lfg-archive-group > header h2,
.lfg-archive :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header h2 {
	margin: 0;
	padding: 0;
	font-family: "Platypi", serif;
	font-size: clamp(28px, 3.4vw, 45px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	text-align: center;
	color: #FFFFFF;
}

/* Compact band (map + list pages). */
.lfg-archive--split :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header {
	padding: 14px 16px 16px;
}
.lfg-archive--split :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header::after {
	bottom: -9px;
	border-top-width: 10px;
	border-right-width: 11px;
	border-left-width: 11px;
}
.lfg-archive.lfg-archive--split :is(.community-group, .plan-groups, .home-groups, .lfg-archive-group) > header h2 {
	font-size: 22px;
	line-height: 1.25;
}

/* Compact groups: no panel, the cards sit on the list surface under the
   band. */
.lfg-archive--split :is(.community-group, .home-groups, .lfg-archive-group) {
	max-width: none;
	margin: 0 0 32px;
	background: transparent;
	filter: none;
	box-shadow: none;
}
.lfg-archive--split :is(.community-group, .home-groups, .lfg-archive-group) > div {
	padding: 22px 0 0;
}

/* --------------------------------------------------------------------------
   4. Result count + empty state
   --------------------------------------------------------------------------
   "29 Floorplans Found" / "21 Available Homes Found" / "3 Model Homes": the
   same small uppercase label the single templates use ("1 Home Found").
   -------------------------------------------------------------------------- */
.lfg-archive.lfg-archive :is(.new-home-search-grid-container, .available-homes-search-grid-container) > h2,
.lfg-archive .lfg-archive-count.lfg-archive-count {
	margin: 0 0 28px;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	color: #6C7076;
}
.lfg-archive :is(#plan-count, #home-count, .lfg-archive-count__number) {
	color: #313233;
}

/* "No ... match your current selection" cards. */
.lfg-archive :is(#no-plans-message, #no-homes-message) {
	margin-right: 16px;
	margin-left: 16px;
	border-top: 4px solid #6A8C73;
	border-radius: 0;
	filter: none;
	box-shadow: 0 2px 10px rgba(33, 35, 34, 0.08);
}
@media (min-width: 704px) {
	.lfg-archive :is(#no-plans-message, #no-homes-message) {
		margin-right: auto;
		margin-left: auto;
	}
}
.lfg-archive :is(#no-plans-message, #no-homes-message) h3 {
	font-family: "Platypi", serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: #313233;
}
.lfg-archive :is(#no-plans-message, #no-homes-message) p {
	padding-bottom: 0;
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	color: #4B4F52;
}
.lfg-archive :is(#no-plans-message, #no-homes-message) .reset-filters {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: inherit;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Filter bar (plans + homes archive blocks)
   --------------------------------------------------------------------------
   SJV's filter bar (sjvhomes.com/new-home-search/, /available-homes/): an
   uppercase "FILTER ... BY:" label, the price slider first, square white
   bordered dropdowns in a four-column grid, Reset centered underneath. SJV
   puts it on a light gray band over a white listing; LFG's listing surface
   is the gray, so the band is white with a soft edge to keep the same
   contrast.

   Both archives show the price slider plus six dropdowns (the plugin's
   empty collections cell and any single-choice dropdown are hidden below):
     phones      price full width, dropdowns in pairs
     768-1023    price full width, dropdowns three across
     1024+       price down the left across two rows (the widest column),
                 dropdowns 3 x 2
   A seventh dropdown wraps to a third row on its own.
   -------------------------------------------------------------------------- */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) {
	padding-top: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #DAD8D4;
	background-color: #FFFFFF;
	filter: none;
	box-shadow: 0 6px 18px rgba(49, 50, 51, 0.06);
	/* The slider's touch areas overhang the band edge on phones. clip (not
	   hidden) so the dropdown panels still escape downward. */
	overflow-x: clip;
}
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) > div {
	max-width: 1280px;
	padding-right: 20px;
	padding-left: 20px;
}
.lfg-archive.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) > div > h2 {
	margin: 0 0 18px;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #313233;
}

/* Grid. */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid > li {
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid > li.bokka-price-slider {
	grid-column: 1 / -1;
}

/* The empty <li> the plans block leaves where the collections facet would be
   (collections are disabled for LFG). */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid > li:not(:has(*)) {
	display: none;
}

/* A dropdown with a single real choice after the "Any ..." placeholder
   filters nothing (State: everything LFG lists is in Tennessee today).
   lfg_bokka_archive_render_block() trims each list to values in use, so this
   hides such a dropdown and brings it back on its own once a second value
   exists. Exception: the /homes/ State dropdown (facet "state"; the plans
   one is "primary_state") always shows, like Ashlar's (QA 2026-09-29); see
   css/archive-homes.css for its place in the grid. */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid > li:not(:has([data-facet-name="state"])):has(.facet-options-list > .facet-option:nth-child(2):last-child) {
	display: none;
}

@media (min-width: 768px) {
	.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px 20px;
	}
}
@media (min-width: 1024px) {
	.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 16px 28px;
	}
	.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) ul.grid > li.bokka-price-slider {
		grid-column: auto;
		grid-row: span 2;
		align-self: center;
		padding-right: 12px;
	}
}

/* Price slider: label left, track right, readout under the track. */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .bokka-price-slider {
	grid-template-columns: auto minmax(0, 1fr);
	gap: 6px 20px;
	padding: 4px 0 0;
	overflow-x: visible;
}
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .bokka-price-slider > div:first-child {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4B4F52;
}
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .bokka-price-slider .price-range-display {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: #313233;
}

/* 1024-1279: the price column is narrow, so the label goes above the track
   (the third child is the plugin's spacer beside the readout). */
@media (min-width: 1024px) and (max-width: 1279px) {
	.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .bokka-price-slider {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}
	.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .bokka-price-slider > div:nth-child(3) {
		display: none;
	}
}

/* Track + handles. The plugin styles these by id (#plans-price-slider /
   #homes-price-slider: brand-primary connect, 28px gray-bordered handles, 95%
   max width), so the ids are repeated here. The side margin keeps the
   handles, which overhang the track by half their width, inside a phone
   viewport. */
.lfg-archive :is(#plans-price-slider, #homes-price-slider).noUi-horizontal {
	max-width: none;
	margin: 0 12px;
	border: 0;
	border-radius: 3px;
	background: #DAD8D4;
	box-shadow: none;
}
.lfg-archive :is(#plans-price-slider, #homes-price-slider).noUi-horizontal .noUi-connect {
	background-color: #6A8C73;
}
.lfg-archive :is(#plans-price-slider, #homes-price-slider).noUi-horizontal .noUi-handle {
	top: -8px;
	right: -11px;
	width: 22px;
	height: 22px;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	background: #6A8C73;
	box-shadow: 0 1px 4px rgba(49, 50, 51, 0.4);
	cursor: grab;
}
.lfg-archive :is(#plans-price-slider, #homes-price-slider).noUi-horizontal .noUi-handle:focus-visible {
	outline: 2px solid #2F463E;
	outline-offset: 2px;
}

/* Dropdowns. The facet wrapper carries a 16px bottom margin; the grid gap
   spaces the rows instead. */
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-container {
	margin-bottom: 0;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-button.facet-select-button {
	height: 48px;
	padding: 0 14px 0 16px;
	border: 1px solid #C9CACC;
	border-radius: 0;
	background-color: #FFFFFF;
	box-shadow: none;
	font-family: Montserrat, sans-serif;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-button.facet-select-button:hover,
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-button.facet-select-button[aria-expanded="true"] {
	border-color: #6A8C73;
	box-shadow: inset 0 0 0 1px #6A8C73;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-button.facet-select-button:focus-visible {
	outline: 2px solid #2F463E;
	outline-offset: 2px;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-display-text {
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #313233;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-arrow {
	flex-shrink: 0;
	color: #6A8C73;
}

/* Dropdown panels. */
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-options-list.facet-options-list {
	margin: 2px 0 0;
	padding: 6px 0;
	border: 1px solid #C9CACC;
	border-radius: 0;
	box-shadow: 0 10px 24px rgba(49, 50, 51, 0.14);
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option.facet-option {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	line-height: 1.35;
	color: #313233;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-select-multi .facet-option.facet-option[data-is-placeholder="true"] {
	padding-left: 42px;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option.facet-option:hover,
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option.facet-option.is-selected {
	background-color: #F1F1F1;
}
/* The plugin makes the label span width:100%, which wrapped it under the
   checkbox. */
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option.facet-option span {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	font-weight: 500;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option.facet-option[aria-selected="true"] span {
	font-weight: 700;
}

/* Salient strips native checkbox appearance, leaving an invisible white box
   until checked (then a UA blue tick). Draw an LFG one instead. */
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option .facet-option-checkbox {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 1.5px solid #9A9C9E;
	border-radius: 2px;
	background: #FFFFFF center / 12px 12px no-repeat;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .facet-option .facet-option-checkbox:checked {
	border-color: #6A8C73;
	background-color: #6A8C73;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5'/%3E%3C/svg%3E");
}

/* Reset. */
.lfg-archive :is(.new-home-search-facet-container, .available-homes-search-facet-container) .reset-filters {
	margin-top: 18px;
	padding: 4px 8px;
	background: none;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
	color: #2F463E;
	cursor: pointer;
}
.lfg-archive .reset-filters:hover {
	color: #6A8C73;
}

/* --------------------------------------------------------------------------
   6. Pagination (client-side, rendered by the plugin archive scripts)
   --------------------------------------------------------------------------
   Only the bottom pager is kept - the result count already sits above the
   grid, and js/bokka-archives.js scrolls back up to it on a page change.
   -------------------------------------------------------------------------- */
.lfg-archive .pagination-container:has(#custom-pagination-top) {
	display: none;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-container {
	margin-top: 8px;
	margin-bottom: 0;
	padding-bottom: 64px;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .page-numbers {
	gap: 8px;
	margin: 0 6px;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.pagination-button {
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #DAD8D4;
	/* Salient's rounded_shadow button style forces a 0 radius with
	   !important on bare <button>s. */
	border-radius: 9999px !important;
	background-color: #FFFFFF;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 40px;
	color: #313233;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.prev-page,
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.next-page {
	padding: 0 20px;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.pagination-button:not(:disabled):not(.current-page):hover {
	border-color: #6A8C73;
	color: #2F463E;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.current-page.current-page {
	border-color: #6A8C73;
	background-color: #6A8C73;
	color: #FFFFFF;
	cursor: default;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.pagination-button:disabled {
	opacity: 0.45;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.pagination-button:focus {
	outline: none;
}
.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.pagination-button:focus-visible {
	outline: 2px solid #2F463E;
	outline-offset: 2px;
}
@media (max-width: 479px) {
	.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.prev-page,
	.lfg-archive :is(#new-home-search, #available-homes-search) .pagination-button.next-page {
		padding: 0 14px;
	}
}

/* --------------------------------------------------------------------------
   7. Cards
   --------------------------------------------------------------------------
   One card language across the four archives. The markup differs by page:
     communities  plugin product-grid card (.product-grid .item > a > div)
     plans        plugin product-grid card, title above the box (SJV)
     homes        plugin card rebuilt as .lfg-home-card
                  (partials/archive-homes-helpers.php)
     models       .lfg-model-card (partials/archive-models-card.php)
   so each shared rule lists the matching element of each. Layout inside a
   card (spec grid columns, extra rows) stays in the per-page file.
   -------------------------------------------------------------------------- */

/* Box: white, hairline border, soft shadow, lifts on hover. */
.lfg-archive .product-grid .item > a > div,
.lfg-archive .lfg-model-card {
	overflow: hidden;
	border: 1px solid #E3E3E0;
	background-color: #FFFFFF;
	filter: none;
	box-shadow: 0 2px 10px rgba(33, 35, 34, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lfg-archive .product-grid .item > a:is(:hover, :focus-visible) > div,
.lfg-archive .lfg-model-card:is(:hover, :focus-within, .is-highlighted) {
	box-shadow: 0 10px 24px rgba(33, 35, 34, 0.16);
	transform: translateY(-2px);
}
.lfg-archive .product-grid .item > a {
	display: block;
	color: inherit;
}
.lfg-archive .product-grid .item > a:focus-visible {
	outline: 2px solid #6A8C73;
	outline-offset: 3px;
}

/* Photo: slow zoom on hover. */
.lfg-archive .product-grid .item figure,
.lfg-archive .lfg-model-card figure {
	margin: 0;
	overflow: hidden;
}
.lfg-archive .product-grid .item figure img,
.lfg-archive .lfg-model-card figure img {
	transition: transform 0.5s ease;
}
.lfg-archive .product-grid .item > a:hover figure img,
.lfg-archive .lfg-model-card:hover figure img {
	transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
	.lfg-archive .product-grid .item > a > div,
	.lfg-archive .lfg-model-card,
	.lfg-archive .product-grid .item figure img,
	.lfg-archive .lfg-model-card figure img {
		transition: none;
	}
	.lfg-archive .product-grid .item > a:is(:hover, :focus-visible) > div,
	.lfg-archive .lfg-model-card:is(:hover, :focus-within, .is-highlighted),
	.lfg-archive .product-grid .item > a:hover figure img,
	.lfg-archive .lfg-model-card:hover figure img {
		transform: none;
	}
}

/* Status snipe: a flat tab on the photo's bottom-left edge. Colors come
   from the plugin's inline status color (mapped to LFG in style.css) or
   the model status class. Sits above the plugin's .image-placeholder
   (z-index 10).

   Size (client revision 2026-10-09, "enlarge a bit", round 2 after 13px read
   as unchanged): 16px type, 10px 22px padding, 0.12em tracking. Mirror these
   on any other copy of the snipe. */
.lfg-archive .product-grid .item figure > span:not(.lfg-home-card__price),
.lfg-archive .lfg-model-card__status {
	position: absolute;
	z-index: 11;
	top: auto;
	right: auto;
	bottom: 16px;
	left: 0;
	max-width: calc(100% - 24px);
	padding: 10px 22px;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FFFFFF;
}

/* Narrow 3-up grids (~1024px): "Under Construction" would wrap at 16px, so
   step the status tab down a notch there only. */
@media (min-width: 768px) and (max-width: 1279px) {
	.lfg-archive .product-grid .item figure > span:not(.lfg-home-card__price),
	.lfg-archive .lfg-model-card__status {
		padding: 9px 16px;
		font-size: 14px;
		letter-spacing: 0.08em;
	}
}

/* Price snipe: charcoal tab on the photo's top-right edge. */
.lfg-archive :is(.lfg-home-card__price, .lfg-model-card__price) {
	position: absolute;
	z-index: 11;
	top: 16px;
	right: 0;
	padding: 6px 14px;
	background-color: #313233;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #FFFFFF;
}

/* Body padding. */
.lfg-archive--communities .product-grid .item > a > div > div:not(.image-placeholder),
.lfg-archive :is(.lfg-home-card__body, .lfg-model-card__body) {
	padding: 18px 20px;
}

/* Eyebrow above the title: community city, home plan, model community. */
.lfg-archive--communities .product-grid .item h3 + p,
.lfg-archive .lfg-home-card .lfg-home-card__plan,
.lfg-archive .lfg-models .lfg-model-card__eyebrow {
	margin: 0 0 6px;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4C6958;
}

/* Title. Salient's `body h3` needs the doubled class / extra ancestor. */
.lfg-archive:is(.lfg-archive--communities, .lfg-archive--plans) .product-grid .item h3,
.lfg-archive .lfg-home-card .lfg-home-card__title.lfg-home-card__title,
.lfg-archive .lfg-models .lfg-model-card__title {
	margin: 0;
	padding: 0;
	font-family: "Platypi", serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: #313233;
	transition: color 0.15s ease;
}
.lfg-archive .product-grid .item > a:hover h3,
.lfg-archive .lfg-model-card:hover .lfg-model-card__title {
	color: #2F463E;
}

/* Meta line under the title: community type + price, home city + lot,
   model plan type. */
.lfg-archive--communities .product-grid .item h3 + p + p,
.lfg-archive .lfg-home-card .lfg-home-card__meta,
.lfg-archive .lfg-models .lfg-model-card__type {
	margin: 6px 0 0;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #4B4F52;
}

/* Spec rows (beds / baths / sq. ft. / garage): number bold, label regular,
   the child theme's line icons. The bold rule names the number spans by
   depth, so the "+ LOFT" pieces inside the beds add-on stay regular. */
.lfg-archive:is(.lfg-archive--plans, .lfg-archive--homes) .product-grid .item .grid span,
.lfg-archive .lfg-models .lfg-model-card__specs li {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: #313233;
}
.lfg-archive:is(.lfg-archive--plans, .lfg-archive--homes) .product-grid .item .grid > .flex > span:first-of-type,
.lfg-archive:is(.lfg-archive--plans, .lfg-archive--homes) .product-grid .item .grid > .flex > .flex > span:first-of-type,
.lfg-archive .lfg-model-card__specs strong {
	font-weight: 700;
}
.lfg-archive:is(.lfg-archive--plans, .lfg-archive--homes) .product-grid .item .grid .bokka-icon,
.lfg-archive .lfg-model-card__specs .bokka-icon {
	flex: 0 0 auto;
	margin-right: 8px;
	font-size: 24px;
	color: #4B4F52;
}

/* --------------------------------------------------------------------------
   8. Map + list split layout (homes, models)
   --------------------------------------------------------------------------
   SJV /available-homes/ and /model-homes/: the map on the left stays in view
   while the list on the right scrolls. Salient's build/style.css sets
   `html { overflow-x: hidden; overflow-y: scroll }` and `body { overflow:
   hidden }`, which makes <body> a scroll container that never scrolls, so
   position: sticky never engages. `clip` hides horizontal overflow the same
   way without creating a scroll container. Split widths only (the
   off-canvas mobile menu that may rely on Salient's rule is not used
   there), these pages only.
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	html:has(> body:is(.lfg-bokka-archive--homes, .lfg-bokka-archive--models)) {
		overflow-x: clip;
		overflow-y: visible;
	}
	body:is(.lfg-bokka-archive--homes, .lfg-bokka-archive--models) {
		overflow: visible;
		overflow-x: clip;
	}
}
