@media screen and (max-width: 1200px) and (min-width: 501px) {
   .navLinkBox { padding-left: 20px;
   paddin-right: 0px;}
    
    .navLinkBox { display: none; }
    
    .mainNav{
        margin-top: 22px;
    }
    
    .mainNav .parent {
        margin-right: 20px;
    }
    
    .mobileMenu {
    display: block !important;
    position: absolute;
    top: 50px;
    right: 40px;
    z-index: 3000;
}

.serviceGroupItem {
        padding-left: 5px !important;
        padding-right: 5px !important;
        flex: 1 1 auto; /* Forces items to grow/shrink to fit */
        margin-bottom: 0 !important;
    }

    .serviceGroupItem h2 {
        font-size: 1rem !important; /* Slightly smaller text */
        white-space: nowrap;         /* Prevents text from wrapping inside the item */
    }
    
    .serviceGroupItem img {
        margin-top: 3px;
        margin-left: 2px;
        display: block;
        height: 50px !important;    /* Scale icons down slightly */
        width: 50px !important;
    }

.mmButton {
    border: none;
    outline: none;
    background-color: #000;
    color: #fff;
}

.mainNav{
    display: none;
}

.speechMarkCTA, .hangingM{ display: none; }

.taglineBox img{ width: 200px;}

.serviceGroupItem p {
    display: none;
    padding-right: 10px;
    padding-left: 10px;
    color: var(--TextColourAlt);
}

.serviceGroupItem h2 {
    font-weight: 600;
    font-size: 1.70rem;
    line-height: 2rem;
    color: var(--TextColour);
    margin-bottom: 10px;
    padding: 0px 5%;
    text-align: center;
    width: 100%;
    display: block;
}

.logoBox img {
    width: 90%;
}

.mmPane{
            background-color: #000; z-index: 5000; position: absolute; min-width: 100%; left: 0px; padding: 20px; top: 90px;
            border-bottom: 2px solid C9CBB2;
            color: #fff;
        }
        
        .mmPane li {
            margin-bottom: 5px;
        }
        
        .mmPane li ul{
            margin-top: 5px;
        }
        
        .mmPane li a{
            color: #fff;
        }
        
        .VoiceMusicSection .mmPane, .VoiceMusicSection .mmButton{
            background-color: #000;color: #fff;
        }
        
        .ChatAISection .mmPane, .ChatAISection .mmButton{
            background-color: #000;color: #fff;
        }
        
        .EffectiveCommsSection .mmPane, .EffectiveCommsSection .mmButton{
            background-color: #000;color: #fff;
        }
        
        .YourPeopleSection .mmPane, .YourPeopleSection .mmButton{
            background-color: #000;color: #fff;
        }
        
        .mmPane a {
            font-size: 1.4rem !important;
        }
        
        .mmButton{
            border-radius: 5px;
        }
        
        .heroTitle h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 3.5rem;
    text-transform: uppercase;
}

.tribeMemberCard img{
    width: 65px;
height: 65px;
}

        
}

@media screen and (max-width: 850px) and (min-width: 600px){
    /* fix ipad portrait */
    
    .heroTitle h1 {
        font-size: 3rem !important;
    }
    
    .heroServiceItem {
        margin-left: 0 !important;
    }
    
    .serviceGroupItem h2{
        text-align: left !important;
    }
    
    .heroServiceItem img{
        height: 130px !important;
    }
    
    .heroServiceItem .heroTitle{
        font-size: 2.2rem !important;
        line-height: 2.2rem;
    }
    
    .heroServiceGroup {
        padding-top: 100px;
    }
    
    div:has(> .mazHeaderMoreButton){
       padding-top: 30px !important;
       width: 250px;
       margin-right: 10px !important;
    }
    
    .DarkHeroOne .pageContentIntro p, .DarkHeroTwo .pageContentIntro p {
    font-size: 2.5rem;
    line-height: 2.2rem;
    }
    
}