/* =========================================================
   NEXT JOB FINDER — WEBSITE REFRESH
   Presentation-only enhancements
   ========================================================= */


/* =========================================================
   1. GLOBAL DESIGN VARIABLES
   ========================================================= */

:root {
    --njf-navy: #102b49;
    --njf-blue: #175fc4;
    --njf-ink: #24364b;
    --njf-line: #dce5ef;
    --njf-surface: #f4f7fb;
    --njf-shadow: 0 5px 20px rgba(16, 43, 73, .07);
}


/* =========================================================
   2. GLOBAL TYPOGRAPHY
   ========================================================= */

body {
    font-family: system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--njf-ink);
    background: #fff;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    letter-spacing: -.025em;
    line-height: 1.3;
}

p {
    font-family: inherit;
    line-height: 1.75;
}

a {
    font-family: inherit;
}

a:hover {
    color: var(--njf-blue);
}


/* =========================================================
   3. ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #e6a329;
    outline-offset: 3px;
}


/* =========================================================
   4. HEADER AND NAVIGATION
   ========================================================= */

.menu-area {
    border-bottom: 1px solid var(--njf-line);
    box-shadow: var(--njf-shadow);
}

ul.main-menu li a {
    font-weight: 600;
    color: var(--njf-navy);
}

.slicknav_menu {
    background: var(--njf-navy);
}


/* =========================================================
   5. HOMEPAGE HERO BANNER
   ========================================================= */

.slider-area .bg-3,
.banner-slider .bg {
    background: var(--njf-navy);
    opacity: .76 !important;
}

.slider-area .slider-item {
    padding: 105px 0;
}

.slider-text h1 {
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 750;
    line-height: 1.15;
}

.slider-text p {
    font-size: 17px;
}


/* =========================================================
   6. JOB SEARCH FORM
   ========================================================= */

.searchbox {
    margin-top: 32px;
}

.searchbox input[type="text"],
.searchbox select,
.searchbox input[type="submit"] {
    height: 48px;
    line-height: normal;
    border-radius: 8px;
}

.searchbox input[type="text"],
.searchbox select {
    border: 1px solid var(--njf-line);
}

.searchbox input[type="submit"] {
    background: var(--njf-blue);
    font-weight: 700;
}

.searchbox input[type="submit"]:hover {
    background: var(--njf-navy);
}

.searchbox .chosen-container .chosen-single {
    height: 48px;
    line-height: 46px;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.searchbox .chosen-container .chosen-single div b {
    background-position: 0 13px;
}


/* =========================================================
   7. SECTION HEADLINES
   ========================================================= */

.headline h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: var(--njf-navy);
    font-weight: 750;
}

.headline-white h2 {
    color: #fff;
}

.headline h2:after {
    background: var(--njf-blue);
    border-radius: 4px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.bg-gray,
.search-result {
    background: var(--njf-surface);
}


/* =========================================================
   8. JOB CATEGORIES AND COMPANY CARDS
   ========================================================= */

.job-company-item,
.job1 .item,
.latest-item {
    border: 1px solid var(--njf-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--njf-shadow);
    transition: box-shadow .2s, border-color .2s;
}

.job-company-item:hover,
.job1 .item:hover,
.latest-item:hover {
    box-shadow: 0 8px 24px rgba(16, 43, 73, .13);
    border-color: var(--njf-blue);
}

.job-company-item .title {
    color: var(--njf-navy);
    text-transform: none;
}

.job1 .item .icon i {
    color: var(--njf-blue);
}

.job1 .item:hover {
    background: var(--njf-blue);
}


/* =========================================================
   9. CAREER RESOURCE CARDS
   ========================================================= */

.latest-photo {
    border-radius: 9px;
}

.latest-text {
    padding: 12px;
}

.latest-text h2 {
    color: var(--njf-navy);
}


/* =========================================================
   10. CAREERJET JOB SEARCH RESULTS
   Visual enhancements only
   ========================================================= */

.search-result {
    padding: 40px 0;
}

.search-result .item {
    background: #fff;
    border: 1px solid var(--njf-line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--njf-shadow);
}

.search-result .item h2 {
    color: var(--njf-navy);
    font-size: 22px;
    line-height: 1.35;
}

.search-result .item .left {
    border-color: var(--njf-line);
}

.search-result .item .left .apply a {
    display: inline-block;
    background: var(--njf-blue);
    border-radius: 8px;
    padding: 11px 22px;
    margin-top: 0;
    font-weight: 700;
}

.search-result .item .right .part a {
    color: var(--njf-blue);
}

.search-title-pos h1 {
    color: var(--njf-navy);
}


/* =========================================================
   11. INTERIOR PAGE BANNERS
   ========================================================= */

.banner-text h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 750;
}


