.page-template-contact {
    .contact-table-with-sidebar {
        &.bg-texture {
            margin-top: 30px;

            &:before {
                display: none;
            }
        }
        .container {
            margin-top: 70px;
        }
    }
}
.contact-hero {
    min-height: 600px;
    color: var(--color-white);
    position: relative;
    z-index: 3;
    
    @media screen and (max-width: 768px) {
        min-height: 450px;
    }
    @media screen and (max-width: 576px) {
        text-align: center;
    }
    &:before {
        content: '';
        display: block;
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 100%;
        height: 39px;
        background-image: url('../../../assets/images/patterns/white-cloth-top-edge.png');
        background-repeat: repeat-x;
        z-index: 2;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        min-height: 600px;

        @media screen and (max-width: 768px) {
            min-height: 450px;
        }
        .container {
            padding-top: 172px;
            min-height: 600px;
            display: flex;
            flex-direction: column;
            justify-content: center;

            @media screen and (max-width: 991px) {
                padding-top: 111px;
            }
            @media screen and (max-width: 768px) {
                min-height: 450px;
            }
        }
        .row {
            margin-top: 0;
            padding: 80px 0 0;

            .col-12 {
                margin-top: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;

                h1 {
                    margin-bottom: 0;
                    max-width: 750px;
                    margin-bottom: var(--spacing-xs);
                }
                .hero-text {
                    max-width: 670px;
                    margin-bottom: 70px;

                    @media screen and (max-width: 768px) {
                        max-width: none;
                        margin-bottom: 60px;
                    }
                    p {
                        margin: 0;

                        @media screen and (max-width: 768px) {
                            text-align: center;
                        }
                    }
                }
                .contact-info-box {
                    min-height: 200px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    padding: 30px;
                    margin-bottom: -100px;

                    @media screen and (max-width: 768px) {
                        margin: 0 auto -100px;
                    }
                }
            }
        }
    }
}