/* mobile menu */
#mobile-menu{
    left: -100%;
    background-color: #fff;
    transition: all 250ms ease-in-out;
    z-index: 110;
    padding-top: 122px;
}
#mobile-menu{
    .sub-menu{
        display: none;
    }
    li{
        font-size: 24px;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #F3F3F3;

        &:last-of-type{
            border-bottom: none;
        }

        a{
            display: block;
        }

        a:after{
            content: none;
        }
    }
    .button-primary{
        margin-top: 30px;
    }
}
#mobile-menu.active{
    left: 0;
}
body.menu-open{
    overflow-y: hidden;
}
body.home #masthead.mobile-menu-active{
    background-color: #071a52;
}
.menu-wrapper{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* image & text block */
@media(max-width: 768px) {
    #image-text{
        .text-col{
            text-align: center;
            order: 2;
        }        
        .wp-block-buttons{
            justify-content: center;
        }
    } 
}

/* footer */
.footer-wrapper{
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .footer-wrapper{
        flex-direction: row;
    }
}
@media (max-width: 768px) {
    .footer-top .grid{
        justify-items: center;
        text-align: center;
    }
}

/* menu */
#primary-menu{
    font-family: "Cormorant Garamond", serif;
}
#primary-menu .sub-menu .menu-item{
    font-size: 18px;
}

/* page header */
.page-header .heading{
    text-align: center;
}

/* staff bios */
@media (min-width: 768px){
    .staff-bio{
        gap: 5rem;
    }
}

/* staff accordions */
.staff-bio .accordion-content{

    p{
        margin-bottom: 0.75rem;
    }

    ul{
    list-style: initial;
    padding-left: 2rem;

        li{
            margin-bottom: 0.75rem;
        }
    }
}

/* blog */
.blog-arrow-prev{
    margin-right: 1rem;
}
.blog-arrow-next{
    margin-left: 1rem;
}
.navigation.post-navigation{
    font-size: 24px;
    font-family: "Cormorant Garamond", serif;

    a:hover{
        color: #C49A6A;
    }
}

/* new page header */
.page-header:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right,  rgba(243,243,243,1) 0%,rgba(255,255,255,0) 100%);
    z-index: 1;
}
.page-header h1{
    font-weight: 600;
}
.page-header-content{
    background-color: #F3F3F3;
    min-height: 250px;
}
@media (min-width: 768px) {
    .page-header-content h1{
        max-width: 60%;
    }
    .page-header-content{
        min-height: 320px;
    }
}
@media (max-width: 768px) {
    .page-header-content h1{
        font-size: 48px;
        text-align: center;
        margin: auto;
    }
    .page-header-graphic{
        display: none;
    }
}
.page-header-graphic{
    width: auto;
    height: 180%;
    right: 0;
    top: 0;
    opacity: 0.75;
    z-index: 1;
}
.page-header-bg{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='a' width='29' height='50.115' patternTransform='scale(2)' patternUnits='userSpaceOnUse'%3E%3Crect width='100%25' height='100%25' fill='%23f2f2f2'/%3E%3Cpath fill='none' stroke='%23e8e8e8' d='M14.498 16.858 0 8.488.002-8.257l14.5-8.374L29-8.26l-.002 16.745zm0 50.06L0 58.548l.002-16.745 14.5-8.373L29 41.8l-.002 16.744zM28.996 41.8l-14.498-8.37.002-16.744L29 8.312l14.498 8.37-.002 16.745zm-29 0-14.498-8.37.002-16.744L0 8.312l14.498 8.37-.002 16.745z'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='800%25' height='800%25' fill='url(%23a)'/%3E%3C/svg%3E");
}
.bg-midnight-blue,
.button-primary, .wp-block-button .wp-block-button__link{
    background-color: #202C44;
}
body.home #masthead.is-scrolled{
    background-color: #202C44;
}

/* Contact Form */
#contact-form ul{
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.gform_button{
    width: 100% !important;
    display: block !important;
    background-color: #202C44 !important;
    color: #fff !important;
    font-size: 16px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border: 1px solid #202C44 !important;
    transition: all 150ms ease-in-out;
    cursor: pointer !important;
}
.gform_button:hover{
    background-color: transparent !important;
    color: #202C44 !important;
}
.ginput_container input[type="text"],
.ginput_container input[type="email"],
.ginput_container input[type="tel"],
.ginput_container textarea{
    border: 1px solid #202C44 !important;
    font-size: 16px !important;
}