/* Schilling Development: listing page blocks. Colors and fonts inherit from the theme. */
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 6px; background: #1f5f99; color: #fff !important; font-weight: 600; text-decoration: none !important; border: 1px solid #1f5f99; line-height: 1.3; }
.sd-btn:hover { background: #174a78; border-color: #174a78; }
.sd-btn--quiet { background: #fff; color: #1f5f99 !important; }
.sd-btn--quiet:hover { background: #eef4fa; }

/* Gallery */
.sd-gallery__main { position: relative; border-radius: 10px; overflow: hidden; background: #f1f3f5; }
.sd-gallery__main { background: #eef0f2; }
.sd-gallery__main img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; } /* Whole image: plats keep their lot lines. */
.sd-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sd-gallery__nav:hover { background: #fff; }
.sd-gallery__main a { cursor: zoom-in; }
.sd-gallery__nav--prev { left: 10px; } .sd-gallery__nav--next { right: 10px; }
.sd-gallery__count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 2px 8px; border-radius: 999px; }
.sd-gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; }
.sd-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: .75; }
.sd-gallery__thumbs button.is-active, .sd-gallery__thumbs button:hover { border-color: #1f5f99; opacity: 1; }
.sd-gallery__thumbs img { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: 4px; }
.sd-gallery--empty { display: grid; place-items: center; aspect-ratio: 3 / 2; background: #f1f3f5; border-radius: 10px; color: #666; }

/* Summary */
.sd-summary__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.sd-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef1f4; color: #333; }
.sd-badge--open { background: #00a30b; color: #fff; }
.sd-badge--pending { background: #f2b705; color: #111; }
.sd-badge--sold { background: #9e9e9e; color: #fff; }
.sd-summary__title { margin: 0 0 2px; line-height: 1.15; }
.sd-summary__address { margin: 0 0 8px; color: #555; }
.sd-summary__price { font-size: 28px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; }
.sd-summary__price--note { font-size: 18px; color: #1f5f99; }
.sd-summary__price--sold { color: #777; }
.sd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 10px; }
.sd-facts div { background: #f6f7f8; border-radius: 8px; padding: 8px 12px; }
.sd-facts dt { font-size: 12px; color: #666; margin: 0; }
.sd-facts dd { margin: 2px 0 0; font-weight: 600; }
.sd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-tags li { background: #eef4fa; color: #1f4f7a; border-radius: 999px; padding: 3px 10px; font-size: 13px; }

/* Contact */
.sd-contact { border: 1px solid #e3e3e3; border-radius: 10px; padding: 16px; background: #fff; }
.sd-contact__heading { font-size: 18px; margin: 0 0 12px; }
.sd-contact__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sd-contact__who strong { display: block; font-size: 16px; }
.sd-contact__logo { width: 64px; height: 64px; object-fit: contain; }
.sd-contact__role { font-size: 13px; color: #666; }
.sd-contact__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-contact__form { margin-top: 14px; }
.sd-contact__note { margin: 12px 0 0; font-size: 12px; color: #666; }

/* More lots */
.sd-more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sd-more__list a.sd-more__link { display: block; text-decoration: none; color: inherit; }
.sd-more__list img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; background: #eef0f2; } /* Cards fill the frame; the listing page shows the whole image. */
.sd-more__link strong, .sd-more__link span { display: block; padding: 0 12px; }
.sd-more__list strong { padding-top: 10px; }
.sd-more__link span { color: #1f5f99; font-weight: 600; }

@media print { .sd-gallery__nav, .sd-gallery__thumbs, .sd-contact__actions, .sd-directions { display: none !important; } }

/* Breadcrumb */
.sd-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: #666; }
.sd-crumbs li + li::before { content: "›"; margin-right: 4px; color: #999; }
.sd-crumbs a { color: #1f5f99; text-decoration: none; }
.sd-crumbs a:hover { text-decoration: underline; }

/* Directions links */
.sd-dirlink { margin-left: 8px; font-size: 13px; font-weight: 600; color: #1f5f99; white-space: nowrap; }
.sd-dirlink::before { content: "↗ "; }

/* Tighter spacing between stacked blocks */
.sd-contact { margin-top: 0; }
.sd-contact { padding: 14px 16px; }
.sd-contact__heading { margin-bottom: 10px; }
.sd-contact__toggle { margin-top: 10px; width: 100%; }
.sd-contact__form { margin-top: 10px; }

/* More cards: address under the card link */
.sd-more__list li { border: 1px solid #e3e3e3; border-radius: 10px; overflow: hidden; background: #fff; }
.sd-more__list span.sd-more__price { padding-bottom: 4px; }
.sd-more__addr { margin: 0; padding: 0 12px 12px; font-size: 13px; color: #555; }
.sd-more__addr .sd-dirlink { margin-left: 6px; }

/* Directions: outlined pill next to the address, full button under the lot map */
.sd-dirbtn { display: inline-block; margin-left: 8px; padding: 2px 10px; border: 1.5px solid #1f5f99; border-radius: 999px; font-size: 13px; font-weight: 700; color: #1f5f99 !important; text-decoration: none !important; white-space: nowrap; vertical-align: 1px; }
.sd-dirbtn::before { content: "➤ "; font-size: 11px; }
.sd-dirbtn:hover { background: #1f5f99; color: #fff !important; }
.sd-listing-map { position: relative; }
.sd-listing-map__dir { position: absolute; top: 12px; right: 12px; z-index: 1000; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #1f5f99; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.sd-listing-map__dir::before { content: "➤"; font-size: 13px; }
.sd-listing-map__dir:hover { background: #174a78; }

/* Lightbox */
.sd-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.9); }
.sd-lightbox[hidden] { display: none; }
html.sd-lightbox-open { overflow: hidden; }
.sd-lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: calc(100vw - 140px); max-height: calc(100vh - 60px); }
.sd-lightbox__fig img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 4px; }
.sd-lightbox__fig figcaption { margin-top: 8px; color: #ddd; font-size: 14px; }
.sd-lightbox__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 44px; cursor: pointer; }
.sd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; }
.sd-lightbox__nav:hover, .sd-lightbox__close:hover { background: rgba(255,255,255,.3); }
.sd-lightbox__nav--prev { left: 14px; } .sd-lightbox__nav--next { right: 14px; }
.sd-lightbox.is-single .sd-lightbox__nav { display: none; }
@media (max-width: 768px) { .sd-lightbox__fig { max-width: 100vw; } .sd-lightbox__nav { top: auto; bottom: 18px; transform: none; } }

/* Theme-proofing: the theme styles every <button> (and changes them on
   hover/focus), which knocked the gallery arrows out of place. These rules
   keep our buttons as designed in every state. */
.sd-gallery .sd-gallery__nav,
.sd-gallery .sd-gallery__nav:hover,
.sd-gallery .sd-gallery__nav:focus,
.sd-gallery .sd-gallery__nav:active {
	position: absolute !important; top: 50% !important; bottom: auto !important; transform: translateY(-50%) !important;
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 42px !important; height: 42px !important; min-width: 0 !important; min-height: 0 !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: rgba(255,255,255,.92) !important; color: #111 !important; line-height: 1 !important;
	box-shadow: 0 1px 4px rgba(0,0,0,.25) !important; text-shadow: none !important; font-size: 0 !important;
}
.sd-gallery .sd-gallery__nav--prev, .sd-gallery .sd-gallery__nav--prev:hover, .sd-gallery .sd-gallery__nav--prev:focus { left: 10px !important; right: auto !important; }
.sd-gallery .sd-gallery__nav--next, .sd-gallery .sd-gallery__nav--next:hover, .sd-gallery .sd-gallery__nav--next:focus { right: 10px !important; left: auto !important; }
.sd-gallery .sd-gallery__nav:hover { background: #fff !important; }
.sd-gallery .sd-gallery__nav:focus-visible { outline: 3px solid #1f5f99 !important; outline-offset: 2px !important; }
.sd-gallery .sd-gallery__thumbs button,
.sd-gallery .sd-gallery__thumbs button:hover,
.sd-gallery .sd-gallery__thumbs button:focus {
	margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important;
	border: 2px solid transparent !important; border-radius: 6px !important; min-width: 0 !important; line-height: 0 !important;
}
.sd-gallery .sd-gallery__thumbs button.is-active, .sd-gallery .sd-gallery__thumbs button:hover { border-color: #1f5f99 !important; opacity: 1; }
.sd-lightbox .sd-lightbox__nav, .sd-lightbox .sd-lightbox__nav:hover, .sd-lightbox .sd-lightbox__nav:focus,
.sd-lightbox .sd-lightbox__close, .sd-lightbox .sd-lightbox__close:hover, .sd-lightbox .sd-lightbox__close:focus {
	position: absolute !important; display: flex !important; align-items: center !important; justify-content: center !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	color: #fff !important; box-shadow: none !important; min-width: 0 !important; line-height: 1 !important;
}
.sd-lightbox .sd-lightbox__nav, .sd-lightbox .sd-lightbox__nav:focus { width: 52px !important; height: 52px !important; top: 50% !important; transform: translateY(-50%) !important; background: rgba(255,255,255,.15) !important; }
.sd-lightbox .sd-lightbox__close, .sd-lightbox .sd-lightbox__close:focus { width: 44px !important; height: 44px !important; top: 12px !important; right: 16px !important; font-size: 30px !important; background: rgba(255,255,255,.15) !important; }
.sd-lightbox .sd-lightbox__nav:hover, .sd-lightbox .sd-lightbox__close:hover { background: rgba(255,255,255,.3) !important; }
.sd-lightbox .sd-lightbox__nav--prev { left: 14px !important; right: auto !important; }
.sd-lightbox .sd-lightbox__nav--next { right: 14px !important; left: auto !important; }
@media (max-width: 768px) { .sd-lightbox .sd-lightbox__nav, .sd-lightbox .sd-lightbox__nav:focus, .sd-lightbox .sd-lightbox__nav:hover { top: auto !important; bottom: 18px !important; transform: none !important; } }
.sd-contact button.sd-btn, .sd-contact button.sd-btn:hover, .sd-contact button.sd-btn:focus {
	background: #1f5f99 !important; color: #fff !important; border: 1px solid #1f5f99 !important; border-radius: 6px !important;
	padding: 9px 16px !important; font-weight: 600 !important; line-height: 1.3 !important; box-shadow: none !important; text-transform: none !important;
}
.sd-contact button.sd-btn:hover { background: #174a78 !important; }

/* Share button (next to Directions) */
.sd-summary .sd-sharebtn, .sd-summary .sd-sharebtn:hover, .sd-summary .sd-sharebtn:focus {
	display: inline-block !important; margin: 0 0 0 6px !important; padding: 2px 10px !important; border: 1.5px solid #1f5f99 !important; border-radius: 999px !important;
	background: #fff !important; color: #1f5f99 !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.5 !important;
	box-shadow: none !important; text-transform: none !important; min-width: 0 !important; width: auto !important; height: auto !important; vertical-align: 1px; cursor: pointer;
}
.sd-summary .sd-sharebtn::before { content: "⤴ "; font-size: 12px; }
.sd-summary .sd-sharebtn:hover { background: #1f5f99 !important; color: #fff !important; }

/* Phone action bar: fixed to the bottom of the screen on phones only */
.sd-actionbar { display: none; }
@media (max-width: 768px) {
	.sd-actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
	.sd-actionbar__btn { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border-radius: 8px; border: 1.5px solid #1f5f99; background: #fff; color: #1f5f99 !important; font-weight: 700; font-size: 15px; text-decoration: none !important; text-align: center; line-height: 1.2; }
	.sd-actionbar__btn--call { background: #1f5f99; color: #fff !important; flex-grow: 1.6; }
	body:has(.sd-actionbar) { padding-bottom: 70px; }
}
@media print { .sd-actionbar, .sd-sharebtn { display: none !important; } }

/* Community blocks */
.sd-stats { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; color: inherit; }
.sd-stats__sep { opacity: .7; padding: 0 4px; }
.sd-more__facts { display: block; padding: 0 12px; font-size: 13px; color: #444; }
.sd-more--homes .sd-more__list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sd-more__none { color: #555; }

/* Photo grid */
.sd-pgrid { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sd-pgrid li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sd-pgrid li::before { content: none !important; }
.sd-pgrid .sd-pgrid__btn, .sd-pgrid .sd-pgrid__btn:hover, .sd-pgrid .sd-pgrid__btn:focus {
	display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 8px !important;
	background: none !important; box-shadow: none !important; overflow: hidden; cursor: zoom-in; line-height: 0 !important;
}
.sd-pgrid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.sd-pgrid .sd-pgrid__btn:hover img { transform: scale(1.03); }
.sd-pgrid .sd-pgrid__btn:focus-visible { outline: 3px solid #7fb8e0 !important; outline-offset: 2px !important; }
@media (max-width: 480px) { .sd-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* Amenities */
.sd-amen { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sd-amen__item { margin: 0 !important; padding: 0 !important; list-style: none !important; background: #f6f7f8; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.sd-amen__item[hidden] { display: none !important; }
.sd-amen__item::before { content: none !important; }
.sd-amen__media { position: relative; }
.sd-amen__item img, .sd-amen__noimg { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe4e8; }
.sd-amen__body { padding: 12px 14px 14px; text-align: center; }
.sd-amen .sd-amen__title { margin: 0 0 4px !important; padding: 0 !important; font-size: 17px !important; line-height: 1.35 !important; font-weight: 500 !important; }
.sd-amen__title a { color: #222 !important; text-decoration: none !important; }
.sd-amen__title a:hover { color: #1f5f99 !important; text-decoration: underline !important; }
.sd-amen__mins { margin: 0 !important; color: #1f5f99; font-size: 14px; font-weight: 600; }
.sd-amen__more-wrap { margin: 18px 0 0 !important; text-align: center; }
button.sd-amen__more, button.sd-amen__more:hover, button.sd-amen__more:focus { background: #fff !important; color: #1f5f99 !important; border: 1.5px solid #1f5f99 !important; border-radius: 6px !important; padding: 10px 18px !important; font-weight: 600 !important; box-shadow: none !important; text-transform: none !important; }
button.sd-amen__more:hover { background: #1f5f99 !important; color: #fff !important; }
@media (max-width: 480px) { .sd-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .sd-amen .sd-amen__title { font-size: 15px !important; } }

.sd-amen__credit { margin: 10px 0 0 !important; font-size: 12px; color: #777; text-align: right; }
.sd-amen__credit a { color: #777 !important; }

/* Section nav (0.15.0) */
.sd-secnav { position: relative; z-index: 1100; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #e3e6ea; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.sd-secnav ul { list-style: none; margin: 0 auto !important; padding: 10px 16px !important; display: flex; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 1200px; }
.sd-secnav ul::-webkit-scrollbar { display: none; }
.sd-secnav li { margin: 0 !important; padding: 0 !important; flex: 0 0 auto; list-style: none !important; }
.sd-secnav a { display: inline-block; padding: 7px 14px; border: 1px solid #c9d3dd; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; color: #1f5f99 !important; background: #fff; text-decoration: none !important; white-space: nowrap; }
.sd-secnav a:hover, .sd-secnav a:focus-visible { border-color: #1f5f99; }
.sd-secnav a.is-current { background: #1f5f99; border-color: #1f5f99; color: #fff !important; }
@media (max-width: 768px) { .sd-secnav ul { justify-content: flex-start; padding: 8px 12px !important; } .sd-secnav a { font-size: 13px; padding: 6px 12px; } }

/* Sticky by script: page-builder rows end where the nav ends, so CSS sticky can't work. */
.sd-secnav.is-fixed { position: fixed; top: var(--sd-secnav-top, 0px); left: 0; right: 0; }
body.admin-bar .sd-secnav.is-fixed { top: calc(var(--sd-secnav-top, 0px) + 32px); }
@media (max-width: 782px) { body.admin-bar .sd-secnav.is-fixed { top: var(--sd-secnav-top, 0px); } }

/* Builder homes and "More in" cards: one swipeable row on phones (0.15.0) */
@media (max-width: 600px) {
	.sd-more__list { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px !important; -webkit-overflow-scrolling: touch; }
	.sd-more__list > li { flex: 0 0 80%; scroll-snap-align: start; }
}

/* Stats line: each fact stays on one line; on phones they stack (0.15.1) */
.sd-stats__item { white-space: nowrap; }
@media (max-width: 600px) {
	.sd-stats .sd-stats__sep { display: none; }
	.sd-stats .sd-stats__item { display: block; }
}
/* Swipe hint under the builder-home row on phones (0.15.1) */
@media (max-width: 600px) {
	.sd-more--homes::after { content: "Swipe for more homes \2192"; display: block; margin-top: 6px; font-size: 13px; color: #666; text-align: right; }
}

/* Section nav: no focus ring on taps; keep it for keyboard users (0.15.2) */
.sd-secnav a:focus { outline: none; }
.sd-secnav a:focus-visible { outline: 2px solid #1f5f99; outline-offset: 2px; }

/* Section nav above maps (Leaflet uses up to 1000) and with scroll cues (0.15.3) */
.sd-secnav.is-fixed { z-index: 1100; }
.sd-secnav__arrow { position: absolute; top: 0; bottom: 0; z-index: 2; display: none; align-items: center; justify-content: center; width: 44px; padding: 0; border: 0; color: #1f5f99; cursor: pointer; }
.sd-secnav__arrow svg { width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sd-secnav__arrow--prev { left: 0; background: linear-gradient(90deg, #fff 45%, rgba(255,255,255,0)); justify-content: flex-start; padding-left: 6px; }
.sd-secnav__arrow--next { right: 0; background: linear-gradient(270deg, #fff 45%, rgba(255,255,255,0)); justify-content: flex-end; padding-right: 6px; }
.sd-secnav.can-prev .sd-secnav__arrow--prev, .sd-secnav.can-next .sd-secnav__arrow--next { display: flex; }

/* Home plan cards (0.16.0) */
.sd-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.sd-plan { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; overflow: hidden; }
.sd-plan__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e8edf1; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.sd-plan__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sd-plan__photo:hover img, .sd-plan__photo:focus-visible img { transform: scale(1.03); }
.sd-plan__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; }
.sd-plan__count svg { width: 15px; height: 15px; }
.sd-plan__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px 16px 16px; }
.sd-plan__name { margin: 0 !important; padding: 0 !important; font-size: 19px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #222 !important; }
.sd-plan__builder { margin: 2px 0 0 !important; font-size: 14px; color: #1f5f99; font-weight: 600; }
.sd-plan__style { margin: 6px 0 14px !important; font-size: 14px; line-height: 1.5; color: #555; flex: 1 1 auto; }
.sd-plan a.sd-plan__btn, .sd-plan a.sd-plan__btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid #1f5f99; border-radius: 6px; background: #fff; color: #1f5f99 !important; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.sd-plan a.sd-plan__btn:hover { background: #1f5f99; color: #fff !important; }
.sd-plan__btn svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 600px) {
	.sd-plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
	.sd-plans > .sd-plan { flex: 0 0 80%; scroll-snap-align: start; }
	.sd-plans::after { content: ""; flex: 0 0 1px; }
}

/* Nearby at a glance, filters, Local favourite (0.17.0) */
.sd-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 18px; margin: 0 0 18px; padding: 16px; background: #f1f6fb; border: 1px solid #dbe5ee; border-radius: 12px; }
.sd-glance__item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 4px; }
.sd-glance__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #1f5f99; color: #fff; }
.sd-glance__icon svg { width: 21px; height: 21px; }
.sd-glance__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sd-glance__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6b79; }
.sd-glance__name { font-size: 15px; font-weight: 600; color: #222; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sd-glance__name a { color: #222 !important; text-decoration: none !important; }
.sd-glance__name a:hover { color: #1f5f99 !important; text-decoration: underline !important; }
.sd-glance__mins { font-size: 13px; font-weight: 600; color: #1f5f99; }
.sd-amen-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sd-amen-filter button, .sd-amen-filter button:hover, .sd-amen-filter button:focus { padding: 7px 14px !important; border: 1px solid #c9d3dd !important; border-radius: 999px !important; background: #fff !important; color: #1f5f99 !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; box-shadow: none !important; text-transform: none !important; cursor: pointer; }
.sd-amen-filter button span { font-weight: 500; color: #7a8894; }
.sd-amen-filter button.is-active { background: #1f5f99 !important; border-color: #1f5f99 !important; color: #fff !important; }
.sd-amen-filter button.is-active span { color: #d6e3ee; }
.sd-amen__fav { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 999px; background: #f2b632; color: #2b2100; font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.sd-amen__fav svg { width: 13px; height: 13px; }
@media (max-width: 600px) {
	.sd-glance { grid-template-columns: 1fr 1fr; padding: 12px; gap: 6px; }
	.sd-glance__icon { width: 34px; height: 34px; }
	.sd-glance__icon svg { width: 17px; height: 17px; }
	.sd-glance__name { font-size: 14px; }
	.sd-amen-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.sd-amen-filter::-webkit-scrollbar { display: none; }
	.sd-amen-filter button { flex: 0 0 auto; }
}

@media (min-width: 601px) and (max-width: 960px) { .sd-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sd-glance button.sd-glance__jump, .sd-glance button.sd-glance__jump:hover, .sd-glance button.sd-glance__jump:focus { all: unset; cursor: pointer; font: inherit; color: #222; }
.sd-glance button.sd-glance__jump:hover, .sd-glance button.sd-glance__jump:focus-visible { color: #1f5f99; text-decoration: underline; }

.sd-glance__fav { display: inline-flex; vertical-align: -2px; color: #e0a116; }
.sd-glance__fav svg { width: 15px; height: 15px; }
.sd-glance__fav .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phones: compact at-a-glance list and two-up "Why" tiles (0.17.4) */
@media (max-width: 600px) {
	.sd-glance { grid-template-columns: 1fr !important; gap: 0 !important; padding: 4px 12px !important; }
	.sd-glance__item { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #dbe5ee; }
	.sd-glance__item:last-child { border-bottom: 0; }
	.sd-glance__icon { width: 32px; height: 32px; }
	.sd-glance__icon svg { width: 16px; height: 16px; }
	.sd-glance__text { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: baseline; }
	.sd-glance__cat { grid-column: 1 / -1; font-size: 11px; letter-spacing: .05em; }
	.sd-glance__name { font-size: 15px; -webkit-line-clamp: 2; }
	.sd-glance__mins { font-size: 13px; white-space: nowrap; text-align: right; }
}
/* Community page "Why" tiles (page HTML rows .sdp-why) */
@media (max-width: 600px) {
	.sdp-why .sdp-why__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
	.sdp-why .sdp-why__tile { padding: 12px 12px !important; }
	.sdp-why .sdp-why__icon { width: 34px !important; height: 34px !important; margin-bottom: 8px !important; }
	.sdp-why .sdp-why__icon svg { width: 17px !important; height: 17px !important; }
	.sdp-why .sdp-why__tile strong { font-size: 15px !important; }
	.sdp-why .sdp-why__tile span { font-size: 13px !important; line-height: 1.4 !important; }
	.sdp-why .sdp-why__inner { gap: 20px !important; }
}

/* Phones: the Schools (district) row puts its count under the name (0.17.5) */
@media (max-width: 600px) {
	.sd-glance__item--district .sd-glance__mins { grid-column: 1 / -1; text-align: left; white-space: normal; }
}

/* Town amenities (0.18.0) */
.sd-town__h { margin: 26px 0 4px !important; padding: 0 !important; font-size: 21px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #222 !important; }
.sd-town__h:first-child { margin-top: 0 !important; }
.sd-town__sub { margin: 0 0 12px !important; font-size: 15px; color: #555; }
.sd-town .sd-amen { margin-top: 12px; }

/* Balanced wrapping for hero headings and taglines (0.18.4) */
.sdp-hero__lead, .sdh-hero__title, .sdh-hero__lead, .sdp-phase__title, .sdh-comm__title { text-wrap: balance; }

/* Site-wide archives [sd_listings] (0.20.0) */
.sd-arch__bar { display: grid; gap: 12px; margin: 0 0 18px; }
.sd-arch__group { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-arch__group button, .sd-arch__group button:hover, .sd-arch__group button:focus { padding: 8px 15px !important; border: 1px solid #c9d3dd !important; border-radius: 999px !important; background: #fff !important; color: #1f5f99 !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; box-shadow: none !important; text-transform: none !important; cursor: pointer; }
.sd-arch__group button.is-active { background: #1f5f99 !important; border-color: #1f5f99 !important; color: #fff !important; }
.sd-arch__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.sd-arch__switch { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #222; cursor: pointer; }
.sd-arch__switch input { width: 18px; height: 18px; accent-color: #1f5f99; }
.sd-arch__select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.sd-arch__select[hidden] { display: none; }
.sd-arch__select select { min-height: 40px; padding: 0 30px 0 10px; border: 1px solid #c9d3dd; border-radius: 6px; background-color: #fff; font-size: 14px; color: #222; }
.sd-arch__count { margin: 0 !important; font-size: 14px; color: #5b6b79; font-weight: 600; }
.sd-arch__list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sd-arch__item { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sd-arch__item::before { content: none !important; }
.sd-arch__item[hidden] { display: none !important; }
.sd-arch__card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #dbe5ee; border-radius: 12px; overflow: hidden; color: #222 !important; text-decoration: none !important; box-shadow: 0 1px 3px rgba(16,50,79,.06); transition: box-shadow .2s, transform .2s; }
.sd-arch__card:hover, .sd-arch__card:focus-visible { box-shadow: 0 6px 18px rgba(16,50,79,.16); transform: translateY(-2px); }
.sd-arch__media { position: relative; display: block; aspect-ratio: 3 / 2; background: #e8edf1; overflow: hidden; }
.sd-arch__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sd-arch__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sd-arch__badge { padding: 4px 10px; border-radius: 999px; background: rgba(10,25,40,.78); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; }
.sd-arch__badge--pending { background: #f2b632; color: #2b2100; }
.sd-arch__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 3px; padding: 14px 16px 16px; }
.sd-arch__comm { font-size: 13px; font-weight: 700; color: #5b6b79; }
.sd-arch__title { font-size: 17px; font-weight: 700; line-height: 1.3; color: #222; }
.sd-arch__facts { font-size: 14px; font-weight: 600; color: #1f5f99; }
.sd-arch__feat { font-size: 13px; color: #5b6b79; }
.sd-arch__price { margin-top: 6px; font-size: 17px; font-weight: 800; color: #10324f; }
.sd-arch__addr { font-size: 13px; color: #66727d; }
.sd-arch__empty { margin: 16px 0 0 !important; padding: 18px; border: 1px dashed #c9d3dd; border-radius: 10px; text-align: center; color: #555; }
@media (max-width: 600px) {
	.sd-arch__group { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.sd-arch__group::-webkit-scrollbar { display: none; }
	.sd-arch__group button { flex: 0 0 auto; }
	.sd-arch__select { flex: 1 1 45%; }
	.sd-arch__select select { width: 100%; }
}
/* Overview map [sd_overview_map] */
.sd-ovmap { width: 100%; border-radius: 12px; overflow: hidden; background: #e8edf1; z-index: 0; }
.sd-ovmap__pin span { display: inline-block; transform: translate(-50%, -100%); padding: 6px 11px; border-radius: 999px; background: #1f5f99; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.3); position: relative; }
.sd-ovmap__pin span::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #1f5f99; }
.sd-ovmap__pin--quiet span { background: #5b6b79; }
.sd-ovmap__pin--quiet span::after { border-top-color: #5b6b79; }
.sd-ovmap__pop strong { display: block; font-size: 16px; }
.sd-ovmap__town { display: block; font-size: 13px; color: #5b6b79; margin-bottom: 6px; }
.sd-ovmap__pop ul { margin: 0 0 8px !important; padding-left: 18px !important; font-size: 14px; }
.sd-ovmap__acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
.sd-ovmap .sd-ovmap__btn { display: inline-block; padding: 7px 12px; border-radius: 6px; background: #1f5f99; color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.sd-ovmap .sd-ovmap__btn--line { background: #fff; color: #1f5f99 !important; border: 1.5px solid #1f5f99; }
.sd-ovmap__list { list-style: none !important; margin: 10px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.sd-ovmap__list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sd-ovmap__list li::before { content: none !important; }
.sd-ovmap__list a { color: #1f5f99 !important; text-decoration: none !important; }
.sd-ovmap__list a span { color: #5b6b79; }

.sd-ovmap__pin--below span { transform: translate(-50%, 10px); }
.sd-ovmap__pin--below span::after { bottom: auto; top: -6px; border-top: 0; border-bottom: 6px solid #1f5f99; }

/* Search, builder-community cards, map legend (0.20.2) */
.sd-arch__search { display: flex; align-items: center; gap: 8px; max-width: 520px; min-height: 46px; padding: 0 14px; border: 1px solid #c9d3dd; border-radius: 999px; background: #fff; }
.sd-arch__search:focus-within { border-color: #1f5f99; box-shadow: 0 0 0 3px rgba(31,95,153,.15); }
.sd-arch__search svg { width: 18px; height: 18px; flex: none; color: #5b6b79; }
.sd-arch__search input { flex: 1 1 auto; min-width: 0; height: 44px; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font-size: 15px; color: #222; padding: 0 !important; }
.sd-ovmap__pin--excl span { background: #138a7e; }
.sd-ovmap__pin--excl span::after { border-top-color: #138a7e; }
.sd-ovmap__pin--excl.sd-ovmap__pin--below span::after { border-bottom-color: #138a7e; }
.sd-ovmap__note { margin: 0 0 8px !important; font-size: 13px; color: #0f6b62; }
.sd-ovmap__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px !important; font-size: 14px; color: #444; }
.sd-ovmap__key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #1f5f99; margin-left: 8px; }
.sd-ovmap__key:first-child { margin-left: 0; }
.sd-ovmap__key--excl { background: #138a7e; }
.sd-bcomms { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.sd-bcomm { padding: 18px 18px 14px; background: #fff; border: 1px solid #dbe5ee; border-top: 4px solid #138a7e; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,50,79,.06); }
.sd-bcomm__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.sd-bcomm__name { margin: 0 !important; padding: 0 !important; font-size: 20px !important; line-height: 1.25 !important; font-weight: 700 !important; color: #222 !important; }
.sd-bcomm__meta { margin: 2px 0 0 !important; font-size: 14px; color: #5b6b79; }
.sd-bcomm__map { font-size: 14px; font-weight: 700; color: #1f5f99 !important; text-decoration: none !important; white-space: nowrap; }
.sd-bcomm__list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.sd-bcomm__b { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 4px 10px; margin: 0 !important; padding: 9px 0 !important; border-top: 1px solid #e8eef4; list-style: none !important; }
.sd-bcomm__b::before { content: none !important; }
.sd-bcomm__dot { width: 12px; height: 12px; border-radius: 3px; }
.sd-bcomm__bname { font-weight: 700; color: #222; font-size: 15px; }
.sd-bcomm__n { font-size: 14px; font-weight: 700; color: #138a7e; white-space: nowrap; }
.sd-bcomm__acts { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.sd-bcomm__acts a { color: #1f5f99 !important; font-weight: 600; text-decoration: none !important; }
.sd-bcomm__acts a:hover { text-decoration: underline !important; }

.sd-arch__more-wrap { margin: 20px 0 0 !important; text-align: center; }
.sd-arch__more-wrap[hidden] { display: none; }
.sd-arch__more { min-height: 46px; padding: 0 22px; border: 1.5px solid #1f5f99; border-radius: 6px; background: #fff; color: #1f5f99; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sd-arch__more:hover { background: #1f5f99; color: #fff; }

/* Feature chips, lot map in context, community cards, builder directory (0.21.0) */
.sd-arch__feats { align-items: center; }
.sd-arch__label { font-size: 14px; color: #555; margin-right: 2px; flex: none; }
.sd-arch__feats button { font-size: 13px !important; padding: 6px 12px !important; }
.sd-arch__lotmap { margin: 0 0 22px; }
.sd-arch__lotmap[hidden] { display: none; }
.sd-ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 0 0 8px; }
.sd-ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid #dbe5ee; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(16,50,79,.08); }
.sd-ccard__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 7; overflow: hidden; }
.sd-ccard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-ccard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,40,.3), rgba(10,25,40,.6)); }
.sd-ccard__logo { position: relative; width: min(55%, 260px); max-height: 70%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.sd-ccard__logo-text { position: relative; color: #fff; font-size: 26px; }
.sd-ccard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.sd-ccard__town { margin: 0 !important; font-size: 13px; font-weight: 700; color: #5b6b79; text-transform: uppercase; letter-spacing: .06em; }
.sd-ccard__stat { margin: 4px 0 0 !important; font-size: 18px; color: #10324f; }
.sd-ccard__facts { margin: 4px 0 0 !important; font-size: 14px; color: #555; }
.sd-ccard__acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.sd-ccard a.sd-ccard__btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 6px; background: #1f5f99; border: 1.5px solid #1f5f99; color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.sd-ccard a.sd-ccard__btn:hover { background: #174a78; }
.sd-ccard a.sd-ccard__btn--line { background: #fff; color: #1f5f99 !important; }
.sd-ccard a.sd-ccard__btn--line:hover { background: #eef4fa; }
.sd-bdir__list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sd-bdir__item { display: flex; flex-direction: column; margin: 0 !important; padding: 16px 18px !important; list-style: none !important; background: #fff; border: 1px solid #dbe5ee; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,50,79,.06); }
.sd-bdir__item::before { content: none !important; }
.sd-bdir__item[hidden] { display: none; }
.sd-bdir__head { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.sd-bdir__logo { width: 72px; height: 44px; object-fit: contain; flex: none; }
.sd-bdir__name { font-size: 17px; line-height: 1.3; color: #222; }
.sd-bdir__where { list-style: none !important; margin: 10px 0 0 !important; padding: 0 !important; flex: 1 1 auto; }
.sd-bdir__where li { margin: 0 !important; padding: 5px 0 !important; list-style: none !important; font-size: 14px; color: #444; border-top: 1px solid #eef2f6; }
.sd-bdir__where li::before { content: none !important; }
.sd-bdir__where a { color: #1f5f99 !important; text-decoration: none !important; }
.sd-bdir__where a:hover { text-decoration: underline !important; }
.sd-bdir__excl { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #e3f3f1; color: #0f6b62; font-size: 12px; font-weight: 700; }
.sd-bdir__acts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0 !important; font-size: 15px; }
.sd-bdir__acts a { color: #1f5f99 !important; font-weight: 700; text-decoration: none !important; }
@media (max-width: 600px) { .sd-ccard__media { aspect-ratio: 16 / 8; } }

.sd-arch__feats button[hidden] { display: none !important; }
.sd-arch__lotmap .sd-map__disclaimer { margin: 6px 0 0 !important; font-size: 13px; color: #66727d; }
.sd-arch__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0 !important; font-size: 14px; color: #444; }
.sd-arch__key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-left: 10px; }
.sd-arch__key:first-child { margin-left: 0; }

/* Filters button and phone panel (0.21.2) */
.sd-arch__fbtn, .sd-arch__sheethead, .sd-arch__sheetfoot { display: none; }
.sd-arch__filters { display: grid; gap: 12px; }
.sd-arch__sheetbody { display: grid; gap: 12px; }
@media (max-width: 768px) {
	.sd-arch__bar { grid-template-columns: 1fr auto; align-items: center; }
	.sd-arch__search { max-width: none; }
	.sd-arch__count { grid-column: 1 / -1; }
	.sd-arch__fbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; border: 1.5px solid #1f5f99; border-radius: 999px; background: #fff; color: #1f5f99; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
	.sd-arch__fbtn svg { width: 18px; height: 18px; }
	.sd-arch__fbtn.has-active { background: #1f5f99; color: #fff; }
	.sd-arch__filters { display: none; }
	.is-sheet-open .sd-arch__filters { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 100002; background: #fff; }
	.sd-arch__sheethead { display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; border-bottom: 1px solid #e1e8ef; }
	.sd-arch__sheethead strong { font-size: 19px; color: #222; }
	.sd-arch__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef4fa; color: #10324f; font-size: 26px; line-height: 1; cursor: pointer; }
	.sd-arch__sheetbody { flex: 1 1 auto; overflow-y: auto; padding: 16px; gap: 22px; align-content: start; }
	.sd-arch__sheetbody .sd-arch__group, .sd-arch__sheetbody .sd-arch__feats { flex-wrap: wrap !important; overflow: visible !important; }
	.sd-arch__sheetbody .sd-arch__group[data-title]::before { content: attr(data-title); flex: 0 0 100%; font-size: 14px; font-weight: 700; color: #555; margin-bottom: 2px; }
	.sd-arch__sheetbody .sd-arch__label { flex: 0 0 100%; font-weight: 700; margin-bottom: 2px; }
	.sd-arch__sheetbody .sd-arch__row { flex-direction: column; align-items: stretch; gap: 22px; }
	.sd-arch__sheetbody .sd-arch__select { flex-direction: column; align-items: stretch; gap: 6px; font-weight: 700; }
	.sd-arch__sheetbody .sd-arch__select select { width: 100%; min-height: 46px; font-size: 16px; }
	.sd-arch__sheetfoot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e1e8ef; background: #fff; }
	.sd-arch__clear { flex: 0 0 auto; min-height: 48px; padding: 0 16px; border: 1.5px solid #c9d3dd; border-radius: 8px; background: #fff; color: #222; font: inherit; font-weight: 700; cursor: pointer; }
	.sd-arch__apply { flex: 1 1 auto; min-height: 48px; border: 0; border-radius: 8px; background: #1f5f99; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
	.sd-arch__apply:disabled { background: #9aa4ad; cursor: default; }
	body.sd-noscroll { overflow: hidden; }
}

.sd-arch__agent { font-size: 13px; font-weight: 700; color: #5b6b79; }

/* Listing page [sd_listing_page] (0.24.0) */
.sdl { max-width: 1240px; margin: 0 auto; padding: 18px 24px 56px; font-family: inherit; }
.sdl__crumbs { margin-bottom: 14px; }
.sdl__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); grid-template-areas: "gallery side" "map side"; gap: 28px 36px; align-items: start; }
.sdl__gallery { grid-area: gallery; min-width: 0; }
.sdl__side { grid-area: side; min-width: 0; align-self: stretch; }
.sdl__sticky { position: sticky; top: 104px; display: grid; gap: 18px; }
.sdl__map { grid-area: map; min-width: 0; }
.sdl .sdl__h { margin: 0 0 12px !important; padding: 0 !important; font-size: 22px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #222 !important; }
.sdl .sd-gallery__main { border-radius: 14px; background: #1f2a33; isolation: isolate; }
.sdl .sd-gallery__main::before { content: ""; position: absolute; inset: -20px; z-index: -1; background-image: var(--sdl-bg); background-size: cover; background-position: center; filter: blur(22px) brightness(.85); opacity: .9; }
.sdl .sd-gallery__main img { aspect-ratio: 4 / 3; object-fit: contain; }
.sdl .sd-contact { margin: 0; border-radius: 14px; }
.sdl__comm { padding: 16px 18px; border: 1px solid #dbe5ee; border-radius: 14px; background: #f7f9fb; }
.sdl__comm p { margin: 0 !important; }
.sdl__commk { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b6b79; }
.sdl__commn { margin-top: 2px !important; font-size: 19px; font-weight: 700; color: #222; }
.sdl__commn span { display: block; font-size: 14px; font-weight: 500; color: #5b6b79; }
.sdl__commf { margin-top: 6px !important; font-size: 14px; color: #444; }
.sdl .sdl__commlink { display: inline-block; margin-top: 10px; color: #1f5f99 !important; font-weight: 700; text-decoration: none !important; }
.sdl .sdl__commlink:hover { text-decoration: underline !important; }
.sdl__more { margin-top: 48px; }
.sdl__morehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sdl__morehead a { color: #1f5f99 !important; font-weight: 700; text-decoration: none !important; }
.sdl__morelist { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1100px) { .sdl__morelist { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) {
	.sdl { padding: 12px 16px 96px; }
	.sdl__grid { grid-template-columns: 1fr; grid-template-areas: "gallery" "side" "map"; gap: 22px; }
	.sdl__sticky { position: static; }
}
@media (max-width: 600px) { .sdl__morelist { grid-template-columns: 1fr !important; } .sdl .sdl__h { font-size: 20px !important; } }

/* Two-finger hint on touch screens */
.sd-gesture-hint { position: absolute; inset: 0; z-index: 800; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10,25,40,.55); color: #fff; font-size: 17px; font-weight: 700; text-align: center; pointer-events: none; opacity: 0; transition: opacity .2s; }
.sd-gesture-hint.is-on { opacity: 1; }

/* Listing page polish (0.24.2) */
.sd-summary__street { margin-right: 4px; }
.sdl .sd-summary__address { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 2px 0 12px; }
.sdl .sd-summary__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sdl .sd-dirbtn, .sdl .sd-summary .sd-sharebtn { margin: 0 !important; padding: 4px 12px !important; font-size: 13px !important; }
.sdl .sd-summary__title { font-size: clamp(26px, 2.6vw, 38px); text-wrap: balance; }
.sdl__morehead { margin-bottom: 14px; }
.sdl__morehead .sdl__h { margin: 0 !important; }
@media (max-width: 900px) {
	.sdl .sd-summary__title { font-size: clamp(26px, 7vw, 32px); }
	.sdl .sd-summary__acts .sd-dirbtn { display: none; }
	.sdl .sd-contact__heading { font-size: 20px !important; line-height: 1.3 !important; }
}
@media (max-width: 600px) {
	.sdl__morelist { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; padding-bottom: 6px !important; }
	.sdl__morelist .sd-arch__item { flex: 0 0 80%; scroll-snap-align: start; }
}

/* WPForms inside the listing contact card (0.24.3) */
.sd-contact__form { margin-top: 12px; }
.sd-contact__form .wpforms-container { margin: 0 !important; }
.sd-contact__form .wpforms-field { padding: 6px 0 !important; }
.sd-contact__form input[type=text], .sd-contact__form input[type=email], .sd-contact__form input[type=tel], .sd-contact__form textarea, .sd-contact__form select { width: 100% !important; max-width: 100% !important; }
.sd-contact__form textarea { min-height: 110px !important; }

/* Gallery thumbnail strip: fixed-size thumbnails that scroll sideways (0.24.5) */
.sd-gallery__thumbs { flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 6px !important; scrollbar-width: thin; }
.sd-gallery__thumbs li { flex: 0 0 auto !important; margin: 0 !important; padding: 0 !important; list-style: none !important; scroll-snap-align: start; }
.sd-gallery__thumbs li::before { content: none !important; }
.sd-gallery__thumbs img { width: 96px !important; max-width: none !important; height: 64px !important; }
@media (max-width: 600px) { .sd-gallery__thumbs img { width: 80px !important; height: 56px !important; } }

/* Listing title: community on its own small line above the lot (0.26.4) */
.sd-summary__eyebrow { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: #1f5f99; }
.sdl .sd-summary__title { font-size: clamp(32px, 3vw, 44px); }
@media (max-width: 600px) { .sd-summary__eyebrow { font-size: 13px; } .sdl .sd-summary__title { font-size: clamp(28px, 8vw, 36px); } }

/* Section nav docks under the site header; the header (and its dropdowns) stays on top (0.27.1) */
.sd-secnav.is-fixed { transition: none; }
[data-type="header"].fl-builder-content, .fl-theme-builder-header-sticky, header.fl-builder-content { z-index: 1200 !important; }

/* Explorer: map or list, full screen under the site header (0.28.0) */
.sdx-launch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 6px; padding: 14px 16px; border: 1px solid #dbe5ee; border-radius: 12px; background: #f7f9fb; }
.sdx-launch__t { margin-right: auto; font-size: 17px; font-weight: 700; color: #10324f; }
.sdx-launch__btn, .sd-ccard__acts button.sd-ccard__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid #1f5f99; border-radius: 8px; background: #fff; color: #1f5f99; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sdx-launch__btn:hover, .sd-ccard__acts button.sd-ccard__btn:hover { background: #1f5f99; color: #fff; }
.sdx-launch__btn svg, .sd-ccard__acts button.sd-ccard__btn svg, .sdx__seg svg { width: 18px; height: 18px; flex: none; }
.sd-ccard__acts button.sd-ccard__btn:first-child { background: #1f5f99; color: #fff; }
.sd-ccard__acts button.sd-ccard__btn:first-child:hover { background: #174a78; }
.sd-ccard__about { margin: 10px 0 0 !important; font-size: 15px; }
.sd-ccard__about a { color: #1f5f99 !important; font-weight: 700; text-decoration: none !important; }
.sd-ccard__about a:hover { text-decoration: underline !important; }
.sdx { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 1100; display: flex; flex-direction: column; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.sdx[hidden] { display: none !important; }
body.sdx-open { overflow: hidden; }
body.sdx-open .sd-actionbar { display: none !important; }
.sdx__bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, calc((100% - 1200px) / 2)); background: #fff; border-bottom: 1px solid #e1e8ef; box-shadow: 0 2px 8px rgba(16,50,79,.06); }
.sdx__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 8px; border: 1.5px solid #c9d3dd; border-radius: 8px; background: #fff; color: #10324f; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sdx__back svg { width: 20px; height: 20px; }
.sdx__back:hover { border-color: #1f5f99; color: #1f5f99; }
.sdx__seg { display: inline-flex; margin-left: auto; padding: 3px; border-radius: 10px; background: #eef2f6; }
.sdx__seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: #33475b; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sdx__seg button[aria-pressed="true"] { background: #fff; color: #1f5f99; box-shadow: 0 1px 4px rgba(16,50,79,.15); }
.sdx__tabs { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sdx.is-map .sdx__tabs:not(.is-single) { display: flex; }
.sdx__tabs button { flex: none; min-height: 38px; padding: 0 14px; border: 1px solid #c9d3dd; border-radius: 999px; background: #fff; color: #1f5f99; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sdx__tabs button[aria-pressed="true"] { background: #1f5f99; border-color: #1f5f99; color: #fff; }
.sdx__body { width: 100%; max-width: 1248px; margin: 0 auto; padding: 16px 24px 40px; }
.sdx.is-map .sdx__body { max-width: none; padding: 12px; }
.sdx.is-map .sd-arch__bar, .sdx.is-map .sd-arch__list, .sdx.is-map .sd-arch__more-wrap, .sdx.is-map .sd-arch__empty, .sdx.is-map .sd-arch__count { display: none !important; }
.sdx.is-list .sd-arch__lotmap { display: none !important; }
.sdx.is-map .sd-arch__lotmap { margin: 0 !important; }
.sdx.is-map .sd-arch__lotmap .leaflet-container { height: var(--sdx-maph, 70vh) !important; max-height: none !important; border-radius: 10px; }
@media (max-width: 600px) {
	.sdx__backmore { display: none; }
	.sdx__seg button { padding: 0 12px; }
	.sdx__body { padding: 12px 14px 32px; }
	.sdx.is-map .sdx__body { padding: 8px; }
	.sdx-launch__t { flex-basis: 100%; }
	.sdx-launch__btn { flex: 1 1 0; justify-content: center; }
}

/* Quick-choice tiles (Builder Homes & Lots) */
.sd-qlinks ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sd-qlinks li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sd-qlinks li::before { content: none !important; }
.sd-qlinks a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid #dbe5ee; border-radius: 12px; background: #fff; text-decoration: none !important; transition: box-shadow .2s, transform .2s, border-color .2s; }
.sd-qlinks a:hover, .sd-qlinks a:focus-visible { border-color: #1f5f99; box-shadow: 0 6px 18px rgba(16,50,79,.14); transform: translateY(-2px); }
.sd-qlinks svg { width: 30px; height: 30px; margin-bottom: 6px; color: #1f5f99; }
.sd-qlinks strong { font-size: 16px; color: #10324f; }
.sd-qlinks span { font-size: 14px; line-height: 1.4; color: #5b6b79; }
@media (max-width: 1000px) { .sd-qlinks ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sd-qlinks ul { grid-template-columns: 1fr 1fr; } .sd-qlinks a { padding: 12px; } .sd-qlinks span { display: none; } }

/* Agent directory */
.sd-adir__initials { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #eef4fa; color: #1f5f99; font-weight: 700; font-size: 17px; flex: none; }
.sd-adir__none { color: #5b6b79; }

/* Explorer 0.28.1: map fills the window; Back, community tabs and Map/List float over the map */
.sdx button { text-transform: none !important; letter-spacing: normal !important; line-height: 1.2 !important; }
.sdx .sdx__back { background: #fff !important; color: #10324f !important; border: 1.5px solid #c9d3dd !important; box-shadow: 0 2px 10px rgba(16,50,79,.18) !important; }
.sdx .sdx__back:hover { border-color: #1f5f99 !important; color: #1f5f99 !important; }
.sdx .sdx__seg { background: #eef2f6 !important; box-shadow: 0 2px 10px rgba(16,50,79,.18); }
.sdx .sdx__seg button { background: transparent !important; color: #33475b !important; border: 0 !important; box-shadow: none !important; }
.sdx .sdx__seg button[aria-pressed="true"] { background: #fff !important; color: #1f5f99 !important; box-shadow: 0 1px 4px rgba(16,50,79,.15) !important; }
.sdx .sdx__tabs button { background: #fff !important; color: #1f5f99 !important; border: 1px solid #c9d3dd !important; box-shadow: 0 2px 10px rgba(16,50,79,.18) !important; padding: 0 14px !important; min-height: 40px !important; }
.sdx .sdx__tabs button[aria-pressed="true"] { background: #1f5f99 !important; border-color: #1f5f99 !important; color: #fff !important; }
.sdx__maps { display: none; padding: 12px; }
.sdx.is-map .sdx__maps { display: block; }
.sdx.is-map .sdx__body { display: none; }
.sdx__map .sd-map { margin: 0 !important; }
.sdx__map .sd-map__legend { display: none !important; }
.sdx__map .sd-map__canvas { height: var(--sdx-maph, 70vh) !important; border-radius: 10px; }
.sdx__map .sd-map__list { max-height: var(--sdx-maph, 70vh) !important; }
.sdx__map .sd-map__disclaimer { margin: 6px 0 0 !important; font-size: 12px; }
.sdx.is-map { overflow: hidden; }
.sdx.is-map .sdx__bar { position: absolute; top: 24px; left: 24px; right: calc(320px + 48px); z-index: 900; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; pointer-events: none; flex-wrap: wrap; align-items: flex-start; }
.sdx.is-map .sdx__bar > * { pointer-events: auto; }
.sdx.is-map .sdx__map .leaflet-top.leaflet-left { top: 64px; }
@media (max-width: 900px) {
	.sdx.is-map { overflow-y: auto; }
	.sdx.is-map .sdx__bar { position: absolute; top: 20px; left: 20px; right: 20px; }
	.sdx__map .sd-map__canvas { height: calc(var(--sdx-maph, 70vh) - 70px) !important; }
	.sdx.is-map .sdx__map .leaflet-top.leaflet-left { top: auto; bottom: 30px; }
	.sdx.is-map .sdx__map .leaflet-top.leaflet-left .leaflet-control { margin-bottom: 0; }
	.sdx.is-map .sdx__tabs { order: 3; flex-basis: 100%; }
	.sdx.is-map .sdx__seg { margin-left: auto; }
}

/* Explorer 0.28.2: map key, smaller floating controls and a pull-up list on phones */
.sdx__key { position: absolute; left: 12px; bottom: 26px; z-index: 800; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sdx__key .sd-map__legend { display: flex !important; flex-direction: column; gap: 6px; margin: 0 !important; padding: 10px 12px !important; background: rgba(255,255,255,.95); border-radius: 10px; box-shadow: 0 2px 10px rgba(16,50,79,.2); font-size: 13px; line-height: 1.3; color: #222; }
.sdx__key .sd-map__swatch { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.sdx .sdx__keybtn { display: none; min-height: 36px; padding: 0 14px !important; border: 0 !important; border-radius: 999px; background: #fff !important; color: #10324f !important; font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 2px 10px rgba(16,50,79,.2) !important; cursor: pointer; }
.sdx__sheet { display: none; }
.sdx__map .sd-map__list { scrollbar-width: thin; }
@media (max-width: 900px) {
	/* Key: a button that opens the colours. */
	.sdx .sdx__keybtn { display: inline-flex; align-items: center; }
	.sdx__key .sd-map__legend { display: none !important; }
	.sdx__key.is-open .sd-map__legend { display: flex !important; }
	.sdx__key { left: 10px; bottom: 90px; }
	/* Smaller floating controls. */
	.sdx.is-map .sdx__bar { top: 10px; left: 10px; right: 10px; gap: 8px; }
	.sdx .sdx__back { min-height: 40px !important; padding: 0 12px 0 6px !important; font-size: 15px !important; }
	.sdx .sdx__seg button { min-height: 34px !important; padding: 0 10px !important; font-size: 14px !important; }
	.sdx .sdx__tabs button { min-height: 34px !important; padding: 0 12px !important; font-size: 14px !important; }
	.sdx.is-map .sdx__tabs { gap: 6px; }
	/* Map fills the screen; zoom on the right. */
	.sdx.is-map { overflow: hidden !important; }
	.sdx__maps { padding: 0 !important; }
	.sdx__map .sd-map { display: block !important; position: relative; }
	.sdx__map .sd-map__canvas { height: var(--sdx-fullh, calc(100dvh - 120px)) !important; border-radius: 0 !important; }
	.sdx__map .sd-map__disclaimer { display: none; }
	.sdx.is-map .sdx__map .leaflet-top.leaflet-left { top: auto !important; bottom: 90px; left: auto; right: 10px; }
	.sdx.is-map .sdx__map .leaflet-bottom.leaflet-right { bottom: 76px; }
	/* Lot list: a pull-up panel. */
	.sdx__map .sd-map__list { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 1100; max-height: 76px !important; overflow: hidden !important; margin: 0 !important; padding: 0 14px 14px !important; border: 0 !important; border-radius: 16px 16px 0 0 !important; background: #fff !important; box-shadow: 0 -4px 18px rgba(16,50,79,.22); transition: max-height .25s ease; }
	.sdx__map .sd-map__list.is-open { max-height: 75vh !important; max-height: 75dvh !important; overflow-y: auto !important; }
	.sdx__map .sd-map__list:not(.is-open) > :not(.sdx__sheet) { display: none !important; }
	.sdx .sdx__sheet { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: calc(100% + 28px); margin: 0 -14px 10px; min-height: 64px; padding: 16px 18px 10px !important; border: 0 !important; border-radius: 16px 16px 0 0; background: #fff !important; color: #10324f !important; font: inherit; font-size: 16px; cursor: pointer; box-shadow: none !important; }
	.sdx__grip { position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #c9d3dd; }
	.sdx__sheetact { color: #1f5f99; font-weight: 700; font-size: 15px; }
}

/* Builders and agents linked; hero for the tiles block (0.29.1) */
.sd-bdir__agent { margin: 10px 0 0 !important; padding: 8px 10px; border-radius: 8px; background: #f4f8fc; font-size: 14px; line-height: 1.45; color: #33475b; }
.sd-bdir__agent a { color: #1f5f99 !important; text-decoration: none !important; }
.sd-bdir__agent a:hover { text-decoration: underline !important; }
.sd-adir__reps { margin: 2px 0 0 !important; font-size: 14px; line-height: 1.4; color: #5b6b79; }
.sd-adir .sd-bdir__head > div { min-width: 0; }
.sd-adir .sd-bdir__item:target { box-shadow: 0 0 0 3px #7fb8e0; }
#builders, #agents, .sd-bdir__item, #sd-listings { scroll-margin-top: 110px; }
.sd-qhero { margin: 0 0 8px; }
.sd-qhero .sd-qhero__t { margin: 0 0 8px !important; padding: 0 !important; font-size: clamp(30px, 3.4vw, 42px) !important; line-height: 1.15 !important; font-weight: 700 !important; color: #222 !important; text-wrap: balance; }
.sd-qhero__p { margin: 0 0 22px !important; max-width: 760px; font-size: 18px; line-height: 1.6; color: #444; }

/* Section headings typed into pages: match the blocks' headings (0.29.2) */
.sd-section-title, h2.sd-section-title { margin: 0 0 8px !important; padding: 0 !important; font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.2 !important; font-weight: 700 !important; color: #222 !important; text-wrap: balance; }
.sd-section-intro, p.sd-section-intro { margin: 0 0 20px !important; max-width: 820px; font-size: 17px; line-height: 1.6; color: #444; }

/* 0.29.3 */
.sd-contact__heading { text-wrap: balance; }
