.tabs-block {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    box-sizing: border-box;
    min-height: 100px;

    & * {
        box-sizing: border-box;
    }

    & .tabs-block-tab {
        position: absolute;
        left: 0;
        right: 0;
        top: 60px;
        bottom: 0;
        pointer-events: none;

        & .tab-label {
            pointer-events: all;
            position: absolute;
            /* border: 1px solid black; */
            border-left: none;
            border-bottom: none;
            left: 0;
            top: -60px;
            height: 60px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            & a {
                font-size: 18px!important;
                @media only screen and (max-width: 767px) {
                    & {
                        font-size: 1.6rem !important;
                    }
                }
                @media only screen and (max-width: 450px) {
                    & {
                        font-size: 10px !important;
                    }
                }
            }
        }

        & .tab-content {
            /* border: 1px solid black; */
            opacity: 0;
            padding: 20px 0;
        }
        

        &.active {
            pointer-events: all;
            & .tab-content {
                opacity: 1;
            }
        }
        &.first, .has-label-spacing > & {
            & .tab-label {
                /* border-left: 1px solid black; */
            }
        }
    }
}

.tabs-block-tab:not(.active) {
    & .tab-label {
        & > .wp-block-button {
            & > .wp-block-button__link {
                background: none;
                color: #7db72b;
            }
        }
    }
}


.wp-block-acf-tabs-block-tab {
    & .tabs-block-tab {
        position: relative;
        top: 0;
        margin-top: 45px;
        pointer-events: all;

        & .tab-content {
            opacity: 1;
        }
        & .tab-label {
            /* border-left: 1px solid black; */
        }
    }
}