/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

#masthead {
    .site-header-section-right {
        flex-direction: column;
    }
}

#wrapper .left-contained-section {
    --container-width: 1200px;
    --page-padding: 30px;

    /*
     * Start at the left edge of the viewport
     * and end at the right edge of the site container.
     */
    width: calc(
        50% + min(
            calc(var(--container-width) / 2),
            calc(50vw - var(--page-padding))
        )
    );

    margin-left: 0;
    margin-right: auto;

    overflow: hidden;

    border-radius: 0 0 220px 0;
}


/*
 * Make the Kadence inner content behave like
 * the site's normal container, aligned to the right.
 */
#wrapper .left-contained-section > .kt-row-column-wrap {
    width: var(--container-width);
    max-width: calc(100vw - (var(--page-padding) * 2));

    margin-left: auto;
    margin-right: 0;
}


/* Mobile */
@media (max-width: 1200px) {

    #wrapper .left-contained-section {
        width: calc(100% - var(--page-padding));
    }

}


@media (max-width: 768px) {

    #wrapper .left-contained-section {
        width: 100%;
        border-radius: 0 0 100px 0;
    }

    #wrapper .left-contained-section > .kt-row-column-wrap {
        width: 100%;
        max-width: 100%;
    }

}

@media (min-width: 1025px) {

    :root {
        --header-container-width: 1290px;
        --header-side-padding: 32px;
    }


    /* The visible header shape */
    .wp-block-kadence-header180-cpt-id {
        width: calc(
            50% + min(
                calc(var(--header-container-width) / 2),
                calc(50vw - var(--header-side-padding))
            )
        );

        margin-left: auto;
        margin-right: 0;

        border-radius: 0 0 0 200px;

        overflow: hidden;
    }


    /*
     * Keep the actual header contents aligned
     * with the normal 1200px site container.
     */
    .wp-block-kadence-header180-cpt-id .kadence-header-row-container-inner,
    .wp-block-kadence-header180-cpt-id .kadence-header-row-inner {
        width: min(
            var(--header-container-width),
            calc(100vw - (var(--header-side-padding) * 2))
        );

        margin-left: 0;
        margin-right: auto;
    }

}

.current-page-slogan {
    font-style: normal;
    font-weight: normal;
    font-size: 40px;
    line-height: 1.25;
    color: var(--global-palette3);
    max-width: 100%;
    width: 640px;
}