.team-members {
    display: grid;
    gap: var(--wp--preset--spacing--50);
    row-gap: var(--wp--preset--spacing--50);
    @media(min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media(min-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-member {
        margin-top: 0;
    }
    img {
        border-radius: 30px;
        height: clamp(18.75rem, 16.944rem + 7.704vi, 21.875rem) !important;
        object-fit: cover;
        width: 100%;
    }
    .screen-reader {
        visibility: hidden;
        width: 0;
        height: 0;
        display: inline-flex;
    }
    .open-modal {
        text-decoration: underline !important;
        text-decoration-thickness: 1px !important;
        transition: all 200ms ease-out;
        &:is(:hover, :focus) {
            color: var(--wp--preset--color--orange-800) !important;
        }
    }
    .modal-link-wrapper:has(.open-modal:hover)::after,
    .modal-link-wrapper:has(.open-modal:focus)::after {
        color: var(--wp--preset--color--orange-800) !important;
    }
    .modal-link-wrapper::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Pro';
        color: var(--wp--preset--color--shark-950);
        transition: all 200ms ease-out;
    }
}