.team_top_sec .wpb_text_column {
    text-align: center;
    color: #000;
    margin: 0px auto;
	max-width: 672px;
}
.team_top_sec  h2.vc_custom_heading {
    margin-bottom: 22px;
}
.team-grid{
    max-width: fit-content;
    margin: 0px auto;
    grid-gap:30px;
    display: grid;
}
.team-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.team-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.team-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.team-grid.cols-1 {
    grid-template-columns: repeat(1, 1fr);
}
.team-grid article.team-card {
    width: 264px;
    scale: 1;
    transition: scale 0.4s ease;
}
.team-grid article.team-card:hover{
    scale: 1.02;
}
.team-grid .wp-post-image {
    border-radius: 15px;
    height:100%;
}
.team-grid h4 a,
.team-grid h4 a:hover {
    color: #121D46;
    font-weight: 700;
}
.team-photo a {
    width: 100%;
    display: block;
    float: left;
}
.team-name {
    padding-top: 10px;
    margin-bottom: 5px;
}
.team-role {
    color: #121D46;
    font-size: 20px;
    line-height: 25px;
}
.team-card .team-name a{
    position: relative;
}
.team-card .team-name a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.team-card:hover .team-name a::after {
    transform: scaleX(1);
}
.team-section-title {
    color: #121D46;
    border-bottom: 0.5px solid #000;
    padding-bottom: 7px;
    margin-bottom: 39px;
    font-weight: 700;
}
section.team-section {
    padding-bottom: 57px;
}
section.team-section:last-child {
    padding-bottom: 78px;
}
.bk_link .w-btn-label:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    left:0px;
    top: 5px;
    background-image: url('/wp-content/themes/Impreza-child/assets/images/left_arrow.svg');
}
a.bk_link{
    padding-left: 27px;
}
.bk_link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.bk_link:hover::after {
    transform: scaleX(1);
}
.post_navigation.w-post-elm .post_navigation-item-arrow {
    width: 35px;
    height: 35px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 39px;
    opacity: 1;
}
.post_navigation .order_first .post_navigation-item-arrow:before,
.post_navigation .order_second .post_navigation-item-arrow:before {
    font-weight: 100;
    font-size: 27px;
    color: #fff;
    rotate: 180deg;
    padding-right: 3px !important;
}
.post_navigation .order_first .post_navigation-item-arrow:before{
    padding-right: 5px;
}
.post_navigation .order_second .post_navigation-item-arrow:before {
    padding-left: 5px;
}
.w-post-elm.post_navigation {
    justify-content: end;
    margin-right: 50px;
}
.post_navigation-item-title {
    display: none;
}
.post_navigation.layout_simple .post_navigation-item {
    padding: 0px;
}
.post_navigation.layout_simple .order_second .post_navigation-item-arrow {
    right: 18px;
}
.post_navigation.w-post-elm .post_navigation-item-arrow:hover {
    opacity: .7;
}
.team_left_col .post_title {
    font-weight: 700;
    margin-bottom: 6px;
    color: #121D46;
}
.team_left_col .position {
    padding: 0px;
    margin: 0px;
    color: #121D46;
}
.team_left_col .education {
    padding-top: 19px;
    padding-bottom: 20px;
}
.team_left_col .w-post-elm-before {
    font-weight: 700;
    margin-bottom: 15px;
    color: #121D46;
}
.team_left_col .education  span.w-post-elm-value {
    color: #000;
}
.team_email {
    margin-right: 60px;
}
.right_image_sec img.g-placeholder {
    display: none;
}
.right_image_sec .post_image img {
    object-position: 0px -15px;
}
.right_image_sec  img, .team_popup_right .post_image img {
    height: 398px;
    object-fit: cover;
    border-radius: 15px;
    width: 100%;
}
.team_bottom_row .w-post-elm {
    color: #000;
}
.team_bottom_row > div {
    border-top: 1px solid #121D46;
    padding-top: 35px;
    border-bottom: 1px solid #121D46;
    padding-bottom: 87px;
}
.social_team_sec a.arrow_button {
    margin-top: 10px;
}
/*------------------------------------- Team CSS (Tablet Screen) ------------------------------------------*/
@media screen and (min-width:768px) and (max-width: 1279px) {
	.team_top_sec .wpb_text_column {
		max-width: 60%;
	}
	.team-grid {
		max-width: auto;
		grid-gap: 15px;
	}
	.team-grid article.team-card {
		width: 100%;
	}
	.team-role {
		font-size: clamp(14px, 14.0006px, 20px);
		line-height: 1.2;
	}
	.right_image_sec  img, .team_popup_right .post_image img {
		height: auto;
	}
	.social_team_sec a.arrow_button {
		font-size: clamp(12px, 1.563vw, 18px);
		margin-top: 10px;
	}
	.team_email {
		margin-right: 50px;
	}
	a.bk_link {
		font-size: clamp(14px, 1.823vw, 18px);
		line-height: 1.2;
	}
}
/*------------------------------------- Team CSS (Mobile Screen) ------------------------------------------*/
@media screen and (max-width: 767.5px) {
    .team_top_sec  h2.vc_custom_heading {
        margin-bottom: 16px;
    }
    .team-section-title {
        padding-bottom: 9px;
        margin-bottom: 10px;
        font-size: clamp(14px, 4.375vw, 25px);
        text-align: center;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .team-grid article.team-card {
        width: 100%;
    }
    .team-role {
        font-size: clamp(12px, 3.75vw, 20px);
        line-height: normal;
    }
    .team-grid {
        grid-gap: 18px 10px;
    }
    section.team-section {
        padding-bottom: 26px;
    }
    .team-card:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        justify-self: center;
        width: calc(50% - 5px);
    }
    section.team-section:last-child {
        padding-bottom: 41px;
    }
}
