/* ================================
   JOB LISTING WRAPPER
================================ */

.jobs-listing-wrapper {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}


/* ================================
   FILTER
================================ */

.jobs-filter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.jobs-filter label {
    font-size: 14px;
    color: #667085;
}

.jobs-filter select {
    width: 140px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    outline: none;
}


/* ================================
   CATEGORY
================================ */

.jobs-category {
    padding: 28px 0 24px;
    border-top: 1px solid #e5e7eb;
}

.jobs-category:first-child {
    border-top: 0;
}


/* Category heading */

.jobs-category-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.jobs-category-heading h4 {
    margin: 0;
    padding: 0;

    font-size: 17px;
    line-height: 20px;
    font-weight: 600;

    color: #191b22;
    letter-spacing: 0;
}

.jobs-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    background: #f5f6fa;
    border-radius: 24px;
    color: #646d8c;
    font-size: 13px;
    line-height: 23px;
    font-weight: 600;
    text-transform: uppercase;
}


/* ================================
   CARDS GRID
================================ */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}


/* Wrapper around each card */

.job_card_div {
    width: 100%;
    min-width: 0;
}


/* Actual card */

.job-card {
    display: block;
    width: 100%;
    min-height: 96px;
    box-sizing: border-box;

    padding: 17px 16px;

    border: 1px solid #d9e0eb;
    border-radius: 8px;

    background: #fff;

    text-decoration: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Screenshot jaisa first/card hover look */

.job-card:hover {
    border-color: #aebcf0;
    box-shadow: 0 4px 14px rgba(40, 55, 90, 0.08);
    transform: translateY(-1px);
}


/* ================================
   CARD CONTENT
================================ */

.job-type {
    margin-bottom: 3px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;

    color: #344054;
}

.job-title {
    margin-bottom: 4px;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;

    color: #5267d9;
}

.job-location {
    font-size: 14px;
    line-height: 1.4;
    color: #52627a;
}


/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .jobs-listing-wrapper {
        width: 100%;
    }

    .jobs-filter {
        justify-content: space-between;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .jobs-category {
        padding: 22px 0;
    }

    .jobs-category-heading h2 {
        font-size: 17px;
    }

    .job-card {
        min-height: auto;
        padding: 15px;
    }

}