/*
 Theme Name:   Light Theme Child
 Description:  Light Theme Child
 Template:     light-theme
*/

.all-members {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.member-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    transition: all .4s ease-in-out;
}

.member-card .vc_general.vc_btn3 {
    position: unset;
}

.member-card a::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
}

.member-card:hover{
    transform: translateY(-3px);
    box-shadow: 2px 8px 20px rgb(0 0 0 / 0.2);
}

.member-thumbnail {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.member-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 16px 16px 16px;
}

.member-name{
    margin: 0 0 12px;
}

.all-members .vc_btn3-container{
    margin: 16px 0 0;
}

@media only screen and (min-width: 500px) {
	.member-thumbnail{
        min-height: 300px;
    }
}


@media only screen and (min-width: 900px) {
    .all-members{
        grid-template-columns: repeat(2, 1fr);
    }

    .member-card {
    	grid-template-columns: 150px 1fr;
    }

    .member-content{
        display: block;
        padding: 16px 16px 16px 0;
    }

    .member-thumbnail{
        min-height: 150px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        border-top-right-radius: 0;
    }
}

@media only screen and (min-width: 1400px) {
    .all-members{
        grid-template-columns: repeat(3, 1fr);
    }
}