/* FT Site v2 — design layer. Loads after Kadence and restyles the whole site
   through Kadence's own palette variables, then styles the new templates.      */

:root {
	--ft-pine: #12301f;
	--ft-pine-2: #1a4229;
	--ft-green: #225929;
	--ft-green-2: #2e7136;
	--ft-leaf: #e7efe6;
	--ft-orange: #dc6629;
	--ft-orange-2: #c4561d;
	--ft-sand: #f6f3ec;
	--ft-sand-2: #ede7da;
	--ft-ink: #17211b;
	--ft-text: #2f3a33;
	--ft-muted: #5d6a61;
	--ft-line: #e1ddd2;
	--ft-white: #ffffff;
	--ft-rental: #c4561d;
	--ft-both: #6b4bb3;
	--ft-radius: 14px;
	--ft-shadow: 0 1px 2px rgba(18, 48, 31, .06), 0 6px 22px rgba(18, 48, 31, .07);
	--ft-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ft-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Kadence palette → the whole theme follows. */
	--global-palette1: #225929;
	--global-palette2: #12301f;
	--global-palette3: #17211b;
	--global-palette4: #2f3a33;
	--global-palette5: #4a564e;
	--global-palette6: #6f7b73;
	--global-palette7: #ede7da;
	--global-palette8: #f6f3ec;
	--global-palette9: #ffffff;
	--global-palette-highlight: #225929;
	--global-palette-highlight-alt: #dc6629;
	--global-palette-btn-bg: #225929;
	--global-palette-btn-bg-hover: #dc6629;
	--global-body-font-family: var(--ft-font);
	--global-heading-font-family: var(--ft-display);
}

