.uv-team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    padding: 50px 0;
    font-size: initial;
}

.uv-team-cards .uv-team-card {
    width: calc(50% - 18px);
    display: flex;
}

.uv-team-cards .uv-team-card .uv-image {
    width: 233px;
    /* height: 250px; */
    min-width: 233px;
}

.uv-team-cards .uv-team-card .uv-image::before {
    content: none;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100% 100% 0 100%;
    background-color: #ea3943;
    z-index: 0;
}

.uv-team-cards .uv-team-card .uv-image::after {
    content: none;
    display: block;
    position: absolute;
    inset: -50px;
    border-radius: 100% 100% 0 100%;
    border: 50px #fff solid;
    z-index: 2;
}

.uv-team-cards .uv-team-card figure {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* .uv-team-cards .uv-team-card .uv-image figure img {
	width: 250px;
	border-radius: 100% 100% 0 100%;
} */

.uv-team-cards .uv-info {
    position: relative;
    z-index: 2;
    padding: 37px 34px;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.uv-team-cards .uv-info figure {
    margin-bottom: 16px;
}

.uv-team-cards .uv-info figure img {
    max-height: 75px;
}

.uv-team-cards .uv-info p:not(.rwlinkcont) {
    font-size: 1.125em;
    line-height: 28px;
    margin-bottom: auto;
}

.uv-team-cards .uv-info p:first-of-type {
    font-size: 1.5em;
    line-height: 40px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 16px;

}

.uv-team-cards .uv-info a {
    font-size: 1em;
}

@media (max-width: 1300px) {
    .uv-team-cards .uv-team-card {
        width: 100%;
        flex-direction: column;
        margin: auto;
        gap: 20px;
    }

    .uv-team-cards .uv-team-card .uv-image {
        width: 100%;
        height: 200px;
        min-width: 200px;
        margin: auto;
    }

    .uv-team-cards .uv-info {
        padding: 0px 25px;
    }

    .uv-team-cards .uv-image figure.uv-onlydesktop {
        display: none;
    }

    .uv-team-cards .uv-image figure.uv-onlymobile {
        display: block;
    }

    .uv-team-cards .uv-info figure {
        height: 38px;
        max-height: 38px;
    }

    .uv-team-cards .uv-info figure img {
        height: 100%;
    }

    .uv-team-cards .uv-info p:not(.rwlinkcont) {
        font-size: 0.9375em;
        font-weight: 400;
        line-height: 25px;
        margin-bottom: 30px;
    }

    .uv-team-cards .uv-info p:first-of-type {
        margin-bottom: 10px;
        font-size: 1em;
    }

    .uv-team-cards .uv-team-card .uv-image::after {
        inset: -60px;
        border: 60px #fff solid;
        z-index: 2;
    }
}

@media (max-width: 1000px) {
    .uv-team-cards .uv-team-card .uv-image {
        height: auto;
    }

    .uv-team-cards .jsviewmore {
        margin: auto;
    }
}

@media ((min-width: 1001px) and (max-width: 1300px)) {
    .uv-team-cards .uv-team-card .uv-image {
        height: auto;
    }

    .uv-team-cards .uv-team-card {
        max-width: 800px;
    }

    .uv-team-cards .uv-team-card .uv-image {
        width: 600px;
    }
}