.member {
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
    min-height: 100%;
    display: flex !important;
    align-items: flex-start!important;
    flex-direction: column!important;
}

.member img {
    width: 100%;
    height: auto;
}

.member .view-link {
    margin-top: auto;
    cursor: pointer;
}

.member .dashicons-arrow-right-alt2:before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 5.8 10" enable-background="new 0 0 5.8 10" xml:space="preserve" height="10px" width="auto"><path d="M5.6,4.4L1.4,0.2L1.1,0L0.5,0L0.2,0.3c-0.3,0.3-0.3,0.9,0,1.2L3.8,5L0.2,8.6c-0.3,0.3-0.3,0.9,0,1.2L0.5,10h0.3l0.4,0l4.4-4.4C5.9,5.3,5.9,4.7,5.6,4.4z"/></svg>');
    display: inline-block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 100% !important;
    background: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    transition: .2s ease-in-out;
    z-index: 9999;
}

.overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.overlay.is-open .modal {
    transform: translate(0px, 0px);
}
  
.modal {
    transition: .2s ease-in-out;
    position: relative;
    padding: 50px;
    max-width: 900px;
    max-height: calc(100% - 50px);
    background-color: #ffffff;
    color: #231D23;
    overflow: auto;
}

.modal img {
    width: 100%;
    height: auto;
}

.modal .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 480px) {
    .modal {
        max-height: 100%;
    }
    .modal .close-btn {
        position: fixed;
    }
}