@charset "UTF-8";
/**
 * Genie Theme — the page frame. The header and footer are styled by
 * GenieBuilder (mlsg-gb-site.css); this file styles the document and the
 * content between them. Flexbox only; every value is a token.
 */

:root {
	--genie-text: var(--mlsg-gb-color-text, #1a1a1a);
	--genie-muted: var(--mlsg-gb-color-muted, #667085);
	--genie-surface: var(--mlsg-gb-color-surface, #ffffff);
	--genie-border: var(--mlsg-gb-color-border, #e5e7eb);
	--genie-accent: var(--mlsg-brand, #0d76b4);
	--genie-width: 80rem;
	--genie-reading: 46rem;
	--genie-gutter: 1rem;
	--genie-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Headings follow the body font unless Site fonts gives them their own. */
	--genie-heading-font: var(--genie-font);
	/* Site Styles › Colors (Genie_Site_Colors). Each follows today's look
	   until it is set; headings and link hover get rules only once set. */
	--genie-link: var(--genie-accent);
	--genie-page: var(--genie-surface);
}

/* The site parts in the prebuilt header and footer take the company's color. */
.mlsg-gb-site-header :is(.mlsg-gb-logo, .mlsg-gb-menu, .mlsg-gb-actions, .mlsg-gb-account) {
	--mlsg-gb-site-accent: var(--genie-accent);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 6rem;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--genie-page);
	color: var(--genie-text);
	font-family: var(--genie-font);
	font-size: 1rem;
	line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--genie-heading-font);
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--genie-link);
	text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--genie-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	clip-path: none;
}

.genie-skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 10000;
	padding: 0.75rem 1rem;
	background: var(--genie-surface);
	color: var(--genie-text);
	font-weight: 600;
	border-radius: 0.375rem;
	transform: translateY(-200%);
}

.genie-skip-link:focus {
	transform: none;
}

.genie-main {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.genie-main:focus {
	outline: none;
}

/* ── A post or page ─────────────────────────────────────────────────────── */

.genie-entry {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	max-width: var(--genie-reading);
	margin: 0 auto;
	padding: 3rem var(--genie-gutter);
}

.genie-entry--built {
	max-width: none;
	padding: 0;
}

.genie-entry__header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.genie-entry__title,
.genie-archive__title {
	margin: 0;
	font-size: var(--genie-h1-size, clamp(2rem, 1.5rem + 2vw, 2.75rem));
	line-height: var(--genie-h1-lh, 1.15);
}

.genie-entry__meta,
.genie-card__meta {
	margin: 0;
	color: var(--genie-muted);
	font-size: 0.9375rem;
}

.genie-entry__image {
	margin: 0;
}

.genie-entry__image img {
	display: block;
	border-radius: 0.75rem;
}

.genie-entry__content > :first-child {
	margin-top: 0;
}

/* ── Lists of posts, search results, not found ──────────────────────────── */

.genie-archive {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: var(--genie-width);
	margin: 0 auto;
	padding: 3rem var(--genie-gutter);
}

.genie-archive__header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.genie-archive__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.genie-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 18rem;
	overflow: hidden;
	border: 1px solid var(--genie-border);
	border-radius: 0.75rem;
	background: var(--genie-surface);
}

.genie-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.genie-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem;
}

.genie-card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.genie-card__title a {
	color: var(--genie-text);
	text-decoration: none;
}

.genie-card__title a:hover,
.genie-card__title a:focus-visible {
	color: var(--genie-accent);
	text-decoration: underline;
}

.genie-card__excerpt p {
	margin: 0;
}

.genie-archive .navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.genie-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--genie-border);
	border-radius: 0.375rem;
	text-decoration: none;
}

.genie-archive .page-numbers.current {
	background: var(--genie-accent);
	border-color: var(--genie-accent);
	color: var(--mlsg-brand-on, #ffffff);
}

.genie-archive .search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.genie-archive .search-field {
	flex: 1 1 16rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--genie-muted);
	border-radius: 0.375rem;
	font: inherit;
}

