.c-person {
    @screen sm {
        display: flex;
        padding-bottom: 1rem;
    }
}

.c-person__image-wrapper {
    position: relative;
    min-height: 12rem;
    max-height: 18rem;

    @screen sm {
        flex: 0 0 38.2%;
        width: 38.2%;
        height: 15.5rem;
    }
}

.c-person__image {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.c-person__text {
    flex: 1 1 auto;
    padding: 1rem 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    @screen sm {
        margin-left: 1.5rem;
        padding: 1rem 0;
    }
}

.c-person__name {
    font-size: 1.875rem;
    font-weight: 700;
}

.c-person__title {
    color: theme('colors.primary.500');
    font-weight: 700;
    margin-top: .5rem;
}

.c-person__description {
    color: theme('colors.gray.900');
    font-size: 1rem;
    margin-top: 1.25em;
}

.c-person__contact {
    list-style: none;
    margin-top: 1.25rem;
    padding-left: 0;

    @screen md {
        margin-top: 1.5rem;
    }

    li:first-of-type {
        margin-bottom: .5rem;

        @screen md {
            margin-right: 1rem;
        }
    }

    a,
    span {
        text-decoration: none;
        display: flex;
        align-items: center;
        color: theme('colors.gray.800');

        @screen md {
            font-size: .875em;
        }

        .c-icon {
            font-size: .875em;
            top: 0;
            margin-right: .25rem;
            color: theme('colors.gray.800');
        }
    }

    // Do not want this behaviour in the backend.
    a:hover,
    a:focus {
        color: theme('colors.gray.900');
    }

    a:hover {
        text-decoration: underline;
    }

    a:focus {
        outline: 1px dotted currentColor;
    }
}
