@media only screen and (max-width:1366px){
   .team_member_main:nth-of-type(4n+2) .team-bio {
           left: -106.3%;
       }
    .team_member_main:nth-of-type(4n+3) .team-bio {
        left: -213.2%;
    }
    .team_member_main:nth-of-type(4n) .team-bio {
        left: -319.8%;
    }	
}
@media only screen and (max-width:1365px){
    .team_member_main {
        width: 297px;
        background-size: contain!important;
    }
    .team_member_main .team-bio {
         min-width: 1240px !important;
    }
    .team_member_main .team-bio {
    	left: 0%;
    }
   .team_member_main:nth-of-type(4n+2) .team-bio {
           left: -105.3%;
       }
	.team_member_main:nth-of-type(4n+3) .team-bio{
		left: -212%;
	}
    .team_member_main:nth-of-type(4n) .team-bio {
        left: -319%;
    }
	
}
@media only screen and (max-width:1279px){

	.team_member_main .team-bio {
	    min-width: 1150px !important;
	}

	/* 1,4,7... */
	.team_member_main:nth-child(3n+1) .team-bio {
	    left: -23%;
	}

	/* 2,5,8... */
	.team_member_main:nth-child(3n+2) .team-bio {
	    left: -143.6%;
	}

	/* 3,6,9... */
	.team_member_main:nth-child(3n) .team-bio {
	    left: -263.9%;
	}

	/* ✅ Last single centered card fix */
	.team_member_main:last-child:nth-child(3n+1) .team-bio {
	    left: -143.6%; /* center column value */
	}

}
@media only screen and (max-width: 1199px) {
    .team_member_main {
        width: 290px;
    }
    .team_member_main .team-bio {
        min-width: 960px !important;
    }
    .team_member_main:nth-child(3n+1) .team-bio {
	    left: -3%;
    }
    .team_member_main:nth-child(3n+2) .team-bio {
        left: -115.6%;
    }
    .team_member_main:nth-child(3n) .team-bio {
            left: -227.9%;
     }
     .team_member_main:last-child:nth-child(3n+1) .team-bio {
         left: -115.6%;
     }
}
@media only screen and (max-width: 979px) {
    .email-subscribe-form .b2iEmailContainer #b2iEmailSignUp .b2iEmailSignupRow {
        width: 100% !important;
    }
    .email-subscribe-form .b2iEmailContainer .b2iFormLabel,.email-subscribe-form .b2iEmailContainer #b2iEmailList #b2iEmailAlertSubmit,
    .email-subscribe-form .b2iEmailContainer #b2iEmailList #b2iEmailAlertUnsubscribe, #b2iEmailUnsubDiv .b2iUnsubscribe{
        font-size: 16px;
        line-height: 24px;
    }
    .email-subscribe-form .b2iEmailContainer #b2iEmailList #b2iEmailAlertSubmit,
    .email-subscribe-form .b2iEmailContainer #b2iEmailList #b2iEmailAlertUnsubscribe{
        width: 150px;
        padding: 8px 10px;
    }
    .email-subscribe-form .b2iEmailContainer #b2iEmailSignUp .b2iEmailSignupRow input{
        padding: 5px 20px;
    }
    .email-subscribe-form .b2iEmailContainer #b2iEmailList #b2iEmailAlertUnsubscribe{
        margin: 20px 0px 0px;
    }
}
@media only screen and (max-width: 880px) {
    .contact-us-form input, .contact-us-form textarea {
        padding: 22px 15px !important;
        border-radius: 8px !important;
    }
    .contact-us-form .gfield_label.gform-field-label, .contact-us-form .large, .contact-us-form .ginput_container_textarea textarea {
         font-size: 16px !important;
       }
    .team_member_main .team-bio {
        min-width: 740px !important;
    }
    .team_member_main:nth-child(2n+1) .team-bio {
        left: -23%;
    }
    .team_member_main:nth-child(2n) .team-bio {
        left: -134%;
    }
    .team_member_main:last-child:nth-child(2n+1) .team-bio {
        left: -79%;
    }

}
@media only screen and (max-width: 767px) {
	.team_member_main .team-bio {
        min-width: 610px !important;
    }
    .team_member_main:nth-child(2n+1) .team-bio {
        left: 1%;
    }
    .team_member_main:nth-child(2n) .team-bio {
        left: -111.5%;
    }
    .team_member_main:last-child:nth-child(2n+1) .team-bio {
        left: -55%;
    }
    #ajax-post-filter-form{
        flex-wrap: wrap;
    }
    label.search-filter{
        width:275px;
    }
    #ajax-post-filter-form select {
        font-size: 18px;
        line-height: 28px;
        height: 45px;
        padding: 8px 30px 8px 20px;
        width: 175px;
    }
     #ajax-post-filter-form input,#ajax-post-filter-form button{
		height: 40px;
        font-size: 16px;
        line-height: 22px;
        width: 190px;
        padding: 5px 10px;
    }
     #ajax-post-results {
         margin-top: 40px;
     }
     .single-post-content{
        flex-direction: column;
        gap: 0px!important;
     }
     .post-date::before{
        background-color:unset ;
        width: 0px;
        height: 0px;
     }
     .post-date{
        flex-direction: row;
        min-width: 100%;
        width: 100%;
        justify-content: left;
        padding: 0px !important;
     }
     .post-title{
        padding-bottom: 10px;
     }
	.amChartsPeriodSelectorButtonDiv input{
		padding:5px 15px !important;
	}
	.amChartsPeriodSelectorButtonDiv{
		flex-wrap:wrap;
	}
}

