/*-----------------------
    Execution options
-----------------------*/
.execution_options
{
    .grid
    {
        display: grid;
        gap: var(--inner_gap);

        counter-reset: number;

        grid-template-columns: repeat(2, 1fr);
    }


    .item
    {
        position: relative;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: var(--inner_gap_xs);

        padding: var(--block_padding);

        color: var(--light_color);

        text-decoration: none;


        &.l_h
        {
            grid-row: span 2;
        }


        &:first-child
        {
            clip-path: var(--clip_path_corner_top_left);
        }


        &:last-child
        {
            clip-path: var(--clip_path_corner_botton_right);
        }


        & > *
        {
            position: relative;
            z-index: 3;
        }


        .number
        {
            display: flex;
            align-content: center;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;

            width: 50px;
            margin-bottom: var(--inner_gap_xs);

            font-family: var(--font_family_secondary);
            font-size: var(--font_size_xl);
            font-weight: 500;
            line-height: 130%;

            text-align: center;

            background: var(--primary_color);

            aspect-ratio: 1 / 1;
            clip-path: polygon(var(--inner_gap_xs) 0%, 100% 0%, 100% 100%, 0% 100%, 0% var(--inner_gap_xs));


            &:before
            {
                content: counter(number);
                counter-increment: number;
            }
        }


        .name
        {
            font-family: var(--font_family_secondary);
            font-size: var(--font_size_xl);
            font-weight: 600;
            line-height: 130%;
        }


        .desc
        {
            /*width: 388px;*/
            max-width: 100%;

            font-size: var(--font_size_xs);
            font-weight: 300;
            line-height: 166.667%;
        }


        .image
        {
            position: absolute;
            z-index: 1;
            inset: 0;

            display: block;

            pointer-events: none;
            filter: grayscale(100%);
            transition: filter 0.3s ease;


            &:before
            {
                position: absolute;
                inset: 0;

                display: block;

                content: '';

                background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 80%);
            }
        }


        &:hover{
            .image{
                filter: grayscale(0%);
            }
        }
    }
}



@media print,
(max-width: 1279px)
{
    .execution_options
    {
        .item
        {
            padding: var(--block_padding_s);
        }
    }
}



@media print,
(max-width: 1023px)
{
    .execution_options
    {
        .grid
        {
            grid-template-columns: repeat(1, 1fr);
        }


        .item
        {
            min-height: 350px;
        }
    }
}



@media (max-width: 767px)
{
    .execution_options
    {
        .item
        {
            .desc
            {
                width: 100%;
            }
        }
    }
}
