.content_section {
    position: relative;

    & .section_inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;

        & .heading {
            font-family: "Aboreto", arial, sans-serif;
            font-size: 5rem;
            font-weight: 400;
            text-transform: uppercase;
            margin: 0 0 2rem;
            color: var(--primary);
            line-height: 1.2;
            letter-spacing: 0.02em;

            @media (max-width: 991px) {
                font-size: 3rem;
            }

            & span {
                color: var(--primary);
                font-size: inherit;
                font-weight: inherit;
            }
        }

        & .subheading {
            font-family: "DM Sans", arial, sans-serif;
            font-size: 2rem;
            font-weight: 400;
            color: var(--text);
            margin: 0 0 3rem;
            line-height: 1.6;

            @media (max-width: 991px) {
                font-size: 1.8rem;
            }
        }

        & .content_with_image {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 3rem;
            margin: 0 0 3rem;

            @media (max-width: 991px) {
                flex-direction: column;
                gap: 2rem;
            }

            & .image_wrapper {
                flex-shrink: 0;
                width: 300px;
                max-width: 100%;

                @media (max-width: 991px) {
                    width: 100%;
                }

                & img.content_image {
                    width: 100%;
                    height: auto;
                    object-fit: cover;
                    border-radius: 1rem;
                }
            }
        }

        & .text_area {
            flex: 1;
            margin: 0;

            @media (max-width: 991px) {
                text-align: left;
            }

            & h2, & h3, & h4, & h5 {
                margin: 0 0 3rem;

                & span {
                    color: var(--primary);
                    font-size: inherit;
                    font-weight: inherit;
                }
            }

            & p {
                font-size: 1.8rem;
                font-weight: 400;
                color: var(--text);
                line-height: 1.6;
                margin: 0 0 1.5rem;

                @media (max-width: 991px) {
                    font-size: 1.6rem;
                }

                &:last-child {
                    margin-bottom: 0;
                }
            }

            &.has_blockquote {
                & .blockquote_content {
                    position: relative;
                    padding-left: 3rem;
                    border-left: 3px solid #FFB88C;
                    margin: 2rem 0;

                    @media (max-width: 991px) {
                        padding-left: 2rem;
                        border-left-width: 2px;
                    }

                    & p {
                        font-size: 1.8rem;
                        font-weight: 400;
                        color: var(--text);
                        line-height: 1.6;
                        margin: 0;
                        font-style: normal;

                        @media (max-width: 991px) {
                            font-size: 1.6rem;
                        }
                    }
                }
            }

            & ul {
                display: flex;
                flex-direction: row;
                align-items: stretch;
                flex-wrap: wrap;
                gap: 1rem;
                margin: 3rem 0;
                padding: 0;

                & li {
                    width: calc(50% - .5rem);
                    position: relative;
                    list-style-type: none;
                    font-size: 1.6rem;
                    font-weight: 400;
                    color: var(--primary);
                    border: 1px solid var(--primary);
                    padding: 1rem;
                    border-radius: 1rem;
                    display: flex;
                    align-items: center;
                    margin: 0;
                    
                    @media (max-width: 991px) {
                        text-align: left;
                        width: 100%;
                    }

                    &:before {
                        content: '';
                        width: 24px;
                        height: 25px;
                        margin-right: 1rem;
                        flex-shrink: 0;
                        background: url("data:image/svg+xml,%3Csvg width='31' height='31' viewBox='0 0 31 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.4887 1.94287C22.9693 1.94287 29.0359 8.0095 29.0359 15.4901C29.0359 22.9708 22.9693 29.0374 15.4887 29.0374C8.00804 29.0374 1.94141 22.9708 1.94141 15.4901C1.94141 8.0095 8.00804 1.94287 15.4887 1.94287ZM12.6754 19.8904L9.35871 16.5709C8.79366 16.0056 8.79354 15.0836 9.35871 14.5183C9.924 13.9531 10.8501 13.9567 11.4113 14.5183L13.7495 16.8584L19.5663 11.0416C20.1316 10.4763 21.0537 10.4763 21.6188 11.0416C22.1841 11.6068 22.1833 12.5296 21.6188 13.0941L14.7741 19.9389C14.2096 20.5033 13.2867 20.5041 12.7216 19.9389C12.7057 19.923 12.6904 19.9068 12.6754 19.8904Z' fill='%23EDAB72'/%3E%3C/svg%3E") no-repeat center;
                        background-size: contain;
                    }
                }
            }
        }

        & .call_to_action_buttons {
            display: flex;
            flex-direction: row;
            gap: 2rem;
            flex-wrap: wrap;
            justify-content: center;

            @media (max-width: 991px) {
                gap: 1.5rem;
            }
        }
    }
}
