@charset "UTF-8";
/**
 * MLS Genie™ — Property details in tabs (MLSG_Property_Details)
 * Scoped to .mlsg-pd. Inherits the theme's font. Colours from mlsg-tokens.
 *
 * @since 2.1.858
 */

.mlsg-pd {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.75rem;
	background: var(--mlsg-white);
	border-radius: var(--mlsg-radius);
	color: var(--mlsg-text);
	/* Houzez centres text in the section that holds this block
	   (.adv-wrapper, measured text-align: center). */
	text-align: start;
}

.mlsg-pd__title {
	/* A rule under the title, as the theme's other sections have (measured
	   on Houzez: 1px line, 30px above and below it). */
	margin: 0 0 0.625rem;
	padding-bottom: 1.875rem;
	border-bottom: 1px solid var(--mlsg-border);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--mlsg-navy);
}

.mlsg-pd__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.mlsg-pd__select {
	display: none;
	position: relative;
}
/* A front-end surface: the menu takes the site's own font and colours. */
.mlsg-pd__select-input {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid currentColor;
	border-radius: 0.25rem;
	background-color: transparent;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	/* The browser's own arrow is small and cannot be styled; the icon
	   below stands in for it, with room kept clear on the right. */
	appearance: none;
	padding-right: 3rem;
}

.mlsg-pd__select-icon {
	position: absolute;
	top: 50%;
	right: 1rem;
	font-size: 1rem;
	transform: translateY(-50%);
	pointer-events: none;
}

.mlsg-pd__tab {
	min-height: 2.75rem;
	margin: 0 0 -1px;
	padding: 0 1rem;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	color: var(--mlsg-text-medium);
	cursor: pointer;
}
.mlsg-pd__tab[aria-selected="true"] {
	font-weight: 700;
	color: var(--mlsg-navy);
	border-bottom-color: var(--mlsg-teal);
}
.mlsg-pd__tab:hover {
	color: var(--mlsg-navy);
}
.mlsg-pd__tab:focus-visible {
	outline: 2px solid var(--mlsg-teal);
	outline-offset: 2px;
}

.mlsg-pd__panel {
	/* Columns, not a grid: each group flows down after the one above it,
	   so a long group does not leave a gap beside it (measured on Houzez:
	   a grid row as tall as its tallest group). Two columns fill the width
	   Houzez gives this section; one on narrow screens. */
	columns: 2;
	column-gap: 3rem;
}
.mlsg-pd__panel[hidden] {
	display: none;
}
.mlsg-pd__panel:focus-visible {
	outline: 2px solid var(--mlsg-teal);
	outline-offset: 4px;
}

.mlsg-pd__group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	break-inside: avoid;
}

.mlsg-pd__listed {
	/* As the detail rows: when the name does not fit beside the label it
	   moves, whole, to the line below it. */
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.5rem;
	margin: 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--mlsg-border-medium);
	font-size: 1rem;
	line-height: 1.5;
}

.mlsg-pd__heading {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--mlsg-navy);
}

.mlsg-pd__icon {
	width: 1.25rem;
	font-size: 1.125rem;
	text-align: center;
	color: var(--mlsg-teal);
}


.mlsg-pd__list {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 0;
	/* Rows sit under the heading text, clear of the icon. */
	padding-left: 1.875rem;
}

.mlsg-pd__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.5rem;
	font-size: 1rem;
	line-height: 1.5;
}

.mlsg-pd__label {
	font-weight: 600;
	color: var(--mlsg-text-medium);
}
.mlsg-pd__label::after {
	content: ":";
}

.mlsg-pd__value {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Inside a theme's own section card (MLSG_Houzez_Details_Bridge): the
   theme draws the card and the title; the block adds only its content. */
.mlsg-pd--bare {
	padding: 0;
	background: none;
	border-radius: 0;
}

/* The Houzez Adsense Space centres what it holds (measured:
   .adv-wrapper text-align: center). */
.mlsg-pd-host {
	text-align: start;
}

@media (max-width: 40rem) {
	.mlsg-pd__panel {
		columns: 1;
	}
	/* The row becomes the menu, as in the CRM page headers. */
	.mlsg-pd__tabs {
		display: none;
	}
	.mlsg-pd__select {
		display: block;
	}
}

/* Named for screen readers only; not every theme ships a class for it. */
.mlsg-pd__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Links in a value (a virtual tour, a document): the site's own link
   color, underlined so they read as links without relying on color. */
.mlsg-pd__link {
	display: inline-flex;
	align-items: baseline;
	gap: 0.375rem;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	overflow-wrap: anywhere;
}
.mlsg-pd__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.mlsg-pd__link-icon {
	font-size: 0.8125rem;
}
