/* ==========================================================================
   JobOoro — Public Jobs Directory
   File: /assets/css/jobs.css

   Requirements:
   - External CSS only
   - No Bootstrap
   - No JavaScript dependency
   - Responsive desktop / tablet / mobile
   - Blue / white JobOoro visual system
   - City skyline hero
   - Accessible focus states
   - No global navbar/footer interference
   ========================================================================== */


/* ==========================================================================
   1. JOBS PAGE DESIGN TOKENS
   ========================================================================== */

.jobs-page {
    --jobs-blue: #0b63ce;
    --jobs-blue-dark: #084b9d;
    --jobs-blue-deep: #06366f;
    --jobs-blue-light: #eaf4ff;
    --jobs-blue-pale: #f5faff;

    --jobs-white: #ffffff;
    --jobs-text: #17324d;
    --jobs-text-dark: #10263d;
    --jobs-muted: #63758a;
    --jobs-muted-light: #8797a9;

    --jobs-border: #d9e5f0;
    --jobs-border-light: #e8f0f7;

    --jobs-success: #087f5b;
    --jobs-success-bg: #e7f8f2;

    --jobs-danger: #c62828;
    --jobs-danger-bg: #fff0f0;

    --jobs-warning: #a86100;
    --jobs-warning-bg: #fff6df;

    --jobs-shadow-sm: 0 3px 12px rgba(13, 54, 91, 0.07);
    --jobs-shadow: 0 8px 28px rgba(13, 54, 91, 0.09);
    --jobs-shadow-hover: 0 14px 36px rgba(13, 54, 91, 0.14);

    --jobs-radius-sm: 7px;
    --jobs-radius: 12px;
    --jobs-radius-lg: 18px;

    --jobs-container: 1280px;

    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: var(--jobs-text);
    background: #f6faff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.6;
}

.jobs-page *,
.jobs-page *::before,
.jobs-page *::after {
    box-sizing: border-box;
}

.jobs-page img {
    max-width: 100%;
    height: auto;
}

.jobs-page a {
    color: inherit;
}

.jobs-page button,
.jobs-page input,
.jobs-page select {
    font: inherit;
}

.jobs-page h1,
.jobs-page h2,
.jobs-page h3,
.jobs-page p {
    margin-top: 0;
}

.jobs-page a:focus-visible,
.jobs-page button:focus-visible,
.jobs-page input:focus-visible,
.jobs-page select:focus-visible {
    outline: 3px solid rgba(11, 99, 206, 0.28);
    outline-offset: 3px;
}


/* ==========================================================================
   2. MAIN CONTAINER
   ========================================================================== */

.jobs-container {
    width: min(100% - 40px, var(--jobs-container));
    margin-inline: auto;
}


/* ==========================================================================
   3. HERO
   ========================================================================== */

.jobs-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 365px;
    color: var(--jobs-white);
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #084b9d 0%,
            #0b63ce 48%,
            #2785df 100%
        );
}

.jobs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            transparent 48%,
            rgba(0, 34, 75, 0.16)
        );
}

.jobs-hero__inner {
    position: relative;
    z-index: 3;
    min-height: 365px;
    padding-top: 28px;
    padding-bottom: 86px;
}

.jobs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    font-weight: 500;
}

.jobs-breadcrumbs a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.jobs-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jobs-breadcrumbs__separator {
    color: rgba(255, 255, 255, 0.46);
}

.jobs-hero__content {
    position: relative;
    z-index: 4;
    max-width: 820px;
}

.jobs-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.10);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.jobs-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.jobs-hero__description {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.04rem;
    line-height: 1.72;
}

.jobs-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.jobs-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 145px;
    min-height: 70px;
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: var(--jobs-radius);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 8px 24px rgba(0, 35, 78, 0.10);
    backdrop-filter: blur(7px);
}

.jobs-stat strong {
    display: block;
    max-width: 100%;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.jobs-stat span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}


/* ==========================================================================
   4. CITY SKYLINE
   ========================================================================== */

