.subscription-block {
    .heading {
        .text-overlay {
            @include breakpointMax(lg) {
                font-size: 150px;
                line-height: 0.466;
                top: -7px;
            }
        }
    }

    .form-wrap {
        max-width: 1000px;
        margin: 0 auto;

        .gform_wrapper {
            .gform_body {
                .gform_fields {
                    @extend %listreset;
                    @include breakpoint(md) {
                        display: flex;
                        flex-wrap: wrap;
                        padding-right: 23px;
                    }

                    .gfield {
                        margin-bottom: 20px;
                        @include breakpoint(md) {
                            margin-bottom: 0;
                            width: calc(33% - 24px);
                        }

                        &:not(:last-child):not(:nth-last-child(2)) {
                            @include breakpoint(md) {
                                margin-right: 23px;
                            }
                        }

                        .ginput_container {
                            input {
                                box-shadow: 0px 4px 20px rgba(35, 31, 32, 0.1);
                                height: 55px;
                                font-size: 16px;
                                line-height: 1.323125;
                                font-weight: 500;
                                color: $text;
                                padding: 5px 15px;
                                border: none;
                                outline: none;
                                border-radius: 0;

                                &:focus {
                                    background: $white;
                                }

                                @include placeholder() {
                                    color: rgba($text, 0.8);
                                }
                            }
                        }
                    }
                }
            }

            form {
                @include breakpoint(md) {
                    display: flex;
                    flex-wrap: wrap;
                }
            }

            .gform_body {
                @include breakpoint(md) {
                    width: calc(100% - 216px);
                }
            }

            .gform_footer {
                position: relative;
                @include breakpoint(md) {
                    width: 216px;
                }

                &:hover {
                    &:before {
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                    }
                }

                &:before {
                    content: '';
                    position: absolute;
                    top: 9px;
                    left: 25px;
                    right: -9px;
                    bottom: -9px;
                    border: 1px solid $primary;
                    transition: 0.3s ease;
                }

                input[type='submit'] {
                    font: italic 600 18px/1.3334 $font-family-secondary;
                    width: 100%;
                    letter-spacing: 0.11em;
                    padding: 16px;
                    position: relative;
                    display: block;
                    min-width: 216px;
                }
            }
        }
    }
}

.hidden_label {
    .gfield_label {
        display: none !important;
    }
}
