/* Keep Elementor headings crisp */
.elementor-heading-title {
    opacity: 1 !important;
}

/* Hide Lodestar hero/header on every interior page EXCEPT Choosing Elite */
body:not(.home):not(.page-id-3741):not(.page-id-56) .custom-header {
    display: none !important;
}

/* Choosing Elite: keep featured image, but remove logo/tagline overlay */
.page-id-3741 .site-branding {
    display: none !important;
}

/* Remove site background image from interior pages
   EXCEPT Careers and About Us */
body:not(.home):not(.page-id-6):not(.page-id-2110),
body:not(.home):not(.page-id-6):not(.page-id-2110) .site,
body:not(.home):not(.page-id-6):not(.page-id-2110) .site-content {
    background-image: none !important;
}
/* Keep all Lodestar homepage content fully opaque */
.home .lodestar-intro,
.home .lodestar-intro .entry-content,
.home .panel-content,
.home .panel-content .entry-content {
    opacity: 1 !important;
}
/* Choosing Elite - brighten featured image */
body.page-id-3741:not(.no-header-image) .custom-header-image:before {
    background: rgba(0, 0, 0, 0) !important;
}
/* Meet Our Team - white background */
.page-id-1856,
.page-id-1856 .site,
.page-id-1856 .site-content,
.page-id-1856 .content-area,
.page-id-1856 .site-main,
.page-id-1856 .entry-content {
    background-color: #ffffff !important;
}
/* Gallery - white background */
.page-id-56,
.page-id-56 .site,
.page-id-56 .site-content,
.page-id-56 .content-area,
.page-id-56 .site-main,
.page-id-56 .entry-content {
    background-color: #ffffff !important;
}
/* Gallery page - force ALL carousel images to equal height */
.page-id-56 .elite-gallery-carousel .swiper-slide-image {
    width: 100% !important;
    height: 500px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}

/* Make linked images behave the same */
.page-id-56 .elite-gallery-carousel .swiper-slide a {
    width: 100% !important;
    display: block !important;
}

/* Keep every slide aligned */
.page-id-56 .elite-gallery-carousel .swiper-slide {
    height: auto !important;
    align-self: stretch !important;
}
/* Gallery: remove logo/tagline overlay from featured image */
.page-id-56 .site-branding {
    display: none !important;
}

/* Gallery - show featured image at full brightness */
body.page-id-56:not(.no-header-image) .custom-header-image:before {
    background: transparent !important;
}
/* Homepage: white background behind hero image */
.home .custom-header,
.home .custom-header-image {
    background-color: #ffffff !important;
}

/* Homepage: remove logo/tagline overlay */
.home .site-branding {
    display: none !important;
}

/* Homepage: remove Lodestar dark overlay */
body.home:not(.no-header-image) .custom-header-image:before {
    background: transparent !important;
}
/* Gallery hero - fit entire featured image inside the 600px area */
.page-id-56 .custom-header-image {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #ffffff !important;
}
/* Gallery hero - disable fixed/parallax scrolling */
.page-id-56 .custom-header-image {
    background-attachment: scroll !important;
}
/* HOME - compact Lodestar hero */
.home.lodestar-front-page .custom-header-image {
    height: 350px !important;
    min-height: 0 !important;
    padding: 0 !important;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}
/* GALLERY - compact Lodestar hero */
.page-id-56 .custom-header-image {
    height: 350px !important;
    min-height: 0 !important;
    padding: 0 !important;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}
/* CHOOSING ELITE - responsive full-width hero */
.page-id-3741 .custom-header-image {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;

    aspect-ratio: 1920 / 500;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}
/* CHOOSING ELITE - remove Lodestar space below hero */
@media screen and (min-width: 60em) {
    .page-id-3741 .site-content {
        padding-top: 0 !important;
    }
}
/* GALLERY - remove Lodestar space below hero */
@media screen and (min-width: 60em) {
    .page-id-56 .site-content {
        padding-top: 0 !important;
    }
}
/* HOME ONLY - footer image full brightness */
.home .footer-image::before {
    background: transparent !important;
}

/* HOME ONLY - brighten actual footer image */
.home .footer-image {
    filter: brightness(1.20) !important;
}
/* CONTACT PAGE - white background */
.page-id-3,
.page-id-3 .site,
.page-id-3 .site-content,
.page-id-3 .content-area,
.page-id-3 .site-main,
.page-id-3 .entry-content {
    background-color: #ffffff !important;
    background-image: none !important;
}
/* CONTACT PAGE - blue only in Lodestar top spacing */
@media screen and (min-width: 60em) {
    body.page-id-3 #content.site-content {
        background: linear-gradient(
            to bottom,
            #1D72DF 0,
            #1D72DF 4.5em,
            #ffffff 4.5em,
            #ffffff 100%
        ) !important;
    }
}
/* CAREERS - matching field photos */
.page-id-6 .elite-careers-image {
    width: 100% !important;
}

