.find-local-child-hero {
    position: relative;
    overflow: hidden;
    
    &.with-subnav {
        .hero-cloth {
            padding-bottom: 15px;

            @media screen and (max-width: 991px) {
                padding-bottom: 0;
            }
        }
        + .subnav {
            z-index: 1;
            margin-top: 30px;

            @media screen and (max-width: 991px) {
                margin-top: 20px;
            }
            @media screen and (max-width: 768px) {
                margin-top: -10px;
            }
            .subnav-links {
                padding-top: 40px;                
            }
            .subnav-links-mobile {
                @media screen and (max-width: 768px) {
                    padding-top: 50px;
                }
            }
        }
    }
    .hero-bg {
        height: 550px;
        position: relative;
        z-index: 3;
        padding-bottom: 39px;

        @media screen and (max-width: 991px) {
            height: auto;
        }
        &:before {
            content: '';
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 39px;
            background-image: url('../../../assets/images/patterns/white-cloth-top-edge.png');
            background-repeat: repeat-x;
            z-index: 2;

            @media screen and (max-width: 991px) {
                bottom: 100px;
            }
        }
    }
    .hero-content {
        position: relative;
        z-index: 2;

        &.edge {            
            .container {
                @media screen and (max-width: 991px) {
                    width: 100%;
                }
            }
            .hero-content-text {
                @media screen and (max-width: 991px) {
                    width: 90%;
                    margin: 0 auto;
                }
            }
            .hero-content-image {
                width: 55%;
                margin-left: -5%;
                position: relative;
                right: calc(-5% + 15px);
                padding-right: 0;

                @media screen and (max-width: 991px) {
                    width: 100%;
                    padding-left: 0;
                    margin-left: 0;
                    right: auto;
                }
                img {
                    padding-left: calc(var(--bs-gutter-x) * .5);

                    @media screen and (max-width: 991px) {
                        padding-left: 0;
                    }
                }
            }
        }
        .container {
            padding-top: 172px;
            display: flex;
            flex-direction: column;
            justify-content: center;

            @media screen and (max-width: 991px) {
                padding-top: 111px;
            }
        }
        .row {
            height: calc(510px - 172px);
            margin-top: 0;
            padding: 70px 0;

            @media screen and (max-width: 991px) {
                height: auto;
                padding: 0;
            }
            .col-lg-6 {
                margin-top: 0;
            }
            .hero-content-text {
                height: 100%;

                @media screen and (max-width: 991px) {
                    padding-bottom: 0px;
                }
                h1 {
                    color: var(--color-white);
                    margin-bottom: 0 !important;
                    max-width: 750px;
                    margin-bottom: var(--spacing-xs);

                    @media screen and (max-width: 991px) {
                        text-align: center;
                        max-width: none;
                        padding: 100px 0;
                    }
                    @media screen and (max-width: 576px) {
                        padding: 70px 0;
                    }
                }
            }
            .hero-content-image {
                position: relative;
                z-index: 2;

                @media screen and (max-width: 991px) {
                    width: 90%;
                    margin: 0 auto;
                    padding: 0 calc(var(--bs-gutter-x) * .5);
                }
                img {
                    width: 100%;
                    height: auto;
                }
                .contact-box-desktop {
                    padding-left: calc(var(--bs-gutter-x) * .5);

                    @media screen and (max-width: 991px) {
                        display: none;
                    }
                    .contact-info-box {
                        margin-top: 35px;
                    }
                }
            }
            .mobile-cloth-spacer {
                display: none;
                background-image: url('../../../assets/images/patterns/white-cloth.jpg');
                background-repeat: repeat;
                width: 100%;
                height: 100px;
                position: absolute;
                bottom: -39px;
                left: 0;
                z-index: 1;

                @media screen and (max-width: 991px) {
                    display: block;
                }
            }
        }
    }
    .hero-cloth {
        position: relative;
        z-index: 2;
        background-image: url('../../../assets/images/patterns/white-cloth.jpg');
        background-repeat: repeat;
        margin: 39px 0;
        min-height: var(--hero-cloth-min-height, auto);

        @media screen and (max-width: 991px) {
            margin: -100px 0 39px;
            padding-top: 120px;
            min-height: auto;
        }
        &:after {
            content: '';
            display: block;
            position: absolute;
            bottom: -39px;
            left: 0;
            width: 100%;
            height: 39px;
            background-image: url('../../../assets/images/patterns/white-cloth-bottom-edge.png');
            background-repeat: repeat-x;
            z-index: 1;
        }
        .col-lg-6 {
            margin-top: 0;
        }
        .hero-cloth-content {
            padding: 20px 0 15px;

            @media screen and (max-width: 991px) {
                padding: 10px 0 15px;
            }
            @media screen and (max-width: 576px) {
                padding: 0px 0 15px;
            }
        }
        .hero-text {
            *:last-child {
                margin-bottom: 0;
            }
            h5 {
                @media screen and (max-width: 576px) {
                    font-size: 1.25rem;
                    line-height: 1.75rem; 
                }
            }
            a {
                color: var(--color-scda-tan);

                &:hover, &:focus-visible {
                    text-decoration: none;
                }
            }
        }
        .button-group {
            margin-top: var(--spacing-xs);
        }
        .contact-box-mobile {
            display: none;
            width: 90%;
            margin: 0 auto;

            @media screen and (max-width: 991px) {
                display: block;
                text-align: center;
            }
            .contact-info-box {
                margin: 40px auto 15px;

                @media screen and (max-width: 576px) {
                    margin: 30px auto 15px;
                }
            }
        }
    }
}