.text_blocks_with_images_section {

    &.after_text {
        & .section_inner {
            flex-direction: row-reverse;
        }
    }

    & .container {
        padding-top: 100px;

        @media (max-width: 991px) {
            padding-top: 50px;
            padding-bottom: 50px;
        }

        & .section_inner {
            width: 100%;
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            position: relative;
            justify-content: space-between;
            flex-wrap: wrap;
            z-index: 1;

            & .left_side {
                width: 38%;
                overflow: hidden;

                @media (max-width: 991px) {
                    width: 100%;
                    margin: 0 0 3rem;
                }

                & h2, & h3 {
                    font-size: 5rem;
                    font-weight: 400;
                    margin: 0;

                    @media (max-width: 991px) {
                        font-size: 3rem;
                        text-align: center;
                    }
                }
            }

            & .right_side {
                width: 58%;
                display: flex;
                flex-direction: column;

                @media (max-width: 991px) {
                    width: 100%;
                    text-align: center;
                }

                & .text_area {
                    margin-bottom: 3rem;

                    & h2, & h3, & h4, & h5 {
                        font-size: 5rem;
                        font-weight: 400;
                        color: var(--primary);
                        margin: 3rem 0;

                        @media (max-width: 991px) {
                            font-size: 3rem;
                            text-align: center;
                        }
                    }

                    & ul {
                        margin: 2rem 0;
                        padding: 0;

                        & li {
                            position: relative;
                            list-style-type: none;
                            font-weight: 700;
                            color: var(--primary);
                            padding-left: 3.5rem;

                            &:before {
                                content: '';
                                position: absolute;
                                left: 0;
                                top: 2px;
                                width: 24px;
                                height: 25px;
                                background: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.8597 0.414551C5.32052 0.414551 0 5.73507 0 12.2743C0 18.8134 5.32052 24.134 11.8597 24.134C18.3989 24.134 23.7194 18.8134 23.7194 12.2743C23.7194 5.73507 18.3989 0.414551 11.8597 0.414551ZM18.4881 9.15329L10.9086 16.6734C10.4627 17.1192 9.74934 17.1489 9.27376 16.7031L5.26108 13.0471C4.7855 12.6012 4.75577 11.8581 5.1719 11.3826C5.61776 10.907 6.36085 10.8773 6.83643 11.3231L10.0168 14.236L16.7938 7.45904C17.2694 6.98346 18.0125 6.98346 18.4881 7.45904C18.9636 7.93462 18.9636 8.67771 18.4881 9.15329Z' fill='%23EDAB72'/%3E%3C/svg%3E") no-repeat center;
                                background-size: contain;
                            }
                        }
                    }
                }
            }
        }
    }

    & .images {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5rem;
        padding-top: 20rem;
        padding-bottom: 10rem;

        @media (max-width: 991px) {
            display: none;
        }

        & img {
            position: relative;
            width: 35%;
            border: 2px solid #44251B;

            &:nth-child(2) {
                margin-top: -20rem;
            }
        }
    }
}
