section {
    position: relative;
}

.section-subtitle {
    font-family: Poppins;
    font-weight: 300;
    font-style: Light;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-left: 2px solid #005F71;
    padding: 4px 0 2px 20px;
    margin: 18px 0 36px;
}

.call-out {
	border: 1px solid rgba(108, 115, 117, 0.502);
	padding: 24px;
}

.image-shadow {
    box-shadow: 0px 45px 68.7px 0px rgba(0, 0, 0, 0.149);
}

.image-wrap {
    max-height: 380px;
    width: auto;
    overflow: hidden;
}

.image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media(min-width: 1024px) {
    .image-wrap {
        max-height: 532px;
    }
}

@media(max-width: 840px) {
    .masthead {
        margin-top: 170px !important;
    }

    .button-wrap > p {
        width: 100%;
    }

    .button-wrap > p a {
        margin: auto;
    }

	.button-wrap > p > a{
		margin: 16px 0;
	}
}

.masthead {
    margin-bottom: 0 !important;
}

.bg-green {
	background-color: #C2E6E4;
}

.title-lg span {
	color: #005F71;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.button-wrap {
	display: flex;
	flex-wrap: wrap;
}

.button-wrap > p {
	display: flex;
	margin: 0;
}

.button {
	display: inline-flex;
	justify-content: center;
	margin: 16px 32px 0 0;
	width: 100%;
	max-width: 350px;
}

.button .arrow-right.rotate-90 {
    transform: rotate(90deg);
    padding: 0;
    margin-left: 10px;
}

.masthead .masthead__text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.masthead .masthead__text .section-subtitle{
    margin: 12px 0 48px;
    border-color: #B8D7DC;
}

.masthead .masthead__text .logo {
    order: -1;

    box-shadow: 0px 7.5px 22.5px -9px #27272740;
    background-color: #fff;
    padding: 16px;
    margin-bottom: 32px;

    width: 100%;
    max-width: 450px;
}

.masthead .masthead__text h1 {
    margin-bottom: 0;
}

@media(min-width: 768px) {
	.masthead .masthead__text {
		max-width: 65% !important;
	}

	.title-lg span {
		font-size: 18px !important;
	}

    .our-providers .masthead__text img.logo {
        order: unset;
        width: 50%;
        min-width: 200px;
        max-width: 360px;

        margin-bottom: 32px;

        box-shadow: none;
        background-color: transparent;
        padding: 0;
    }
}

@media(min-width: 1024px) {
	.specialists.flexy.gap100 > .flexy-item:first-child {
		margin-left: 0;
		flex: 0 0 46%;
	}
}

@media(min-width: 1670px) {
	.title-lg {
    	font-size: 120px !important;
	}

	.button {
		width: auto;
        min-width: 325px;
		height: 71px;
	}
}

#specialists {
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: contain;
}

.specialists .flexy-item:first-child {
	position: relative;

	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
	margin: 0;
}

.specialists .flexy-item:last-child {
	padding: 25px;
}

.specialist {
	position: relative;
    box-shadow: 0px 45px 68.7px 0px #00000026;
	overflow: hidden;
	transition: .2s ease-in-out;
}

.specialist:hover {
	transform: translateY(-4px);

}

.specialist::before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	background: linear-gradient(rgba(0, 0, 0, 0) 37%, rgba(0, 0, 0, 0.8) 80%);
}

.specialists .specialist .name {
	position: absolute;
	bottom: 0;
	padding: 16px;
}

.specialists .specialist .name span {
    display: block;
	font-family: Butler;
	font-weight: 400;
	font-size: 25px;
	line-height: 1;
	color: #fff;
}

.specialists .specialist .name img.arrow-diag {
    margin-bottom: 5px;
    width: 20px;
    height: 20px;
}

@media(min-width: 841px){
	.specialists {
		max-width: 2200px;
		padding: 100px;
		margin: auto;
	}

	.specialists .flexy-item:first-child {
        display: flex;
        margin: 0;
        flex-direction: column;
        justify-content: center;
	}

	.specialists .flexy-item:last-child {
		padding: 0;
	}

	.specialist {
		max-width: 300px;
		max-height: 300px;
	}

    .specialist:first-child {
        margin-bottom: 80px;
    }


	.specialist.floating {
		position: absolute;
		left: 45%;
		top: 0;
		bottom: 0;
		margin: auto;
		z-index: 2;
	}
}

@media(min-width: 1024px){
	.specialists .specialist .name {
		padding: 32px;
	}

	.specialists .specialist .name span {
		font-size: 32px;
	}

    .specialist::before {
    	background: linear-gradient(183.69deg, rgba(0, 0, 0, 0) 64.95%, rgba(0, 0, 0, 0.4) 86.98%);
    }
}

@media(min-width: 1450px){
	.specialist {
		max-width: 375px;
		max-height: 375px;
	}
}

#meet-the-team ul {
    font-family: Poppins;
    font-weight: 300;
    font-style: Light;
    font-size: 18px;
    line-height: 167%;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #005F71;

    list-style: disc;
    border-left: 2px solid #B8D7DC;
    padding: 5px 0 5px 50px;
    margin-bottom: 35px;
}

#meet-the-team ul li::marker {
    color: #005F71;
}

.tm__section-title {
	border-top: 1px solid #C2C1BE;
	border-bottom: 1px solid #C2C1BE;
	padding: 20px 0;
	margin: 60px 0;
}

.tm__section-title h2 {
	font-family: Butler;
	font-weight: 500;
	font-style: Medium;
	line-height: 120%;
	letter-spacing: 0px;
}

.tm__section-grid {
	display: flex;
	gap: 16px;
	text-align: center;
	flex-wrap: wrap;
	justify-content: center;
}

.tm__section-grid--single {
    flex: 0 0 calc(50% - 24px);
}

.tm__section-grid--single .intro {
	font-weight: 300;
	font-size: 16px;
	line-height: 160%;
	letter-spacing: 1.8px;
	text-align: center;
	text-transform: uppercase;
	color: #6C7375 !important;
    margin-top: 8px;
}

.tm__section-grid--single .image {
	position: relative;

}

.tm__section-grid--single .image:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(95.76deg, rgba(255, 255, 255, 0.9) 35.01%, rgba(255, 255, 255, 0) 81.01%);
	opacity: 0;
	transition: all .2s ease-in-out;
	z-index: 1;
}

.tm__section-grid--single .image p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	max-width: 150px;
	transition: all .2s ease-in-out;
	z-index: 2;
}

.tm__section-grid--single .image .button {
	opacity: 0 !important;
	min-width: unset;
	transition: all .2s ease-in-out;
}

.tm__section-grid--single:hover .image:after,
.tm__section-grid--single:hover .image .button {
	opacity: 1 !important;
}


@media(min-width: 768px){
    .tm__section-grid {
	    gap: 40px;
    }
    .tm__section-grid--single .image > img {
        height: 100%;
        object-fit: cover;
    }

    .tm__section-grid--single .intro {
        font-size: 18px;
    }
}

@media(min-width: 1024px){
	.tm__section-title h2 {
		font-size: 65px !important;
	}

	.tm__section-grid--single {
		flex: 0 0 calc(33% - 24px);
	}

	.tm__section-grid--single .title-md {
		font-size: 48px;
	}
}

@media(min-width: 1470px){
    .tm__section-grid--single .image {
        height: 700px;
    }
}