/* --------------- START Simple Content V4 --------------- */
#home .simple-content-v4 {
    background-color: var(--simple-content-v4-bg-color, var(--primary-color));
    position: relative;

    &.b-variant {
        min-height: 500px;
        display: flex;
        align-items: center;

        .simple-content-v4-inner {
            flex-direction: row;

            .image-wrap {
                left: auto;
                right: 0;
                width: 65%;

                &:before {
                    width: 40%;
                    left: -1px;
                    background: linear-gradient(90deg, var(--simple-content-v4-bg-color, var(--primary-color)) 0%, transparent 100%);
                }

                img,
                cms-image {
                    object-position: center right;
                }
            }

            .content-wrap {
                width: 45%;

                .title-wrap h2 {
                    line-height: 1.2;
                }
            }
        }
    }

    .simple-content-v4-inner {
        display: flex;
        flex-direction: row-reverse;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 40px 32px;
        box-sizing: border-box;

        &:after {
            content: "";
            display: none;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            background-color: var(--simple-content-v4-bg-color, var(--primary-color));
            opacity: 0.9;
            z-index: 1;
        }

        .image-wrap {
            position: absolute;
            order: 2;
            top: 0;
            left: 0;
            width: 52%;
            height: 100%;

            &:before {
                content: "";
                display: block;
                width: 45%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                background: linear-gradient(90deg, var(--simple-content-v4-bg-color, var(--primary-color)) 1.11%, rgba(2, 90, 131, 0) 100%);
                z-index: 1;
            }

            img,
            cms-image {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
        }

        .content-wrap {
            order: 1;
            width: 42%;
            color: var(--simple-content-v4-text-color, var(--primary-color-contrast));
            position: relative;
            z-index: 2;

            .title-wrap {
                font-weight: 900;
                text-transform: uppercase;
                margin-top: 1em;

                h2 {
                    font-weight: 900;
                    font-size: 36px;
                    margin: 0;
                }
            }

            .text-wrap {
                font-size: 24px;
                font-weight: 700;
                margin-top: 2em;
                padding-right: 2%;

                p {
                    margin-bottom: 1em;
                }
            }

            .button-wrap:not(:has(span a)),
            .button-wrap a {
                border-radius: var(--custom-border-radius, 10px);
                border: 3px solid var(--simple-content-v4-btn-border-color, var(--secondary-color));
                background: var(--simple-content-v4-btn-bg-color, var(--secondary-color-contrast));
                color: var(--simple-content-v4-btn-text-color, var(--secondary-color));
                text-decoration: none;
                padding: 0.8em 3em;
                display: inline-block;
                margin-top: 3em;
                font-size: 20px;
                text-transform: uppercase;
                font-weight: 900;
                transition: all 0.25s linear;

                &:hover {
                    background-color: var(--simple-content-v4-btn-text-color, var(--secondary-color));
                    color: var(--simple-content-v4-btn-bg-color, var(--secondary-color-contrast));
                }
            }
        }
    }

    @media (width <=960px) {
        &.b-variant {
            min-height: auto;

            .simple-content-v4-inner .image-wrap,
            .simple-content-v4-inner .content-wrap {
                width: 100%;
            }
        }

        .simple-content-v4-inner {
            width: 100%;

            &:after {
                display: block;
            }

            .image-wrap {
                width: 100%;

                &:before {
                    display: none;
                }
            }

            .content-wrap {
                width: 100%;

                .title-wrap {

                    h2 {
                        font-size: 28px;
                    }
                }

                .text-wrap {
                    font-size: 18px;
                }

                .button-wrap {
                    font-size: 16px;
                    padding: 0.8em 2em;
                    margin-top: 2em;
                }
            }
        }
    }

    @media (width <=600px) {
        margin-top: 10px;

        .simple-content-v4-inner {
            padding: 40px 20px;

            .content-wrap {
                .title-wrap {

                    h2 {
                        font-size: 24px;
                    }
                }

                .text-wrap {
                    padding-right: 0;
                    margin-top: 1em;
                    font-weight: 400;
                    font-size: 16px;
                }
            }
        }
    }
}

/* --------------- END Simple Content V4 --------------- */