.newsletter-popup input[type="text"],
.newsletter-popup input[type="email"] {
    border: 0 !important;
    border-bottom: 2px solid #D6D4D4 !important;
    box-shadow: none !important;
    background: #EDEFF1 !important;
    height: 57px !important;
    border-radius: 0 !important;
}

.newsletter-popup .popup-content {
    min-height: unset;
}

.newsletter-popup .gform_heading h2 {
    font-size: 49px;
    font-weight: 500;
    line-height: 150%;
}

.newsletter-popup .gform_heading p {
    font-size: 21px;
    font-weight: 500;
    line-height: 150%;
}

.newsletter-popup[hidden] {
    display: none !important;
}

.newsletter-popup {
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-popup.is-visible {
    opacity: 1;
    z-index: 99999;
}

.newsletter-popup .popup-container {
    max-width: 827px;
    width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    margin: auto;
    align-self: center;
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.newsletter-popup.is-visible .popup-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.newsletter-popup .form-footer {
    margin-top: var(--XS);
}

.newsletter-popup .newsletter-popup-content .gform_confirmation_wrapper,
.newsletter-popup .newsletter-popup-content .gform_confirmation_message {
    text-align: center;
    padding: 24px 0;
}

.newsletter-popup .gform_button.button {
    transition: all 0.4s ease !important;
}

.newsletter-popup .gform_button.button:hover {
    background-color: var(--Button-Background-Hover-LT) !important;
    color: var(--White) !important;
}

@media (max-width: 767px) {

    .newsletter-popup input[type="text"],
    .newsletter-popup input[type="email"] {
        height: 40px !important;
    }

    .popup-container {
        padding: 24px var(--M, 24px);

    }

    .newsletter-popup .gform_heading h2 {
        font-size: 30px;
        font-weight: 500;
        line-height: 1.2;
    }

    .newsletter-popup .gform_heading p {
        font-size: 15px;
        line-height: 1.2;
    }

    .newsletter-popup.popup .gform_fields {
        row-gap: 16px !important;
    }

}