/*----------------------
    Several decision
----------------------*/
.several_decision
{
    .block_head
    {
        &.row
        {
            .title
            {
                width: 685px;
            }


            .desc
            {
                width: 651px;
            }
        }
    }


    .grid
    {
        display: grid;
        gap: var(--inner_gap_s);

        grid-template-rows: auto;
        grid-template-columns: auto 541px;
    }


    .item
    {
        display: flex;
        align-content: stretch;
        align-items: stretch;
        flex-wrap: wrap;
        justify-content: space-between;

        border: 1px solid var(--border_color);
        border-radius: var(--border_radius);
        background: var(--bg_grey);


        &:nth-child(1)
        {
            align-content: flex-start;
            align-items: flex-start;
            flex-direction: column;
            justify-content: flex-start;
            gap: var(--inner_gap_xl);

            padding: var(--inner_gap_xl);

            color: var(--light_color);
            background: linear-gradient(315deg, var(--secondary_color) 9.34%, #194c4d 94.77%);

            grid-row: span 2;


            .thumb
            {
                width: 100%;
                height: 245px;

                border-radius: var(--border_radius_xs);
            }


            .info
            {
                flex: 1 0 auto;
                gap: var(--inner_gap);

                width: 100%;
                padding: 0;


                .name
                {
                    margin: 0;

                    color: currentColor;
                }


                .desc
                {
                    color: #c8c8c8;
                }


                .bottom
                {
                    display: flex;
                    align-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    gap: var(--inner_gap);

                    margin-top: auto;
                    padding-top: var(--inner_gap_m);
                }


                .link
                {
                    color: currentColor;

                    transition: opacity .2s linear;


                    @media (hover: hover) and (pointer: fine)
                    {
                        &:hover
                        {
                            opacity: .72;
                        }
                    }
                }
            }
        }


        .info
        {
            display: flex;
            flex-direction: column;
            gap: var(--inner_gap_m);

            width: calc(100% - 150px);
            padding-block: 54px;
            padding-inline: var(--inner_gap_xl) var(--inner_gap);


            .name
            {
                margin-bottom: var(--inner_gap_xxs);

                font-family: var(--font_family_secondary);
                font-size: var(--font_size_title_xs);
                font-weight: 600;
                line-height: 110%;

                color: #10313d;
            }


            .desc
            {
                display: flex;
                flex-direction: column;
                gap: var(--inner_gap_xs);

                font-size: var(--font_size_l);
                line-height: 135%;

                color: var(--secondary_color);
            }


            .link
            {
                width: fit-content;

                font-size: var(--font_size_l);
                font-weight: 600;
                line-height: 130%;
                letter-spacing: -.36px;

                color: var(--dark-blue, #113138);

                text-decoration-line: underline;
                text-decoration-style: solid;
                text-decoration-skip-ink: auto;
                text-decoration-thickness: 6.5%;
                text-underline-offset: 0;
                text-underline-position: from-font;

                transition: text-decoration-color .2s linear;


                @media (hover: hover) and (pointer: fine)
                {
                    &:hover
                    {
                        text-decoration-color: transparent;
                    }
                }
            }


            .whatsapp_link
            {
                position: relative;

                display: flex;
                align-content: center;
                align-items: center;
                flex-wrap: wrap;
                justify-content: flex-start;

                min-height: 60px;
                padding-block: 6px;
                padding-inline: 60px var(--inner_gap_s);

                font-size: var(--font_size_l);
                font-weight: 500;
                line-height: 130%;
                letter-spacing: -.36px;

                text-decoration: none;

                color: var(--secondary_color);
                border-radius: var(--border_radius_max);
                background: var(--primary_color);


                .icon
                {
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    left: 6px;

                    display: flex;
                    align-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    justify-content: center;

                    width: 48px;
                    min-width: 48px;
                    height: 48px;
                    margin-block: auto;

                    transition: left .6s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);

                    color: var(--primary_color);
                    border-radius: 50%;
                    background: var(--secondary_color);


                    svg
                    {
                        display: block;

                        width: 16px;
                        height: 16px;
                    }
                }


                span
                {
                    margin-inline: auto;
                    padding-inline: var(--inner_gap_xxs);

                    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
                }


                @media (hover: hover) and (pointer: fine)
                {
                    &:hover
                    {
                        .icon
                        {
                            left: calc(100% - 54px);

                            transform: rotate(360deg);
                        }


                        span
                        {
                            transform: translateX(-54px);
                        }
                    }
                }
            }
        }


        .thumb
        {
            display: block;

            width: 150px;
            max-width: 100%;

            border-radius: var(--border_radius);
        }
    }
}



@media print,
(max-width: 1279px)
{
    .several_decision
    {
        .block_head
        {
            &.row
            {
                .title,
                .desc
                {
                    width: 464px;
                }
            }
        }


        .grid
        {
            grid-template-columns: auto 430px;
        }


        .item
        {
            &:nth-child(1)
            {
                gap: var(--inner_gap_l);

                padding: var(--inner_gap_l);


                .thumb
                {
                    height: 180px;
                }
            }


            .info
            {
                width: calc(100% - 140px);
                padding-block: var(--block_padding);
                padding-inline: var(--inner_gap_l) var(--inner_gap);


                .desc,
                .link
                {
                    font-size: var(--font_size);
                }


                .whatsapp_link
                {
                    min-height: 56px;
                    padding-inline: 64px var(--inner_gap_s);

                    font-size: var(--font_size);


                    .icon
                    {
                        width: 46px;
                        min-width: 46px;
                        height: 46px;
                    }


                    span
                    {
                        padding-inline: 0;
                    }
                }
            }


            .thumb
            {
                width: 140px;
            }
        }
    }
}



@media print,
(max-width: 1023px)
{
    .several_decision
    {
        .block_head
        {
            &.row
            {
                .col
                {
                    width: 464px;
                }


                .title,
                .desc
                {
                    width: 100%;
                }
            }
        }


        .grid
        {
            grid-template-columns: auto;
        }


        .item
        {
            &:nth-child(1)
            {
                gap: var(--inner_gap_l);

                padding: var(--inner_gap_l);


                .thumb
                {
                    height: 220px;
                }
            }


            .info
            {
                width: calc(100% - 150px);
            }


            .thumb
            {
                width: 150px;
            }
        }
    }
}



@media (max-width: 767px)
{
    .several_decision
    {
        .block_head
        {
            &.row
            {
                .col
                {
                    width: 100%;
                }
            }
        }


        .item
        {
            &:nth-child(1)
            {
                gap: var(--inner_gap);

                padding: var(--inner_gap);


                .thumb
                {
                    height: 180px;
                }
            }


            .info
            {
                order: 2;

                width: 100%;
                padding: var(--inner_gap);


                .desc,
                .link
                {
                    font-size: 15px;
                }


                .whatsapp_link
                {
                    width: 100%;

                    white-space: normal;
                }
            }


            .thumb
            {
                width: 100%;
                height: 100px;
            }
        }
    }
}