/* ---------- Base ---------- */
body.ftv2 {
	font-family: var(--ft-font);
	color: var(--ft-text);
	background: var(--ft-sand);
	-webkit-font-smoothing: antialiased;
}
body.ftv2 h1, body.ftv2 h2, body.ftv2 h3, body.ftv2 h4,
body.ftv2 .entry-title, body.ftv2 .wp-block-heading {
	font-family: var(--ft-display);
	color: var(--ft-ink);
	letter-spacing: -0.01em;
}
body.ftv2 a { color: var(--ft-green); }
body.ftv2 a:hover { color: var(--ft-orange-2); }
body.ftv2 .content-bg, body.ftv2 .entry.content-bg { border-radius: var(--ft-radius); box-shadow: var(--ft-shadow); }
body.ftv2 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Header ---------- */
body.ftv2 #masthead,
body.ftv2 #masthead .site-header-row-container-inner,
body.ftv2 #masthead .site-main-header-wrap .site-header-row-container-inner {
	background: var(--ft-white);
}
body.ftv2 #masthead { border-bottom: 1px solid var(--ft-line); box-shadow: 0 1px 0 rgba(18, 48, 31, .03); position: relative; z-index: 1000; }
body.ftv2 #masthead .custom-logo { max-height: 56px; width: auto; }
body.ftv2 #masthead .site-title { font-family: var(--ft-display); font-weight: 800; color: var(--ft-pine); }
body.ftv2 #masthead .site-description { color: var(--ft-muted); }
body.ftv2 .main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-weight: 600; font-size: .95rem; color: var(--ft-ink);
	padding-left: .7em; padding-right: .7em;
}
body.ftv2 .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body.ftv2 .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: var(--ft-green); }
body.ftv2 .ftv2-nav-map > a {
	display: inline-flex !important; align-items: center; gap: .4em;
	border: 1.5px solid var(--ft-green); border-radius: 999px;
	padding: .4em .9em !important; margin: 0 .3em; color: var(--ft-green) !important;
}
body.ftv2 .ftv2-nav-map > a:hover { background: var(--ft-green); color: #fff !important; }
body.ftv2 .ftv2-nav-map svg { flex: none; }
body.ftv2 .menu-item.primary-cta > a { border-radius: 999px !important; }
body.ftv2 .mobile-navigation .ftv2-nav-map > a { border: 0; margin: 0; padding: 1em !important; border-radius: 0; }

/* ---------- Footer ---------- */
body.ftv2 .site-footer,
body.ftv2 .site-footer .site-footer-wrap,
body.ftv2 .site-footer .site-top-footer-wrap .site-footer-row-container-inner,
body.ftv2 .site-footer .site-middle-footer-wrap .site-footer-row-container-inner,
body.ftv2 .site-footer .site-bottom-footer-wrap .site-footer-row-container-inner {
	background: var(--ft-pine) !important;
	color: #c9d6cd;
}
body.ftv2 .site-footer a { color: #f2efe6 !important; text-decoration: none; }
body.ftv2 .site-footer a:hover { color: #f4b183 !important; text-decoration: underline; }
body.ftv2 .site-footer h2, body.ftv2 .site-footer h3, body.ftv2 .site-footer h4, body.ftv2 .site-footer .widget-title { color: #fff; }
body.ftv2 .site-footer .site-bottom-footer-wrap { border-top: 1px solid rgba(255, 255, 255, .08); }
body.ftv2 .site-footer .footer-html-inner, body.ftv2 .site-footer .ft-footer-copyright { color: #9fb2a6; font-size: .88rem; }

/* ---------- Buttons ---------- */
.ftv2-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	background: var(--ft-green); color: #fff !important;
	font: 600 .97rem/1.2 var(--ft-font);
	padding: .8em 1.35em; border-radius: 999px; border: 0;
	text-decoration: none !important; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, transform .15s;
}
.ftv2-btn:hover, .ftv2-btn:focus-visible { background: var(--ft-pine-2); color: #fff !important; }
.ftv2-btn-accent { background: var(--ft-orange); }
.ftv2-btn-accent:hover, .ftv2-btn-accent:focus-visible { background: var(--ft-orange-2); }
.ftv2-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .6); }
.ftv2-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.ftv2-btn-ghost-dark { background: #fff; color: var(--ft-ink) !important; border: 1.5px solid var(--ft-line); }
.ftv2-btn-ghost-dark:hover { background: var(--ft-leaf); color: var(--ft-ink) !important; border-color: #b9ccb9; }
.ftv2-btn-sm { padding: .5em .95em; font-size: .9rem; }
.ftv2-link { font-weight: 600; text-decoration: none; color: var(--ft-green); }
.ftv2-link:hover { text-decoration: underline; }
.ftv2-linkbtn { background: none; border: 0; padding: 0; color: var(--ft-green); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Page scaffolding (new templates) ---------- */
.ftv2-page { background: var(--ft-sand); }
.ftv2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ftv2-section { padding: 64px 0; }
.ftv2-alt { background: var(--ft-white); border-top: 1px solid var(--ft-line); border-bottom: 1px solid var(--ft-line); }
.ftv2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.ftv2-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 0 0 .3rem; line-height: 1.15; }
.ftv2-head p { margin: 0; color: var(--ft-muted); max-width: 62ch; }
.ftv2-eyebrow { font: 700 .78rem/1 var(--ft-font); letter-spacing: .12em; text-transform: uppercase; color: var(--ft-orange); margin: 0 0 .9rem; }
.ftv2-fine { font-size: .85rem; color: var(--ft-muted); margin: .9rem 0 0; }
.ftv2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Hero ---------- */
.ftv2-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(220, 102, 41, .22), transparent 60%),
		radial-gradient(900px 600px at -10% 110%, rgba(46, 113, 54, .45), transparent 60%),
		linear-gradient(160deg, #12301f 0%, #173d27 55%, #1d4a2d 100%);
	color: #e9efe9; padding: 84px 0 76px;
}
.ftv2-hero::after {
	/* Field rows — an abstract crop-row pattern, drawn in CSS. */
	content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%;
	background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 26px);
	transform: perspective(600px) rotateX(58deg); transform-origin: bottom; pointer-events: none;
}
.ftv2-hero .ftv2-wrap { position: relative; z-index: 1; }
.ftv2-hero .ftv2-eyebrow { color: #f4b183; }
body.ftv2 .ftv2-hero h1 {
	color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); line-height: 1.04; font-weight: 800;
	max-width: 17ch; margin: 0 0 18px; letter-spacing: -0.02em;
}
.ftv2-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfdcd2; max-width: 58ch; margin: 0 0 34px; }

.ftv2-search {
	display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr) auto auto; gap: 10px; align-items: end;
	background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
	max-width: 1060px;
}
.ftv2-search label, .ftv2-search legend {
	display: block; font: 600 .74rem/1 var(--ft-font); letter-spacing: .06em; text-transform: uppercase;
	color: var(--ft-muted); margin: 0 0 6px 4px; padding: 0;
}
.ftv2-search input[type=search], .ftv2-search select {
	width: 100%; height: 52px; border: 1.5px solid var(--ft-line); border-radius: 12px;
	padding: 0 14px; font: 500 1rem var(--ft-font); color: var(--ft-ink); background: #fbfaf7;
}
.ftv2-search input[type=search]:focus, .ftv2-search select:focus { outline: none; border-color: var(--ft-green); background: #fff; box-shadow: 0 0 0 3px rgba(34, 89, 41, .15); }
.ftv2-search-type { border: 0; margin: 0; padding: 0; min-width: 0; }
.ftv2-search-type label, .ftv2-seg label { display: inline-block; margin: 0; text-transform: none; letter-spacing: 0; }
.ftv2-search .ftv2-btn { height: 52px; padding: 0 30px; font-size: 1.02rem; border-radius: 12px; }

/* Segmented control (hero + finder) */
.ftv2-search-type, .ftv2-seg { display: flex; flex-wrap: wrap; }
.ftv2-search-type legend, .ftv2-seg legend { width: 100%; }
.ftv2-search-type input, .ftv2-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ftv2-search-type span, .ftv2-seg span {
	display: inline-flex; align-items: center; height: 52px; padding: 0 16px;
	border: 1.5px solid var(--ft-line); background: #fbfaf7; color: var(--ft-text);
	font: 600 .95rem var(--ft-font); cursor: pointer; margin-left: -1.5px;
}
.ftv2-search-type label:first-of-type span, .ftv2-seg label:first-of-type span { border-radius: 12px 0 0 12px; margin-left: 0; }
.ftv2-search-type label:last-of-type span, .ftv2-seg label:last-of-type span { border-radius: 0 12px 12px 0; }
.ftv2-search-type input:checked + span, .ftv2-seg input:checked + span { background: var(--ft-green); border-color: var(--ft-green); color: #fff; position: relative; }
.ftv2-search-type input:focus-visible + span, .ftv2-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(34, 89, 41, .25); position: relative; }

.ftv2-quick { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .92rem; }
.ftv2-quick span { color: #a9bcae; margin-right: 4px; }
.ftv2-quick a {
	color: #fff !important; text-decoration: none; padding: .38em .9em; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.ftv2-quick a:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Stats ---------- */
.ftv2-stats { background: var(--ft-white); border-bottom: 1px solid var(--ft-line); }
.ftv2-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ftv2-stats-grid div { padding: 26px 18px; border-left: 1px solid var(--ft-line); }
.ftv2-stats-grid div:first-child { border-left: 0; padding-left: 0; }
.ftv2-stats strong { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1 var(--ft-display); color: var(--ft-pine); }
.ftv2-stats small { font: 600 .9rem var(--ft-font); color: var(--ft-muted); }
.ftv2-stats span { display: block; margin-top: 6px; color: var(--ft-muted); font-size: .93rem; }

/* ---------- Maps ---------- */
.ftv2-map { width: 100%; height: 520px; border-radius: var(--ft-radius); background: #dfe7df; z-index: 0; }
.ftv2-map .leaflet-tile-pane { filter: saturate(.55) contrast(1.02) brightness(1.03); }
.ftv2-map.is-failed::after { content: "The map could not load. Use search instead."; display: grid; place-items: center; height: 100%; color: var(--ft-muted); }
.ftv2-homemap-frame { position: relative; border-radius: var(--ft-radius); box-shadow: var(--ft-shadow); border: 1px solid var(--ft-line); }
.ftv2-legend {
	position: absolute; left: 14px; bottom: 14px; z-index: 500; list-style: none; margin: 0; padding: 8px 12px;
	display: flex; gap: 14px; background: rgba(255, 255, 255, .94); border-radius: 10px; box-shadow: var(--ft-shadow);
	font-size: .82rem; font-weight: 600; color: var(--ft-text);
}
.ftv2-legend li { display: flex; align-items: center; gap: 6px; margin: 0; }
.ftv2-legend i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.ftv2-legend .is-d, .ftv2-pin.is-d span { background: var(--ft-green); }
.ftv2-legend .is-r, .ftv2-pin.is-r span { background: var(--ft-rental); }
.ftv2-legend .is-b, .ftv2-pin.is-b span { background: var(--ft-both); }
.ftv2-pin { background: none !important; border: 0 !important; }
.ftv2-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.ftv2-cluster { background: none !important; }
.ftv2-cluster span {
	display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
	background: var(--ft-pine); color: #fff; font: 700 .85rem var(--ft-font);
	border: 3px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 5px rgba(34, 89, 41, .22), 0 2px 8px rgba(0, 0, 0, .25);
}
.leaflet-popup-content-wrapper { border-radius: 12px !important; box-shadow: 0 8px 28px rgba(0, 0, 0, .2) !important; }
.leaflet-popup-content { margin: 14px 16px !important; font-family: var(--ft-font); }
.ftv2-pop { display: flex; flex-direction: column; gap: 5px; min-width: 220px; }
.ftv2-pop strong { font: 700 1rem/1.25 var(--ft-display); }
.ftv2-pop strong a { color: var(--ft-ink) !important; text-decoration: none; }
.ftv2-pop-line { font-size: .84rem; color: var(--ft-muted); line-height: 1.35; }
.ftv2-pop-brands { color: var(--ft-green); font-weight: 600; }
.ftv2-pop-acts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: .86rem; font-weight: 600; }
.ftv2-pop-acts a { color: var(--ft-green) !important; }

/* Tags */
.ftv2-tag { display: inline-block; align-self: flex-start; font: 700 .68rem/1 var(--ft-font); letter-spacing: .07em; text-transform: uppercase; padding: .35em .6em; border-radius: 999px; }
.ftv2-tag.is-d { background: var(--ft-leaf); color: var(--ft-green); }
.ftv2-tag.is-r { background: #fbe9de; color: #9c4314; }
.ftv2-tag.is-b { background: #ece6f8; color: #553a99; }

/* ---------- Regions ---------- */
.ftv2-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.ftv2-region {
	background: var(--ft-sand); border: 1px solid var(--ft-line); border-radius: var(--ft-radius);
	padding: 22px 22px 18px; display: flex; flex-direction: column;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ftv2-region:hover { border-color: #b9ccb9; box-shadow: var(--ft-shadow); transform: translateY(-2px); }
.ftv2-region h3 { font-size: 1.18rem; margin: 0 0 2px; line-height: 1.2; }
.ftv2-region h3 a { color: var(--ft-ink) !important; text-decoration: none; }
.ftv2-count { margin: 0 0 12px; color: var(--ft-orange-2); font-weight: 700; font-size: .9rem; }
.ftv2-region ul { list-style: none; margin: 0 0 14px; padding: 0; }
.ftv2-region li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--ft-line); font-size: .94rem; margin: 0; }
.ftv2-region li a { color: var(--ft-text) !important; text-decoration: none; }
.ftv2-region li a:hover { color: var(--ft-green) !important; text-decoration: underline; }
.ftv2-region li span { color: var(--ft-muted); font-variant-numeric: tabular-nums; }
.ftv2-more { margin-top: auto; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* ---------- Brands ---------- */
.ftv2-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ftv2-brands li { margin: 0; }
.ftv2-brands a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	background: #fff; border: 1px solid var(--ft-line); border-radius: 12px; padding: 14px 16px;
	text-decoration: none; color: var(--ft-ink) !important; font-weight: 600;
	transition: border-color .15s, box-shadow .15s;
}
.ftv2-brands a:hover { border-color: var(--ft-green); box-shadow: var(--ft-shadow); }
.ftv2-brands em { font-style: normal; font-size: .82rem; color: var(--ft-muted); background: var(--ft-sand); border-radius: 999px; padding: .2em .6em; font-variant-numeric: tabular-nums; }

/* ---------- Buy / rent split ---------- */
.ftv2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ftv2-panel { background: var(--ft-sand); border: 1px solid var(--ft-line); border-radius: 18px; padding: 34px; }
.ftv2-panel:last-child { background: #fbf1ea; border-color: #f0d9c8; }
.ftv2-panel:last-child .ftv2-btn { background: var(--ft-orange); }
.ftv2-panel:last-child .ftv2-btn:hover { background: var(--ft-orange-2); }
.ftv2-panel h2 { font-size: 1.7rem; margin: 0 0 10px; }
.ftv2-panel p { color: var(--ft-text); margin: 0 0 22px; max-width: 52ch; }

/* ---------- Guides ---------- */
.ftv2-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ftv2-guide {
	display: block; background: #fff; border: 1px solid var(--ft-line); border-radius: var(--ft-radius);
	padding: 22px; text-decoration: none !important; border-top: 4px solid var(--ft-green);
	transition: box-shadow .15s, transform .15s;
}
.ftv2-guide:nth-child(3n+2) { border-top-color: var(--ft-orange); }
.ftv2-guide:nth-child(3n) { border-top-color: #b08a3e; }
.ftv2-guide:hover { box-shadow: var(--ft-shadow); transform: translateY(-2px); }
.ftv2-guide h3 { font-size: 1.1rem; margin: 0 0 6px; color: var(--ft-ink); }
.ftv2-guide p { margin: 0; color: var(--ft-muted); font-size: .94rem; }

/* ---------- Trust + CTA ---------- */
.ftv2-trust { padding-top: 8px; }
.ftv2-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--ft-line); padding-top: 44px; }
.ftv2-trust h3 { font-size: 1.05rem; margin: 0 0 8px; }
.ftv2-trust p { margin: 0; color: var(--ft-muted); font-size: .95rem; }
.ftv2-cta { background: var(--ft-pine); color: #d4dfd7; padding: 56px 0; }
.ftv2-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
body.ftv2 .ftv2-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 8px; }
.ftv2-cta p { margin: 0; max-width: 60ch; }

/* ---------- /map/ finder ---------- */
body.ftv2-map-page .site-footer { margin-top: 0; }
.ftv2-finder { padding: 0 0 40px; }
.ftv2-finder-bar { background: #fff; border-bottom: 1px solid var(--ft-line); padding: 22px 24px 18px; position: sticky; top: 0; z-index: 600; }
.ftv2-finder-title { max-width: 1440px; margin: 0 auto 14px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ftv2-finder-title h1 { font-size: 1.6rem; margin: 0; }
.ftv2-finder-title p { margin: 0; color: var(--ft-muted); font-size: .95rem; }
.ftv2-filters {
	max-width: 1440px; margin: 0 auto; display: grid; gap: 10px 12px; align-items: end;
	grid-template-columns: minmax(220px, 2fr) auto minmax(150px, 1fr) minmax(150px, 1fr) auto;
}
.ftv2-f { min-width: 0; margin: 0; border: 0; padding: 0; }
.ftv2-f:not(.ftv2-seg):not(.ftv2-f-tools) > label, .ftv2-f > legend {
	display: block; font: 600 .72rem/1 var(--ft-font); letter-spacing: .06em; text-transform: uppercase; color: var(--ft-muted); margin: 0 0 6px 2px; padding: 0;
}
.ftv2-filters input[type=search], .ftv2-filters select {
	width: 100%; height: 44px; border: 1.5px solid var(--ft-line); border-radius: 10px; padding: 0 12px;
	font: 500 .95rem var(--ft-font); color: var(--ft-ink); background: #fbfaf7;
}
.ftv2-filters input[type=search]:focus, .ftv2-filters select:focus { outline: none; border-color: var(--ft-green); background: #fff; box-shadow: 0 0 0 3px rgba(34, 89, 41, .15); }
.ftv2-seg span { height: 44px; padding: 0 14px; font-size: .9rem; }
.ftv2-seg label:first-of-type span { border-radius: 10px 0 0 10px; }
.ftv2-seg label:last-of-type span { border-radius: 0 10px 10px 0; }
.ftv2-f-tools { display: flex; align-items: center; gap: 10px; height: 44px; white-space: nowrap; }
.ftv2-check { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; cursor: pointer; }
.ftv2-check input { width: 17px; height: 17px; accent-color: var(--ft-green); }
.ftv2-reset { background: none; border: 0; color: var(--ft-muted); font: 600 .88rem var(--ft-font); text-decoration: underline; cursor: pointer; padding: 0 4px; }
#ftv2-near.is-busy { opacity: .6; pointer-events: none; }

.ftv2-finder-body {
	max-width: 1440px; margin: 0 auto; padding: 20px 24px 0;
	display: grid; grid-template-columns: minmax(360px, 460px) minmax(0, 1fr); gap: 22px; align-items: start;
}
.ftv2-results-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
#ftv2-count { margin: 0; color: var(--ft-muted); }
#ftv2-count strong { color: var(--ft-ink); font-size: 1.05rem; }
.ftv2-view { display: none; }
.ftv2-origin { background: #eaf1ff; border: 1px solid #cddcfb; color: #1e3a6e; border-radius: 10px; padding: 9px 12px; font-size: .9rem; margin: 0 0 12px; }
.ftv2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ftv2-card {
	background: #fff; border: 1px solid var(--ft-line); border-radius: 12px; padding: 14px 16px; margin: 0;
	transition: border-color .15s, box-shadow .15s;
}
.ftv2-card:hover { border-color: #b9ccb9; box-shadow: var(--ft-shadow); }
.ftv2-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ftv2-dist { font: 700 .85rem var(--ft-font); color: #1e3a6e; font-variant-numeric: tabular-nums; }
.ftv2-card h2 { font-size: 1.04rem; line-height: 1.3; margin: 0 0 4px; }
.ftv2-card h2 a { color: var(--ft-ink) !important; text-decoration: none; }
.ftv2-card h2 a:hover { color: var(--ft-green) !important; text-decoration: underline; }
.ftv2-card-loc { margin: 0; font-size: .88rem; color: var(--ft-muted); }
.ftv2-card-loc a { color: var(--ft-muted) !important; }
.ftv2-card-brands { margin: 4px 0 0; font-size: .86rem; color: var(--ft-green); font-weight: 600; }
.ftv2-card-acts { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9rem; }
.ftv2-call { font-weight: 700; text-decoration: none; color: var(--ft-ink) !important; }
.ftv2-call::before { content: "☎"; margin-right: 5px; color: var(--ft-green); }
.ftv2-has-hours { color: var(--ft-muted); font-size: .82rem; }
.ftv2-has-hours::before { content: "✓ "; color: var(--ft-green); font-weight: 700; }
.ftv2-showpin { margin-left: auto; background: none; border: 1px solid var(--ft-line); border-radius: 999px; padding: .3em .8em; font: 600 .8rem var(--ft-font); color: var(--ft-green); cursor: pointer; }
.ftv2-showpin:hover { background: var(--ft-leaf); border-color: #b9ccb9; }
.ftv2-empty { background: #fff; border: 1px dashed var(--ft-line); border-radius: 12px; padding: 18px; color: var(--ft-muted); }
.ftv2-moreb { width: 100%; margin-top: 12px; }
.ftv2-mapcol { position: sticky; top: 150px; }
.ftv2-mapcol .ftv2-map { height: calc(100vh - 190px); min-height: 460px; border: 1px solid var(--ft-line); box-shadow: var(--ft-shadow); }
.ftv2-mapnote { font-size: .84rem; color: var(--ft-muted); margin: 8px 2px 0; }

/* ---------- Hub search strip + archive map links ---------- */
.ftv2-strip {
	display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
	background: var(--ft-pine); border-radius: 16px; padding: 14px; margin: 0 0 2rem;
}
.ftv2-strip input[type=search] {
	flex: 1 1 260px; height: 48px; border: 0; border-radius: 10px; padding: 0 14px; font: 500 1rem var(--ft-font); background: #fff;
}
.ftv2-strip button {
	height: 48px; border: 0; border-radius: 10px; padding: 0 22px; background: var(--ft-orange); color: #fff;
	font: 700 .97rem var(--ft-font); cursor: pointer;
}
.ftv2-strip button:hover { background: var(--ft-orange-2); }
body.ftv2 .entry-content .ftv2-strip a.ftv2-strip-map { color: #f2efe6 !important; text-decoration: none; font-weight: 600; font-size: .93rem; padding: 0 6px; }
body.ftv2 .entry-content .ftv2-strip a.ftv2-strip-map:hover { text-decoration: underline; }
a.ftv2-maplink {
	display: inline-flex; align-items: center; gap: .45em; margin: .4rem 0 1rem;
	background: var(--ft-leaf); color: var(--ft-green) !important; border: 1px solid #c8d9c7;
	padding: .45em .95em; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none !important;
}
a.ftv2-maplink:hover { background: var(--ft-green); color: #fff !important; border-color: var(--ft-green); }

/* ---------- Harmonise the existing listing (.ftx) and archive (.fta) templates ---------- */
body.ftv2 .ftx a, body.ftv2 .fta a { color: var(--ft-green); }
body.ftv2 .ftx-card, body.ftv2 .fta-card { border-color: var(--ft-line); border-radius: var(--ft-radius); box-shadow: 0 1px 2px rgba(18, 48, 31, .05); }
body.ftv2 .fta-card:hover { border-color: #b9ccb9; box-shadow: var(--ft-shadow); }
body.ftv2 .ftx h1, body.ftv2 .fta h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
body.ftv2 .ftx-type, body.ftv2 .fta-tag { background: var(--ft-leaf); color: var(--ft-green); }
body.ftv2 .fta-tag.rent { background: #fbe9de; color: #9c4314; }
body.ftv2 .ftx-cta, body.ftv2 .fta-cta { border: 0; background: var(--ft-pine); color: #d4dfd7; border-radius: 16px; }
body.ftv2 .ftx-cta h2, body.ftv2 .fta-cta h2 { color: #fff; }
body.ftv2 .fta-cta p { color: #c9d6cd; }
body.ftv2 .ftx-btn, body.ftv2 .fta-btn { background: var(--ft-orange); border-radius: 999px; }
body.ftv2 .ftx-btn:hover, body.ftv2 .fta-btn:hover, body.ftv2 .ftx-btn:focus, body.ftv2 .fta-btn:focus { background: var(--ft-orange-2); }
body.ftv2 .ftx-brands a, body.ftv2 .fta-sib a { border-radius: 999px; background: #fff; border-color: var(--ft-line); }
body.ftv2 .ftx-brands a:hover, body.ftv2 .fta-sib a:hover { background: var(--ft-leaf); border-color: #b9ccb9; }
body.ftv2 .ftx-map { border-radius: var(--ft-radius); }
body.ftv2 .ftx-near a { border-radius: 12px; border-color: var(--ft-line); }
body.ftv2 .ft-card { border-color: var(--ft-line); border-radius: var(--ft-radius); }
body.ftv2 .ft-brands, body.ftv2 .fta-brands { color: var(--ft-green) !important; }
body.ftv2 .ftx-cindex a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ftv2-search { grid-template-columns: 1fr 1fr; }
	.ftv2-search-q { grid-column: 1 / -1; }
	.ftv2-search .ftv2-btn { width: 100%; }
	.ftv2-filters { grid-template-columns: 1fr 1fr; }
	.ftv2-f-q { grid-column: 1 / -1; }
	.ftv2-guides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
	.ftv2-finder-bar { position: static; padding: 16px; }
	.ftv2-finder-body { grid-template-columns: 1fr; padding: 14px 16px 0; }
	.ftv2-view { display: inline-flex; border: 1.5px solid var(--ft-line); border-radius: 999px; overflow: hidden; }
	.ftv2-view button { background: #fff; border: 0; padding: .45em 1.05em; font: 600 .88rem var(--ft-font); color: var(--ft-text); cursor: pointer; }
	.ftv2-view button.is-on { background: var(--ft-green); color: #fff; }
	.ftv2-mapcol { position: static; display: none; }
	.ftv2-finder[data-view=map] .ftv2-mapcol { display: block; }
	.ftv2-finder[data-view=map] .ftv2-list, .ftv2-finder[data-view=map] .ftv2-moreb { display: none; }
	.ftv2-mapcol .ftv2-map { height: 70vh; min-height: 380px; }
	.ftv2-results-head { position: sticky; top: 0; background: var(--ft-sand); z-index: 5; padding: 6px 0; }
}
@media (max-width: 860px) {
	.ftv2-split, .ftv2-trust-grid { grid-template-columns: 1fr; }
	.ftv2-stats-grid { grid-template-columns: 1fr 1fr; }
	.ftv2-stats-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
	.ftv2-stats-grid div:nth-child(n+3) { border-top: 1px solid var(--ft-line); }
	.ftv2-section { padding: 48px 0; }
	.ftv2-map { height: 420px; }
}
@media (max-width: 640px) {
	.ftv2-wrap { padding: 0 16px; }
	.ftv2-finder-title { margin-bottom: 10px; }
	.ftv2-finder-title h1 { font-size: 1.4rem; }
	.ftv2-finder-title p { font-size: .88rem; }
	.ftv2-hero { padding: 52px 0 48px; }
	.ftv2-search { grid-template-columns: 1fr; padding: 10px; }
	.ftv2-search-type { width: 100%; }
	.ftv2-search-type label { flex: 1; }
	.ftv2-search-type span, .ftv2-seg span { width: 100%; justify-content: center; }
	.ftv2-seg label { flex: 1; }
	.ftv2-filters { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
	.ftv2-seg, .ftv2-f-tools { grid-column: 1 / -1; }
	.ftv2-f-tools { flex-wrap: wrap; height: auto; }
	.ftv2-guides { grid-template-columns: 1fr; }
	.ftv2-panel { padding: 24px; }
	.ftv2-legend { gap: 10px; font-size: .76rem; }
	.ftv2-strip a.ftv2-strip-map { width: 100%; }
}

/* pop-up and panel headings must beat the theme's global heading colour */
body.ftv2 .ftv2-pop strong, body.ftv2 .ftv2-pop strong a { color: var(--ft-ink) !important; }
body.ftv2 .site-footer h2, body.ftv2 .site-footer h3 { color: #fff; }
body.ftv2 #colophon, body.ftv2 #colophon .site-footer-row-container-inner, body.ftv2 #colophon [class*="footer-wrap"], body.ftv2 .ft-footer-nav { background: #0c2116 !important; }

/* Content tables (rewritten pages, 2026-11-23): scroll inside their own box on phones, never the page. */
body.ftv2 .entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
body.ftv2 .entry-content .wp-block-table table { border-collapse: collapse; font-size: .92rem; width: 100%; }
body.ftv2 .entry-content .wp-block-table th { background: var(--ft-sand); text-align: left; font-weight: 700; }
body.ftv2 .entry-content .wp-block-table th, body.ftv2 .entry-content .wp-block-table td { border: 1px solid var(--ft-line); padding: .55em .7em; vertical-align: top; }
@media (max-width: 700px) {
	body.ftv2 .entry-content .wp-block-table table { min-width: 620px; font-size: .85rem; }
	body.ftv2 .entry-content .wp-block-table::after { content: "Swipe the table sideways to see every column →"; display: block; font-size: .78rem; color: var(--ft-muted); margin-top: .4rem; }
}

/* Advertiser products + PayPal checkout (2026-11-23). */
body.ftv2 .ftv2-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 1.5rem 0 2rem; }
body.ftv2 .ftv2-plan { background: #fff; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
body.ftv2 .ftv2-plan.is-main { border: 2px solid var(--ft-green); box-shadow: var(--ft-shadow); }
body.ftv2 .ftv2-plan h3 { margin: 0; font-size: 1.15rem; }
body.ftv2 .ftv2-price { font: 800 1.9rem/1.1 var(--ft-display); color: var(--ft-pine); margin: 4px 0 0; }
body.ftv2 .ftv2-price small { font: 600 .9rem var(--ft-font); color: var(--ft-muted); }
body.ftv2 .ftv2-plan ul { margin: 6px 0 10px 1.1em; padding: 0; font-size: .94rem; }
body.ftv2 .ftv2-plan li { margin: 3px 0; }
body.ftv2 .ftv2-plan .ftv2-btn { margin-top: auto; }
body.ftv2 .ftv2-pay { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
body.ftv2 .ftv2-pay-label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--ft-muted); }
body.ftv2 .ftv2-pay-label input { height: 42px; border: 1.5px solid var(--ft-line); border-radius: 10px; padding: 0 10px; font: 500 .95rem var(--ft-font); }
body.ftv2 .ftv2-paid { background: var(--ft-leaf); border: 1px solid #c8d9c7; border-radius: 12px; padding: 14px 16px; margin: 0 0 1.5rem; }
body.ftv2 .fta-tag.feat::after, body.ftv2 .ft-badge::after { content: " · paid"; font-weight: 600; }

/* Pages that carry their own H1 in the content: drop the theme title band. */
body.ftv2-own-h1 .entry-hero.page-hero-section { display: none; }
body.ftv2-own-h1 .entry-content > h1.wp-block-heading:first-child { margin-top: 0; }

/* Sell page: find dealers by brand + county */
body.ftv2 .ftv2-sellfind { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; background: var(--ft-pine, #17402b); border-radius: var(--ft-radius, 12px); padding: 18px; margin: 1rem 0 1.25rem; }
body.ftv2 .ftv2-sellfind label { display: flex; flex-direction: column; gap: 6px; color: #f2efe6; font-weight: 600; font-size: .9rem; margin: 0; }
body.ftv2 .ftv2-sellfind select { width: 100%; min-height: 44px; border-radius: 8px; border: 0; padding: 0 10px; font-size: 1rem; background: #fff; color: #1b1f1c; }
body.ftv2 .ftv2-sellfind .ftv2-btn { min-height: 44px; border: 0; cursor: pointer; }
@media (max-width: 700px) { body.ftv2 .ftv2-sellfind { grid-template-columns: 1fr; } }
body.ftv2 .ftv2-sellfind select { -webkit-appearance: none; appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312301f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
