
:root {
    --nss-blue: #2cbee8;
    --nss-blue-dark: #1a9cc4;
    --nss-blue-light: #e8f8fd;
    --nss-blue-mid: #b3e8f7;
    --nss-yellow: #FFC107;
    --nss-yellow-dark: #E6AC00;
    --nss-yellow-light: #FFF8E1;
    --nss-yellow-mid: #FFECB3;
    --nss-navy: #1a2e44;
    --nss-navy-soft: #2d4a63;
    --nss-gray-50: #F9FAFB;
    --nss-gray-100: #F3F4F6;
    --nss-gray-200: #E9ECF0;
    --nss-gray-300: #D1D5DB;
    --nss-gray-500: #6B7280;
    --nss-gray-700: #374151;
    --nss-white: #FFFFFF;
    --nss-radius: 14px;
    --nss-radius-sm: 8px;
    --nss-radius-lg: 20px;
    --nss-shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --nss-shadow-md: 0 4px 18px rgba(0,0,0,0.09),0 2px 6px rgba(0,0,0,0.04);
    --nss-t: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* Scoped reset — was previously a global `* { box-sizing }` which
       leaked outside this page and could affect the shared navbar's
       box model. Scoped to this page's own subtree only. */
.jab-scope, .jab-scope *, .jab-scope *::before, .jab-scope *::after {
    box-sizing: border-box;
}

.jab-page {
    background: var(--nss-gray-50);
    font-family: 'Inter', sans-serif;
    padding: 0 0 60px;
    min-height: 100vh;
    /* Top offset is set dynamically via JS (see bottom of file) to
           exactly match the live height of #main-nav, so this never
           overlaps the navbar even if the nav's height changes
           (e.g. on different breakpoints or future redesigns). No extra
           top padding here — the page content sits flush against the
           navbar with zero gap. */
}

/* ── Page header ── */
.jab-pagehead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    padding-top: 5px;
}

.jab-title {
    font-family: 'Georgia', 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nss-navy);
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.01em;
}

    .jab-title .jab-title-badge {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--nss-navy) 0%, var(--nss-navy-soft) 100%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--nss-yellow);
        font-size: 1.25rem;
        flex-shrink: 0;
        box-shadow: 0 4px 14px rgba(26,46,68,0.28);
    }

    .jab-title .jab-title-text {
        position: relative;
    }

        .jab-title .jab-title-text::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 44px;
            height: 4px;
            border-radius: 4px;
            background: var(--nss-yellow);
        }

.jab-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: var(--nss-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--nss-t);
    flex-shrink: 0;
    white-space: nowrap;
}

    .jab-whatsapp:hover {
        background: #1eb858;
        color: white;
    }

/* ── Header action row — WhatsApp + compact Filters toggle, side by side ── */
.jab-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.jab-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--nss-navy);
    border: 1.5px solid var(--nss-gray-200);
    padding: 10px 18px;
    border-radius: var(--nss-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--nss-t);
    white-space: nowrap;
}

    .jab-filters-btn:hover {
        border-color: var(--nss-blue-mid);
        background: var(--nss-blue-light);
    }

    .jab-filters-btn.active {
        border-color: var(--nss-blue);
        background: var(--nss-blue-light);
        color: var(--nss-blue-dark);
    }

.jab-sub {
    color: var(--nss-gray-500);
    font-size: 0.88rem;
    margin: 8px 0 16px;
    max-width: 640px;
    line-height: 1.6;
}

    .jab-sub .jab-sub-highlight {
        color: var(--nss-blue-dark);
        font-weight: 700;
    }

/* ── Recruiter CTA strip — same accent-bar language as the resume banner ── */
.jab-recruiter-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1.5px solid var(--nss-gray-200);
    border-radius: var(--nss-radius-sm);
    padding: 12px 16px 12px 18px;
    margin-bottom: 20px;
    font-size: 0.84rem;
    color: var(--nss-gray-700);
}

    .jab-recruiter-cta::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--nss-blue);
        border-radius: var(--nss-radius-sm) 0 0 var(--nss-radius-sm);
    }

    .jab-recruiter-cta a {
        color: var(--nss-blue-dark);
        font-weight: 700;
        text-decoration: none;
    }

        .jab-recruiter-cta a:hover {
            text-decoration: underline;
        }

/* ── SECTION 1: Filter — triggered from the compact header button now,
       so the old full-width "Filter Jobs" bar is hidden. The card border
       only appears once the body is actually expanded, so a collapsed
       filter panel takes up no visual space (matches the target design). */
