.contact-page {
	width: 100%;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
	width: 100%;
}

.contact-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 1.25rem;
	border: 1px solid #dfe5e9;
	background: #fdfefe;
	box-sizing: border-box;
}

.contact-card__icon {
	font-size: 1.35rem;
	color: #00569c;
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.contact-card__body {
	text-align: left;
	font-size: 14px;
	line-height: 1.45;
	color: #324860;
	min-width: 0;
}

.contact-card__label {
	font-weight: bold;
	display: block;
	margin-bottom: 0.35rem;
}

.contact-card__body a {
	color: #00569c;
	text-decoration: none;
}

.contact-card__body a:hover {
	text-decoration: underline;
}

.nav-link.active:hover {
	color: #00569c !important;
}

.nav-link1 {
	font-weight: 700;
	font-size: 15px;
}

.nav-tabs .nav-link.active {
	background-color: white !important;
	font-weight: 400;
	font-size: 13px;
}

.nav-item1:hover {
	background-color: white !important;
}

.nav-item1 {
	flex: 1;
	text-align: center;
}

.nav-link1:hover {
	color: black !important;
}

/* Вкладки контактов: подчёркивание активной — совместимо с Bootstrap 5 (.nav-link.active на ссылке) */
.tabs.contacts_tabs .nav-tabs .nav-link {
	position: relative;
}

.tabs.contacts_tabs .nav-tabs .nav-link.active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 2px;
	background: #00569c;
}

.main_contacts .contact {
	position: relative;
	margin: 20px 0 0;
	padding: 0 0 0 0;
	color: #FFF;
	font-size: 13px;
	line-height: 18px;
}

.main_contacts > .wrap {
	background: #323536;
	padding: 19px 20px 39px;
}

#map {
	width: 100%;
	height: 500px;
}

@media (max-width: 767px) {
	.main_map_block .main_contacts {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
		max-width: 100%;
	}

	.main_map_block .main_contacts_wrap {
		position: relative;
		z-index: 2;
		margin-bottom: 0.5rem;
	}

	#map {
		height: 320px;
	}
}
