:root {
    --brand-green: #3f8579;
    --brand-green-dark: #2f6f64;
    --brand-green-soft: #dfe8e6;
    --brand-bg: #eef3f2;
    --brand-yellow: #f4df00;
    --brand-orange: #f1b114;
    --brand-lime: #4dd03c;
    --brand-salmon: #d87c73;
    --brand-text: #22313b;
    --muted-text: #5d6d72;
    --border-soft: #cfd8d5;
    --white: #ffffff;
}

html, body {
    font-family: 'Source Sans 3', Arial, sans-serif;
    color: var(--brand-text);
    background: var(--brand-bg);
}

a {
    color: var(--brand-green-dark);
}

a:hover {
    color: #285b52;
    text-decoration: none;
}

.container-site {
    max-width: 1500px;
}

.site-header {
    border-bottom: 0;
}

.header-accent {
    height: 6px;
    background: var(--brand-green);
}

.site-logo {
    height: 58px;
    width: auto;
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-green);
    letter-spacing: .2px;
}

.brand-text small {
    font-size: .7em;
    color: var(--brand-green);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--brand-green-dark);
    font-weight: 600;
    padding-left: .8rem;
    padding-right: .8rem;
}

.site-main {
    min-height: 60vh;
}

.site-footer {
    background: #f5f7f7;
    border-top: 1px solid var(--border-soft);
    padding: 28px 15px 34px;
    color: var(--brand-green-dark);
}

.footer-copyright {
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-disclaimer {
    max-width: 1100px;
    font-size: .95rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--brand-green-dark);
    font-size: 1rem;
    margin: 0 3px;
}

.panel-card {
    background: #fff;
    border: 1px solid #cfd3d2;
    border-radius: 6px;
    box-shadow: none;
}

.btn-brand-green,
.btn-brand-green:hover,
.btn-brand-green:focus {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
}

.btn-brand-lime,
.btn-brand-lime:hover,
.btn-brand-lime:focus {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #fff;
}

.btn-brand-salmon,
.btn-brand-salmon:hover,
.btn-brand-salmon:focus {
    background: var(--brand-salmon);
    border-color: var(--brand-salmon);
    color: #fff;
}

.btn-brand-yellow,
.btn-brand-yellow:hover,
.btn-brand-yellow:focus {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #111;
}

.btn-job {
    min-width: 120px;
    font-weight: 700;
    border-radius: 4px;
}

.landing-hero {
    position: relative;
    /* background-image applied via inline style in templates using $_SESSION['TEMPLATE'] path */
    background-color: #3f8579;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 48px 0 32px;
}

.landing-copy {
    color: #fff;
    padding: 20px 10px 20px 0;
}

.landing-copy h1 {
    font-size: 3.65rem;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 20px;
}

.landing-rule {
    border-top: 3px solid rgba(255,255,255,.7);
    margin: 24px 0;
}

.landing-category {
    color: var(--brand-yellow);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 18px;
}

.landing-subtitle {
    text-align: center;
    font-weight: 800;
    color: #fff;
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.landing-copy p {
    font-size: 1.25rem;
    line-height: 1.55;
}

.apply-directly {
    color: var(--brand-yellow);
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    margin: 24px 0;
}

.signup-card {
    background: rgba(255,255,255,.96);
    border-radius: 4px;
    padding: 26px 26px 18px;
}

.signup-card h2 {
    font-size: 2.15rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--brand-green);
    text-align: center;
    margin-bottom: 18px;
}

.form-group label,
.consent-copy {
    color: var(--brand-green-dark);
    font-weight: 700;
}

.form-control {
    height: 52px;
    border: 2px solid #8c9594;
    border-radius: 4px;
    font-size: 1.2rem;
}

textarea.form-control {
    height: auto;
}

.signup-card .btn-submit {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    min-height: 54px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox-row input {
    margin-top: 5px;
    margin-right: 8px;
}

.consent-copy {
    font-size: .95rem;
    line-height: 1.35;
    font-weight: 400;
}

.interstitial-wrap {
    padding: 48px 0;
}

.interstitial-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 36px 54px;
    text-align: center;
}

.interstitial-image {
    max-width: 355px;
    width: 100%;
    margin-bottom: 28px;
}

.interstitial-card h1 {
    font-size: 2.45rem;
    font-weight: 800;
    margin-bottom: 28px;
}

.interstitial-card .btn {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    min-height: 62px;
    margin-bottom: 18px;
}

.jobs-wrap {
    padding: 0 0 24px;
}

.jobs-topbar {
    background: var(--brand-green);
    color: #fff;
    text-align: center;
    font-weight: 800;
    padding: 10px 15px;
    font-size: 1.8rem;
}

.jobs-sidebar,
.jobs-results,
.jobs-sponsored-right {
    padding-top: 22px;
}

.search-card {
    padding: 0 0 16px;
}