.page-id-6 .elite-careers-image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 8px;
    display: block !important;
}
/* HEADER - clickable Elite logo inside desktop navigation */
@media screen and (min-width: 60em) {

    #top-menu > li.elite-nav-logo > a {
        display: block !important;
        width: 230px !important;
        height: 64px !important;
        padding: 0 !important;
        margin-right: 25px !important;

        background-image: url("https://elitecutover.com/wp-content/uploads/2026/09/Elite-Logo-White-letters.png") !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;

        font-size: 0 !important;
        color: transparent !important;
    }

    #top-menu > li.elite-nav-logo {
        display: inline-block !important;
        vertical-align: middle !important;
    }
}
/* Logo item - blend directly into navigation bar */
#top-menu > li.elite-nav-logo,
#top-menu > li.elite-nav-logo > a,
#top-menu > li.elite-nav-logo:hover,
#top-menu > li.elite-nav-logo > a:hover {
    background-color: transparent !important;
}
/* OUR PARTNERS - consistent logo display area */
.partner-logo-carousel .swiper-slide-inner {
    width: 100% !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-logo-carousel img.swiper-slide-image {
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 140px !important;
    object-fit: contain !important;
}
/* MOBILE LOGGED-IN USERS - keep menu button below admin bar */
@media screen and (max-width: 782px) {
    body.admin-bar .menu-toggle {
        top: 0 !important;
        transform: none !important;
    }
}
/* MOBILE - hide WordPress admin toolbar so it cannot cover navigation */
@media screen and (max-width: 782px) {
    #wpadminbar {
        display: none !important;
    }

    html {
        margin-top: 0 !important;
    }
}
/* MOBILE - hide desktop navigation logo menu item */
@media screen and (max-width: 782px) {
    #top-menu > li.elite-nav-logo {
        display: none !important;
    }
}
/* ABOUT US + CAREERS - close mobile gap below navigation */
@media screen and (max-width: 782px) {
    body.page-id-2110 #content.site-content,
    body.page-id-6 #content.site-content {
        margin-top: -40px !important;
    }
}
/* HOME + CAREERS + ABOUT US MOBILE - viewport-sized global background */
@media screen and (max-width: 782px) {

    body.home.custom-background,
    body.page-id-6.custom-background,
    body.page-id-2110.custom-background {
        background-image: none !important;
        position: relative;
    }

    body.home.custom-background::before,
    body.page-id-6.custom-background::before,
    body.page-id-2110.custom-background::before {
        content: "";
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        background-image: url("https://elitecutover.com/wp-content/uploads/2026/09/website-mobile-background.png");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}
/* MICAH TEAM PHOTO - MOBILE ONLY */
@media screen and (max-width: 782px) {
    .micah-team-photo {
        width: 280px !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .micah-team-photo img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}
/* COMPANY DIRECTORY - WHITE BACKGROUND */
body.page-id-4656,
body.page-id-4656 .site,
body.page-id-4656 .site-content,
body.page-id-4656 #content {
    background: #ffffff !important;
    background-image: none !important;
}
/* EMPLOYEE RESOURCES - WHITE BACKGROUND */
body.page-id-3478,
body.page-id-3478 .site,
body.page-id-3478 .site-content,
body.page-id-3478 #content {
    background: #ffffff !important;
    background-image: none !important;
}
/* EMPLOYEE RESOURCES - REMOVE TOP SPACE ON MOBILE */
@media screen and (max-width: 782px) {
    body.page-id-3478 .site-content {
        padding-top: 0 !important;
    }

    body.page-id-3478 .elementor-section:first-child,
    body.page-id-3478 .elementor-top-section:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* COMPANY DIRECTORY - REMOVE TOP SPACE ON MOBILE */
@media screen and (max-width: 782px) {
    body.page-id-4656 .site-content {
        padding-top: 0 !important;
    }

    body.page-id-4656 .elementor-section:first-child,
    body.page-id-4656 .elementor-top-section:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* EMPLOYEE LOGIN - REMOVE TOP SPACE ON MOBILE */
@media screen and (max-width: 782px) {
    body.page-id-1450 .site-content {
        padding-top: 0 !important;
    }

    body.page-id-1450 .elementor-section:first-child,
    body.page-id-1450 .elementor-top-section:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* RESET PASSWORD PAGE - WHITE BACKGROUND */
body.page-id-1454,
body.page-id-1454 .site,
body.page-id-1454 .site-content,
body.page-id-1454 #content {
    background: #ffffff !important;
    background-image: none !important;
}
/* RESET PASSWORD - REMOVE TOP SPACE ON MOBILE */
@media screen and (max-width: 782px) {
    body.page-id-1454 .site-content {
        padding-top: 0 !important;
    }

    body.page-id-1454 .elementor-section:first-child,
    body.page-id-1454 .elementor-top-section:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* EMPLOYEE LOGIN - FULL WIDTH CONTENT ON DESKTOP ONLY */
@media screen and (min-width: 783px) {

    body.page-id-1450 #primary.content-area {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-id-1450 #secondary.widget-area {
        display: none !important;
    }
}
/* EMPLOYEE LOGIN - CENTER LOGIN CONTENT ON DESKTOP */
@media screen and (min-width: 783px) {

    body.page-id-1450 #primary.content-area .elementor {
        max-width: 800px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* EMPLOYEE RESOURCES + COMPANY DIRECTORY
   CENTER DESKTOP CONTENT */

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

    /* Remove Lodestar's reserved sidebar space */
    body.page-id-3478 #primary.content-area,
    body.page-id-4656 #primary.content-area {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Hide unused sidebar */
    body.page-id-3478 #secondary.widget-area,
    body.page-id-4656 #secondary.widget-area {
        display: none !important;
    }

    /* Constrain Elementor content and center it */
    body.page-id-3478 #primary.content-area .elementor,
    body.page-id-4656 #primary.content-area .elementor {
        max-width: 800px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}