.genie-archive .search-submit {
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	border: 0;
	border-radius: 0.375rem;
	background: var(--genie-accent);
	color: var(--mlsg-brand-on, #ffffff);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ── Listing pages: city, status, type, area ───────────────────────────── */

.genie-listings,
.genie-team {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	max-width: var(--genie-width);
	margin: 0 auto;
	padding: 2rem var(--genie-gutter) 3rem;
}

.genie-listings__body,
.genie-team__body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem;
}

.genie-listings__main,
.genie-team__main {
	display: flex;
	flex-direction: column;
	flex: 1 1 36rem;
	gap: 1.5rem;
	min-width: 0;
}

.genie-listings__sidebar,
.genie-team__sidebar {
	display: flex;
	flex-direction: column;
	flex: 0 1 22rem;
	gap: 1.5rem;
	min-width: 0;
}

.genie-listings__title {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
}

.genie-listings__description > :first-child {
	margin-top: 0;
}

.genie-listings__description > :last-child {
	margin-bottom: 0;
}

/* ── Agent and office pages ─────────────────────────────────────────────── */

.genie-team__card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	border: 1px solid var(--genie-border);
	border-radius: 0.75rem;
	background: var(--genie-surface);
}

.genie-team__heading {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.25;
}

.genie-team__content > :first-child {
	margin-top: 0;
}

.genie-team__content > :last-child {
	margin-bottom: 0;
}

/* Listing pages: the sidebar on the left, a sidebar that stays in view,
   and the map beside the homes (Customize › Listing Pages). */
.genie-listings--side-left .genie-listings__sidebar {
	order: -1;
}

.genie-listings--sticky .genie-listings__sidebar {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
	align-self: flex-start;
}

.genie-listings--map-beside {
	max-width: none;
}

.genie-listings__map {
	display: flex;
	flex: 1 1 28rem;
	flex-direction: column;
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
	align-self: flex-start;
	min-width: 0;
}

.genie-listings--map-beside .genie-listings__sidebar {
	flex-basis: 100%;
	order: 1;
}

@media (max-width: 64rem) {
	.genie-listings__sidebar {
		flex-basis: 100%;
	}

	/* One column: the homes come first, whichever side the sidebar is on. */
	.genie-listings--side-left .genie-listings__sidebar {
		order: 1;
	}

	.genie-listings--sticky .genie-listings__sidebar {
		position: static;
	}

	.genie-listings__map {
		flex-basis: 100%;
		order: -1;
		position: static;
	}
}

/* ── Without MLS Genie ──────────────────────────────────────────────────── */

.genie-fallback-header,
.genie-fallback-footer {
	display: flex;
	padding: 1rem var(--genie-gutter);
	border-bottom: 1px solid var(--genie-border);
}

.genie-fallback-footer {
	border-top: 1px solid var(--genie-border);
	border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Each part of a listing page's main column, in its own box so tablets
   and phones can order and hide it (Customize › Listing Pages). */
.genie-listings__block {
	min-width: 0;
}

/* ── Desktop, Tablet, Mobile ────────────────────────────────────────────
   Something switched off at a screen size (Genie_Devices::off()). The class
   is repeated so it outweighs the element's own display: its component
   rules are at most three classes deep. */
@media (min-width: 1025px) {
	.genie-off-d.genie-off-d.genie-off-d {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.genie-off-t.genie-off-t.genie-off-t {
		display: none;
	}
}

@media (max-width: 767px) {
	.genie-off-m.genie-off-m.genie-off-m {
		display: none;
	}
}

/* ── Elementor header over the home page photo (genie_theme_header_over) ──
   Desktop only, matching where an Elementor header shows its full menu. The
   header's own rows lose their background; its top-level links and icons
   turn light. Drop-downs and the phone menu keep their own colours. */
@media (min-width: 1025px) {
	#genie-site-header.genie-site-header--over {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		z-index: 50;
	}

	.admin-bar #genie-site-header.genie-site-header--over {
		top: var(--wp-admin--admin-bar--height, 32px);
	}

	#genie-site-header.genie-site-header--over > .elementor > .e-con,
	#genie-site-header.genie-site-header--over > .elementor > .e-con > .e-con,
	#genie-site-header.genie-site-header--over > .elementor > .elementor-section {
		background-color: transparent;
		background-image: none;
		border-color: transparent;
		box-shadow: none;
	}

	#genie-site-header.genie-site-header--over .elementor-nav-menu--main > .elementor-nav-menu > li > a,
	#genie-site-header.genie-site-header--over .elementor-widget-icon .elementor-icon,
	#genie-site-header.genie-site-header--over .elementor-widget-heading .elementor-heading-title,
	#genie-site-header.genie-site-header--over .mlsg-gb-account__toggle {
		color: var(--mlsg-gb-color-on-brand, var(--genie-surface));
	}

	#genie-site-header.genie-site-header--over .elementor-widget-icon svg,
	#genie-site-header.genie-site-header--over .elementor-nav-menu--main > .elementor-nav-menu > li > a svg {
		fill: currentColor;
	}
}
