.vsre-idx-embed {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.vsre-idx-frame {
	display: block;
	width: 100%;
	min-height: 240px;
	border: 0;
	background: transparent;
	transition: height 180ms ease-out;
}

.vsre-idx-embed--search_form .vsre-idx-frame { min-height: 320px; }
.vsre-idx-embed--map_search .vsre-idx-frame { min-height: 720px; }
.vsre-idx-embed--active .vsre-idx-frame,
.vsre-idx-embed--sold .vsre-idx-frame,
.vsre-idx-embed--office_active .vsre-idx-frame,
.vsre-idx-embed--vancouver_attached .vsre-idx-frame,
.vsre-idx-embed--vancouver_detached .vsre-idx-frame { min-height: 640px; }

.vsre-idx-status,
.vsre-idx-fallback,
.vsre-idx-noscript {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	border: 1px dashed var(--edison-color-line, #b8b8ad);
	border-radius: var(--edison-radius, 6px);
	background: var(--edison-color-paper-alt, #f1f2ed);
	color: var(--edison-color-ink-soft, #45453d);
	font-size: var(--edison-small, 0.95rem);
	text-align: center;
}

.vsre-idx-fallback[hidden] { display: none; }
.vsre-idx-embed.is-unavailable .vsre-idx-frame { min-height: 0; height: 0 !important; }

.vsre-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.edison-hero-search-row {
	position: relative;
	z-index: 2;
	margin-top: clamp(1.5rem, 1rem + 1vw, 2.5rem) !important;
}

.vsre-idx-embed--hero {
	padding: clamp(0.75rem, 0.55rem + 0.7vw, 1.25rem);
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: var(--edison-radius, 6px);
	background: rgba(250, 248, 243, 0.96);
	box-shadow: 0 18px 45px rgba(20, 20, 16, 0.22);
	color: var(--edison-color-ink, #141410);
}

.vsre-idx-embed--hero .vsre-idx-frame {
	height: 420px !important;
	min-height: 420px;
}
.vsre-idx-embed--hero .vsre-idx-status { margin-bottom: 0.5rem; }
.vsre-idx-hero-link {
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: var(--edison-small, 0.95rem);
}
.vsre-idx-hero-link a {
	font-weight: 700;
	color: var(--edison-color-forest, #60735b);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (max-width: 767px) {
	.vsre-idx-frame { transition: none; }
	.vsre-idx-embed--search_form .vsre-idx-frame { min-height: 430px; }
	.vsre-idx-embed--hero .vsre-idx-frame {
		height: 650px !important;
		min-height: 650px;
	}
	.vsre-idx-embed--map_search .vsre-idx-frame { min-height: 620px; }
	.vsre-idx-embed--hero {
		padding: 0.5rem;
		box-shadow: 0 12px 30px rgba(20, 20, 16, 0.2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vsre-idx-frame { transition: none; }
}
