/*
Theme Name: JobsJunction Child (v2)
Theme URI: http://nootheme.com/
Author: WildLogic
Author URI: http://nootheme.com/
Description: JobsJunction child theme v2 — palette pass, scope-lock hides, homepage styles, JobPosting schema. Replaces "NOO JobMonster Child Theme".
Template: noo-jobmonster
Version: 2.0.0
Tags: two-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, sticky-post, theme-options, translation-ready
Text Domain: noo
*/

/* ==========================================================================
   JobsJunction foundation pass (2026-08-05)
   Palette: deep navy structure, SA green CTAs, gold accents.
   Scope-lock hides: theme alert form, login/register modals, apply modal.
   ========================================================================== */

:root {
    --jj-navy: #0f2b46;
    --jj-navy-dark: #0a1f33;
    --jj-green: #007a4d;
    --jj-green-dark: #00613d;
    --jj-gold: #ffb81c;
    --jj-ink: #1f2933;
}

/* Header / navigation */
.noo-header,
.noo-header.header-1,
.noo-header.header-2 {
    background: var(--jj-navy) !important;
    border-bottom: 3px solid var(--jj-gold);
}
.noo-header .navbar,
.noo-header .noo-main-menu,
.noo-header .menu {
    background: transparent !important;
}
.noo-header a,
.noo-header .navbar-nav > li > a,
.noo-header .noo-menu a {
    color: #f5f7fa !important;
}
.noo-header .navbar-nav > li > a:hover,
.noo-header .noo-menu a:hover {
    color: var(--jj-gold) !important;
}

/* Buttons */
.btn-primary,
a.btn-primary,
button.btn-primary,
.noo-job-actions .btn-primary {
    background: var(--jj-green) !important;
    border-color: var(--jj-green) !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover {
    background: var(--jj-green-dark) !important;
    border-color: var(--jj-green-dark) !important;
}
.btn-default {
    border-color: #cbd2d9 !important;
    color: var(--jj-ink) !important;
}

/* Links */
a {
    color: var(--jj-green);
}
a:hover,
a:focus {
    color: var(--jj-green-dark);
}

/* Job listing accents */
.noo-job-list .job-title a,
.job-title a {
    color: var(--jj-navy);
}
.noo-job-list .job-title a:hover,
.job-title a:hover {
    color: var(--jj-green);
}

/* ==========================================================================
   Scope lock: curated board only. Hide every surface that collects user
   data or belongs to the demo theme's membership features.
   ========================================================================== */

/* Theme email-alert form (we run alerts via Telegram bot instead) */
.noo-job-alert-form,
form.noo-job-alert-form {
    display: none !important;
}

/* Login / register modals rendered globally */
#noo-login-modal,
#noo-register-modal,
.noo-ajax-login-wrap,
.modal.noo-modal-login,
.modal.noo-modal-register,
#registerform,
#registerform-social {
    display: none !important;
}

/* Built-in application modal + mail-to-friend (apply goes to employer site) */
#applyJobModal,
#apply_job_form,
.modal-send-mail-job,
.job-send-email {
    display: none !important;
}

/* Demo membership links in menus */
.menu-item a[href*="/member"],
.menu-item a[href*="post-a-job"],
.menu-item a[href*="post-a-resume"],
.menu-item a[href*="manage-application"] {
    display: none !important;
}

/* Footer cleanup: demo social proof blocks keep their structure,
   but hide anything screaming "demo" */
.noo-demo-notice,
.demo-notice {
    display: none !important;
}

/* ==========================================================================
   JobsJunction homepage (page slug: home-jj)
   ========================================================================== */

.jj-home {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

.jj-hero {
    text-align: center;
    padding: 48px 12px 24px;
}
.jj-hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--jj-navy);
    margin-bottom: 12px;
}
.jj-hero-sub {
    font-size: 1.05rem;
    color: #4a5a6a;
    max-width: 640px;
    margin: 0 auto;
}

.jj-browse,
.jj-provinces,
.jj-alerts {
    margin-top: 40px;
}
.jj-browse h2,
.jj-provinces h2,
.jj-alerts h2 {
    color: var(--jj-navy);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.jj-province-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.jj-province-list li a {
    display: block;
    padding: 12px 14px;
    background: #f2f6f9;
    border: 1px solid #dde6ec;
    border-radius: 6px;
    color: var(--jj-ink);
    text-decoration: none;
}
.jj-province-list li a:hover {
    background: var(--jj-navy);
    border-color: var(--jj-navy);
    color: #fff;
}

.jj-alerts {
    background: var(--jj-navy);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}
.jj-alerts h2 {
    color: #fff;
}
.jj-alerts p {
    color: #cfd9e3;
    max-width: 560px;
    margin: 0 auto 16px;
}

@media (max-width: 600px) {
    .jj-hero h1 {
        font-size: 1.6rem;
    }
    .jj-hero {
        padding-top: 32px;
    }
}
