/*
Theme Name: Consultify Child
Theme URI: https://ngnet.us/
Description: Child theme of Consultify customized for NG Net PLLC.
Author: NG Net PLLC
Template: consultify
Version: 1.0.0
Text Domain: consultify-child
*/

/* NG NET PLLC - Mobile submenu spacing correction */
@media only screen and (max-width: 1023px) {

    /* Completely hide collapsed submenus */
    .nav .sub-menu {
        display: none;
    }

    /* Show submenu when its parent is expanded */
    .nav li.is-open > .sub-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

/* NG NET PLLC - Stable navigation on interior pages */
body:not(.home) .header__languages,
body:not(.home) .header__languages.mnfixed {
    position: relative;
    margin-bottom: 0;
    background-color: #4f5955;
    width: 100%;
    z-index: 100;
}

/* NG NET PLLC - Allow interior page dropdown menus */
body:not(.home) .header {
    overflow: visible;
}


/* NG NET PLLC - Homepage Professional Introduction */

.ngnet-introduction {
    background-color: #ffffff;
    padding: 75px 20px;
    text-align: center;
}

.ngnet-introduction-content {
    max-width: 900px;
    margin: 0 auto;
}

.ngnet-introduction-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a59b82;
    margin-bottom: 15px;
}

.ngnet-introduction h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    color: #4f5955;
    margin-bottom: 25px;
}

.ngnet-introduction-content > p:not(.ngnet-introduction-label) {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.ngnet-introduction-license {
    font-size: 13px !important;
    font-weight: 600;
    color: #4f5955;
    margin-top: 28px;
}


/* NG NET PLLC - Prevent Services from overlapping introduction */

.ngnet-introduction + .home-service {
    margin-top: 0 !important;
}

/* NG NET PLLC - Portfolio professional experience statement */

.ngnet-portfolio-disclosure {
    max-width: 820px;
    margin: 18px auto 35px;
    font-size: 15px;
    line-height: 1.7;
    color: #4f5955;
    text-align: center;
}


/* NG NET PLLC - Portfolio mobile layout */
@media screen and (max-width: 767px) {

    .gallery .gallery__top {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        box-sizing: border-box;
    }

    .gallery .gallery__top .title {
        max-width: 100%;
        font-size: 26px;
        line-height: 1.3;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .gallery .ngnet-portfolio-disclosure {
        width: 100%;
        max-width: 100%;
        margin: 18px auto 30px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

}



/* NG NET PLLC - Portfolio mobile container correction */
@media screen and (max-width: 767px) {

    section#portfolio.gallery > .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

}



/* NG NET PLLC - Illinois Standards CTA mobile */
@media (max-width: 767px) {
    .cl-service .items .item a {
        padding: 12px 15px;
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
        box-sizing: border-box;
    }
}