.search-card label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.search-card .btn-search {
    width: 100%;
    min-height: 52px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-sponsored {
    border: 2px solid #8b8b8b;
    margin-bottom: 18px;
    position: relative;
    background: #fff;
}

.featured-sponsored .featured-header {
    background: var(--brand-orange);
    font-size: 1.25rem;
    font-weight: 800;
    padding: 8px 12px;
}

.featured-sponsored .featured-body {
    padding: 12px 14px 16px;
}

.sponsored-flag {
    position: absolute;
    right: 10px;
    bottom: 4px;
    font-size: .82rem;
    color: #555;
}

.job-item {
    display: flex;
    border-top: 1px solid #bfbfbf;
    padding: 20px 0;
    gap: 18px;
    align-items: flex-start;
}

.job-thumb {
    width: 76px;
    flex: 0 0 76px;
    text-align: center;
}

.job-thumb img {
    max-width: 64px;
    max-height: 64px;
}

.job-content {
    flex: 1 1 auto;
}

.job-title {
    color: var(--brand-green-dark);
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1.05;
    margin-bottom: 2px;
}

.job-company,
.job-location {
    color: #555;
    font-size: .95rem;
    line-height: 1.2;
}

.job-desc {
    color: #666;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.job-action {
    flex: 0 0 130px;
    text-align: right;
}

.job-action .btn {
    min-width: 116px;
    min-height: 48px;
    font-weight: 700;
}

.text-ad-block {
    border-top: 1px solid #c8c8c8;
    padding: 14px 0 10px;
    position: relative;
}

.text-ad-block a {
    display: block;
    color: #0033cc;
    font-weight: 700;
    text-decoration: underline;
    line-height: 1.18;
}

.text-ad-block .domain,
.text-ad-block .snippet {
    font-size: .88rem;
    color: #6a6a6a;
    line-height: 1.2;
}

.pagination-wrap {
    padding: 18px 0 8px;
}

.pagination .page-link {
    color: var(--brand-green-dark);
    min-width: 42px;
    text-align: center;
}

.pagination .active .page-link {
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.recommend-modal .modal-content {
    border-radius: 6px;
}

.recommend-modal .modal-header {
    border-bottom: 0;
    display: block;
    text-align: center;
    padding-top: 34px;
    padding-bottom: 8px;
}

.recommend-modal h3 {
    font-size: 2rem;
    font-weight: 800;
}

.recommend-grid .recommend-item {
    margin-bottom: 14px;
}

.recommend-item a {
    color: #0033cc;
    font-weight: 700;
    text-decoration: underline;
    line-height: 1.15;
    display: block;
}

.recommend-item .mini-domain,
.recommend-item .mini-copy {
    font-size: .92rem;
    color: #666;
    line-height: 1.2;
}

.articles-page {
    background: var(--brand-green);
}

.article-list-wrap {
    padding: 26px 0 40px;
}

.article-item {
    display: flex;
    margin-bottom: 28px;
    gap: 16px;
    align-items: flex-start;
}

.article-thumb {
    width: 320px;
    flex: 0 0 320px;
}

.article-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.article-copy {
    color: #fff;
}

.article-copy h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.article-copy p {
    font-size: 1.08rem;
    line-height: 1.45;
    margin-bottom: 0;
}

.legal-wrap {
    padding: 34px 0 44px;
}

.legal-content {
    max-width: 1180px;
}

.legal-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.legal-content p,
.legal-content li {
    font-size: 1.25rem;
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 34px;
    margin: 18px 0;
}

@media (max-width: 1199.98px) {
    .landing-copy h1 { font-size: 3rem; }
    .article-thumb { width: 260px; flex-basis: 260px; }
}

@media (max-width: 991.98px) {
    .landing-copy {
        padding-right: 0;
        margin-bottom: 28px;
    }

    .landing-copy h1 {
        font-size: 2.7rem;
        text-align: center;
    }

    .landing-subtitle,
    .landing-category,
    .landing-copy p,
    .apply-directly {
        text-align: center;
    }

    .jobs-sidebar { order: 1; }
    .jobs-results { order: 2; }
    .jobs-sponsored-right { order: 3; }

    .article-item {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 767.98px) {
    .site-logo { height: 46px; }
    .brand-text { font-size: 1rem; }
    .header-accent { height: 5px; }

    .landing-hero {
        padding: 26px 0 0;
    }

    .landing-copy h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .landing-category { font-size: 1.45rem; }
    .landing-subtitle { font-size: 1.25rem; }
    .landing-copy p { font-size: 1rem; }
    .apply-directly { font-size: 2.7rem; }

    .signup-card {
        padding: 22px 16px 14px;
        margin: 0 12px;
    }

    .signup-card h2 { font-size: 1.65rem; }

    .interstitial-wrap {
        padding: 24px 0 0;
    }

    .interstitial-card {
        padding: 26px 18px 40px;
        margin: 0 12px;
    }

    .interstitial-card h1 {
        font-size: 1.9rem;
        line-height: 1.18;
    }

    .interstitial-card .btn {
        font-size: 1.05rem;
        min-height: 56px;
    }

    .jobs-topbar {
        font-size: 1.35rem;
        padding: 9px 12px;
    }

    .job-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .job-thumb,
    .job-action {
        width: 100%;
        flex: 0 0 auto;
        text-align: center;
    }

    .job-title { font-size: 1.5rem; }
    .job-action .btn { min-width: 128px; }

    .legal-content h1 {
        font-size: 2.6rem;
        line-height: 1.05;
    }

    .legal-content p,
    .legal-content li {
        font-size: 1.08rem;
        line-height: 1.55;
    }

    .article-copy h2 { font-size: 1.7rem; }
}
