/*
Theme Name: TargetPath Solutions
Theme URI: https://targetpathsolutions.com
Author: TargetPath Solutions Inc.
Author URI: https://targetpathsolutions.com
Description: Modern, responsive WordPress theme for IT recruitment, staffing, and strategic career coaching. Features custom post types for jobs, testimonials, services, and built-in interactive application and consultation handlers.
Version: 1.0.1
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
License URI: https://targetpathsolutions.com/terms-and-conditions
Text Domain: targetpath
Tags: agency, business, corporate, recruitment, hr, modern, full-width-template, theme-options
*/

/* ==========================================================================
   WordPress Required Alignments & Core Embeds
   ========================================================================== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }

/* Screen reader text for accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Logo & Navbar Controls
   ========================================================================== */
.custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    max-height: 50px !important;
}
.custom-logo,
.custom-logo-link img,
.header-logo {
    max-height: 48px !important;
    max-width: 220px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* ==========================================================================
   Interactive Form Feedback & Alerts
   ========================================================================== */
.targetpath-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.targetpath-alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.targetpath-alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Dynamic Menu & Navigation Overrides (High Visibility on Dark Hero)
   ========================================================================== */
.custom-nav-menu,
.custom-nav-menu ul,
.custom-nav-menu-list,
.custom-nav-menu .menu,
.custom-nav-menu ol {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-nav-menu li,
.custom-nav-menu-list li,
.custom-nav-menu .menu-item {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-nav-menu li::marker,
.custom-nav-menu-list li::marker,
.custom-nav-menu .menu-item::marker,
.custom-nav-menu *::marker {
    display: none !important;
    content: "" !important;
    font-size: 0 !important;
    color: transparent !important;
}

.custom-nav-menu li::before,
.custom-nav-menu li::after,
.custom-nav-menu-list li::before,
.custom-nav-menu-list li::after,
.custom-nav-menu .menu-item::before,
.custom-nav-menu .menu-item::after {
    display: none !important;
    content: "" !important;
}

.custom-nav-menu a,
.custom-nav-menu .nav-link-2,
.custom-nav-menu-list a,
.custom-nav-menu li a {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    transition: color 0.2s ease, opacity 0.2s ease !important;
    opacity: 0.95 !important;
    display: inline-block !important;
    padding: 6px 4px !important;
    background: transparent !important;
}

.custom-nav-menu a:hover,
.custom-nav-menu .nav-link-2:hover,
.custom-nav-menu-list a:hover,
.custom-nav-menu li a:hover {
    color: #f15a24 !important;
    opacity: 1 !important;
}

.custom-nav-menu .current-menu-item > a,
.custom-nav-menu .current_page_item > a,
.custom-nav-menu a.custom-active,
.custom-nav-menu-list .current-menu-item > a {
    color: #f15a24 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Sleek "Get In Touch" CTA Button */
.secondary-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: #f15a24 !important;
    background-color: #f15a24 !important;
    border: 1px solid #f15a24 !important;
    border-radius: 50px !important;
    padding: 0 24px !important;
    height: 44px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    gap: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.35) !important;
}
.secondary-button:hover {
    background-color: #d94e1f !important;
    border-color: #d94e1f !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(241, 90, 36, 0.5) !important;
}
.secondary-button .button-text {
    white-space: nowrap !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #ffffff !important;
}
.secondary-button .arrow-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.secondary-button .arrow-button {
    width: 13px !important;
    height: 13px !important;
    display: inline-block !important;
    transition: transform 0.25s ease !important;
}
.secondary-button:hover .arrow-button {
    transform: translateX(3px) !important;
}

/* Nav Login & Dashboard Controls */
.nav-login-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.login-text-link {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
}
.login-text-link:hover {
    color: #f15a24 !important;
}
.login-text-link.dashboard-badge {
    background: rgba(241, 90, 36, 0.15) !important;
    color: #f15a24 !important;
    border: 1px solid rgba(241, 90, 36, 0.4) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}
.login-text-link.dashboard-badge:hover {
    background: #f15a24 !important;
    color: #ffffff !important;
}

/* CheckMyCV Pill Button */
.nav-link-2.check-cv {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    height: 42px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}
.nav-link-2.check-cv:hover {
    border-color: #f15a24 !important;
    color: #f15a24 !important;
    background: rgba(241, 90, 36, 0.08) !important;
}

/* Responsive Visibility Controls */
@media screen and (min-width: 992px) {
    .custom-nav-menu .mobile-only,
    .custom-nav-menu a.mobile-only,
    .mobile-only {
        display: none !important;
    }
    .custom-menu-toggle {
        display: none !important;
    }
}
@media screen and (max-width: 991px) {
    .custom-menu-toggle {
        display: block !important;
        cursor: pointer;
    }
    .secondary-button,
    .nav-login-wrapper,
    .nav-link-2.check-cv {
        display: none !important;
    }
    .custom-nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #0b1c3f !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 90px 30px 40px !important;
        gap: 20px !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6) !important;
        z-index: 9999 !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
    }
    .custom-nav-menu.active,
    .navbar.menu-open .custom-nav-menu {
        right: 0 !important;
    }
    .custom-nav-menu ul,
    .custom-nav-menu-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 18px !important;
    }
    .custom-nav-menu li {
        width: 100% !important;
        display: block !important;
    }
    .custom-nav-menu a,
    .custom-nav-menu .nav-link-2 {
        font-size: 17px !important;
        display: block !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }
    .custom-nav-menu .mobile-only {
        display: block !important;
        margin-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 15px !important;
        width: 100% !important;
    }
}