.jab-filter-card {
    background: white;
    border: 1.5px solid transparent;
    border-radius: var(--nss-radius);
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: none;
    transition: border-color var(--nss-t), box-shadow var(--nss-t), margin-bottom var(--nss-t);
}

    .jab-filter-card:has(.jab-filter-body:not(.collapsed)) {
        border-color: var(--nss-gray-200);
        box-shadow: var(--nss-shadow-sm);
        margin-bottom: 22px;
        overflow: visible;
    }

.jab-filter-header {
    display: none;
}

.jab-filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--nss-navy);
}

    .jab-filter-label i {
        color: white;
        background: var(--nss-blue);
        width: 28px;
        height: 28px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }

#filterToggleIcon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--nss-blue-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nss-blue-dark);
    transition: all var(--nss-t);
    flex-shrink: 0;
}

    #filterToggleIcon i {
        transition: transform var(--nss-t);
    }

/* collapsed = default state driven entirely by JS toggling
       this class on #filterBody (jobAdv.js untouched) */
.jab-filter-body {
    max-height: 400px;
    opacity: 1;
    padding: 18px 20px 22px;
    background: var(--nss-gray-50);
    transition: max-height var(--nss-t), opacity var(--nss-t), padding var(--nss-t);
    overflow: visible;
}

    .jab-filter-body.collapsed {
        max-height: 0;
        opacity: 0;
        padding: 0 20px;
        border-top: none;
        overflow: hidden;
    }

.jab-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-top: 18px;
}

.jab-form-group {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jab-form-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--nss-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .jab-form-label i {
        color: var(--nss-blue-dark);
        font-size: 0.78rem;
    }

/* Plain native <select>, styled to match the design system.
       jobAdv.js still calls $('.ui.dropdown').dropdown() — that's
       a Semantic UI no-op if Semantic UI isn't loaded, harmless,
       so the .ui.dropdown class is kept for JS compatibility but
       the VISUAL styling below is what actually renders. */
.jab-form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--nss-gray-300);
    border-radius: var(--nss-radius-sm);
    font-size: 0.87rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--nss-navy);
    background-color: white;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color var(--nss-t), box-shadow var(--nss-t);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%231a9cc4' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

    .jab-form-select:hover {
        border-color: var(--nss-blue-mid);
    }

    .jab-form-select:focus {
        outline: none;
        border-color: var(--nss-blue);
        box-shadow: 0 0 0 3px rgba(44,190,232,0.15);
    }

/* ── Custom search-combobox (City / Skill) ──
       A plain text input + floating filtered menu, built without any
       dependency on Semantic UI / Bootstrap's dropdown widgets (which
       were conflicting with each other). Typing filters the list by a
       contains-anywhere ("wildcard") match against the option text —
       there is no selectable "All Cities"/"All Skills" item; an empty
       hidden value simply means "no filter", shown via placeholder text
       on the input itself. */
.jab-combo-group {
    position: relative;
}

.jab-combobox {
    position: relative;
}

.jab-combo-input {
    width: 100%;
    padding: 12px 34px 12px 14px;
    border: 1.5px solid var(--nss-gray-300);
    border-radius: var(--nss-radius-sm);
    font-size: 0.87rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--nss-navy);
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color var(--nss-t), box-shadow var(--nss-t);
    box-sizing: border-box;
}

    .jab-combo-input::placeholder {
        color: var(--nss-gray-400);
        font-weight: 500;
    }

    .jab-combo-input:hover {
        border-color: var(--nss-blue-mid);
    }

    .jab-combo-input:focus {
        outline: none;
        border-color: var(--nss-blue);
        box-shadow: 0 0 0 3px rgba(44,190,232,0.15);
    }

.jab-combo-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nss-gray-400);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color var(--nss-t);
}

    .jab-combo-clear:hover {
        color: var(--nss-red, #e0433d);
    }

.jab-combo-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 260px;
    overflow-y: auto;
    background: white;
    border: 1.5px solid var(--nss-gray-200);
    border-radius: var(--nss-radius-sm);
    box-shadow: var(--nss-shadow-md);
    z-index: 40;
    padding: 6px;
}

    .jab-combo-menu.open {
        display: block;
    }

.jab-combo-item {
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nss-navy);
    cursor: pointer;
    transition: background var(--nss-t);
}

    .jab-combo-item:hover,
    .jab-combo-item.active {
        background: var(--nss-blue-light);
        color: var(--nss-blue-dark);
    }

    .jab-combo-item mark {
        background: none;
        color: var(--nss-blue-dark);
        font-weight: 800;
        padding: 0;
    }

