/*
 * Kushala App landing page overrides.
 *
 * App-page layout styles are scoped to the body .ky class and the
 * WPBakery .app-page row so they cannot affect other pages.
 */

/*
 * The current WPBakery markup uses .app-title on both this section and
 * its h2. Restore the section as a full-width container and constrain
 * only the heading itself.
 */
.ky .app-page .app-title-wrapper section.app-title {
    display: block;
    width: 100%;
    max-width: 820px;
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.ky .app-page .app-title-wrapper section.app-title > h2.app-title {
    display: block;
    width: auto;
    max-width: 760px;
    min-width: 0;
    margin: 0 auto 24px !important;
    box-sizing: border-box;
}

.ky .app-page .app-title-wrapper section.app-title > .app-title-eyebrow,
.ky .app-page .app-title-wrapper section.app-title > .app-intro-text {
    display: block;
    width: auto;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.ky .app-page .app-title-wrapper section.app-title > .app-intro-text {
    max-width: 680px;
}

@media only screen and (max-width: 767px) {
    .ky .app-page .app-title-wrapper section.app-title {
        max-width: 100%;
    }

    .ky .app-page .app-title-wrapper section.app-title > h2.app-title,
    .ky .app-page .app-title-wrapper section.app-title > .app-intro-text {
        max-width: 100%;
    }
}
