/* CLOUD BOX — Box v2 S06 Final CTA. Content stays in normal flex flow; only decorative forms are absolute. */
body.cloudbox-self-hosted-page .self-hosted-final {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #06100e url('../../images/self-hosted/final/background.jpg') center center / cover no-repeat;
    color: #fff;
}

body.cloudbox-self-hosted-page .self-hosted-final--acf-background {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    body.cloudbox-self-hosted-page .self-hosted-final--acf-background {
        background-attachment: fixed;
    }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-final--acf-background {
        background-attachment: scroll;
    }
}

body.cloudbox-self-hosted-page .self-hosted-final--acf-background .self-hosted-final__forms {
    display: none;
}

body.cloudbox-self-hosted-page .self-hosted-final__forms {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

body.cloudbox-self-hosted-page .self-hosted-final__forms::after {
    content: '';
    position: absolute;
    inset: 0 22.65625%;
    background: radial-gradient(ellipse at center, rgba(5, 9, 8, .12) 0%, rgba(0, 0, 0, .72) 100%);
}

body.cloudbox-self-hosted-page .self-hosted-final__forms span {
    position: absolute;
    top: -20%;
    width: 12%;
    height: 150%;
    border-radius: 90px;
    transform-origin: center;
}

body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(1) { left: -4%; background: rgba(11,16,14,.38); transform: rotate(5deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(2) { left: 9%; top: -31%; width: 10%; background: rgba(17,22,20,.28); transform: rotate(-4deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(3) { left: 20%; top: -15%; background: rgba(11,16,14,.34); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(4) { left: 33%; top: -39%; width: 9.5%; background: rgba(17,22,20,.25); transform: rotate(5deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(5) { left: 43%; top: -17%; width: 15%; background: rgba(11,16,14,.31); transform: rotate(-4deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(6) { left: 57%; top: -31%; width: 11%; background: rgba(17,22,20,.27); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(7) { left: 67%; top: -13%; width: 16%; background: rgba(11,16,14,.30); transform: rotate(5deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(8) { left: 83%; top: -33%; width: 11%; background: rgba(17,22,20,.25); transform: rotate(-4deg); }
body.cloudbox-self-hosted-page .self-hosted-final__forms span:nth-child(9) { left: 93%; top: -19%; width: 12%; background: rgba(11,16,14,.30); }

body.cloudbox-self-hosted-page .self-hosted-final__content {
    position: relative;
    z-index: 1;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.cloudbox-self-hosted-page .self-hosted-final__content .self-hosted-eyebrow {
    color: #69a694;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
}

body.cloudbox-self-hosted-page .self-hosted-final__content h2 {
    width: min(100%, 720px);
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    letter-spacing: 0;
}

body.cloudbox-self-hosted-page .self-hosted-final__content h2 > span:first-child {
    width: 100%;
    font-size: 48px;
    font-weight: 700;
    line-height: 54px;
}

body.cloudbox-self-hosted-page .self-hosted-final__content h2 .self-hosted-serif {
    width: 100%;
    color: #f3f5f3;
    font-size: 58px;
    font-weight: 400;
    line-height: 62px;
    letter-spacing: 0;
}

body.cloudbox-self-hosted-page .self-hosted-final__content > p {
    width: min(100%, 620px);
    margin-top: 18px;
    color: #b8c1bd;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

body.cloudbox-self-hosted-page .self-hosted-final .self-hosted-button {
    width: 238px;
    height: 58px;
    margin-top: 28px;
    border: 1px solid rgba(42, 140, 117, .7);
    border-radius: 2px;
    background: #14715e;
    color: #fff;
    font-size: 17px;
    line-height: 18px;
}

body.cloudbox-self-hosted-page .self-hosted-final .self-hosted-button:hover {
    background: #0f5b4c;
}

body.cloudbox-self-hosted-page .self-hosted-final__content small {
    margin-top: 16px;
    color: #77847f;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

@media (max-width: 1023.98px) {
    body.cloudbox-self-hosted-page .self-hosted-final,
    body.cloudbox-self-hosted-page .self-hosted-final__content {
        min-height: 500px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content .self-hosted-eyebrow {
        font-size: 12px;
        line-height: 17px;
        white-space: normal;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 {
        width: min(100%, 650px);
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 > span:first-child {
        font-size: 48px;
        line-height: 54px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 .self-hosted-serif {
        font-size: 54px;
        line-height: 58px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content > p {
        width: min(100%, 600px);
        font-size: 17px;
        line-height: 26px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final .self-hosted-button {
        font-size: 16px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content small {
        font-size: 12px;
        line-height: 17px;
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    body.cloudbox-self-hosted-page .self-hosted-final__content .self-hosted-eyebrow {
        font-size: 10.5px;
        line-height: 15px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 {
        width: 100%;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 > span:first-child {
        font-size: 36px;
        line-height: 40px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content h2 .self-hosted-serif {
        font-size: 40px;
        line-height: 44px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content > p {
        width: 100%;
        font-size: 14px;
        line-height: 22px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final .self-hosted-button {
        width: 100%;
        font-size: 14px;
    }

    body.cloudbox-self-hosted-page .self-hosted-final__content small {
        width: 100%;
        font-size: 10.5px;
        line-height: 15px;
    }
}
