/* --- Block Team
-------------------------------------------------------- */

.wp-block-team .wp-block-post-group {
    position: relative;
    overflow: hidden;
}

.wp-block-team .wp-block-entry-content {
    position: absolute;
    bottom: 0;
    padding: clamp(14px, 3.5vw, 21px);
    width: 100%;
    left: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, .65);
}

.wp-block-team .wp-block-post-group:hover .wp-block-entry-content {
    padding-bottom: 35px;
    padding-top: 35px;
}

.wp-block-team .wp-block-post-group:hover::before {
    opacity: 1;
}

.wp-block-team .wp-block-post-group::before {
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(34, 146, 177, 0), rgba(34, 146, 177, 0.2));
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

 .wp-block-team-default {
     .wp-block-entry-content {
         box-shadow: 5px 8.7px 15px 0 rgba(0, 0, 0, 0.1);
         padding: clamp(30px, 3.5vw, 50px);
         background-color: var(--wp--preset--color--secondary);
     }

    .wp-block-separator {
        border-width: 1px !important;
        height: 1px !important;
        width: 42px !important;
    }
 }

 .wp-block-section:nth-child(2n+1).wp-block-team-default {
     .wp-block-entry-content {
         background-color: var(--wp--preset--color--background);
     }
 }

 .wp-block-team-default {
    .wp-block-post-group {
        overflow: hidden;
        &:hover {
            .wp-block-image {
                img {
                    transform: scale(1.1);
                    opacity: 0.8;
                }
            }
        }
        .wp-block-image {
            img {
                transition: 1s ease;
            }
        }
    }
 }
