.email-banner {
    position: relative;
    z-index: 1;
}

.email-banner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--color-white);
}

.email-banner__wrapper {
    background: var(--gradient-cta);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
    padding: 50px 25px;
}

.email-banner--inner .email-banner__wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -35px;
    width: 100%;
    height: 3px;
    background: var(--color-bg-light-gray);
}

.email-banner__bg {
    position: absolute;
    width: 195px;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.email-banner__headlines {
    margin-bottom: 25px;
}

.email-banner__headlines :last-child {
    margin-bottom: 0;
}

.email-banner__headlines h3 {
    font-size: 28px;
    line-height: 1.3em;
    color: var(--color-white);
}

.email-banner__form .gform_fields {
    --bs-gutter-x: 19px;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.email-banner__form .gform_fields>* {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.email-banner__form .form-col {
    position: relative;
    margin-bottom: 20px;
}

.form-col:has(.gfield_validation_message) {
    margin-bottom: 32px;
}

.email-banner__form .form-col:last-child {
    margin-bottom: 0;
}

.email-banner__form .form-col label {
    display: block;
    font-size: 16px;
    line-height: 1.3125em;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.email-banner__form .form-col label sup,
.email-banner__form .form-col label>.gfield_required {
    position: relative;
    top: auto;
    color: var(--color-orange);
    font-size: 16px;
    font-weight: 700;
    margin-left: 5px;
}

.email-banner__form .form-col input[type="text"],
.email-banner__form .form-col input[type="email"],
.email-banner__form .form-col input[type="tel"] {
    width: 100%;
    border: none;
    background: var(--color-bg-light-purple);
    height: 51px;
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--color-text-dark);
    padding: 0 15px;
}

.email-banner__form .gfield_validation_message {
    position: absolute;
    top: calc(100% + 2px);
    left: 10px;
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3em;
}

.email-banner__form .gfield.gfield_error::after {
    top: 49px;
    right: 25px;
}

.email-banner__form .gform_heading,
.email-banner__form .gform-footer,
.email-banner__form .gfield_description.instruction {
    display: none !important;
}

.email-banner__bttn .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 51px;
    gap: 8px;
    padding: 12px 25px;
}

.email-banner__bttn .btn::after {
    position: relative;
    top: auto;
    right: auto;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.email-banner__flex {
    margin-bottom: 25px;
}

.email-banner__wrapper p {
    color: var(--color-white);
    margin-bottom: 0;
}

.email-banner__wrapper p a {
    color: var(--color-white);
    border: none;
}

@media (min-width: 768px) {
    .email-banner__wrapper {
        padding: 48px 50px;
    }

    .email-banner__bg {
        width: 275px;
    }

    .email-banner__headlines {
        margin-bottom: 35px;
        padding: 0 40px;
    }

    .email-banner__headlines h3 {
        font-size: 45px;
    }

    .email-banner__form .form-col {
        margin-bottom: 32px;
    }

    .email-banner__form .form-col label,
    .email-banner__form .form-col label sup,
    .email-banner__form .form-col label>.gfield_required {
        font-size: 18px;
    }

    .email-banner__bttn .btn {
        padding: 14px 25px;
    }

    .email-banner__flex {
        margin-bottom: 35px;
    }

    .email-banner--inner .email-banner__wrapper::after {
        bottom: -52px;
    }
}


@media (min-width: 1200px) {
    .email-banner__wrapper {
        padding: 73px 107px;
    }

    .email-banner__headlines h3 {
        font-size: 42px;
    }

    .email-banner__form .form-col {
        margin-bottom: 0;
    }

    .email-banner__flex {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .email-banner__bttn {
        width: 187px;
        padding-left: 32px;
    }

    .email-banner__form {
        width: calc(100% - 187px);
    }

    .email-banner--inner .email-banner__wrapper::after {
        bottom: -65px;
    }
}

.email-banner--inner .email-banner__bg {
    width: 134px;
    right: unset;
    left: 0;
}

.email-banner--inner .email-banner__flex {
    margin-bottom: 0;
}

.email-banner--inner .email-banner__bttn .btn {
    padding: 16px 25px;
}

.email-banner--inner .container {
    padding-bottom: 37px;
}

@media (min-width: 768px) {
    .email-banner--inner .email-banner__headlines {
        padding: 0 10px;
    }

    .email-banner--inner .email-banner__headlines h3 {
        padding: 0 30px;
        font-size: 42px;
    }

    .email-banner--inner .container {
        padding-bottom: 0;
    }

    .email-banner--inner .email-banner__bg {
        width: 177px;
    }
}

@media (min-width: 1200px) {
    .email-banner--inner .email-banner__wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px;
    }

    .email-banner--inner .email-banner__headlines h3 {
        padding: 0;
        font-size: 42px;
        line-height: 1.2em;
    }

    .email-banner--inner .email-banner__headlines {
        text-align: left !important;
        padding: 0;
        width: 46%;
        margin: 0;
    }

    .email-banner--inner .email-banner__flex {
        width: 47%;
        padding-right: 13px;
    }

    .email-banner--inner .email-banner__bg {
        width: 234px;
        left: unset;
        right: 0;
    }

    .email-banner--inner .email-banner__bttn {
        width: 100%;
        padding-left: 0;
        margin: 34px 0 0;
    }

    .email-banner--inner .email-banner__form {
        width: 100%;
    }

    .email-banner__form .gform_fields {
        gap: 22px 0;
    }
}

@media (min-width: 768px) {
    .email-banner .col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .email-banner .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .email-banner .col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .email-banner .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .email-banner .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}