﻿.bm-job-listing {
    width: 100%;
    background: #f7f9fc;
    padding: 80px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #17212b;
}

.bm-jl-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */

.bm-jl-header {
    max-width: 850px;
    text-align: center;
    margin: 0 auto 45px;
}

.bm-jl-header > span,
.bm-jl-employer > div > span {
    display: inline-block;
    color: #1d6f42;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.bm-jl-header h2 {
    margin: 0 0 15px;
    font-size: 36px;
    line-height: 1.25;
}

.bm-jl-header p {
    margin: 0;
    color: #68737e;
    font-size: 16px;
    line-height: 1.8;
}


/* Search */

.bm-jl-search-box {
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    padding: 25px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(23, 33, 43, 0.04);
}

.bm-jl-search-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bm-jl-search-field input,
.bm-jl-search-field select,
.bm-jl-sort select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dfe5e9;
    border-radius: 5px;
    background: #ffffff;
    color: #17212b;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

.bm-jl-search-field input:focus,
.bm-jl-search-field select:focus {
    border-color: #1d6f42;
}

.bm-jl-search-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    margin-top: 3px;
}

.bm-jl-search-actions button {
    border: 0;
    background: #1d6f42;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.bm-jl-search-actions button:hover {
    background: #258653;
}

.bm-jl-search-actions .bm-jl-reset {
    background: #17212b;
}

.bm-jl-search-actions .bm-jl-reset:hover {
    background: #293744;
}


/* Results Top */

.bm-jl-results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.bm-jl-results-top strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.bm-jl-results-top > div:first-child span {
    color: #68737e;
    font-size: 13px;
}

.bm-jl-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-jl-sort label {
    font-size: 13px;
    font-weight: 700;
}

.bm-jl-sort select {
    width: 160px;
}


/* Job Grid */

.bm-jl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.bm-jl-card {
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.bm-jl-card:hover {
    transform: translateY(-5px);
    border-color: #1d6f42;
    box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}

.bm-jl-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bm-jl-company-icon {
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: #1d6f42;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.bm-jl-featured {
    background: #e9f5ee;
    color: #1d6f42;
    padding: 6px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.bm-jl-card h3 {
    font-size: 19px;
    margin: 0 0 7px;
    line-height: 1.35;
}

.bm-jl-card h4 {
    color: #1d6f42;
    font-size: 14px;
    margin: 0 0 17px;
    font-weight: 600;
}

.bm-jl-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
    padding: 15px 0;
    margin-bottom: 15px;
}

.bm-jl-meta span {
    color: #68737e;
    font-size: 13px;
}

.bm-jl-card > p {
    color: #68737e;
    font-size: 13px;
    line-height: 1.7;
    min-height: 65px;
    margin: 0 0 15px;
}

.bm-jl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.bm-jl-tags span {
    background: #f1f4f6;
    color: #56616b;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.bm-jl-card-bottom {
    border-top: 1px solid #edf0f2;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bm-jl-card-bottom small {
    color: #8a949d;
    font-size: 11px;
}

.bm-jl-card-bottom a {
    color: #1d6f42;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.bm-jl-card-bottom a:hover {
    color: #258653;
}


/* No Results */

.bm-jl-no-results {
    display: none;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    margin-top: 20px;
}

.bm-jl-no-results h3 {
    margin: 0 0 8px;
}

.bm-jl-no-results p {
    margin: 0;
    color: #68737e;
}


/* Pagination */

.bm-jl-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 40px 0 70px;
}

.bm-jl-page {
    min-width: 38px;
    height: 38px;
    border: 1px solid #dfe5e9;
    background: #ffffff;
    color: #17212b;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.bm-jl-page:hover,
.bm-jl-page.active {
    background: #1d6f42;
    color: #ffffff;
    border-color: #1d6f42;
}


/* Employer CTA */

.bm-jl-employer {
    background: #17212b;
    border-radius: 12px;
    padding: 45px 50px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.bm-jl-employer > div > span {
    color: #7bc69c;
}

.bm-jl-employer h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.bm-jl-employer p {
    margin: 0;
    color: #d1d9de;
    line-height: 1.7;
}

.bm-jl-employer > a {
    flex-shrink: 0;
    background: #1d6f42;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.bm-jl-employer > a:hover {
    background: #258653;
}


/* Final CTA */

.bm-jl-final-cta {
    background: #1d6f42;
    color: #ffffff;
    border-radius: 12px;
    text-align: center;
    padding: 50px 25px;
}

.bm-jl-final-cta h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.bm-jl-final-cta p {
    color: #e1f1e7;
    line-height: 1.7;
    margin: 0 auto 25px;
    max-width: 650px;
}

.bm-jl-final-cta a {
    display: inline-block;
    background: #ffffff;
    color: #1d6f42;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.bm-jl-final-cta a:hover {
    background: #17212b;
    color: #ffffff;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .bm-jl-search-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-jl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .bm-job-listing {
        padding: 60px 18px;
    }

    .bm-jl-header h2 {
        font-size: 29px;
    }

    .bm-jl-search-box {
        grid-template-columns: 1fr;
    }

    .bm-jl-search-actions {
        grid-column: auto;
    }

    .bm-jl-results-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .bm-jl-sort {
        width: 100%;
    }

    .bm-jl-sort select {
        width: 100%;
    }

    .bm-jl-grid {
        grid-template-columns: 1fr;
    }

    .bm-jl-employer {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 25px;
    }
}

@media (max-width: 450px) {

    .bm-job-listing {
        padding: 45px 14px;
    }

    .bm-jl-header h2 {
        font-size: 25px;
    }

    .bm-jl-header p {
        font-size: 14px;
    }

    .bm-jl-search-box {
        padding: 18px;
    }

    .bm-jl-search-actions {
        flex-direction: column;
    }

    .bm-jl-search-actions button {
        width: 100%;
    }

    .bm-jl-card {
        padding: 21px;
    }

    .bm-jl-employer h2 {
        font-size: 24px;
    }

    .bm-jl-final-cta h2 {
        font-size: 25px;
    }
}
