.gform-theme--framework {
    .gform_validation_errors {
        margin-bottom: 40px;
        padding: 20px 40px;
        background-color: white;

        h2 {
            font-size: var(--wp--preset--font-size--p);
            font-weight: 300;
            gap: 20px;
            margin-bottom: var(--wp--preset--spacing--small);
        }

        ol {
            padding-left: 55px;

            li {
                font-size: var(--wp--preset--font-size--small);
                font-weight: 300;
                opacity: 0.75;

                a {
                    text-decoration: none;
                }
            }
        }
    }

    .gfield_list_group_item::before, 
    .gform-field-label {
        font-weight: 300;
        margin-bottom: 0;
    }

    .gfield {
        input,
        select,
        textarea {
            border-top: 0;
            border-right: 0;
            border-left: 0;
            padding-left: 0;
            padding: 20px 0;
            height: auto;

            &[aria-invalid="true"],
            &:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])) {
                background-color: unset;
                border-radius: none;
                color: white;
            }
        }

        textarea {
            &.small {
                height: 150px;
            }
        }
    }

    .gform_footer {
        padding-top: 20px;

        input[type="submit"],
        button {
            font-size: var(--wp--preset--font-size--p) !important;
            padding-top: 9px !important;
            padding-right: 45px !important;
            padding-bottom: 9px !important;
            padding-left: 45px !important;
            border-radius: 3px !important;
            background-color: var(--wp--preset--color--primary) !important;
            transition: all 0.25s;

            &:hover {
                color: var(--wp--preset--color--secondary) !important;
                background-color: white !important;
            }
        }
    }
}

.page-template-wp-custom-template-landing {
    .gform-theme--framework {
        @media screen and (max-width: 639px) {
            width: 100%;
        }

        .gfield {
            input,
            select,
            textarea {
                &[aria-invalid="true"],
                &:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])) {
                    background-color: unset;
                    color: white;
                    backdrop-filter: blur(20px) !important;
                    background-color: rgba(255, 255, 255, 0.25) !important;
                    padding: 10px 15px !important;
                    line-height: 1.5;
                }
            }

            @media screen and (max-width: 639px) {
                width: 100%;
            }
        }
    
        .gform_footer {
            justify-content: center;
            
            input[type="submit"],
            button {
                margin: auto;
            }
        }
    }
}