.referent {
    background-color: #fff;
    border-radius: 7px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
}

.referent p,
.referent a {
    font-size: 14px;
    line-height: 20px;
}

.referent__img {
    height: 128px;
    width: 128px;
    border-radius: 2px;
}

.referent__infos {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.referent p {
    margin: 0;
}

.referent p.referent__name {
    color: #333333;
    font-weight: 500;
    font-size: 16px;
}

.referent p.referent__function,
.referent p.referent__phone {
    color: #888888;
}

.referent a.referent__email {
    font-weight: 400;
    line-height: 20px;
    color: #249bee;
}

.referent a.referent__rdv {
    background-color: #249bee;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    width: fit-content;
    font-weight: 500;
    margin-top: 8px;
    border-radius: 4px;
    line-height: 16px;
}

.referent a.referent__rdv:hover {
    text-decoration: underline;
}

.referent+.contact-info {
    margin-top: 15px;
}

@media (max-width: 700px) {
    .referent {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        margin: 0 auto;
        width: 300px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .referent__img {
        border-radius: 50%;
        height: 100px;
        width: 100px;
    }

    .referent__infos {
        align-items: center;
    }

    .referent a.referent__rdv {
        padding: 12px 16px;
    }
}