.jab-combo-empty {
    padding: 10px 12px;
    font-size: 0.83rem;
    color: var(--nss-gray-400);
    font-weight: 500;
    text-align: center;
}

.jab-btn-search {
    background: var(--nss-yellow) !important;
    color: var(--nss-navy) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: var(--nss-radius-sm) !important;
    font-size: 0.87rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255,193,7,0.35);
    transition: background var(--nss-t), transform var(--nss-t);
    white-space: nowrap;
}

    .jab-btn-search:hover {
        background: var(--nss-yellow-dark) !important;
        transform: translateY(-1px);
    }

/* ── SECTION 2: Job grid — responsive, width-aware ── */
.jab-section-title {
    font-family: 'Georgia', 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nss-navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jab-job-wrapper {
    padding: 0;
}

.jab-job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 620px;
    gap: 20px;
}

.jab-job-card {
    background: var(--nss-white);
    border: 1px solid var(--nss-gray-200);
    border-radius: var(--nss-radius);
    overflow: hidden;
    box-shadow: var(--nss-shadow-sm);
    transition: box-shadow var(--nss-t), border-color var(--nss-t);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .jab-job-card:hover {
        box-shadow: var(--nss-shadow-md);
        border-color: var(--nss-gray-300);
    }

    /* Same reasoning as .jab-job-content above — don't clip the
           expanded skills overlay at the card's rounded edge. */
    .jab-job-card:has(.jab-skill-container.expanded) {
        overflow: visible;
        z-index: 10;
    }

/* ── Header zone — FIXED height so every card in a row lines up
       identically, regardless of how long the job title is. ── */
.jab-job-header {
    flex: 0 0 auto;
    height: 46px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 14px;
    background: var(--nss-navy);
}

.jab-job-title {
    font-size: 0.83rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jab-btn-view-jd-top {
    flex-shrink: 0;
    background: var(--nss-yellow);
    color: var(--nss-navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--nss-t);
}

    .jab-btn-view-jd-top:hover {
        background: var(--nss-yellow-dark);
        color: var(--nss-navy);
    }

/* ── Body zone — the ad image fills the FULL card width/height.
       object-fit:cover crops to fill rather than letterboxing, so every
       card's image area is completely full — no empty bars top/bottom
       or left/right, matching the card's own dimensions exactly. */
.jab-job-image-wrapper {
    flex: 1 1 auto;
    width: 100%;
    background: var(--nss-gray-100);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jab-job-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--nss-t);
    /* If the src fails, the browser shows alt text in place of
           the broken-image icon — make that text legible instead of
           tiny unstyled system font collapsing the box to nothing. */
    color: var(--nss-gray-500);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}

.jab-job-image-wrapper:hover .jab-job-image {
    transform: scale(1.03);
}

/* ── Footer zone — company / location / skills / CTA — FIXED height,
       identical across every card so the image areas above line up
       perfectly across a row regardless of content length. ── */
.jab-job-content {
    flex: 0 0 auto;
    height: 118px;
    box-sizing: border-box;
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid var(--nss-gray-100);
    overflow: hidden;
    position: relative;
}

    /* When a skill panel inside is expanded, let it overflow visibly
           instead of being clipped by this zone's fixed height. */
    .jab-job-content:has(.jab-skill-container.expanded) {
        overflow: visible;
    }

.jab-job-company-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.jab-job-company {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--nss-navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.jab-job-location {
    font-size: 0.74rem;
    color: var(--nss-gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .jab-job-location i {
        color: var(--nss-blue-dark);
    }

/* ── Skills — same pill language as the job-detail panel ──
       Collapsed: capped to one row so every card's footer stays a
       fixed height (keeps cards aligned in a row).
       Expanded (.expanded, toggled by "+N"): breaks out of that cap
       as a floating panel so every hidden skill is fully visible,
       instead of being clipped by the fixed-height footer. */
.jab-skill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 26px;
    overflow: hidden;
    position: relative;
}

    .jab-skill-container.expanded {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 34px;
        z-index: 30;
        max-height: none;
        overflow: visible;
        background: var(--nss-white);
        padding: 10px;
        border-radius: var(--nss-radius-sm);
        border: 1.5px solid var(--nss-gray-200);
        box-shadow: var(--nss-shadow-md);
    }

.jab-skill-badge {
    background: var(--nss-yellow-light);
    color: #7C6209;
    border: 1px solid var(--nss-yellow-mid);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
}

.jab-skill-container:not(.expanded) .jab-extra-skill {
    display: none;
}

.jab-skill-more {
    background: var(--nss-gray-100);
    color: var(--nss-gray-700);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: background var(--nss-t);
}

    .jab-skill-more:hover {
        background: var(--nss-gray-200);
    }

.jab-job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--nss-gray-100);
    margin-top: auto;
}

.jab-job-date {
    font-size: 0.7rem;
    color: var(--nss-gray-500);
}

.jab-btn-contact-hr {
    background: none;
    border: 1.5px solid var(--nss-blue-mid);
    color: var(--nss-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--nss-radius-sm);
    cursor: pointer;
    transition: all var(--nss-t);
    white-space: nowrap;
}

    .jab-btn-contact-hr:hover {
        background: var(--nss-blue-light);
    }

/* ── Loader ── */
#loader {
    padding: 30px 0;
}

    #loader .ui.active.inline.loader {
        width: 30px;
        height: 30px;
        border: 3px solid var(--nss-gray-200);
        border-top-color: var(--nss-blue);
        border-radius: 50%;
        display: inline-block;
        animation: jab-spin 0.7s linear infinite;
    }

