.neem_contact_op .neem_contact_op_layout{
    display: grid;
    grid-template-columns: fit-content(33.333%) minmax(0, 1fr);
    align-items: start;
    gap: var(--spacing_6);
}

.neem_contact_op .neem_contact_op_persoon{
    hyphens: auto;
}

.neem_contact_op .neem_contact_op_naam_functie{
    display: flex;
    flex-wrap: wrap;
    column-gap: calc(var(--spacing_3) / 6);
}

.neem_contact_op .neem_contact_op_content:only-child{
    grid-column: 1 / -1;
}

.neem_contact_op .neem_contact_op_foto{
    /* Requested fixed portrait size on desktop and mobile; spacing tokens are fluid. */
    width: 6rem;
    height: 6rem;
    /* Figma: name starts at 6.9rem below the top of the 6rem portrait. */
    margin-bottom: calc(var(--spacing_6) * 0.15);
}

.neem_contact_op .neem_contact_op_foto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--spacing_3) / 3);
}

.neem_contact_op .neem_contact_op_persoon > div + div + div{
    /* Figma: 2.1rem between baselines with the inherited 1.4 line-height. */
    margin-top: 0.1em;
}

.neem_contact_op .neem_contact_op_content{
    /* Feed navbar-static-top.css's more specific sibling-spacing rules. */
    --default-margin-bottom: calc(var(--spacing_3) / 4);
}

.neem_contact_op .neem_contact_op_content > h4{
    line-height: 1;
}

#content .neem_contact_op .neem_contact_op_layout .neem_contact_op_content > * + :is(.button, .button-group, p:has(.button)){
    margin-top: calc(var(--spacing_3) / 2);
}

@media (max-width:767px){
    .neem_contact_op .neem_contact_op_layout{
        grid-template-columns: minmax(0, 1fr);
        /* Mobile Figma layout: 40px between the contact content and profile. */
        gap: 4rem;
        text-align: center;
    }

    .neem_contact_op .neem_contact_op_content{
        order: -1;
    }

    .neem_contact_op .neem_contact_op_persoon{
        justify-self: center;
    }

    .neem_contact_op .neem_contact_op_foto{
        margin-inline: auto;
    }

    .neem_contact_op .neem_contact_op_naam_functie,
    .neem_contact_op .neem_contact_op_content .button-group{
        justify-content: center;
    }
}