/* =========================================================
   12. CAREER ARTICLES AND CONTENT PAGES
   ========================================================= */

.banner-slider + .container {
    padding-top: 32px;
    padding-bottom: 32px;
}

.banner-slider + .container p {
    font-size: 16px;
}

.banner-slider + .container h2 {
    color: var(--njf-navy);
    margin-top: 28px;
}

.banner-slider + .container h3 {
    line-height: 1.4;
}

.banner-slider + .container ul:not(.pagination) {
    list-style: disc;
    padding-left: 24px;
}

.banner-slider + .container ol {
    padding-left: 24px;
}

.banner-slider + .container li {
    margin-bottom: 6px;
}


/* =========================================================
   13. NEWSLETTER SUBSCRIPTION SECTION
   ========================================================= */

.newsletter-area .overlay {
    background: var(--njf-navy);
    opacity: .88;
}

.newsletter-submit input[type="text"] {
    border-radius: 8px 0 0 8px;
}

.newsletter-submit input[type="submit"] {
    background: var(--njf-blue);
    border-radius: 0 8px 8px 0;
    border: 0;
}


/* =========================================================
   14. WEBSITE FOOTER
   ========================================================= */

.footer-area {
    background: var(--njf-navy);
    color: #dce5ef;
}

.footer-area a {
    color: #e5edf7;
}

.footer-area a:hover {
    color: #fff;
    text-decoration: underline;
}


/* =========================================================
   15. SUBSCRIBE AND WELCOME PAGES
   ========================================================= */

.padded-text {
    padding: 24px 16px;
}

.padded-text h1,
.padded-text h2 {
    line-height: 1.3;
}


/* =========================================================
   16. MAILCHIMP SUBSCRIPTION FORM
   ========================================================= */

#mc_embed_signup {
    max-width: 100%;
    border-radius: 14px;
}

#mc_embed_signup .mc-field-group input {
    border-radius: 8px;
    border: 1px solid var(--njf-line);
    min-height: 44px;
}

#mc_embed_signup .button {
    background: var(--njf-blue);
    border-radius: 8px;
    min-height: 44px;
    height: auto;
    white-space: normal;
}


/* =========================================================
   17. MOBILE RESPONSIVE ENHANCEMENTS
   ========================================================= */

@media (max-width: 767px) {

    .slider-area .slider-item {
        padding: 48px 0 !important;
    }

    .searchbox {
        margin-top: 24px;
    }

    .searchbox input[type="text"],
    .searchbox select,
    .searchbox input[type="submit"] {
        margin-bottom: 10px;
    }

    .search-result .item {
        padding: 18px;
    }

    .search-result .item .box,
    .search-result .item .left,
    .search-result .item .right {
        display: block;
        width: 100%;
    }

    .search-result .item .left {
        border-right: 0;
        padding-right: 0;
    }

    .search-result .item .right {
        padding: 14px 0 0;
        border-top: 1px solid var(--njf-line);
    }

    .search-title-pos .left,
    .search-title-pos .right {
        float: none;
    }

    .newsletter-submit input[type="text"],
    .newsletter-submit input[type="submit"] {
        width: 100%;
        margin: 5px 0;
        border-radius: 8px;
    }

    .banner-slider + .container {
        padding-top: 20px;
    }
}


/* =========================================================
   18. REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .job-company-item,
    .job1 .item,
    .latest-item {
        transition: none;
    }
}

/* END NEXT JOB FINDER WEBSITE REFRESH */
