.module-team.style-1 {
    padding: 10em 0 5em;
    background: url(https://www.royacdn.com/unsafe/smart/Site-e21c8662-4e99-4df9-a941-2d210548c45a/hp_assets/drs_bg.jpg);
    background-size: cover;
    background-position: center;
}

.module-team.style-1 .ry-heading h4 {
    width: auto;
    align-items: center;
    max-width: fit-content;
    float: none;
    left: 0;
    margin: 0 auto 1em;
}

.module-team.style-1 .ry-heading h4:after {
    left: initial !important;
    right: -2.5em;
}

.module-team.style-1 .ry-flex .each-name h4 {
    font-size: 38px;
    color: #fff;
    line-height: 1.1;
}

.module-team.style-1 .ry-flex .each-name p {
    font-size: 25px;
    font-style: italic;
}

.module-team.style-1 .ry-content {
    z-index: 2;
}




.module-team.style-1 .section-headline h2 {
    font-size: 58px;
	font-family: Spectral;
    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 {
    display: flex;
}

.module-team.style-1 .ry-flex .ry-each {
}

.module-team.style-1 .ry-flex {
    margin: 3em auto 1em;
    max-width: 1000px;
    float: none;
    gap: 0 10%;
}

.module-team.style-1 .ry-flex .ry-each .photo {
    position: relative;
    border-radius: 0;
    /* overflow: hidden; */
    transition: .5s;
    margin-bottom: 1.5em;
}

.module-team.style-1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: url(https://www.royacdn.com/unsafe/smart/Site-e21c8662-4e99-4df9-a941-2d210548c45a/hp_assets/drs_bg_front.png);
    z-index: 1;
    background-position: top center;
    background-size: cover;
}

.module-team.style-1 .ry-flex .each-name {
    position: static;
    z-index: 1;
    color: #fff;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    clear: both;
    display: block;
}

.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: #34424b;
}

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

.module-team.style-1 .slick-dots li.slick-active {
	opacity: 1;
}
div.module-team.style-1 .content .ry-btn {
	margin: 2em auto 0;
	background: transparent !important;
	border: 1px solid #fff;
	padding: 0 35px;
	height: 60px;
}

@media (max-width:1199px) {
	.module-team.style-1 {
		padding:1em 0 2em !important;
	}
}
@media (max-width: 1680px) {
	.module-team.style-1 .ry-flex {
		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 {
		justify-content: center;
		gap: 0 5% !important;
	}

	.module-team.style-1 .ry-flex .each-name h4 {
		font-size:30px !important;
	}

	.module-team.style-1 .ry-flex .each-name p {
		font-size: 20px !important;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each,
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: 48%;
		margin-bottom: 0;
		margin: 0 !important;
	}
}
@media (max-width: 500px) {

	.module-team.style-1 .ry-flex .each-name h4 {
		font-size: 22px !important;
		margin-bottom:10px;
	}

	.module-team.style-1 .ry-flex .each-name {
		padding:0 !important;
	}

	.module-team.style-1 .ry-flex .each-name p {
		font-size: 16px !important;
		line-height: 1.2 !important;
	}

	.module-team.style-1 .ry-flex.block-count-3, .module-team.style-1 .ry-flex.block-count-2 {
		gap:0 2% !important;
	}

	.module-team.style-1 .ry-flex .ry-each .photo img {
    max-width: 150px;
    margin: 0 auto 0 !important;
}
}
	