/* Overview contact mode: scoped to authored Flexmls markup. */
.fmls-overview .ov-mobile-contact {
	display: none;
}

@media (max-width: 760px) {
	.fmls-overview .ov-welcome {
		min-height: max(410px, calc(100vh - var(--ov-top-offset, 128px) - var(--ov-contact-height, 62px)));
		min-height: max(410px, calc(100dvh - var(--ov-top-offset, 128px) - var(--ov-contact-height, 62px)));
	}

	.fmls-overview .ov-mobile-contact {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		margin: 0;
		padding: 0;
		background: #171715;
		border-top: 1px solid #79613e;
		border-bottom: 1px solid #79613e;
	}

	.fmls-overview .ov-mobile-contact a {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 60px;
		padding: 14px 10px;
		color: #fff;
		background: #171715;
		font-size: 14px;
		font-weight: 800;
		line-height: 1.3;
		text-align: center;
		text-decoration: none;
	}

	.fmls-overview .ov-mobile-contact a + a {
		border-left: 1px solid #79613e;
	}

	.fmls-overview .ov-mobile-contact a:hover {
		background: #79613e;
		color: #fff;
	}

	.fmls-overview .ov-mobile-contact a:focus-visible {
		outline: 3px solid #c8b18b;
		outline-offset: -5px;
	}

	.fmls-overview .ov-portrait {
		padding: 16px 20px 20px;
	}
}
