.module-team.style2 {
	padding-top: calc(8.333vw + 40px);
	padding-bottom: 80px;
	position: relative;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-39707ac9-55ca-4f0b-8888-68beb1b581ef/Assets/welcome_background.jpg);
	background-size: cover;
}

.module-team.style2:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #ffffff, transparent, transparent, transparent, #e1e5ea);
    z-index: 1;
}

.module-team.style2 .ry-container {
    position: relative;
    z-index: 9;
}

.module-team.style2 .ry-content {
    padding: 0vw 9vw 8.5vw 7vw;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.module-team.style2 .ry-el-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
	background-size: 637px;
	background-position: center left;
	display: none;
}

.module-team.style2 .ry-flex {
    display: flex;
}

.module-team.style2 .ry-flex .ry-left {
    max-width: 480px;
    width: 40%;
}

.module-team.style2 .ry-flex .ry-right {
    max-width: calc(100% - 480px);
    width: 60%;
    display: flex;
    align-items: center;
}

.module-team.style2 .ry-flex .ry-left .img-wrap {
    position: relative;
    padding-bottom: 80%;
}

.module-team.style2 .ry-flex .ry-left .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-team.style2 .ry-flex .ry-right .ry-heading {
    font-size: 58px;
    text-transform: uppercase;
    letter-spacing: initial;
    margin-bottom: 10px;
	opacity: .3;
    color: #252525;
}

.module-team.style2 .ry-flex .ry-right {
    padding-left: 4em;
}

.module-team.style2 .ry-flex .ry-right .content-wrap h4 {
	display: block;
	font-size: 28px;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-family: 'Tenor Sans',sans-serif !important;
}

.module-team.style2 .ry-flex .ry-right .content-wrap em, 
.module-team.style2 .ry-flex .ry-right .content-wrap em strong {
    font-style: initial;
    text-transform: uppercase;
    letter-spacing: 3px;
	font-weight: 400 !important;
	color: #000;
	opacity: .7;
}

.module-team.style2 .ry-flex .ry-right .content-wrap p {
    margin: 20px 0 30px;
    font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.module-team.style2 .ry-content .slick-dots {
    position: absolute;
    right: -3vw;
    top: 50%;
    transform: translate(0, -50%);
    padding-left: 0;
    list-style: none;
	flex-direction: column;
}

.module-team.style2 .ry-content .slick-dots li button {
    text-indent: -9999999px;
    width: 10px;
    height: 10px;
    padding: 0;
    border: unset;
	background: #8e9fab;
    border-radius: 50%;
}

.module-team.style2 .ry-content .slick-dots li {
    height: 10px;
}

.module-team.style2 .ry-content .slick-dots li:not(:last-child) {
    margin-bottom: 5px;
}

.module-team.style2 .ry-content .slick-dots li:not(.slick-active) {
	opacity: .5;
}
@media (max-width: 1680px) {
	.module-team.style2 .ry-flex .ry-right .ry-heading {
		font-size: 50px;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap h4 {
		font-size: 24px;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap em, 
	.module-team.style2 .ry-flex .ry-right .content-wrap em strong,
	.module-team.style2 .ry-flex .ry-right .content-wrap p {
		font-size: 18px;
	}
	.module-team.style2 .ry-el-bg {
		left: -10vw;
	}
}
@media (max-width: 1380px) {
	.module-team.style2 .ry-flex .ry-right,
	.module-team.style2 .ry-flex .ry-left {
		max-width: 100% !important;
	}
	
	.module-team.style2 .ry-flex .ry-right {
		padding-left: 5vw;
	}
	.module-team.style2 .ry-el-bg {
		left: -300px;
	}
}
@media (max-width: 1080px) {
	.module-team.style2 {
		padding-top: 0px;
		padding-bottom: 0px;
	}
	.module-team.style2 .ry-flex .ry-right .ry-heading {
		font-size: 46px;
	}
	.module-team.style2 .ry-content {
		padding: 60px 5%;
	}
	.module-team.style2 .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.module-team.style2 .ry-flex .ry-left {
		width: 80%;
		max-width: 480px;
	}
	.module-team.style2 .ry-flex .ry-right {
		padding-left: 0;
		padding-top: 30px;
	}
	.module-team.style2 .ry-flex .ry-right {
		width: 90%;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap h4,
	.module-team.style2 .ry-flex .ry-right .ry-heading, 
	.module-team.style2 .ry-flex .ry-right .content-wrap em, 
	.module-team.style2 .ry-flex .ry-right .content-wrap em strong,
	.module-team.style2 .ry-flex .ry-right .content-wrap p {
		text-align: center !important;
		display: block;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap .ry-btn {
		margin-left: auto;
		margin-right: auto;
	}
	.module-team.style2 .ry-el-bg {
		left: -400px;
		background-position: right center;
		background-size: cover;
	}
	.module-team.style2 .ry-content .slick-dots {
		right: -10px;
	}
	.module-team.style2 .ry-content .team-slider {
		z-index: 2;
	}
	.module-team.style2 .ry-content:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		z-index: 1;
		opacity: .6;
	}
	.module-team.style2 .ry-flex .ry-left .img-wrap {
		padding-bottom: 80%;
	}
}
@media (max-width: 480px) {
	.module-team.style2 .ry-flex .ry-right .ry-heading {
		font-size: 42px;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap h4 {
		font-size: 22px;
	}
	.module-team.style2 .ry-flex .ry-right .content-wrap em, 
	.module-team.style2 .ry-flex .ry-right .content-wrap em strong,
	.module-team.style2 .ry-flex .ry-right .content-wrap p {
		font-size: 16px;
	}
	.module-team.style2 .ry-flex .ry-left {
		width: 95%;
	}
	.module-team.style2 .ry-flex .ry-right {
		width: 95%;
	}
	.module-team.style2 .ry-flex .ry-left .img-wrap {
		padding-bottom: 80%;
	}
}
@media (max-width: 420px) {
	.module-team.style2 .ry-flex .ry-right .ry-heading {
		font-size: 36px;
	}
}

.module-team.style2 .team-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch; /* Allows height matching on wider screens */
}

.module-team.style2 .team-wrapper .slick-slide {
	box-sizing: border-box;
	padding: 15px;
	margin: 0 auto;
	transition: margin 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.module-team.style2 .team-wrapper .slick-slide {
		margin: 0 !important; /* Remove JS-added margins */
		padding: 10px;
	}
}