.p-team .banner {
	background: url(/images/content/banners/team.jpg?v=250823) 50% 50% / cover no-repeat;
}
.p-team .vcard {
    height: 100%;
}
.p-team .vcard .x-person {
    position: relative;
    background: #eeeeee;
    background: -moz-linear-gradient(top, #eeeeee 0%, #dddddd 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));
    background: -webkit-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
    background: -o-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
    background: -ms-linear-gradient(top, #eeeeee 0%,#dddddd 100%);
    background: linear-gradient(to bottom, #eeeeee 0%,#dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dddddd',GradientType=0 );
    padding-bottom: 10px;
}
.p-team .vcard > div  {
    padding: 10px 87px 16px 10px;
}
.p-team .vcard .x-person img {
    position: absolute;
    top: 10px;
    right: 9px;
}
.p-team .vcard .x-contact-details {
    min-height: 5.75em;
}
.p-team #team-list {
	margin-top: -1em;
}
.p-team .team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0rem;
    align-items: stretch;
}

.p-team .team-card {
    position: relative;
    width: 100%;
    display: flex;
}

.p-team .team-card__content {
    position: relative;
    width: 100%;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-right: 0.5rem;
}



.p-team .team-card__header {
    background: #25a9e0;
    color: #fff;
    padding: 1rem 7rem 1rem 0.85rem;
    margin: 0 -1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}


.p-team .team-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.p-team .team-card__role {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.p-team .team-card__text {
    position: relative;
    background: #f3f3f3;
    padding: 0 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.p-team .team-card__excerpt {
    margin: 0 0 1.25rem;
    font-size: 0.875em;
    line-height: 1.45;
    color: #111;
    max-width: 100%;
    flex-grow: 1;
    padding-top: 0.5rem;
}


.p-team .team-card__button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 0.65rem 1rem;
    background: #25a9e0;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease;
}

.p-team .team-card__button:hover,
.p-team .team-card__button:focus {
    background: #1f91c2;
}

.p-team .team-card__image-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -0.5rem;
    width: 5.5rem;
    height: 5.5rem;
    background: #fff;
    border: 1px solid #cfcfcf;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    padding: 0.3rem;
    z-index: 2;
}



.p-team .team-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (min-width: 48em) {
    .p-team .team-card__content {
        padding-top: 1.5rem;
        padding-right: 0.5rem;
    }
    .p-team .team-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 0;
        align-items: stretch;
    }
    .p-team .team-card__image-box {
        width: 8.75rem;
        height: 8.75rem;
        right: -2rem;
    }
    .p-team .team-card__excerpt {
        max-width: 100%;
    }
     
    .p-team .team-card__excerpt {
        margin: 0 0 1.25rem;
        font-size: 0.875em;
        line-height: 1.45;
        color: #111;
        flex-grow: 1;
        padding: 0 7rem 0 0;
    }
    .p-team .team-card__name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
}


    .p-team .team-card {
        width: calc(50% - 0.75rem);
    }

    .p-team .team-cards {
        column-gap: 3.5rem;
        row-gap: 3.5rem;
    }

    .p-team .team-card {
        width: calc((100% - 7rem) / 2) !important;
    }
}


@media (min-width: 75em) {
    .p-team .team-card {
        width: calc((100% - 7rem) / 3) !important;
    }
}