.content {
    padding: 0 0 24px;

    // Content globals.
    h2 {
        font-size: 30px;
        font-family: $avenir;
        font-weight: bold;
        line-height: normal;
        font-style: normal;
        text-transform: unset;
        text-align: center;
        padding: 0;
        margin-bottom: 24px;
        @include bp($bp-col12) {
            font-size: 36px;
        }
    }
    p {
        max-width: 840px;
        margin: auto;
        font-size: 18px;
    }

    // Icons.
    .icons-row {
        max-width: 840px;
        margin: 0 auto 24px;
        padding: 24px 0 48px;
        @include bp($bp-col12) {
            padding: 48px 0;
            margin-bottom: 48px;
        }

        .wp-block-column {
            text-align: center;
            p {
                line-height: normal;
                padding: 0;
                font-size: 22px;
                font-weight: bold;
                max-width: 190px;
                margin: auto;
                color: $blue-dark;
            }
        }
    }

    // What to expect.
    .what-to-expect {
        background: transparent
            linear-gradient(270deg, #354d82 0%, #3d7fbf 100%) 0% 0% no-repeat
            padding-box;
        border-top: 14px solid #fffac0;
        border-bottom: 14px solid #fffac0;
        color: $white;
        padding: 32px 0;
        @include bp($bp-col12) {
            padding: 64px 0;
        }
        .section-title {
            padding: 0;
            margin-bottom: 32px;
        }
        // Steps.
        .steps {
            background: #fffac0;
            color: $blue-dark;
            margin-top: 24px;

            .flex {
                display: block;
                align-items: stretch;
                justify-content: unset;
                overflow: hidden;
                @include bp($bp-col12) {
                    display: flex;
                    max-height: 370px;
                }
                @include bp($bp-col16) {
                    max-height: 420px;
                    align-items: center;
                }
            }

            .step-items {
                @include bp($bp-col12) {
                    flex: 1 1;
                    max-width: 50%;
                    margin-right: 0;
                }

                .inner-steps {
                    padding: 24px;
                    @include bp($bp-col12) {
                        padding-right: 24px;
                        max-width: 438px;
                        margin-left: auto;
                    }
                }

                .step {
                    display: flex;
                    font-size: 24px;
                    font-family: $avenir;
                    font-weight: bold;
                    &-number {
                        position: relative;
                        font-size: 20px;
                        padding-right: 12px;
                        span {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            border: 4px solid $blue-dark;
                            border-radius: 30px;
                            width: 35px;
                            height: 35px;
                        }

                        &:after {
                            position: absolute;
                            content: "";
                            width: 4px;
                            height: calc(100% - 35px);
                            background: $blue-dark;
                            bottom: 0;
                            left: -12px;
                            right: 0;
                            margin: 0 auto;
                        }
                    }
                    &-content {
                        font-style: italic;
                    }
                    &:last-of-type {
                        .step-number::after {
                            display: none;
                        }
                    }
                }
            }

            .step-img {
                width: 100%;
                object-fit: cover;
                @include bp($bp-col12) {
                    flex: 1 1;
                    max-width: 50%;
                    margin-right: 0;
                }
            }
        }
        .yellow {
            color: $yellow;
            padding: 40px 0;
            max-width: 840px;
            font-size: 26px;
            text-align: center;
            line-height: normal;
            @include bp($bp-col12) {
                padding: 80px 0 40px;
            }
        }
    }

    // Accordion sect.
    .accordion-section {
        padding: 24px 30px;
        @include bp($bp-col12) {
            padding: 48px 0;
        }
        h2 {
            color: #354d82;
        }
        .accordion-wrapper {
            margin-top: 50px;
        }
    }

    // Meet surgeon.
    .meet-surgeon {
        background: transparent
            linear-gradient(270deg, #354d83 0%, #3d7fbf 100%) 0% 0% no-repeat
            padding-box;
        color: $white;
        overflow: visible;
        padding: 80px 0 0;
        @include bp($bp-col12) {
            padding: 0;
        }

        .flex {
            flex-direction: column-reverse;
            @include bp($bp-col12) {
                flex-direction: row;
                max-height: 444px;
            }
        }

        .headshot {
            position: relative;
            bottom: -8px;
            z-index: 2;
            align-self: flex-start;
            @include bp($bp-col12) {
                top: -60px;
                bottom: unset;
            }
        }

        &__content {
            max-width: 440px;
            .title {
                text-align: left;
                position: relative;
                margin-bottom: 32px;
                &:after {
                    position: absolute;
                    content: "";
                    width: 158px;
                    height: 9px;
                    bottom: -20px;
                    left: 0;
                    border-bottom: 9px solid #fffac0;
                }
            }
            p {
                padding: 0;
            }
        }
    }

    // Lasik block.
    .lasik-block {
        background-image: url(https://pinehurstsurgical.com/wp-content/uploads/2022/03/lasik-bg.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 40px 0;
        position: relative;
        &:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba($blue, 0.5);
        }
        @include bp($bp-col12) {
            padding: 80px 0;
        }

        form.stepped {
            margin-top: 0;
            margin-bottom: 0;
            background: none;
            box-shadow: none;

            .msg {
                text-align: center;
                color: $white;
                .cta {
                    @extend .btn-blue;
                }
            }

            .form-title {
                background: none;
                max-width: 600px;
                line-height: normal;
                font-weight: bold;
                .primary {
                    @include bp($bp-col12) {
                        font-size: 36px;
                    }
                }
                .intro {
                    background: none;
                    @include bp($bp-col12) {
                        font-size: 27px;
                    }
                }
            }

            .steps-slider {
                background: $white;
                padding: 24px;
                border-radius: 9px;
                margin-top: 25px;

                .slick-list {
                    overflow: visible;
                }

                .step-index {
                    position: relative;
                    top: -50px;
                    z-index: 999;

                    span {
                        background: $white;
                        width: 64px;
                        height: 64px;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 24px;
                        font-family: $avenir;
                        font-style: normal;
                        font-weight: bold;
                        border-width: 3px;
                    }
                }

                .step-title {
                    font-size: 28px;
                    text-transform: uppercase;
                }
            }

            .radio {
                .inner-radio {
                    justify-content: center;
                }
                label {
                    display: block;
                    font-size: 21px;
                    text-align: center;
                    padding: 12px;
                    font-weight: bold;
                    i {
                        display: none;
                    }
                }
            }
            .button {
                .btn {
                    background: $blue-dark;
                    font-family: $avenir;
                    font-style: normal;
                    font-size: 18px;
                    font-weight: bold;
                    border-radius: 8px;
                    padding: 12px 48px;
                    &:hover {
                        background: $blue;
                    }
                }
            }
        }
    }

    // Footer form.
    .footer-form {
        background-image: url(https://pinehurstsurgical.com/wp-content/uploads/2022/03/footer-form-bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 40px 0;
        color: $white;
        text-align: center;

        .form-wrapper {
            form {
                max-width: 580px;
                margin: auto;
            }
            .confirmation-msg {
                color: $white;
                font-size: 18px;
                text-align: center;
                > * {
                    font-size: inherit;
                }
            }
            .gform_body {
                background: none;
                // Un-doing some global styles.
                fieldset {
                    margin: 0;
                }
                ul,
                .gform_fields {
                    display: flex;
                    flex-wrap: wrap;
                    li,
                    .gfield {
                        width: 100%;
                        @include bp($bp-col12) {
                            flex: 1 0 50%;
                        }
                        &:first-child {
                            flex: 1 0 100%;
                        }
                        &:nth-child(even) {
                            padding-right: 8px;
                        }
                    }
                }
                .gfield {
                    width: auto;
                    padding-bottom: 12px;
                    &.gfield_error {
                        input {
                            border-color: red;
                        }
                    }
                }
                // Hiding labels.
                .gfield_label,
                .hidden_sub_label {
                    display: none;
                }

                fieldset {
                    padding: 0;
                    border: none;
                }
                .ginput_complex {
                    span {
                        width: 100%;
                        max-width: 277px;
                    }
                    span:first-child input {
                        margin-bottom: 12px;
                    }
                    @include bp($bp-col12) {
                        display: flex;
                        flex-wrap: nowrap;
                        span:first-child input {
                            margin-bottom: 0;
                        }
                    }
                    > *:first-child {
                        padding-right: 8px;
                    }
                }
                .ginput_container {
                    input {
                        color: $black;
                        border: 1px solid #707070;
                        border-radius: 8px;
                        width: 100%;

                        &::placeholder {
                            color: $black;
                            font-size: 12px;
                            font-weight: 600;
                            font-family: $avenir;
                        }
                    }
                }
            }
            .gform_footer {
                margin-top: 0;
                .gform_button {
                    @extend .btn-blue;
                    font-weight: bold;
                    font-size: 18px;
                    height: auto;
                    padding: 16px 60px;
                    border-radius: 8px;
                }
            }
        }
    }
}
