/* .team-members-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-members-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.team-member-card {
    width: calc(25% - 20px);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-member-info {
    padding: 15px;
    text-align: center;
}

.team-member-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.team-member-social {
    margin: 10px 0;
}

.team-member-social a {
    display: inline-block;
    margin: 0 5px;
    color: #555;
    font-size: 18px;
    transition: color 0.3s ease;
}

.team-member-social a:hover {
    color: #0073aa;
}

.view-more-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-more-btn:hover {
    background: #005a87;
}

.team-member-details-container {
    width: 100%;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.team-member-full-details {
    display: flex;
    flex-wrap: wrap;
}

.details-image {
    width: 30%;
    padding-right: 30px;
}

.details-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.details-content {
    width: 70%;
}

.details-content h2 {
    margin-top: 0;
    color: #333;
}

.details-social {
    margin: 15px 0;
}

.details-social a {
    display: inline-block;
    margin-right: 10px;
    color: #555;
    font-size: 20px;
}

.details-bio {
    line-height: 1.6;
    color: #555;
}

@media (max-width: 992px) {
    .team-member-card {
        width: calc(50% - 15px);
    }
    
    .team-member-full-details {
        flex-direction: column;
    }
    
    .details-image, .details-content {
        width: 100%;
    }
    
    .details-image {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .team-member-card {
        width: 100%;
    }
} */

.team-member-card {
    box-shadow: 0px 2px 5px 0px #36BDD8, 2px 0px 4px 0px #949BD9;
    overflow: hidden;
    border-radius: 20px;
    padding: 20px;
    position: relative;
}
.team-member-card::before{
    content: '';
    background-image: url(/wp-content/uploads/2023/07/Vector-30.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 202px;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}
.team-members-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
}
.team-member-card .team-member-image{
    margin-top: 30%;
    filter: drop-shadow(0px 2px 3px #36BDD8) drop-shadow(2px 0px 4px #949BD9);
    text-align: center;
    margin-bottom: 20px;
}
.team-member-card .team-member-info h3{
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    color: #000;
    text-align: center;
}
.team-member-excerpt{
    color: #000;
    text-align: center;
    font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    position: relative;
}
.team-member-social {
    border-top: 1.5px solid #2fc0d8;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 28px;
    margin-top: 0 !important;
    padding-top: 25px !important;
    margin-bottom: 25px;
 
}
.view-more-btn{
    padding: 14px 26px;
    border-radius: 20px;
    background: #2fc0d8;
    margin: auto;
    width: fit-content;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    color: #fff;
    border: 0 !important;
    cursor: pointer;
}
.team-member-view-btn{
    text-align: center;
}
.team_details_sec{
    margin: auto !important;
}
/* Full details */
.team-members-row,.team-member-details-container {
    margin-bottom: 25px;
}

/* Add to CSS */
.team-member-details-container {
    display: none;
    clear: both; /* Ensure it appears below the row */
}
.team-member-card .team-post-meta-info .team-member-excerpt p{
    min-height: 80px;
}
.team-member-image img{
    max-width: 130px !important;
}

@media (min-width: 1441px) {
    .teammates-card .et_pb_blurb_description .position {
        min-height: 80px !important;
    }
}

@media (min-width:981px) and (max-width: 1440px) {
    .team-member-card .team-post-meta-info h3{
        font-size: 22px !important;
        line-height: 30px;
    }
    .team-member-card .team-post-meta-info .team-member-excerpt p{
        min-height: 40px !important;
        font-size: 12px;
        line-height: 15px;
        padding-bottom: 10px !important;
    }
    .team-member-card .view-more-btn{
        padding: 10px 20px !important;
        font-size: 14px;
        line-height: 17px;
        font-weight: 600;
    }
}

@media (max-width: 980px) {
     .team-member-card .team-post-meta-info h3{
        font-size: 22px !important;
        line-height: 30px;
    }
    .team-member-card .team-post-meta-info .team-member-excerpt p{
        min-height: 40px !important;
        font-size: 12px;
        line-height: 15px;
        padding-bottom: 10px !important;
    }
    .team-member-card .view-more-btn{
        padding: 10px 20px !important;
        font-size: 14px;
        line-height: 17px;
        font-weight: 600;
    }
    .team-members-row{
        grid-template-columns: 1fr;
    }
}
@media (max-width:575px) {
   .team-member-full-details  .details-bio .team_details_sec{
        height: 100% !important;
    }
}