/**
 * MLS Genie™ — the address component (MLSG_Address_Block).
 *
 * Stacked by default: the street, then the city, state and ZIP on the next
 * line, with the comma between them kept for screen readers only. One line
 * (.mlsg-address--inline, or an element's Address › Layout setting, which
 * writes the same custom properties per device) shows the comma.
 */

.mlsg-address,
.mlsg-address__street {
	margin: 0;
}

.mlsg-address__street,
.mlsg-address__place {
	display: var(--mlsg-address-part, block);
}

.mlsg-address__place {
	margin-top: var(--mlsg-address-gap, 0);
}

.mlsg-address__sep {
	position: var(--mlsg-address-sep-pos, absolute);
	width: var(--mlsg-address-sep-size, 1px);
	height: var(--mlsg-address-sep-size, 1px);
	overflow: hidden;
	clip-path: var(--mlsg-address-sep-clip, inset(50%));
	white-space: nowrap;
}

.mlsg-address--inline {
	--mlsg-address-part: inline;
	--mlsg-address-sep-pos: static;
	--mlsg-address-sep-size: auto;
	--mlsg-address-sep-clip: none;
}

/* Three classes: a theme or kit link rule (.elementor-kit-N a:hover) must
   not recolour the street. An element's Color on Hover still wins. */
.mlsg-address .mlsg-address__street a {
	color: inherit;
	text-decoration: none;
}

.mlsg-address .mlsg-address__street a:hover,
.mlsg-address .mlsg-address__street a:focus-visible {
	color: inherit;
	text-decoration: underline;
}
