

/* Mobile drawer color refinements */
.drawer-submenu .drawer-link,
.drawer-submenu .drawer-link:visited {
    color: #4b5563 !important;
}

.drawer-submenu .drawer-link:hover,
.drawer-submenu .drawer-link:focus {
    color: #111827 !important;
}

.drawer-call-btn,
.drawer-call-btn:visited,
.drawer-call-btn:hover,
.drawer-call-btn:focus,
.drawer-call-btn *,
.drawer-call-btn svg {
    color: #ffffff !important;
    fill: currentColor;
    stroke: currentColor;
}


/* Hide single-post sidebar widgets on tablets and phones */
@media (max-width: 1024px) {
    body.single-post main .container > div[style*="grid-template-columns:1fr 320px"] {
        grid-template-columns: 1fr !important;
    }

    body.single-post main .container > div[style*="grid-template-columns:1fr 320px"] > aside {
        display: none !important;
    }
}


/* Hide generated title/excerpt block on Free Moving Quote page */
body.page-id-3795 main > nav.breadcrumb,
body.page-id-3795 main > h1:first-of-type,
body.page-id-3795 main > h1:first-of-type + p {
    display: none !important;
}


/* Hide the template hero on Free Moving Quote page */
body.page-id-3795 .page-hero {
    display: none !important;
}


/* Hide generated title/excerpt block on FAQ page */
body.page-id-2873 main > nav.breadcrumb,
body.page-id-2873 main > h1:first-of-type,
body.page-id-2873 main > h1:first-of-type + p {
    display: none !important;
}

/* Hide the template hero on FAQ page */
body.page-id-2873 .page-hero {
    display: none !important;
}


/* Hide generated hero excerpt on FAQ page */
body.page-id-2873 .premium-template-hero__copy > p {
    display: none !important;
}


/* Full-width FAQ content section */
body.page-id-2873 .premium-template-main > .premium-template-section:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-id-2873 .premium-template-main > .premium-template-section:first-child > .premium-template-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-id-2873 .bms-faq-section {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: clamp(20px, 5vw, 72px) !important;
    padding-right: clamp(20px, 5vw, 72px) !important;
}

body.page-id-2873 .bms-faq-section .bms-container {
    width: 100% !important;
    max-width: none !important;
}

/* Full-width About Us page hero and sections */
body.page-id-2850 main.site-main > .page-hero,
body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page > section,
body.page-id-2850 main.site-main > .cta-banner {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

body.page-id-2850 main.site-main > .page-hero > .container,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page .bms-wrap,
body.page-id-2850 main.site-main > .cta-banner > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: clamp(20px, 5vw, 72px) !important;
    padding-right: clamp(20px, 5vw, 72px) !important;
}

body.page-id-2850 .bms-about-page .bms-hero-grid,
body.page-id-2850 .bms-about-page .bms-story,
body.page-id-2850 .bms-about-page .bms-grid,
body.page-id-2850 .bms-about-page .bms-stats {
    width: 100% !important;
    max-width: none !important;
}


/* Prevent side-scroll after full-width page expansion */
body.page-id-2873,
body.page-id-2850 {
    overflow-x: hidden !important;
}

body.page-id-2873 .premium-template-main > .premium-template-section:first-child,
body.page-id-2873 .premium-template-main > .premium-template-section:first-child > .premium-template-content,
body.page-id-2873 .bms-faq-section,
body.page-id-2873 .bms-faq-section .bms-container,
body.page-id-2850 main.site-main > .page-hero,
body.page-id-2850 main.site-main > .page-hero > .container,
body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page > section,
body.page-id-2850 .bms-about-page .bms-wrap,
body.page-id-2850 main.site-main > .cta-banner,
body.page-id-2850 main.site-main > .cta-banner > .container {
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    body.page-id-2850 main.site-main > .page-hero > .container,
    body.page-id-2850 main.site-main > article.entry-content > .container,
    body.page-id-2850 .bms-about-page .bms-wrap,
    body.page-id-2850 main.site-main > .cta-banner > .container,
    body.page-id-2873 .bms-faq-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* Keep full-width sections clean on tablet and mobile */
html,
body {
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    body.page-id-2873 .bms-faq-section,
    body.page-id-2850 main.site-main > .page-hero,
    body.page-id-2850 main.site-main > article.entry-content,
    body.page-id-2850 .bms-about-page,
    body.page-id-2850 .bms-about-page > section,
    body.page-id-2850 main.site-main > .cta-banner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-id-2850 .bms-about-page .bms-hero-grid,
    body.page-id-2850 .bms-about-page .bms-story,
    body.page-id-2850 .bms-about-page .bms-grid,
    body.page-id-2850 .bms-about-page .bms-stats {
        grid-template-columns: 1fr !important;
    }
}


/* Mobile/tablet hero grid overflow fixes for full-width pages */
@media (max-width: 1024px) {
    body.page-id-2873 main.site-main,
    body.page-id-2873 .premium-template-hero,
    body.page-id-2873 .premium-template-main,
    body.page-id-2850 main.site-main,
    body.page-id-2850 .bms-about-page,
    body.page-id-2850 .bms-hero {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    body.page-id-2873 .premium-template-hero__grid,
    body.page-id-2850 .bms-hero-grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-id-2873 .premium-template-hero__grid > *,
    body.page-id-2850 .bms-hero-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.page-id-2873 .premium-template-actions,
    body.page-id-2873 .premium-template-proof {
        display: flex !important;
        flex-wrap: wrap !important;
    }
}


/* Hide FAQ generated hero excerpt */
body.page-id-2873 .premium-template-hero__copy > p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}




/* Final fix: remove About Us header-to-hero gap */
body.page-id-2850 main.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-2850 main.site-main > .page-hero {
    display: none !important;
}

body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page .bms-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page > section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Final fix: remove About Us header-to-hero gap */
body.page-id-2850 main.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-2850 main.site-main > .page-hero {
    display: none !important;
}

body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page .bms-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-2850 main.site-main > article.entry-content,
body.page-id-2850 main.site-main > article.entry-content > .container,
body.page-id-2850 .bms-about-page,
body.page-id-2850 .bms-about-page > section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Final fix: make About Us blue hero touch both viewport edges */
body.page-id-2850 .bms-about-page .bms-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

@media (max-width: 1024px) {
    body.page-id-2850 .bms-about-page .bms-hero {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* FAQ page: center question section and remove right promo box */
body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-split {
    grid-template-columns: minmax(0, 920px) !important;
    justify-content: center !important;
    align-items: start !important;
}

body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-split > div:first-child {
    width: 100% !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-media {
    display: none !important;
}

body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-content {
    width: 100% !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 980px) {
    body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-split,
    body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-split > div:first-child,
    body.page-id-2873 .premium-template-main > .premium-template-section:first-child .premium-template-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}
