section.best-features {
    padding: 120px 0 60px 0;
    position: relative;
    overflow: hidden;

    &.background-dark {
        color: #DADADA;

        .item-title,
        h2 {
            color: #FFFFFF;
        }
    }

    &.shine:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../../img/best-features-shine.png) 150% 0 no-repeat;
        pointer-events: none;
    }

    &.cards-3 {
        &.shine:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url(../../img/benefits-of-source-columns-3-bg.png) 0 0 no-repeat;
            pointer-events: none;
        }

        .cards {
            gap: 20px;

            .item {
                flex-direction: column;
                flex-wrap: wrap;
                align-items: flex-start;
                gap: 24px;
                width: calc(33.33% - 14px);
                padding: 40px 28px;
            }

            .item-content {
                order: 2;
            }

            .item-image {
                height: 32px;
            }

            .item-title {
                font: 700 18px/1.22em "DM Sans", sans-serif;
                letter-spacing: 1px;
            }

            .item-description {
                margin-top: 24px;
            }
        }
    }

    .container {
        position: relative;
    }

    .cards {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 40px;
    }

    .item {
        display: flex;
        align-items: center;
        gap: 32px;
        padding: 28px;
        width: calc(50% - 12px);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
    }

    .item-image img {
        border-radius: 12px;
    }

    .item-title {
        font-family: "Benzin Bold", sans-serif;
        font-size: 20px;
        line-height: 1.6em;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .item-description {
        font-size: 16px;
        line-height: 1.5em;
        margin-top: 8px;
    }

    .button-row {
        margin-top: 40px;

        .btn {
            letter-spacing: 1px;
            font-weight: 700;
            text-transform: uppercase;
        }
    }

    .slider-best-features-info {
        display: none;
    }
}


/* MEDIA */
@media only screen and (max-width: 991px) {
    section.best-features {
        .item {
            flex-wrap: wrap;
        }

        .item-content {
            width: 100%;
        }
    }
}

/* ( < 991 ) */

@media only screen and (max-width: 678px) {
    section.best-features {
        padding: 80px 0 40px;

        .cards {
            margin-top: 24px;
            gap: 20px;
        }

        .item {
            gap: 20px;
            padding: 24px;
        }

        .item-title {
            font-size: 16px;
        }

        .item-content {
            width: 100%;
        }

        .button-row {
            margin-top: 24px;
        }

        &.shine:before {
            background: url(../../img/using-node-shine.png) center no-repeat;
            width: 569px;
            height: 585px;
            background-size: contain;
            filter: blur(225px);
            left: -97px;
        }

        &.cards-3 .cards .item {
            width: calc(50% - 14px);
        }
    }
}

/* ( < 678 ) */


@media only screen and (max-width: 478px) {
    section.best-features {
        .item {
            gap: 20px;
            width: 100%;
            padding: 24px;
        }

        .item-title {
            font-size: 16px;
        }

        .item-content {
            width: 100%;
        }

        .button-row {
            margin-top: 24px;
        }

        .slider-best-features-info {
            box-sizing: border-box;
            display: flex;
            flex: 0 1 auto;
            flex-wrap: wrap;

            .slider-best-features-arrows {
                align-items: center;
                gap: 24px;
            }

            .slider-arrows {
                column-gap: 24px;
            }

            .slick-arrow {
                background: transparent !important;
                border: none;
                display: none;
                height: 32px;
                position: relative;
                top: 0;
                left: 0;
                transform: none;
                width: 32px;
            }

            .slick-arrow:after {
                background-image: url(/wp-content/uploads/2023/04/arrow-active.svg);
                background-position: 50% !important;
                background-repeat: no-repeat;
                background-size: cover !important;
                width: 24px !important;
            }

            .slick-prev:after {
                transform: translate(-50%, -50%) scale(1);
            }

            .slick-next:after {
                transform: rotate(180deg) translate(50%, 50%) scale(1);
            }

            .slick-disabled:after {
                background-image: url(/wp-content/uploads/2023/04/arrow.svg);
            }
        }

        .slide-wrapper {
            width: calc(100vw - 8px) !important;
            padding-right: 20px;

            .item:last-child {
                margin-top: 20px;
            }
        }

        &.cards-3 h2 {
            margin: 0;
        }

        &.cards-3 .cards .item {
            width: 100%;
            padding: 24px 16px;

            .item-description {
                margin-top: 16px;
            }

            .item-title {
                font-size: 16px;
            }
        }
    }
}

/* ( < 478 ) */
