.contacts {
	padding: var(--wp--custom--layout--spacing-64) 0 0px 0 !important;
	max-width: 100% !important;
	margin-top: 0 !important;
}

.contacts.horizontal-padding-0 {
	padding-top: 0 !important;
}
.contacts.horizontal-padding-40 {
	padding-top: var(--wp--custom--layout--spacing-40) !important;
}
.contacts.horizontal-padding-56 {
	padding-top: var(--wp--custom--layout--spacing-56) !important;
}
.contacts.horizontal-padding-64 {
	padding-top: var(--wp--custom--layout--spacing-64) !important;
}
.contacts.horizontal-padding-92 {
	padding-top: var(--wp--custom--layout--spacing-92) !important;
}
.contacts.horizontal-padding-120 {
	padding-top: var(--wp--custom--layout--spacing-120) !important;
}

.contacts.horizontal-padding-bottom-0 {
	padding-bottom: 0 !important;
}
.contacts.horizontal-padding-bottom-40 {
	padding-bottom: var(--wp--custom--layout--spacing-40) !important;
}
.contacts.horizontal-padding-bottom-56 {
	padding-bottom: var(--wp--custom--layout--spacing-56) !important;
}
.contacts.horizontal-padding-bottom-64 {
	padding-bottom: var(--wp--custom--layout--spacing-64) !important;
}
.contacts.horizontal-padding-bottom-92 {
	padding-bottom: var(--wp--custom--layout--spacing-92) !important;
}
.contacts.horizontal-padding-bottom-120 {
	padding-bottom: var(--wp--custom--layout--spacing-120) !important;
}


.contacts .wrap {
	width: 100%;
}
.contacts .contacts-inner-wrapper {
	display: flex;
	gap: var(--wp--custom--layout--spacing-64);
	width: 100%;
}

.contacts .contacts-inner-wrapper h4 {
	margin-bottom: 30px;
}
.contacts .contacts-inner-wrapper sidebar {
	width: calc(55% - var(--wp--custom--layout--spacing-40));

}
.contacts .contacts-inner-wrapper sidebar{
	width: 25%;
}
.contacts .contacts-inner-wrapper .team {
	/*width: 45%;*/
	width: calc(75% - var(--wp--custom--layout--spacing-40));
}
.contacts .contacts-inner-wrapper .team.main-contacts-0 {
	width: 100%;
}
.contacts .contacts-inner-wrapper .team.main-contacts-0 .team-contact {
	width: calc(25% - 20px) !important;
}
.contacts .contacts-inner-wrapper .team .team-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.contacts .contacts-inner-wrapper .main-contact h5 {
	margin-bottom: 10px;
}
.contacts .contacts-inner-wrapper .team h5 {
	margin-bottom: 10px;
}

.contacts .person-content {
	font-size: 16px;
}
.contacts .person-content .title {
	font-size: 18px;
	margin-bottom: 0;
}
.contacts .person-content .profile span {
	display: inline-block;
	width: 27px;
	height: 17px;
	background: transparent url(../../assets/images/Link-arrow.svg) no-repeat 0 0;
	background-size: cover;
	margin-left: 5px;
}
.contacts .person-content a {
	text-decoration: none;
}
.contacts .person-content a:hover {
	color:var(--wp--custom--color--petrol);
}
.contacts .person-content h5 a,.contacts .person-content .profile a {
	text-decoration: none;
}

.contacts .contacts-inner-wrapper .team .team-inner .person-group {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.contacts .contacts-inner-wrapper .team .team-inner .team-contact {
	width: calc(25% - 15px);
}
.contacts .contacts-inner-wrapper .team .team-inner .team-contact picture {
	overflow: hidden;
	display: block;
}
.contacts .contacts-inner-wrapper .team .team-inner .team-contact picture:hover img {
	transform: scale(1.05);
}

.contacts .contacts-inner-wrapper .team .team-inner .team-contact picture img {
	aspect-ratio: 55/64;
	object-fit: cover;
	transition: transform 0.5s ease-in-out;
}
.contacts .contacts-inner-wrapper .team.main-contacts-1 .team-inner .team-contact {
	width: calc(25% - 15px);
}
.contacts .contacts-inner-wrapper .main-contacts {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}
.contacts .contacts-inner-wrapper .main-contacts .main-contact {
	/*width: calc(50% - 9px);*/
	overflow: hidden;


}
.contacts .contacts-inner-wrapper .main-contacts .main-contact picture {
	overflow: hidden;
	display: block;
}
.contacts .contacts-inner-wrapper .main-contacts .main-contact picture:hover img{
	transform: scale(1.05);
}
.contacts .contacts-inner-wrapper .main-contacts .main-contact picture img{
	aspect-ratio: 55/64;
	object-fit: cover;
	transition: transform 0.5s ease-in-out;
	width: 100%;
}
.contacts .loadmore {
	text-align: center;
	margin: 50px auto 0 auto;
	width: 100%;
}
.contacts .hidden-team {
	display: none;
}

@media (max-width: 1024px) {
	.contacts .contacts-inner-wrapper {
		flex-wrap: nowrap;
	}

	.contacts .contacts-inner-wrapper .team {
		width: calc(75% - var(--wp--custom--layout--spacing-64));
	}
	.contacts .contacts-inner-wrapper sidebar {
		width: 25%;
	}
	.contacts .contacts-inner-wrapper .team .team-inner .team-contact {
		width: calc(33.333% - 15px);
	}

}
@media (max-width: 768px) {
	.contacts .contacts-inner-wrapper {
		gap: var(--wp--custom--layout--spacing-24);
		flex-wrap: wrap;
	}
	.contacts .contacts-inner-wrapper .main-contacts {
		gap: 20px;
		flex-wrap: wrap;
	}

	.contacts {
		padding: 0px 0 0px 0 !important;
		max-width: 100% !important;
		margin-top: 0 !important;
	}
	.contacts .contacts-inner-wrapper sidebar {
		width: 100%;
	}
	.contacts .contacts-inner-wrapper .team {
		width: 100%;
	}
	.contacts.main-contacts-1 .contacts-inner-wrapper {
		flex-wrap: wrap;
	}
	.contacts .contacts-inner-wrapper .main-contact {
		width: 100%;
	}
	.contacts .contacts-inner-wrapper .team .team-inner .team-contact {
		width: calc(50% - 10px) !important;
	}
	.contacts.horizontal-padding-40 {
		padding-top: var(--wp--custom--layout--spacing-32) !important;
	}
	.contacts.horizontal-padding-56 {
		padding-top: var(--wp--custom--layout--spacing-40) !important;
	}
	.contacts.horizontal-padding-64 {
		padding-top: var(--wp--custom--layout--spacing-56) !important;
	}
	.contacts.horizontal-padding-92 {
		padding-top: var(--wp--custom--layout--spacing-64) !important;
	}
	.contacts.horizontal-padding-120 {
		padding-top: var(--wp--custom--layout--spacing-92) !important;
	}

	.contacts.horizontal-padding-bottom-40 {
		padding-bottom: var(--wp--custom--layout--spacing-32) !important;
	}
	.contacts.horizontal-padding-bottom-56 {
		padding-bottom: var(--wp--custom--layout--spacing-40) !important;
	}
	.contacts.horizontal-padding-bottom-64 {
		padding-bottom: var(--wp--custom--layout--spacing-56) !important;
	}
	.contacts.horizontal-padding-bottom-92 {
		padding-bottom: var(--wp--custom--layout--spacing-64) !important;
	}
	.contacts.horizontal-padding-bottom-120 {
		padding-bottom: var(--wp--custom--layout--spacing-92) !important;
	}

}
