/*
Theme Name: All4Hire Child
Theme URI: https://all4hire.com
Description: Child theme for the All4Hire platform, based on Careerfy.
Author: All4Hire
Author URI: https://all4hire.com
Template: careerfy
Version: 1.0.0
Text Domain: all4hire-child
*/

/*
 * Custom All4Hire styles will be added below.
 */

/*
Theme Name: All4Hire Child
Theme URI: https://all4hire.com
Description: Child theme for the All4Hire platform, based on Careerfy.
Author: All4Hire
Author URI: https://all4hire.com
Template: careerfy
Version: 1.0.0
Text Domain: all4hire-child
*/

/* ==========================================================
   ALL4HIRE GLOBAL HEADER
   Desktop + Mobile
   ========================================================== */


/* ==========================================================
   1. DESKTOP HEADER
   ========================================================== */

/* Early Access CTA */
#careerfy-header a[href="#a4h-early-access"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #12366d !important;
    color: #ffffff !important;

    border-radius: 7px !important;

    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

#careerfy-header a[href="#a4h-early-access"]:hover {
    background: #0867d8 !important;
    color: #ffffff !important;
}


/* ==========================================================
   DESKTOP ONLY
   ========================================================== */

@media (min-width: 992px) {

    /* Main container */
    #careerfy-header .container {
        width: 100% !important;
        max-width: 1540px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Header height and final positioning */
    #careerfy-header .header-row {
        min-height: 105px !important;
        height: 105px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        transform: translateX(100px) !important;
    }

    #careerfy-header .header-table {
        min-height: 105px !important;
    }

    /* Logo */
    #careerfy-header .careerfy-logo img {
        max-height: 82px !important;
        width: auto !important;
    }

    /* Right header area */
    #careerfy-header .eight-cell:last-child {
        flex: 1 1 auto !important;
    }

    #careerfy-header .eight-right {
        width: 100% !important;
    }

    /* Navigation */
    #careerfy-header .careerfy-navigation > ul,
    #careerfy-header nav#menu > ul {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 38px !important;
        width: 100% !important;
    }

    #careerfy-header .careerfy-navigation > ul > li {
        margin: 0 !important;
        padding: 0 !important;

        width: auto !important;
        flex: none !important;
    }

    #careerfy-header .careerfy-navigation > ul > li > a {
        margin: 0 !important;
        padding: 0 !important;

        white-space: nowrap !important;
    }

    /* Early Access CTA */
    #careerfy-header .careerfy-navigation a[href="#a4h-early-access"] {
        min-width: 285px !important;
        height: 48px !important;

        padding: 0 24px !important;

        background: #12366d !important;
        color: #ffffff !important;

        border-radius: 7px !important;

        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        white-space: nowrap !important;
        text-align: center !important;
    }
}


/* ==========================================================
   2. MOBILE HEADER
   IMPORTANT:
   Careerfy actual class = careerfy-mobilehder-strip
   ========================================================== */

@media (max-width: 991px) {

    /* Main Careerfy mobile header */
    .careerfy-mobilehder-strip.mobile-hder-style1 {
        background: #ffffff !important;
    }

    /* Header row */
    .careerfy-mobilehder-strip.mobile-hder-style1 .mobile-hder-topcon {
        position: relative !important;

        width: 100% !important;
        max-width: none !important;

        min-height: 80px !important;
        height: 80px !important;

        margin: 0 !important;
        padding: 0 15px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
    }


    /* ======================================================
       MOBILE LOGO
       ====================================================== */

    .careerfy-mobilehder-strip.mobile-hder-style1 .mobile-logocon {
        display: flex !important;
        align-items: center !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
    }


    /* ======================================================
       ALL4HIRE CUSTOM MOBILE ACTIONS
       EL | EN + Hamburger
       ====================================================== */

    .all4hire-mobile-actions {
        position: absolute !important;

        top: 50% !important;
        right: 15px !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 16px !important;

        width: auto !important;
        max-width: none !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;

        visibility: visible !important;
        opacity: 1 !important;

        z-index: 50 !important;
    }


    /* ======================================================
       LANGUAGE — EL | EN
       ====================================================== */

    .all4hire-mobile-lang {
        position: static !important;

        display: inline-flex !important;
        align-items: center !important;

        gap: 6px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
        float: none !important;

        visibility: visible !important;
        opacity: 1 !important;

        color: #102d5c !important;

        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1 !important;

        white-space: nowrap !important;
    }

    .all4hire-mobile-lang span {
        display: inline-block !important;
        color: #102d5c !important;
    }

    .all4hire-mobile-lang .a4h-lang-separator {
        opacity: 0.45 !important;
        font-weight: 400 !important;
    }


    /* ======================================================
       HAMBURGER
       ====================================================== */

    #careerfy-mobile-navbtn {
        position: static !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
        float: none !important;

        visibility: visible !important;
        opacity: 1 !important;

        color: #0867d8 !important;

        font-size: 28px !important;
        line-height: 1 !important;
    }

    #careerfy-mobile-navbtn i,
    #careerfy-mobile-navbtn .fa,
    #careerfy-mobile-navbtn .fa-bars {
        display: inline-block !important;

        color: #0867d8 !important;

        font-size: 28px !important;
        line-height: 1 !important;

        visibility: visible !important;
        opacity: 1 !important;
    }


    /* ======================================================
       3. OPEN MOBILE MENU
       ====================================================== */

    #careerfy-mobile-navbar-nav > li {
        border-bottom: 1px solid #edf1f5 !important;
    }

    #careerfy-mobile-navbar-nav > li > a {
        color: #102d5c !important;

        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;

        padding: 14px 18px !important;
    }


    /* ======================================================
       MOBILE EARLY ACCESS CTA
       ====================================================== */

    #careerfy-mobile-navbar-nav a[href="#a4h-early-access"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: calc(100% - 36px) !important;
        min-height: 46px !important;

        margin: 16px 18px !important;
        padding: 10px 14px !important;

        background: #12366d !important;
        color: #ffffff !important;

        border-radius: 7px !important;

        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;

        text-align: center !important;
    }

    #careerfy-mobile-navbar-nav a[href="#a4h-early-access"]:hover {
        background: #0867d8 !important;
        color: #ffffff !important;
    }
}

