/**
 * Team member contact card — 1-on-1 from Elementor loop item 10628.
 * Used on vacancy detail (and later sector detail).
 */

.r4y-template .r4y-team-card {
    display: flex;
    flex-direction: column;
}
.r4y-template .r4y-team-card__photo {
    display: flex;
    min-height: 300px;
    background-position: center center;
    background-size: cover;
}
.r4y-template .r4y-team-card__body {
    display: flex;
    flex-direction: column;
    padding: var(--r4y-space-lg) var(--r4y-space-md);
    background-color: var(--r4y-color-surface);
}
.r4y-template .r4y-team-card__name {
    margin: 0;
    font-family: var(--r4y-font-heading);
    font-size: var(--r4y-fs-3xl);
    font-weight: var(--r4y-fw-light);
    line-height: 1;
    color: var(--r4y-color-heading);
}
.r4y-template .r4y-team-card__function {
    margin-bottom: var(--r4y-space-lg);
    font-family: var(--r4y-font-body);
    font-size: var(--r4y-fs-base);
    font-weight: var(--r4y-fw-light);
    color: var(--r4y-color-text);
}
.r4y-template a.r4y-team-card__link {
    display: flex;
    align-items: center;
    font-family: var(--r4y-font-body);
    font-size: var(--r4y-fs-base);
    font-weight: var(--r4y-fw-light);
    color: var(--r4y-color-highlight);
    text-decoration: none;
    transition: color var(--r4y-transition);
}
.r4y-template .r4y-team-card__icon {
    display: flex;
    color: var(--r4y-color-highlight);
}
.r4y-template .r4y-team-card__icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.r4y-template .r4y-team-card__text {
    padding-inline-start: 5px; /* Elementor icon list */
    color: var(--r4y-color-highlight);
}
