.mb-contacts {
	color: #151515;
	font-family: inherit;
}

.mb-contacts *,
.mb-contacts *::before,
.mb-contacts *::after {
	box-sizing: border-box;
}

.mb-contacts__toolbar {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 48px;
}

.mb-contacts__filters {
	display: flex;
	flex: 1 1 650px;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.mb-contacts__filters button {
	background: #fff;
	border-radius: 7px;
	border: 1px solid #eee;
	color: #6e6e6e;
	cursor: pointer;
	font: inherit;
	line-height: 1.3;
	padding: 9px 14px;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mb-contacts__filters button:hover,
.mb-contacts__filters button:focus-visible,
.mb-contacts__filters button.is-active {
	background: #f1f1f1;
	border-color: #ccc;
	color: #151515;
}

.mb-contacts__search {
	background: #f6f6f6;
	border: 1px solid #eee;
	border-radius: 7px;
	display: flex;
	flex: 0 1 240px;
	min-width: 200px;
}

.mb-contacts__search::before {
	color: #999;
	content: "\2315";
	font-size: 1.4rem;
	line-height: 1;
	padding: 8px 0 8px 10px;
}

.mb-contacts__search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	min-width: 0;
	outline: none;
	padding: 8px 10px;
	width: 100%;
}

.mb-contacts__grid {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mb-contacts__spacer {
	height: 20px;
}

.mb-contacts__card[hidden] {
	display: none;
}

.mb-contacts__card {
	background: #f6f6f6;
	border: 1px solid #eee;
	border-radius: 7px;
	padding: 10px;
}

.mb-contacts__photo {
	align-items: center;
	background: #f6f6f6;
	border: 1px solid #eee;
	border-radius: 50%;
	display: flex;
	height: 104px;
	justify-content: center;
	margin: 0 0 20px;
	overflow: hidden;
	width: 104px;
}

.mb-contacts__photo-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mb-contacts__photo-placeholder {
	color: #005695;
	font-size: 2.5rem;
}

.mb-contacts__name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 2px;
}

.mb-contacts__position,
.mb-contacts__phone,
.mb-contacts__email {
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
}

.mb-contacts__position {
	margin-bottom: 20px;
}

.mb-contacts__phone {
	margin-top: 20px;
}

.mb-contacts__phone a,
.mb-contacts__email a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mb-contacts__no-results {
	margin: 16px 0;
}

@media (max-width: 900px) {
	.mb-contacts__toolbar {
		margin-bottom: 34px;
	}

	.mb-contacts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mb-contacts__toolbar {
		margin-bottom: 28px;
	}

	.mb-contacts__search {
		flex-basis: 100%;
	}

	.mb-contacts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.mb-contacts__grid {
		grid-template-columns: 1fr;
	}
}