.jobs-skyline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.92;
}

.jobs-skyline::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: -1px;
    left: -5%;
    height: 42px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.82),
        rgba(255, 255, 255, 0.98)
    );
    clip-path: polygon(
        0 68%,
        3% 61%,
        6% 67%,
        9% 57%,
        12% 64%,
        15% 54%,
        18% 62%,
        21% 50%,
        24% 60%,
        27% 52%,
        30% 64%,
        33% 55%,
        36% 62%,
        39% 49%,
        42% 59%,
        45% 53%,
        48% 61%,
        51% 48%,
        54% 58%,
        57% 51%,
        60% 63%,
        63% 53%,
        66% 60%,
        69% 47%,
        72% 58%,
        75% 51%,
        78% 62%,
        81% 54%,
        84% 63%,
        87% 49%,
        90% 59%,
        93% 52%,
        96% 61%,
        100% 54%,
        100% 100%,
        0 100%
    );
}

.jobs-building {
    position: absolute;
    bottom: 0;
    display: block;
    width: 76px;
    background:
        linear-gradient(
            90deg,
            rgba(3, 44, 91, 0.76),
            rgba(4, 63, 124, 0.62)
        );
    box-shadow:
        inset -8px 0 0 rgba(255, 255, 255, 0.025),
        inset 7px 0 0 rgba(255, 255, 255, 0.025);
}

.jobs-building::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 11px;
    bottom: 14px;
    left: 11px;
    opacity: 0.45;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.28) 0 5px,
            transparent 5px 14px
        ),
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.22) 0 5px,
            transparent 5px 15px
        );
}

.jobs-building::after {
    content: "";
    position: absolute;
    top: -10px;
    right: 12%;
    left: 12%;
    height: 10px;
    border-radius: 3px 3px 0 0;
    background: rgba(4, 55, 111, 0.75);
}

.jobs-building--1 {
    left: 1%;
    width: 88px;
    height: 74px;
}

.jobs-building--2 {
    left: 9%;
    width: 62px;
    height: 105px;
}

.jobs-building--3 {
    left: 16%;
    width: 106px;
    height: 62px;
}

.jobs-building--4 {
    left: 27%;
    width: 74px;
    height: 124px;
}

.jobs-building--5 {
    left: 36%;
    width: 116px;
    height: 87px;
}

.jobs-building--6 {
    left: 49%;
    width: 68px;
    height: 137px;
}

.jobs-building--7 {
    left: 57%;
    width: 98px;
    height: 77px;
}

.jobs-building--8 {
    left: 69%;
    width: 70px;
    height: 115px;
}

.jobs-building--9 {
    left: 78%;
    width: 112px;
    height: 67px;
}

.jobs-building--10 {
    left: 91%;
    width: 86px;
    height: 96px;
}


/* ==========================================================================
   5. DIRECTORY AREA
   ========================================================================== */

.jobs-directory {
    position: relative;
    padding: 42px 0 64px;
    background:
        linear-gradient(
            180deg,
            #f6faff 0%,
            #ffffff 46%,
            #f5faff 100%
        );
}

.jobs-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}


/* ==========================================================================
   6. SIDEBAR
   ========================================================================== */

.jobs-sidebar {
    min-width: 0;
}

.jobs-filter-card,
.jobs-sidebar-card {
    border: 1px solid var(--jobs-border);
    border-radius: var(--jobs-radius-lg);
    background: #ffffff;
    box-shadow: var(--jobs-shadow-sm);
}

.jobs-filter-card {
    position: sticky;
    top: 20px;
    z-index: 5;
    overflow: hidden;
}

.jobs-filter-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 19px 20px;
    border-bottom: 1px solid var(--jobs-border-light);
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f9ff 100%
        );
}

