.module-team.style2 {
    z-index: 1;
    padding: 15em 0 0;
}


div.team-slider .slick-list {
    overflow: visible;
}

.module-team.style2:before {
    background: url(https://www.royacdn.com/unsafe/smart/Site-10bbbc4d-f34c-4f3f-b0bf-01e5309825c8/HomepageAssets/staff_left.png);
    width: 35%;
    background-size: cover;
    background-repeat: no-repeat;
    content: '';
    z-index: -1;
    display: block !important;
    height: 736px;
    background-position: right;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 150px;
    position: absolute;
    left: 0%;
    transform: translate(0, -50%);
}

.module-team.style2:after {
    background: url(https://www.royacdn.com/unsafe/smart/Site-10bbbc4d-f34c-4f3f-b0bf-01e5309825c8/HomepageAssets/staff_right.png);
    width: 12%;
    background-size: cover;
    background-repeat: no-repeat;
    content: '';
    z-index: -1;
    display: block !important;
    height: 736px;
    background-position: left;
    border-bottom-left-radius: 50px;
    position: absolute;
    right: 0%;
    transform: translate(0, -50%);
}


.module-team.style2:before, .module-team.style2:after {
    top: 80%;
}

.module-team.style2 .ry-heading {
    position: relative;
    top: -6em;
}

.module-team.style2 .ry-container {
    max-width: 1200px !important;
    width: 90%;
}


.module-team.style2 .ry-flex .ry-right .btn-wrap {
    flex-direction: row;
    display: flex;
    gap: 0 10px;
}

a#hp-team-btn2 {
    border: 1px solid var(--color-primary);
    background: transparent !important;
    color: var(--color-primary) !important;
}



.hp-staff-title {
    color: var(--color-secondary);
    letter-spacing: 3px;
}

.module-team.style2 .ry-content {
    position: relative;
    overflow: visible;
}

.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;
}

.module-team.style2 .ry-flex {
    display: flex;
    margin: auto;
    float: none;
    gap: 0 5%;
}

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

.module-team.style2 .ry-flex .ry-right {
    width: 65%;
    display: flex;
    align-items: center;
}

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

.module-team.style2 .ry-flex .ry-left .img-wrap img {
    position: static;
    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;
}

.module-team.style2 .ry-flex .ry-right {
}

.module-team.style2 .ry-flex .ry-right .content-wrap h4 {
    display: block;
    font-size: clamp(1.75rem, 1.609rem + 0.7522vw, 2.8125rem);
    margin-bottom: 10px;
}

.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;
    color: #000;
}

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

.module-team.style2 .ry-content .slick-dots {
    position: relative;
    top: 0;
    width: auto !important;
    background: transparent;
    float: right;
    opacity: .5;
}

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

.module-team.style2 .ry-content .slick-dots li {
    height: 10px;
    list-style: none;
    width: auto !important;
    display: none !important;
}

.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:1199px) {
    .module-67 .ry-btn-primary {
    margin: 1em auto 0;
}

div.module-team.style2 {
    padding: 4em 0 !important;
    margin-bottom: -1.5em;
}

.module-team.style2 .ry-heading {
    top: 0 !important;
}

.module-team.style2 .ry-flex {
    flex-direction: column;
    gap: 2em 0 !important;
}

.module-team.style2 .ry-flex .ry-left {
    width: 100%;
}

.module-team.style2 .ry-flex .ry-left .img-wrap img {
    max-width: 250px;
    margin: auto;
}

.module-team.style2 .ry-content {
    margin: 2em 0 0;
}

.module-team.style2 .ry-flex .ry-right {
    width: 100%;
}

.module-team.style2 .ry-flex .ry-right .content-wrap h4 {
    text-align: center;
}

.hp-staff-title {
    text-align: center;
}

.module-team.style2 .ry-flex .ry-right .btn-wrap {
    justify-content: center;
}

.module-team.style2:before {
    width: 20%;
}

.module-team.style2 .ry-flex .ry-right .content-wrap p {
    max-width: 600px;
    margin: 0 auto 2em;
    float: none;
    text-align: center;
}


}



@media (max-width: 1080px) {
    .module-team.style2 {
        padding-top: calc(8.333vw + 60px);
        padding-bottom: 60px;
    }

    .module-team.style2 .ry-flex .ry-right .ry-heading {
        font-size: 46px;
    }

    .module-team.style2 .ry-content {
        padding: 0;
    }

    .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: 0;
    }

    .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: 0;
    }
}

@media (max-width: 500px) {
    .module-team.style2 .ry-flex .ry-right .ry-heading {
        font-size: 42px;
    }

    .module-team.style2 .ry-flex .ry-right .content-wrap h4 {
        font-size: 25px;
    }

    .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-flex .ry-left {
        width: 95%;
    }

    .module-team.style2 .ry-flex .ry-right {
        width: 95%;
    }

    .module-team.style2:before, .module-team.style2:after {
        display: none !important;
    }

    .module-team.style2 .ry-flex .ry-left .img-wrap {
        padding-bottom: 0;
    }
}

@media (max-width: 420px) {
    .module-team.style2 .ry-flex .ry-right .ry-heading {
        font-size: 36px;
    }

    .module-team.style2 .ry-flex .ry-right .btn-wrap {
    flex-direction: column;
    gap: 10px 0;
}

.module-team.style2 .ry-flex .ry-right .content-wrap .ry-btn {
    width: 100%;
    max-width: 220px;
}
}
