/* Left align page titles */
.entry-header .entry-title,
.page-title,
h1.entry-title {
    text-align: left !important;
}
/* Left align all page titles */
h1,
.page-header h1,
.entry-title,
.kb-advanced-heading,
.wp-block-kadence-advancedheading {
    text-align: left !important;
}

/* Hide Jetpack Share This buttons */
.sharedaddy,
.sd-sharing-enabled,
.sd-sharing,
div.sharedaddy {
    display: none !important;
}
/* Hide default WordPress/GeneratePress page titles on pages only */
.page .entry-header {
    display: none !important;
}
/* Permanently separate the Truth Group desktop and mobile headers */

/* Desktop */
@media only screen and (min-width: 769px) {
    .truth-header-mobile {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
/* =====================================================
   TRUTH GROUP — LOGO BESIDE DESKTOP MENU
   Mobile menu remains unchanged below 769px
   ===================================================== */

@media only screen and (min-width: 769px) {

    /* Desktop header height */
    .site-header .inside-header {
        display: flex;
        align-items: center;
        min-height: 84px;
        padding-top: 8px;
        padding-bottom: 8px;
        box-sizing: border-box;
    }

    /* Desktop logo */
    .site-header .site-logo,
    .site-header .site-branding {
        position: relative;
        z-index: 20;
        flex: 0 0 auto;
    }

    .site-header .site-logo img,
    .site-header .site-branding img {
        display: block;
        width: 185px;
        max-width: 185px;
        height: auto;
    }

    /*
     * Pull the navigation upward so it sits on the same row
     * as the GeneratePress site logo.
     */
    #site-navigation {
        position: relative;
        z-index: 10;
        margin-top: -84px;
        min-height: 84px;
        background: transparent;
        overflow: visible;
    }

    /*
     * Reserve space on the left for the logo.
     * Increase 225px if the menu gets too close to the logo.
     */
    #site-navigation .inside-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 84px;
        padding-left: 225px;
        box-sizing: border-box;
        overflow: visible;
    }

    /* Allow Max Mega Menu to use the remaining row width */
    #site-navigation [id^="mega-menu-wrap-"] {
        width: 100%;
        max-width: 100%;
    }

    #site-navigation [id^="mega-menu-"] {
        justify-content: flex-end;
    }
}
/* =====================================================
   FIX HORIZONTAL SIDEWAYS SCROLL
   ===================================================== */

#site-navigation,
#site-navigation .inside-navigation,
[id^="mega-menu-wrap-"],
[id^="mega-menu-wrap-"] .mega-menu-toggle,
[id^="mega-menu-wrap-"] > ul.mega-menu {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

@media only screen and (max-width: 768px) {

    #site-navigation,
    #site-navigation .inside-navigation,
    [id^="mega-menu-wrap-"],
    [id^="mega-menu-wrap-"] > ul.mega-menu {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}