@keyframes jab-spin {
    to {
        transform: rotate(360deg);
    }
}

#loadMoreContainer {
    margin: 24px 0 !important;
}

#btnLoadMore {
    background: white !important;
    color: var(--nss-navy) !important;
    border: 1.5px solid var(--nss-gray-200) !important;
    padding: 11px 28px !important;
    border-radius: var(--nss-radius-sm) !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all var(--nss-t);
}

    #btnLoadMore:hover {
        border-color: var(--nss-blue) !important;
        color: var(--nss-blue-dark) !important;
    }

/* ── Image modal ── */
.jab-img-modal {
    position: fixed;
    inset: 0;
    background: rgba(13,20,30,0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jab-modal-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--nss-radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.jab-close-btn {
    position: absolute;
    top: 18px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.85;
    transition: opacity var(--nss-t);
}

    .jab-close-btn:hover {
        opacity: 1;
    }

.jab-modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--nss-t);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .jab-modal-nav-btn:hover {
        background: rgba(255,255,255,0.22);
    }

    .jab-modal-nav-btn.left {
        left: 22px;
    }

    .jab-modal-nav-btn.right {
        right: 22px;
    }

/* ── HR contact modal ── */
.jab-hr-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(13,20,30,0.6);
    backdrop-filter: blur(3px);
}

.jab-hr-modal-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 22px 24px 30px;
    text-align: center;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
    max-width: 440px;
    margin: 0 auto;
}

.jab-sheet-handle {
    width: 50px;
    height: 5px;
    background: var(--nss-gray-300);
    border-radius: 10px;
    margin: 0 auto 18px;
}

.jab-hr-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--nss-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nss-yellow);
    font-size: 1.7rem;
}

.jab-hr-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--nss-navy);
}

.jab-hr-subtitle {
    color: var(--nss-gray-500);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.jab-hr-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.jab-feature-item {
    background: var(--nss-gray-50);
    border-radius: var(--nss-radius-sm);
    padding: 11px 14px;
    font-size: 0.84rem;
    color: var(--nss-navy-soft);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

    .jab-feature-item i {
        color: var(--nss-blue-dark);
        width: 16px;
    }

.jab-btn-download-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: var(--nss-navy);
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: var(--nss-radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background var(--nss-t);
}

    .jab-btn-download-app:hover {
        background: var(--nss-navy-soft);
        color: white;
    }

.jab-btn-not-now {
    background: none;
    border: none;
    color: var(--nss-gray-500);
    margin-top: 14px;
    font-size: 0.82rem;
    cursor: pointer;
}

    .jab-btn-not-now:hover {
        color: var(--nss-navy);
    }

/* ── Width-aware responsiveness ──
       Mobile: single column, taller rows (more reading room).
       Tablet: 2-up. Desktop: 3-up — the default set above. */
@media (max-width: 575px) {
    .jab-job-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 560px;
    }

    .jab-title {
        font-size: 1.25rem;
    }

    .jab-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .jab-form-group {
        min-width: 100%;
    }

    .jab-pagehead {
        flex-direction: column;
    }

    .jab-header-actions {
        width: 100%;
    }

    .jab-whatsapp,
    .jab-filters-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .jab-job-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 600px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .jab-job-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 620px;
    }
}

.jab-job-image-wrapper {
    width: 100%;
    height: 220px; /* keep your existing height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.jab-job-image {
    width: 98%;
    height: 98%;
    object-fit: inherit;
    display: block;
    margin: auto;
}

