/* EmbedDirectory layout refinements beyond Tailwind CDN */

/*
 * Tailwind’s Preflight (bundled in embeddirectory-tailwind) resets headings and emphasis
 * site-wide whenever directory assets load. Restore normal document defaults outside utility
 * classes; selectors like .text-3xl / .font-semibold still win inside the directory UI.
 */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-size: revert;
	font-weight: revert;
	line-height: revert;
	margin: revert;
}

body b,
body strong {
	font-weight: revert;
}

body em,
body i {
	font-style: revert;
}

.embeddirectory-root .ed-layout-btn:focus {
	outline: 2px solid var(--ed-accent, #14b8a6);
	outline-offset: 2px;
}

.embeddirectory-root .ed-search:focus,
.embeddirectory-root .ed-location:focus {
	outline: 2px solid var(--ed-brand, #0f766e);
	outline-offset: 0;
}

.embeddirectory-root .ed-geo {
	background-color: var(--ed-geo-btn-bg, #ffffff);
	color: var(--ed-geo-btn-color, #1f2937);
}

.ed-map-canvas {
	min-height: 16rem;
}

@media (max-width: 767px) {
	.ed-filters-panel:not(.hidden) {
		display: block !important;
	}
}

.ed-listing-contact-btn:hover {
	opacity: 0.92;
}

.ed-lightbox img {
	cursor: zoom-in;
}