/* Blog Archive & Single Polish */
.wp-post-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.pagination-wrapper .page-numbers {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: #0b1c3f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background-color: #f15a24;
    color: #ffffff;
    border-color: #f15a24;
}

/* ==========================================================================
   Footer Links & Menu Reset
   ========================================================================== */
.footer-links-list,
.footer-links-list ul,
footer ul {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 2.2 !important;
}

.footer-links-list li,
footer ul li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links-list li::marker,
footer ul li::marker {
    display: none !important;
    content: "" !important;
    font-size: 0 !important;
    color: transparent !important;
}

.footer-links-list li::before,
.footer-links-list li::after,
footer ul li::before,
footer ul li::after {
    display: none !important;
    content: "" !important;
}

.footer-links-list a,
footer ul li a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

.footer-links-list a:hover,
footer ul li a:hover {
    color: #f15a24 !important;
}

/* =====================================================
   WordPress Admin Bar Compatibility (Keep on Top Side)
   ===================================================== */
#wpadminbar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    background: #1d2327 !important;
    z-index: 99999 !important;
    overflow: visible !important;
    box-sizing: content-box !important;
}

#wpadminbar .quicklinks,
#wpadminbar .quicklinks > ul,
#wpadminbar .ab-top-menu,
#wpadminbar .ab-top-secondary {
    display: block !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: content-box !important;
}

#wpadminbar .quicklinks > ul > li,
#wpadminbar .ab-top-menu > li,
#wpadminbar .ab-top-secondary > li {
    float: left !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: content-box !important;
    clear: none !important;
    line-height: 32px !important;
    height: 32px !important;
}

#wpadminbar .ab-top-secondary,
#wpadminbar .ab-top-secondary > li,
#wpadminbar ul#wp-admin-bar-top-secondary {
    float: right !important;
}

#wpadminbar a,
#wpadminbar .ab-item,
#wpadminbar a.ab-item {
    display: block !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 10px !important;
    color: #c3c4c7 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: content-box !important;
    background: transparent !important;
}

#wpadminbar a:hover,
#wpadminbar .ab-item:hover {
    color: #72aee6 !important;
    background: #13171a !important;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-item::before {
    display: inline-block !important;
    vertical-align: middle !important;
}

body.admin-bar .navbar {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    #wpadminbar {
        height: 46px !important;
        min-height: 46px !important;
    }
    #wpadminbar .quicklinks > ul > li,
    #wpadminbar .ab-top-menu > li,
    #wpadminbar a,
    #wpadminbar .ab-item {
        height: 46px !important;
        line-height: 46px !important;
    }
    body.admin-bar .navbar {
        top: 46px !important;
    }
}

/* Ensure All Hero Banner Titles Are Pure Crisp White */
.banner-title,
.about-us-banner .banner-title,
.about-us-banner h1,
.section.about-us-banner h1,
.pricing-banner h1,
.service-detail-banner h1,
.blog-banner h1 {
    color: #ffffff !important;
}

