.module-team.style-1 {
    padding: 130px 0 110px;
}

.module-team.style-1 .section-headline h2 {
    font-size: 58px;
	font-family: Lato;
    text-transform: uppercase;
}

.module-team.style-1 .ry-text p {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.7;
}

.module-team.style-1 .ry-text .ry-btn {
    position: absolute;
    right: 0;
    top: -85px;
}

.module-team.style-1 .ry-text {
    position: relative;
}

.module-team.style-1 .ry-flex {
    margin-left: -25px;
    width: calc(100% + 25px);
    display: flex;
}

.module-team.style-1 .ry-flex .ry-each {
    margin-left: 25px;
}

.module-team.style-1 .ry-flex {
    margin-top: 50px;
}

.module-team.style-1 .ry-flex .ry-each .photo {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transition: .5s;
}

.module-team.style-1 .ry-flex .ry-each .photo:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0), #00000085);
}

.module-team.style-1 .ry-flex .each-name {
    position: absolute;
    bottom: 30px;
    z-index: 1;
    color: #fff;
	font-family: Lato;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    font-weight: 300;
}

.module-team.style-1 .ry-flex .link, 
.module-team.style-1 .ry-flex .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 9;
    opacity: 0;
}

.module-team.style-1 .ry-flex .ry-each:hover .photo {
    filter: grayscale(1);
    transition: .5s;
}

.module-team.style-1 .slick-dots {
	position: absolute;
	bottom: -60px;
	padding-left: 0;
	list-style: none;
	display: flex !important;
	justify-content: center;
	align-items: center;
	left: 50%;
	transform: translate(-50%, 0);
}

.module-team.style-1 .slick-dots li button {
	text-indent: -9999999px;
	padding: 0;
	width: 50px;
	height: 2px;
	box-shadow: unset;
	border: unset;
	background: #1f93cf;
}

.module-team.style-1 .slick-dots li {
	margin: 0 5px;
	opacity: .5;
}

.module-team.style-1 .slick-dots li.slick-active {
	opacity: 1;
}
.module-team.style-1 .content .ry-btn {
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
@media (max-width: 1680px) {
	.module-team.style-1 .ry-flex {
		margin-left: -10px;
		width: calc(100% + 10px);
		display: flex;
	}
	.module-team.style-1 .ry-flex.block-count-6 .ry-each {
		width: calc(16.66666666666667% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-5 .ry-each {
		width: calc(20% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-4 .ry-each {
		width: calc(25% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each {
		width: calc(33.33% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(50% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .section-headline h2 {
		font-size: 50px;
	}
}

@media (max-width: 1080px) {
	.module-team.style-1 {
		padding: 60px 0;
	}
	
	.module-team.style-1 .ry-text p,
	.module-team.style-1 .section-headline h2 {
		text-align: center;
	}
	.module-team.style-1 .section-headline h2 {
		font-size: 46px;
	}
	.module-team.style-1 .ry-text .ry-btn {
		position: relative;
		right: unset;
		top: unset;
		margin-top: 30px;
		margin-left: auto;
		margin-right: auto;
	}

}
@media (max-width: 991px) {
	.module-team.style-1 .ry-flex.block-count-3,
	.module-team.style-1 .ry-flex.block-count-2 {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each,
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(80% - 10px);
		margin-bottom: 10px;
	}
}
@media (max-width: 480px) {
	.module-team.style-1 .section-headline h2 {
		font-size: 42px;
	}
	.module-team.style-1 .ry-text p,
	.module-team.style-1 .ry-btn {
		font-size: 18px !important;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each,
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(100% - 10px);
	}
}
@media (max-width: 420px) {
	.module-team.style-1 .section-headline h2 {
		font-size: 36px;
	}
	.module-team.style-1 .ry-text p,
	.module-team.style-1 .ry-btn {
		font-size: 16px !important;
	}
}


/** Team Start End **/
.module-team.custom {
	padding: 250px 0 120px;
	position: relative;
}

.module-team.custom .ry-container {
    z-index: 9;
}

.module-team.custom .section-background, .module-team.custom .section-background img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.module-team.custom .section-background:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(https://www.royacdn.com/unsafe/smart/Site-f885a3cd-a87d-4447-91b6-cbe213ff1f9f/bg_meetourdoctors.jpg);
    z-index: 1;
}

.module-team.custom .ry-headline h2 {
	margin-bottom: 60px;
}

.module-team.custom .ry-headline h2 .span-1 {
	margin-bottom: 0px;
}

.module-team.custom .main {
	max-width: 1600px;
	margin: auto;
	gap: 40px;
	margin-top: 40px;
	flex-direction: column;
}

.module-team.custom .main .slick-list.draggable {
    margin-left: -35px;
}

.module-team.custom .main .ry-each {
    margin-left: 35px;
}

.module-team.custom .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.module-team.custom .content .photo img {
	max-width: 360px;
	margin: auto;
}

.module-team.custom .content .each-name p {
	font-size: clamp(1.0625rem, 0.975rem + 0.4375vw, 1.5rem);
	text-align: center;
	color: #333;
	line-height: 1;
	font-weight: 500 !important;
	font-family: 'Tenor Sans',serif !important;
}

.module-team.custom .content .each-name p .span-1 {
	font-size: clamp(0.875rem, 0.8625rem + 0.0625vw, 0.9375rem);
	letter-spacing: 0;
	line-height: 120%;
	display: flex;
	justify-content: center;
	margin-top: 8px;
	font-weight: 400 !important;
	font-family: 'Poppins',sans-serif !important;
	text-transform: uppercase;
    color: #0d2431;
}

.module-team.custom .main ul.slick-dots {
    display: flex !important;
	gap: 10px;
    padding: 30px 0 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.module-team.custom .main ul.slick-dots li {
    display: inline-block;
    color: transparent;
}

.module-team.custom .main .slick-dots li button {
    transition: .2s;
    border-radius: 20px;
    width: 1rem;
    height: 1rem;
    background: #4588c8;
    opacity: .5;
}

.module-team.custom .main .slick-dots li.slick-active button {
    transition: .2s;
    width: 3rem;
    border-radius: 20px;
	opacity: 1;
}

.module-team.custom .ry-flex .slick-dots li button {
    transition: .2s;
    border-radius: 20px;
}

.module-team.custom .content .link, .module-team.custom .content .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 9;
}

.module-team.custom .content .ry-each:hover .each-name p {
	color: #3770b4;
}

.module-team .each-name {
    clear: both;
    padding-top: 50px;
}

@media (max-width: 1680px) { 
	.module-team.custom .content .each-name p {
		font-size: 24px;
	}

	.module-team.custom .content .each-name p .span-1 {
		font-size: 16px;
	}
}

@media (max-width: 1080px) {
	.module-team.custom .ry-flex {
		gap: 30px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.module-team.custom .content .each-name p {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.module-team.custom {padding: 30px 0;}
}