@media only screen and (max-width: 568px) {
    .contact-us-form #gform_fields_1 {
        gap: 20px 0px !important;
    }
    .team_member_main .team-bio {
        min-width: 530px !important;
        height: 100%;
        overflow-y: auto;
        padding: 20px 0px;              /* top bottom space */
        box-sizing: border-box;     /* important */

    }

    .team_member_main .team-bio p{
       max-height:98%;
		overflow:scroll;
		padding:0px 15px;
		scrollbar-width: thin;
        scrollbar-color: #156082 #f1f1f1;
    }
   .team_member_main:nth-child(2n+1) .team-bio,
     .team_member_main:nth-child(2n) .team-bio,
     .team_member_main:last-child .team-bio {
         left: -41% !important;
     }
	 .detailed-quote .b2iQuoteID1 .b2iTblTtl {
    	font-size: 14px;
    	display: flex;
    	flex-direction: row;
    	justify-content: center;
	}
	.detailed-quote .b2iQuoteID1 .b2iTblTtl span{
		font-size:13px;
	}
}
@media only screen and (max-width: 480px) {
   	.team_member_main .team-bio {
   	    min-width: 445px !important;
   	    height: 250px;
   	}
   .team_member_main:nth-child(2n+1) .team-bio,
     .team_member_main:nth-child(2n) .team-bio,
     .team_member_main:last-child .team-bio {
         left: -27% !important;
     }
}
@media only screen and (max-width: 479px) {
   	.team_member_main .team-bio {
   	    min-width: 380px !important;
   	}
   .team_member_main:nth-child(2n+1) .team-bio,
     .team_member_main:nth-child(2n) .team-bio,
     .team_member_main:last-child .team-bio {
         left: -16% !important;
     }
}
@media only screen and (max-width: 390px) {
   	.team_member_main .team-bio {
   	    min-width: 340px !important;
   	}
   .team_member_main:nth-child(2n+1) .team-bio,
     .team_member_main:nth-child(2n) .team-bio,
     .team_member_main:last-child .team-bio {
         left: -8% !important;
     }
}
@media only screen and (max-width: 374px) {
   	.team_member_main .team-bio {
   	    min-width: 290px !important;
   	}
   .team_member_main:nth-child(2n+1) .team-bio,
     .team_member_main:nth-child(2n) .team-bio,
     .team_member_main:last-child .team-bio {
         left: 0% !important;
     }
     .email-subscribe-form .b2iEmailContainer #b2iEmailUnsubDiv {
         padding-top: 20px;
         display: flex;
         flex-direction: column;
     }
}