@media (max-width: 991px) {

    #careerfy-mobile-navbtn,
    #careerfy-mobile-navbtn i,
    #careerfy-mobile-navbtn .fa,
    #careerfy-mobile-navbtn .fa-bars {
        color: #12366d !important;
    }
}

/* ==========================================================
   ALL4HIRE CUSTOM GLOBAL FOOTER — FINAL V3
   ========================================================== */

/* Hide Careerfy native footer output */
#careerfy-footer {
    display: none !important;
}


/* ==========================================================
   CUSTOM FOOTER
   ========================================================== */

.a4h-custom-footer {
    width: 100% !important;

    background-color: #12366d !important;

    background-image:
        linear-gradient(
            rgba(18, 54, 109, 0.68),
            rgba(18, 54, 109, 0.68)
        ),
        url("https://all4hire.com/staging/wp-content/uploads/2026/09/all4hire-footer-network-v2.webp") !important;

    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;

    color: #ffffff !important;

    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}


/* ==========================================================
   INNER CONTAINER
   ========================================================== */

.a4h-custom-footer-inner {
    width: 100% !important;
    max-width: 1540px !important;

    margin: 0 auto !important;
    padding: 42px 30px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px !important;

    text-align: center !important;
}


/* ==========================================================
   FOOTER ROWS
   ========================================================== */

.a4h-custom-footer-links,
.a4h-custom-footer-meta,
.a4h-custom-footer-social {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex-wrap: wrap !important;

    gap: 8px !important;
}


/* ==========================================================
   LEGAL / MAIN LINKS
   ========================================================== */

.a4h-custom-footer-links a {
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;

    text-decoration: none !important;
}


/* ==========================================================
   EMAIL + LANGUAGES
   ========================================================== */

.a4h-custom-footer-meta a {
    color: rgba(255, 255, 255, 0.82) !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    text-decoration: none !important;
}

.a4h-custom-footer-meta .a4h-lang-active {
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* ==========================================================
   SOCIAL
   ========================================================== */

.a4h-custom-footer-social a {
    color: rgba(255, 255, 255, 0.88) !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    text-decoration: none !important;
}


/* ==========================================================
   SEPARATORS
   ========================================================== */

.a4h-custom-footer-links span,
.a4h-custom-footer-meta span,
.a4h-custom-footer-social span {
    color: rgba(255, 255, 255, 0.32) !important;
}


/* ==========================================================
   HOVER
   ========================================================== */

.a4h-custom-footer-links a:hover,
.a4h-custom-footer-meta a:hover,
.a4h-custom-footer-social a:hover {
    color: #8ec5ff !important;
}


/* ==========================================================
   COPYRIGHT
   ========================================================== */

.a4h-custom-footer-copy {
    margin-top: 4px !important;

    color: rgba(255, 255, 255, 0.62) !important;

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .a4h-custom-footer {
        background-position: center center !important;
    }

    .a4h-custom-footer-inner {
        padding: 34px 20px !important;

        gap: 14px !important;
    }

    .a4h-custom-footer-links,
    .a4h-custom-footer-meta,
    .a4h-custom-footer-social {
        gap: 7px !important;
    }

    .a4h-custom-footer-links a {
        font-size: 13px !important;
    }

    .a4h-custom-footer-meta a,
    .a4h-custom-footer-social a {
        font-size: 12px !important;
    }

    .a4h-custom-footer-copy {
        font-size: 12px !important;
    }
}
