/* TEGELS DIENSTEN */
.powers {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 25px;
    column-gap: 50px;
    row-gap: 70px;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin-top: 0px;
    margin-bottom: -10px;
}
body.__power .powers {
    margin-top: 0px;
}
.powers .item {
    width: calc(33.333% - 33.333px);
    box-sizing: border-box;
    color: var(--main);
    position: relative;
    overflow: hidden;
    border: 0px solid #00f;
}
.powers .item.active {
    background: var(--accents);
    pointer-events: none;
    user-select: none;
}
.powers .item.active * {
    filter: brightness(0) saturate(100%) invert(98%) sepia(0%) saturate(0%) hue-rotate(151deg) brightness(87%) contrast(86%);
}
.row.blogs .powers .item {
    background: var(--dark);
}
.powers .item a.all,
.powers .item .rest {
    display: block;
    color: var(--main);
    padding: 0px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    text-align: center;
    z-index: 2;
}
.powers .item .rest {
    padding: 50px 20px;
    padding-bottom: 0;
    background: transparent;
}
.powers .item .ico-ntainer {
    margin-bottom: 20px;
}
.powers .item .ico {
    width: 50px;
    height: 50px;
}
.powers .item .name {
    font-size: 1.2em;
    font-weight: 700;
}
.powers .item .intro {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 3%;
}
.powers .item .btn {
    margin-top: 30px;
}
.powers .item.active .btn-alt {
    opacity: 0.2;
    text-decoration: none;
}
.powers .item a .arrow {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    display: none;
}
.powers .item a .arrow svg {
    fill: var(--main);
    width: 100%;
    height: 100%;
}
.powers .item.active a .arrow {
    transform: rotate(-90deg);
    display: none;
}
/* REST WOLK */
.powers .item .linkwolk {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 15px;
    margin-top: 10%;
    line-height: 1;
}
.powers .item .linkwolk a {
    color: var(--main);
    background: #efefef;
    padding: 10px 15px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: .7em;
    /*transition: all ease 0.1s;*/
}
.powers .item .linkwolk a:first-of-type {
    text-transform: none;
}
.powers .item .linkwolk a:hover {
    background: rgb(239 239 239 / 70%);
}


    .rest-tag {
        text-align: center;
        font-size: 1em;
        text-transform: uppercase;
        font-weight: bold;
    }

    /* UPDATE APRIL 2025 MORE PANELY */
    .row-diensten-paneled .powers {
        gap: 50px;
    }
   .row-diensten-paneled .powers .item {
        border-radius: 10px;
        background: var(--accents);
   } 
   .row-diensten-paneled .powers .item.item-rest {
        background: transparent;
   }    
   .row-diensten-paneled .powers .item a.all {
        position: relative;
        padding: 100px 0;
   }
   .row-diensten-paneled .powers .item .intro {
        padding: 0 40px;
   }
   .row-diensten-paneled .powers .item a .arrow {
        display: block;
   }
   .row-diensten-paneled .powers .item a .arrow:before {
        content: "meer info";
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateX(-100%) translateY(-50%);
        white-space: nowrap;
        font-size: .8em;
   }
   .row-diensten-paneled .powers .item .linkwolk a {
        background: var(--accents);
   }
   .row-diensten-paneled .powers .item .linkwolk a:hover {
        background: var(--secondarycta);
        color: var(--background);
   }



@media screen and (max-width: 1400px) {
    .powers {
        row-gap: 0px;
        margin-bottom: 0px;
    }
    .powers .item a.all,.powers .item .rest {
        padding: 30px 0px;
    }
    .powers .item .intro {
        -webkit-line-clamp: 4;
    }
    .powers .item .linkwolk a {
        font-size: .6em;
    }
}
@media screen and (max-width: 1200px) {
    .powers .item a.all,.powers .item .rest {
        padding: 20px 0px;
    }
    .powers .item .intro {
        -webkit-line-clamp: 4;
    }
    .powers .item .linkwolk a {
        font-size: .6em;
    }
}
@media screen and (max-width: 1100px) and (orientation: portrait) {
    .powers {
        row-gap: 20px;
        column-gap: 20px;
        margin-bottom: 0px;
    }
    .powers .item {
        width: calc(50% - 15px);
        background: transparent;
    }
    .powers .item a.all {
        padding-left: 0px;
        padding-right: 0px;
    }
    .powers .item .intro {
        -webkit-line-clamp: 4;
    }
    .row-diensten-paneled .powers .item {
        border-radius: 3px;
    }
}
@media screen and (max-width: 500px) {
    .row.row-diensten {
        padding-top: 0;
    }
    .powers {
        flex-direction: column;
        margin-top: 50px;
        row-gap: 20px;
        padding: 10px 0px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .powers .item {
        width: 100%;
        border-radius: 0px;
        background: transparent;
    }
    .powers .item:last-of-type {
        border-bottom: 0;
    }
    .powers .item a.all,.powers .item .rest {
        height: auto;
        padding: 30px 0;
        padding-bottom: 10px;
    }
    .powers .item .rest {
        padding-bottom: 20px;
    }
    .powers .item .name {
        font-size: 1.2em;
    }
    .powers .item .btn-alt {
        display: none;
    }
    .powers .item.active {
        background: transparent;
    }
    .powers .item .ico-ntainer {
        position: relative;
        bottom: auto;
        right: auto;
        margin-bottom: 0px;
    }
    .powers .item.active .name,.powers .item.active .intro,.powers .item.active .ico {
        opacity: 0.3;
    }
    .powers .item a .arrow {
        
    }
    .powers .item .ico {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
    /* REST WOLK */
    .powers .item .linkwolk {
        margin-top: 10px;
        row-gap: 5px;
        column-gap: 2px;
    }
    .powers .item .linkwolk a {
        font-size: .9em;
        padding: 6px 12px;
        padding-bottom: 8px;
    }


    /* UPDATE APRIL 2025 MORE PANELY */
    .row-diensten-paneled .powers {
        gap: 30px;
    }
    .row-diensten-paneled .powers .item a.all {
        position: relative;
        padding: 40px 0;
    }
    .row-diensten-paneled .powers .item a .arrow:before {
        display: none;
    }

}
