.team-section {
    padding: 115px 0;
}

.team-sect-left-col {
    width: 55.93%;
}

.team-sec-right-col {
    width: 40%;
}

.team-right-inner {
    max-width: 487px;
    margin-inline-start: auto;
}

.team-sec-row {
    background-color: var(--color-cream);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    padding: 106px 94px 52px 6.4%;
    z-index: 0;
}
.team-slider-hidden .team-sec-row {
	justify-content: center;
}
.team-slider-hidden .team-sec-row .team-right-inner {
	margin: 0 auto;
	text-align: center;
	max-width: 590px;
}
.team-slider-hidden .team-sec-row .team-sec-right-col {
	width: 50%;
}
.team-slider-hidden .team-sec-row .team-right-inner .team-section-content {
	max-width: 100%;
}
.team-slider-hidden .team-section-button {
	padding: 14px 30px;
	font-size: 24px;
	min-width: 210px;
}

.team-sec-row::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0px;
    z-index: -1;
    background-size: cover;
    background-image: url('../../../assets/images/team-sec-bg.png');
    top: 0;
}

.team-sec-row::after {
    content: "";
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: bottom right;
    right: 0;
    bottom: 0px;
    z-index: 1;
    background-size: contain;
    background-image: url('../../../assets/images/meet-our-team-right-vactor.png');
    width: 18.4%;
    height: 55.2%;
}

.team-slider-aerrow .slick-arrow {
    background-color: var(--color-cream);
}

.team-member-image img {
    border-radius: 116px;
}

.team-slider .slick-list {
    margin: 0 -15px;
}

.team-slide {
    padding: 0 15px;
}

.team-member-name {
    font-size: var(--font-size-32);
    font-family: var(--font-gold-coast);
    line-height: 1;
    margin: 0 0 4px 0;
}

.team-member-name a {
    text-decoration: none;
}

.team-member-name a:hover {
    color: var(--color-secondary);
}

.team-member-image {
    position: relative;
    padding-top: 250px;
    margin: 0 auto 27px auto;
    max-width: 193px;
}

.team-member-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-slider-aerrow {
    padding: 27px 0 50px 53px;
}

.team-section-title {
    margin: 0 0 26px 0;
}

body .team-section-title::before {
    top: -5px;
    left: -45px;
}

.team-section-content {
    line-height: 1.45;
    max-width: 480px;
    margin: 0 0 45px 0;
}

.team-member-image-wrap {
    padding: 22px 10px 0px 10px;
    position: relative;
}



.team-member-image::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    background-image: url('/wp-content/themes/northeast-eagle/assets/images/team-member-shape.png');
    background-repeat: no-repeat;
    left: 0;
    z-index: 1;
    background-size: contain;
    top: 25px;
    right: 0;
    background-position: center;
    margin: 0 auto;
    transform: scaleX(1.32) scaleY(1.325);
}

@media screen and (max-width:1600px) {
    .team-section {
        padding: 95px 0;
    }

    .team-sec-row {
        padding: 90px 50px 52px 50px;
    }

    .team-slider-aerrow {
        padding: 0px 0 10px 10px;
    }

    .team-sect-left-col {
        width: 53.93%;
    }

}

@media screen and (max-width:1440px) {
    .team-sec-row {
        padding: 70px 40px 42px 40px;
    }

}

@media screen and (max-width:1360px) {
    .team-sec-row {
        padding: 60px 40px 40px 40px;
    }

    .team-slide {
        padding: 0 10px;
    }

    .team-slider .slick-list {
        margin: 0 -10px;
    }

    .team-sec-right-col {
        width: 34%;
    }

    .team-sect-left-col {
        width: 57.93%;
    }

    .team-sect-left-col {
        width: 60%;
    }

    .team-sec-row::after {
        width: 15.4%;
        height: 50%;
    }

}

@media screen and (max-width:1200px) {
    .team-section {
        padding: 75px 0;
    }

    .team-sec-row {
        padding: 60px 20px 40px 20px;
    }

    .custom-slider-arrow .slick-arrow {
        top: 0;
        transform: unset;
    }

    .team-slide {
        padding: 0 6px;
    }

    .team-slider .slick-list {
        margin: 0 -6px;
    }

    .team-member-image {
        padding-top: 240px;
        max-width: 183px;
    }
    .team-slider-hidden .team-section-button {
	padding: 12px 30px;
	font-size: 22px;
	min-width: 190px;
}
}

