/* Homepage main — left: form + appointment | image + centered text */
.home_layout {
	min-height: 0;
	padding-bottom: 40px;
}

.home_layout .intro_txt {
	margin-bottom: 25px;
}

.home_main_grid {
	display: flex;
	align-items: flex-end;
	gap: 20px;
}

.home_left_col {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 330px;
	flex-shrink: 0;
}

.home_layout .sidebar {
	position: relative !important;
	top: -80px;
	left: auto !important;
	width: 100%;
	min-height: 0 !important;
	margin: 0 0 calc(-80px + 4px);
	padding: 24px 28px 16px !important;
	z-index: 2;
	flex-shrink: 0;
	box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06), -2px 0 12px rgba(0, 0, 0, 0.06), 0 -3px 10px rgba(0, 0, 0, 0.05) !important;
}

.home_layout .sidebar h2 {
	margin-bottom: 8px;
}

.home_layout .sidebar p {
	margin-bottom: 10px;
}

.home_layout .form_area {
	margin-top: 8px;
}

.home_layout .form_area input[type="text"],
.home_layout .form_area input[type="email"],
.home_layout .form_area textarea {
	margin-bottom: 5px;
	padding: 8px 16px;
}

.home_layout .form_area textarea {
	height: 72px;
}

.home_layout .form_area input[type="submit"] {
	margin-top: 6px;
}

.home_left_col .mbtm_box {
	width: 100% !important;
	margin: 0 !important;
	padding: 22px 18px 20px;
	box-sizing: border-box;
	min-height: 0;
	flex: none;
	display: block;
	position: relative;
	z-index: 1;
}

.home_left_col .mbtm_box h2 {
	margin-bottom: 10px;
}

.home_left_col .mbtm_box p {
	margin-bottom: 12px;
}

.home_right_area {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
	min-width: 0;
}

.home_right_area .img_home {
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: block !important;
	width: 320px;
	flex-shrink: 0;
	align-self: flex-end;
}

.home_right_area .img_home figure {
	display: block;
	margin: 0;
}

.home_right_area .img_home img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.home_layout .home_main_content {
	float: none !important;
	width: auto !important;
	flex: 1;
	min-width: 0;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	position: static !important;
}

@media only screen and (max-width: 1090px) {
	.home_left_col {
		width: 280px;
	}

	.home_main_grid,
	.home_right_area {
		gap: 15px;
	}

	.home_right_area .img_home {
		width: 280px;
	}
}

@media only screen and (max-width: 1000px) {
	.home_main_grid {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.home_left_col {
		width: 100%;
		max-width: 430px;
		margin: 0 auto 20px;
		gap: 4px;
	}

	.home_layout .sidebar {
		top: 0;
		margin-bottom: 0;
		padding: 24px 28px 16px !important;
		box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06), -2px 0 12px rgba(0, 0, 0, 0.06), 0 -3px 10px rgba(0, 0, 0, 0.05) !important;
	}

	.home_right_area {
		flex-direction: column;
		width: 100%;
		max-width: 430px;
		margin: 0 auto 20px;
		align-items: center;
	}

	.home_right_area .img_home {
		width: 100%;
		align-self: auto;
	}

	.home_layout .home_main_content {
		width: 100% !important;
		padding: 0 10px !important;
	}
}

@media only screen and (max-width: 750px) {
	.home_left_col,
	.home_right_area {
		max-width: 100%;
	}
}
