﻿.p-feature-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

    .p-feature-list .grid.wide {
    }

.p-feature-container {
}


.p-feature-item {
    display: flex;
    position: relative;
}

.p-feature-img {
}

.p-feature-decor {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    left: -10px;
    opacity: 0;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: url(#goo);
    background-color: var(--color-3);
    transform: translate(0, 0);
    transition: 0.8s cubic-bezier(.3,2,.3,1);
}

.p-feature-item:hover .p-feature-decor {
    transform: translate(10px, 10px);
}

.p-feature-decor::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    filter: url(#goo);
    background-color: var(--color-3);
    transform: scale(.7) translate(0, 0);
    transition: 1.4s cubic-bezier(.3,1.5,.3,1);
}

.p-feature-decor::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    filter: url(#goo);
    background-color: var(--color-3);
    transform: scale(.7) translate(0, 0);
    transition: 1.4s cubic-bezier(.3,1.5,.3,1);
}

.p-feature-item:hover .p-feature-decor::before {
    transform: scale(1) translate(20px, 45px);
    transition-delay: .1s;
    background-color: #ffc13c;
}

.p-feature-item:hover .p-feature-decor::after {
    transform: scale(1) translate(-10px, 35px);
    transition-delay: .2s;
}

.p-feature-img img {
    position: relative;
}

.p-feature-content {
    padding-left: 11px;
}

    .p-feature-content .title {
        margin: 0;
        color: #fff;
        font-family: 'abSB';
        font-size: 24px;
    }

        .p-feature-content .title span {
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

    .p-feature-content .description {
        margin: 0;
        font-weight: 100;
        color: #fff;
        font-size: 15px;
        line-height: 150%;
        margin-top: 10px;
    }


        .p-feature-content .description span {
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

/* Mobile & tablet */
@media (max-width: 1023px) {
}

/* Tablet */
@media (min-width: 740px) and (max-width: 1023px) {
    .p-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 739px) {
    .home-feature {
        display: none;
    }
}