@media screen and (max-width:1050px) {
    .team-member-image {
        padding-top: 210px;
    }

    .team-slider .slick-list {
        margin: 0 -10px;
    }

    .team-slide {
        padding: 0 10px;
    }
}

@media screen and (max-width:991px) {
    .team-member-image {
        padding-top: 250px;
    }

    .team-section-title {
        margin: 0 0 20px 0;
    }

    .team-section-content {
        margin: 0 0 35px 0;
    }

    .team-section {
        padding: 55px 0;
    }

    .team-sec-row::after {
        width: 20.4%;
    }
    .team-slider-hidden .team-section-button {
	font-size: 20px;
	min-width: 170px;
}

}

@media screen and (max-width:768px) {
    .team-sect-left-col {
        width: 100%;
        flex-direction: column;
        display: flex;
    }

    .team-sec-right-col {
        width: 100%;
        order: -1;
    }

    .team-slider-aerrow {
        padding: 48px 0 0 0;
        order: 1;
        justify-content: center;
    }

    .team-right-inner {
        margin-inline-start: 0;
    }

    body .team-section-title::before {
        top: -25px;
        left: -5px;
    }

    .team-section-title {
        margin: 0 0 30px 0;
    }

    .team-sect-left-col {
        margin: 50px 0 0 0;
    }

    .team-member-image {
        padding-top: 108%;
        max-width: 74%;
    }
.team-slider-hidden .team-sec-row .team-sec-right-col {
	width: 100%;
}


}

@media screen and (max-width:640px) {
    .team-member-image {
        padding-top: 251px;
        max-width: 193px;
        width: 100%;
    }

    .team-slider-aerrow {
        padding: 24px 0 0 0;
    }

    .team-member-image-wrap {
        margin-inline: auto;
        max-width: 244px;
    }

    .team-sec-row::after {
        width: 26.4%;
    }


    .team-section .container {
        padding: 0;
    }

    .team-sec-row {
        padding: 60px 20px 40px 20px;
        border-radius: 0;
    }

    .team-section {
        padding: 25px 0;
        overflow: clip;
        position: relative;
        background-color: var(--color-cream);
    }


    body .team-section-title::before {
        top: 0px;
        left: 2px;
    }

    .team-section-title {
        margin: 0 0 45px 0;
        max-width: 300px;
        line-height: 1;
    }
    .team-slider-hidden .team-sec-row .team-right-inner .team-section-title {
	margin-inline: auto;
}

    .team-section-content {
        margin: 0 0 80px 0;
    }

    .team-sec-row::before {
        background-image: url('data:image/svg+xml,<svg width="393" height="127" viewBox="0 0 393 127" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M-226 125.405C-185.735 126.639 -88.8438 114.679 -23.4021 56.9595C42.0397 -0.759582 161.224 -1.09921 217.035 2.04538C262.961 6.14921 352.015 23.7339 389.245 49.2332C426.109 74.4815 494.554 91.9046 526.452 94.5585" stroke="%23B5975A" stroke-width="2" stroke-dasharray="5 5"/></svg>');
        height: 125px;
        background-position: top;
        top: 33.5%;
    }
    .team-slider-hidden .team-sec-row .team-right-inner .team-section-content {
	margin-bottom: 30px;
}

    .team-sec-row::after {
        display: none;
    }
}

@media screen and (max-width:480px) {
    .team-section::after {
        content: "";
        width: 100%;
        height: 253px;
        background-image: url('data:image/svg+xml,<svg width="393" height="184" viewBox="0 0 393 184" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M-123 183C-82.9613 178.83 11.3857 153.999 68.4645 88.0364C125.543 22.0737 243.522 5.77258 299.211 1.41293C345.239 -0.67208 435.781 4.8248 476.062 25.1064C515.947 45.1885 586.058 53.2859 618 51.6432" stroke="%23B5975A" stroke-width="2" stroke-dasharray="5 5"/></svg>');
        position: absolute;
        background-repeat: no-repeat;
        bottom: -46px;
        background-position: bottom;
        background-size: 100%;
        pointer-events: none;
    }
}

@media screen and (max-width:420px) {
    .team-section::after {

        bottom: -24px;

    }
}