/*--------------------
    Civil marriage
--------------------*/
.civil_marriage
{
    .block_head
    {
        &.row
        {
            .col
            {
                gap: var(--inner_gap_l);
            }


            .title
            {
                width: 826px;
            }


            .desc
            {
                width: 586px;
            }
        }
    }


    .text_block
    {
        font-size: var(--font_size_l);
        line-height: 130%;
        letter-spacing: -.54px;

        color: var(--grey_color_strong);

        --items_per_line: 2;
        --gap_x: var(--inner_gap_s);
        --gap_y: var(--inner_gap_s);
    }


    .data
    {
        margin-top: var(--block_padding_l);

        --gap_x: var(--inner_gap_s);
        --gap_y: var(--inner_gap_s);


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


            .title
            {
                font-family: var(--font_family_secondary);
                font-size: 30px;
                font-weight: 600;
                line-height: 110%;

                color: var(--secondary_color);
            }


            .items
            {
                display: flex;
                flex-direction: column;
                gap: var(--inner_gap_s);


                .item
                {
                    display: flex;
                    flex-direction: column;

                    padding: var(--inner_gap_s);

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

                    color: #2f2f2f;
                    border: 1px solid var(--border_color);
                    border-radius: var(--border_radius_s);
                    background: var(--light_color);


                    .name
                    {
                        font-weight: 600;

                        color: var(--secondary_color);
                    }
                }
            }
        }


        .image
        {
            display: block;

            border-radius: var(--border_radius_s);
            background: var(--bg_grey);
        }


        .important
        {
            display: flex;
            flex-direction: column;
            gap: var(--inner_gap_l);

            padding: var(--inner_gap_xl);

            color: var(--light_color);
            border-radius: var(--border_radius_s);
            background: linear-gradient(339deg, var(--secondary_color) 43.5%, #194c4d 92.15%);


            .title
            {
                font-family: var(--font_family_secondary);
                font-size: 30px;
                font-weight: 600;
                line-height: 110%;
            }


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

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

                color: #ddd;
            }
        }
    }


    .action
    {
        .info
        {
            width: 420px;
        }
    }
}



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


                .desc
                {
                    width: 500px;
                }
            }
        }


        .text_block
        {
            font-size: var(--font_size);
        }


        .data
        {
            .info
            {
                .title
                {
                    font-size: 28px;
                }


                .items
                {
                    .item
                    {
                        font-size: var(--font_size);
                    }
                }
            }


            .important
            {
                gap: var(--inner_gap);

                padding: var(--inner_gap_l);


                .title
                {
                    font-size: 28px;
                }


                .desc
                {
                    gap: var(--inner_gap);

                    font-size: var(--font_size);
                }
            }
        }


        .action
        {
            .info
            {
                width: 360px;
            }
        }
    }
}



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


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


        .data
        {
            --items_per_line: 1;


            .info
            {
                .items
                {
                    gap: var(--inner_gap_m);
                }
            }
        }
    }
}



@media (max-width: 767px)
{
    .civil_marriage
    {
        .text_block
        {
            font-size: 15px;

            --items_per_line: 1;
        }


        .data
        {
            .info
            {
                .title
                {
                    font-size: var(--font_size_title);
                }


                .items
                {
                    .item
                    {
                        font-size: 15px;
                    }
                }
            }


            .important
            {
                .title
                {
                    font-size: var(--font_size_title);
                }


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