.jobs-filter-card__header h2 {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.jobs-filter-reset {
    flex: 0 0 auto;
    color: var(--jobs-blue);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.jobs-filter-reset:hover {
    color: var(--jobs-blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jobs-filter-form {
    display: grid;
    gap: 15px;
    padding: 20px;
}

.jobs-field {
    min-width: 0;
}

.jobs-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--jobs-text-dark);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.jobs-field input,
.jobs-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #cddbe8;
    border-radius: 8px;
    color: var(--jobs-text);
    background: #ffffff;
    font-size: 0.9rem;
    line-height: 1.2;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.jobs-field input::placeholder {
    color: #8b9aab;
}

.jobs-field input:hover,
.jobs-field select:hover {
    border-color: #aebfd0;
}

.jobs-field input:focus,
.jobs-field select:focus {
    border-color: var(--jobs-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.11);
    outline: none;
}

.jobs-field select {
    padding-right: 38px;
    cursor: pointer;
}

.jobs-filter-button {
    width: 100%;
    min-height: 46px;
    margin-top: 3px;
    padding: 10px 17px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--jobs-blue-dark),
            var(--jobs-blue)
        );
    box-shadow: 0 7px 18px rgba(11, 99, 206, 0.22);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.jobs-filter-button:hover {
    background:
        linear-gradient(
            135deg,
            #063f87,
            #095dbf
        );
    box-shadow: 0 10px 23px rgba(11, 99, 206, 0.27);
    transform: translateY(-1px);
}

.jobs-filter-button:active {
    transform: translateY(0);
}

.jobs-sidebar-card {
    margin-top: 20px;
    padding: 20px;
}

.jobs-sidebar-card h2 {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.jobs-sidebar-card p {
    margin: 7px 0 15px;
    color: var(--jobs-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.jobs-sidebar-links {
    display: grid;
    gap: 0;
}

.jobs-sidebar-links a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--jobs-border-light);
    color: var(--jobs-blue-dark);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jobs-sidebar-links a:last-child {
    border-bottom: 0;
}

.jobs-sidebar-links a:hover {
    color: var(--jobs-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================================
   7. RESULTS HEADER
   ========================================================================== */

.jobs-results {
    min-width: 0;
}

.jobs-results__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    margin-bottom: 18px;
}

.jobs-results__count {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.jobs-results__context {
    margin: 4px 0 0;
    color: var(--jobs-muted);
    font-size: 0.88rem;
}

.jobs-results__context strong {
    color: var(--jobs-text);
    font-weight: 700;
}

.jobs-results__page {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--jobs-border);
    border-radius: 999px;
    color: var(--jobs-muted);
    background: #ffffff;
    font-size: 0.79rem;
    font-weight: 700;
    white-space: nowrap;
}


/* ==========================================================================
   8. EMPTY STATE
   ========================================================================== */

.jobs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 50px 28px;
    border: 1px solid var(--jobs-border);
    border-radius: var(--jobs-radius-lg);
    background: #ffffff;
    box-shadow: var(--jobs-shadow-sm);
    text-align: center;
}

.jobs-empty__icon {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    width: 64px;
    height: 58px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #cfe0ef;
    border-radius: 14px;
    background: var(--jobs-blue-pale);
}

.jobs-empty__icon span {
    display: block;
    width: 10px;
    border-radius: 3px 3px 0 0;
    background: var(--jobs-blue);
}

.jobs-empty__icon span:nth-child(1) {
    height: 22px;
    opacity: 0.65;
}

.jobs-empty__icon span:nth-child(2) {
    height: 33px;
}

.jobs-empty__icon span:nth-child(3) {
    height: 26px;
    opacity: 0.8;
}

.jobs-empty h2 {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: 1.35rem;
    line-height: 1.3;
}

.jobs-empty p {
    max-width: 560px;
    margin: 10px auto 0;
    color: var(--jobs-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.jobs-empty__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 10px 17px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--jobs-blue);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        transform 160ms ease;
}

.jobs-empty__button:hover {
    background: var(--jobs-blue-dark);
    transform: translateY(-1px);
}


/* ==========================================================================
   9. JOB LIST
   ========================================================================== */

.jobs-list {
    display: grid;
    gap: 16px;
}


/* ==========================================================================
   10. JOB CARD
   ========================================================================== */

.job-card {
    position: relative;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--jobs-border);
    border-radius: var(--jobs-radius-lg);
    background: #ffffff;
    box-shadow: var(--jobs-shadow-sm);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.job-card:hover {
    border-color: #c1d8ec;
    box-shadow: var(--jobs-shadow-hover);
    transform: translateY(-2px);
}

.job-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.job-card__heading {
    min-width: 0;
    flex: 1 1 auto;
}

.job-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
}

.job-badge--urgent {
    color: var(--jobs-danger);
    background: var(--jobs-danger-bg);
    border: 1px solid #ffd2d2;
}

.job-badge--featured {
    color: var(--jobs-warning);
    background: var(--jobs-warning-bg);
    border: 1px solid #f4dfac;
}

.job-card__title {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    font-weight: 800;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.job-card__title a {
    color: var(--jobs-blue-dark);
    text-decoration: none;
}

.job-card__title a:hover {
    color: var(--jobs-blue);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.job-card__employer {
    display: inline-block;
    max-width: 100%;
    margin-top: 6px;
    color: #3d607e;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.job-card__employer:hover {
    color: var(--jobs-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================================
   11. JOB META
   ========================================================================== */

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    margin-top: 15px;
    color: var(--jobs-muted);
    font-size: 0.81rem;
    line-height: 1.45;
}

.job-card__meta > span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

.job-card__meta > span > span[aria-hidden="true"] {
    flex: 0 0 auto;
    margin-right: 5px;
    color: var(--jobs-blue);
    font-size: 0.86rem;
}


/* ==========================================================================
   12. JOB DESCRIPTION
   ========================================================================== */

.job-card__description {
    margin: 15px 0 0;
    color: #52677b;
    font-size: 0.89rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}


/* ==========================================================================
   13. JOB DETAILS
   ========================================================================== */

.job-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.job-card__details span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 100%;
    padding: 4px 9px;
    border: 1px solid var(--jobs-border-light);
    border-radius: 999px;
    color: #49647c;
    background: #f8fbfe;
    font-size: 0.73rem;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}


/* ==========================================================================
   14. JOB FOOTER
   ========================================================================== */

.job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid var(--jobs-border-light);
}

.job-card__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    min-width: 0;
    color: var(--jobs-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.job-card__dates span {
    overflow-wrap: anywhere;
}

.job-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            var(--jobs-blue-dark),
            var(--jobs-blue)
        );
    box-shadow: 0 5px 14px rgba(11, 99, 206, 0.17);
    font-size: 0.81rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.job-card__link span {
    margin-left: 5px;
    color: #ffffff;
    font-size: 0.95rem;
}

.job-card__link:hover {
    color: #ffffff !important;
    background:
        linear-gradient(
            135deg,
            #063f87,
            #095dbf
        );
    box-shadow: 0 8px 18px rgba(11, 99, 206, 0.23);
    transform: translateY(-1px);
}


/* ==========================================================================
   15. SOURCE ATTRIBUTION
   ========================================================================== */

.job-card__source {
    margin-top: 11px;
    color: #8392a1;
    font-size: 0.72rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.job-card__source a {
    color: #59748d;
    font-weight: 700;
    text-decoration: none;
}

.job-card__source a:hover {
    color: var(--jobs-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ==========================================================================
   16. PAGINATION
   ========================================================================== */

.jobs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
}

.jobs-pagination__link,
.jobs-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.jobs-pagination__link {
    border: 1px solid #cbdceb;
    color: var(--jobs-blue-dark);
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.jobs-pagination__link:hover {
    border-color: var(--jobs-blue);
    color: #ffffff;
    background: var(--jobs-blue);
    transform: translateY(-1px);
}

.jobs-pagination__current {
    border: 1px solid var(--jobs-blue);
    color: #ffffff;
    background: var(--jobs-blue);
}


/* ==========================================================================
   17. DISCOVERY SECTION
   ========================================================================== */

.jobs-discovery {
    padding: 58px 0 70px;
    border-top: 1px solid #e1ebf4;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f3f8fd 100%
        );
}

.jobs-discovery__heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.jobs-discovery__heading .jobs-eyebrow {
    color: var(--jobs-blue-dark);
    border-color: #c9def2;
    background: var(--jobs-blue-light);
}

.jobs-discovery__heading h2 {
    margin: 0;
    color: var(--jobs-text-dark);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.jobs-discovery__heading p:last-child {
    max-width: 650px;
    margin: 10px auto 0;
    color: var(--jobs-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.jobs-discovery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.jobs-discovery-card {
    min-width: 0;
    padding: 23px;
    border: 1px solid var(--jobs-border);
    border-radius: var(--jobs-radius-lg);
    background: #ffffff;
    box-shadow: var(--jobs-shadow-sm);
}

.jobs-discovery-card h3 {
    margin: 0 0 12px;
    color: var(--jobs-text-dark);
    font-size: 1rem;
    font-weight: 800;
}

.jobs-discovery-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.jobs-discovery-links a {
    display: block;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid var(--jobs-border-light);
    color: var(--jobs-blue-dark);
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jobs-discovery-links a:last-child {
    border-bottom: 0;
}

.jobs-discovery-links a:hover {
    color: var(--jobs-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================================
   18. LARGE DESKTOP
   ========================================================================== */

@media (min-width: 1441px) {
    .jobs-container {
        width: min(100% - 64px, 1340px);
    }

    .jobs-hero {
        min-height: 390px;
    }

    .jobs-hero__inner {
        min-height: 390px;
        padding-top: 34px;
        padding-bottom: 100px;
    }

    .jobs-directory {
        padding-top: 50px;
    }

    .jobs-layout {
        grid-template-columns: 330px minmax(0, 1fr);
        gap: 34px;
    }
}


/* ==========================================================================
   19. DESKTOP / LAPTOP
   ========================================================================== */

@media (max-width: 1200px) {
    .jobs-layout {
        grid-template-columns: 285px minmax(0, 1fr);
        gap: 24px;
    }

    .jobs-filter-form {
        padding: 17px;
    }

    .jobs-filter-card__header {
        padding: 17px;
    }

    .job-card {
        padding: 20px;
    }
}


/* ==========================================================================
   20. TABLET LANDSCAPE
   ========================================================================== */

@media (max-width: 980px) {
    .jobs-container {
        width: min(100% - 32px, var(--jobs-container));
    }

    .jobs-hero {
        min-height: 350px;
    }

    .jobs-hero__inner {
        min-height: 350px;
        padding-bottom: 76px;
    }

    .jobs-breadcrumbs {
        margin-bottom: 34px;
    }

    .jobs-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .jobs-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
        gap: 18px;
        align-items: start;
    }

    .jobs-filter-card {
        position: static;
    }

    .jobs-sidebar-card {
        margin-top: 0;
    }

    .jobs-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-filter-button {
        grid-column: 1 / -1;
    }

    .jobs-discovery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-discovery-card:last-child {
        grid-column: 1 / -1;
    }
}


/* ==========================================================================
   21. TABLET PORTRAIT
   ========================================================================== */

@media (max-width: 760px) {
    .jobs-container {
        width: min(100% - 28px, var(--jobs-container));
    }

    .jobs-hero {
        min-height: 330px;
    }

    .jobs-hero__inner {
        min-height: 330px;
        padding-top: 22px;
        padding-bottom: 72px;
    }

    .jobs-breadcrumbs {
        margin-bottom: 28px;
        font-size: 0.8rem;
    }

    .jobs-hero__description {
        font-size: 0.94rem;
        line-height: 1.62;
    }

    .jobs-hero__stats {
        margin-top: 20px;
    }

    .jobs-stat {
        min-width: 130px;
        min-height: 62px;
        padding: 9px 13px;
    }

    .jobs-stat strong {
        font-size: 0.98rem;
    }

    .jobs-skyline {
        height: 125px;
    }

    .jobs-building--1 {
        left: -2%;
    }

    .jobs-building--2 {
        left: 8%;
    }

    .jobs-building--3 {
        left: 18%;
    }

    .jobs-building--4 {
        left: 31%;
    }

    .jobs-building--5 {
        left: 43%;
    }

    .jobs-building--6 {
        left: 55%;
    }

    .jobs-building--7 {
        left: 67%;
    }

    .jobs-building--8 {
        left: 76%;
    }

    .jobs-building--9 {
        left: 86%;
    }

    .jobs-building--10 {
        left: 97%;
    }

    .jobs-directory {
        padding: 30px 0 48px;
    }

    .jobs-sidebar {
        display: block;
    }

    .jobs-sidebar-card {
        margin-top: 18px;
    }

    .jobs-filter-card {
        position: static;
    }

    .jobs-filter-form {
        grid-template-columns: 1fr;
    }

    .jobs-filter-button {
        grid-column: auto;
    }

    .jobs-results__top {
        align-items: flex-start;
    }

    .jobs-results__page {
        font-size: 0.74rem;
    }

    .job-card {
        padding: 18px;
    }

    .job-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .job-card__link {
        width: 100%;
    }

    .jobs-discovery {
        padding: 44px 0 54px;
    }

    .jobs-discovery__grid {
        grid-template-columns: 1fr;
    }

    .jobs-discovery-card:last-child {
        grid-column: auto;
    }
}


/* ==========================================================================
   22. MOBILE
   ========================================================================== */

@media (max-width: 560px) {
    .jobs-container {
        width: min(100% - 22px, var(--jobs-container));
    }

    .jobs-hero {
        min-height: 315px;
    }

    .jobs-hero__inner {
        min-height: 315px;
        padding-top: 18px;
        padding-bottom: 60px;
    }

    .jobs-breadcrumbs {
        gap: 5px;
        margin-bottom: 23px;
        font-size: 0.75rem;
    }

    .jobs-eyebrow {
        margin-bottom: 9px;
        padding: 5px 9px;
        font-size: 0.66rem;
    }

    .jobs-hero h1 {
        font-size: clamp(1.72rem, 8vw, 2.25rem);
        line-height: 1.1;
    }

    .jobs-hero__description {
        margin-top: 13px;
        font-size: 0.87rem;
    }

    .jobs-hero__stats {
        gap: 8px;
        margin-top: 16px;
    }

    .jobs-stat {
        min-width: 0;
        min-height: 56px;
        padding: 8px 11px;
    }

    .jobs-stat strong {
        font-size: 0.9rem;
    }

    .jobs-stat span {
        font-size: 0.68rem;
    }

    .jobs-skyline {
        height: 105px;
    }

    .jobs-building {
        width: 60px;
    }

    .jobs-building--1 {
        height: 54px;
    }

    .jobs-building--2 {
        height: 80px;
    }

    .jobs-building--3 {
        height: 48px;
    }

    .jobs-building--4 {
        height: 94px;
    }

    .jobs-building--5 {
        height: 68px;
    }

    .jobs-building--6 {
        height: 104px;
    }

    .jobs-building--7 {
        height: 60px;
    }

    .jobs-building--8 {
        height: 87px;
    }

    .jobs-building--9 {
        height: 52px;
    }

    .jobs-building--10 {
        height: 72px;
    }

    .jobs-directory {
        padding: 24px 0 40px;
    }

    .jobs-filter-card,
    .jobs-sidebar-card,
    .job-card,
    .jobs-empty,
    .jobs-discovery-card {
        border-radius: 13px;
    }

    .jobs-filter-card__header {
        padding: 15px;
    }

    .jobs-filter-form {
        gap: 13px;
        padding: 15px;
    }

    .jobs-field input,
    .jobs-field select {
        height: 44px;
        font-size: 0.86rem;
    }

    .jobs-filter-button {
        min-height: 44px;
    }

    .jobs-sidebar-card {
        padding: 16px;
    }

    .jobs-results__top {
        display: block;
        margin-bottom: 14px;
    }

    .jobs-results__count {
        font-size: 1.05rem;
    }

    .jobs-results__context {
        font-size: 0.82rem;
    }

    .jobs-results__page {
        display: inline-flex;
        margin-top: 9px;
    }

    .jobs-list {
        gap: 12px;
    }

    .job-card {
        padding: 15px;
    }

    .job-card__title {
        font-size: 1.04rem;
    }

    .job-card__employer {
        font-size: 0.83rem;
    }

    .job-card__meta {
        display: grid;
        gap: 6px;
        margin-top: 13px;
        font-size: 0.78rem;
    }

    .job-card__description {
        margin-top: 13px;
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .job-card__details {
        gap: 5px;
        margin-top: 12px;
    }

    .job-card__details span {
        font-size: 0.68rem;
    }

    .job-card__footer {
        margin-top: 15px;
        padding-top: 13px;
    }

    .job-card__dates {
        width: 100%;
        font-size: 0.7rem;
    }

    .job-card__link {
        min-height: 42px;
    }

    .jobs-pagination {
        gap: 7px;
        margin-top: 19px;
    }

    .jobs-pagination__link,
    .jobs-pagination__current {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.75rem;
    }

    .jobs-empty {
        min-height: 330px;
        padding: 35px 18px;
    }

    .jobs-empty h2 {
        font-size: 1.15rem;
    }

    .jobs-empty p {
        font-size: 0.84rem;
    }

    .jobs-discovery {
        padding: 38px 0 46px;
    }

    .jobs-discovery__heading {
        margin-bottom: 22px;
    }

    .jobs-discovery__heading h2 {
        font-size: 1.4rem;
    }

    .jobs-discovery__heading p:last-child {
        font-size: 0.83rem;
    }

    .jobs-discovery-card {
        padding: 17px;
    }
}


/* ==========================================================================
   23. SMALL PHONES
   ========================================================================== */

@media (max-width: 420px) {
    .jobs-container {
        width: min(100% - 18px, var(--jobs-container));
    }

    .jobs-hero {
        min-height: 305px;
    }

    .jobs-hero__inner {
        min-height: 305px;
    }

    .jobs-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-stat {
        width: 100%;
    }

    .jobs-filter-card__header {
        gap: 8px;
    }

    .jobs-filter-card__header h2 {
        font-size: 0.95rem;
    }

    .job-card__badges {
        margin-bottom: 7px;
    }

    .job-badge {
        min-height: 22px;
        padding: 3px 7px;
        font-size: 0.62rem;
    }

    .job-card__meta > span {
        align-items: flex-start;
    }

    .jobs-pagination {
        justify-content: stretch;
    }

    .jobs-pagination__link,
    .jobs-pagination__current {
        flex: 1 1 auto;
        text-align: center;
    }
}


/* ==========================================================================
   24. VERY SMALL PHONES
   ========================================================================== */

@media (max-width: 350px) {
    .jobs-container {
        width: min(100% - 14px, var(--jobs-container));
    }

    .jobs-hero h1 {
        font-size: 1.58rem;
    }

    .jobs-hero__description {
        font-size: 0.82rem;
    }

    .jobs-stat strong {
        font-size: 0.82rem;
    }

    .jobs-stat span {
        font-size: 0.62rem;
    }

    .jobs-filter-form {
        padding: 12px;
    }

    .job-card {
        padding: 13px;
    }

    .job-card__title {
        font-size: 0.98rem;
    }

    .job-card__link {
        font-size: 0.76rem;
    }
}


/* ==========================================================================
   25. TOUCH DEVICES
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
    .jobs-filter-button,
    .jobs-empty__button,
    .job-card__link,
    .jobs-pagination__link {
        min-height: 44px;
    }

    .jobs-sidebar-links a,
    .jobs-discovery-links a {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .job-card:hover {
        transform: none;
        box-shadow: var(--jobs-shadow-sm);
    }
}


/* ==========================================================================
   26. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .jobs-page *,
    .jobs-page *::before,
    .jobs-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .job-card:hover,
    .job-card__link:hover,
    .jobs-filter-button:hover,
    .jobs-empty__button:hover,
    .jobs-pagination__link:hover {
        transform: none;
    }
}


/* ==========================================================================
   27. PRINT
   ========================================================================== */

@media print {
    .jobs-page {
        color: #000000;
        background: #ffffff;
    }

    .jobs-hero {
        min-height: auto;
        padding-bottom: 0;
        color: #000000;
        background: #ffffff;
        border-bottom: 2px solid #000000;
    }

    .jobs-hero::before,
    .jobs-skyline,
    .jobs-filter-card,
    .jobs-sidebar-card,
    .jobs-discovery,
    .jobs-pagination,
    .job-card__link {
        display: none !important;
    }

    .jobs-hero__inner {
        min-height: auto;
        padding: 20px 0;
    }

    .jobs-breadcrumbs {
        color: #333333;
        margin-bottom: 15px;
    }

    .jobs-breadcrumbs a,
    .jobs-breadcrumbs span {
        color: #333333;
    }

    .jobs-hero h1 {
        color: #000000;
        font-size: 24pt;
    }

    .jobs-hero__description {
        color: #333333;
    }

    .jobs-stat {
        border: 1px solid #cccccc;
        color: #000000;
        background: #ffffff;
        box-shadow: none;
    }

    .jobs-stat strong,
    .jobs-stat span {
        color: #000000;
    }

    .jobs-directory {
        padding: 20px 0;
        background: #ffffff;
    }

    .jobs-layout {
        display: block;
    }

    .jobs-results__top {
        margin-bottom: 15px;
    }

    .jobs-results__page {
        border-color: #cccccc;
        color: #000000;
        background: #ffffff;
    }

    .jobs-list {
        gap: 12px;
    }

    .job-card {
        break-inside: avoid;
        border: 1px solid #cccccc;
        box-shadow: none;
        background: #ffffff;
    }

    .job-card:hover {
        transform: none;
        box-shadow: none;
    }

    .job-card__title a,
    .job-card__employer,
    .job-card__source a {
        color: #000000;
    }

    .job-card__description,
    .job-card__meta,
    .job-card__dates,
    .job-card__source {
        color: #333333;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /* ==========================================================================
   APPEND to /assets/css/jobs.css
   ========================================================================== */

/* Select fields added to the filter form (match your existing input style). */
.jobs-field select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd3df;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
}

.jobs-field select:hover {
    border-color: #aeb8c8;
}

.jobs-field select:focus-visible {
    border-color: #155eef;
    outline: 3px solid rgba(21, 94, 239, 0.25);
    outline-offset: 2px;
}

/* Apply-safely card */
.jobs-safety-card {
    margin-top: 1rem;
    padding: 1.1rem 1.2rem;
    background: #f6f8fb;
    border: 1px solid #e2e7ef;
    border-radius: 12px;
}

.jobs-safety-card h2 {
    margin: 0 0 0.6rem;
    color: #172033;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.3;
}

.jobs-safety-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #566176;
    font-size: 0.86rem;
    line-height: 1.6;
}

.jobs-safety-card li + li {
    margin-top: 0.35rem;
}

.jobs-safety-card a {
    color: #155eef;
    font-weight: 650;
}

/* Ads: clearly separated and labelled, never styled like content/navigation. */
.jobs-ad-slot {
    margin: 1.5rem 0;
    padding: 0.75rem;
    min-height: 120px;
    background: #ffffff;
    border: 1px dashed #cbd3df;
    border-radius: 8px;
    text-align: center;
}

.jobs-ad-slot--inline {
    margin: 2rem 0;
}

.jobs-ad-slot__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6f7a8d;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jobs-ad-slot .adsbygoogle {
    display: block;
}
}