.job-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.job-filter input,
.job-filter select {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #ffffff;
    color: #222222;
    font-size: 15px;
    line-height: 1.2;
    box-sizing: border-box;
}

.job-filter select {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.job-filter input:focus,
.job-filter select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.12);
}

.job-filter input:disabled,
.job-filter select:disabled {
    cursor: wait;
    opacity: 0.62;
}

.jobs-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    margin: 0 0 18px;
    color: #333333;
    font-size: 15px;
}

.jobs-loading[hidden] {
    display: none;
}

.jobs-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #d7f5f8;
    border-top-color: #00bdd6;
    border-radius: 50%;
    animation: cjm-spin 0.8s linear infinite;
}

@keyframes cjm-spin {
    to {
        transform: rotate(360deg);
    }
}

#jobs-results {
    display: block;
    font-family: "Exo 2", sans-serif;
}

.jobs-count {
    margin-bottom: 14px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
}

.job-card {
    width: 100%;
    margin-bottom: 12px;
    padding: 14px 10px;
    background: transparent;
    border-bottom: 1px solid #333333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.job-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.job-info {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(120px, 0.8fr) minmax(160px, 1.2fr) 54px;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.job-card h3 {
    margin: 0;
    color: #282828;
    font-family: "Exo 2", sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.25;
}

.job-location,
.job-department {
    color: #333333;
    font-size: 15px;
    line-height: 1.4;
}

.job-card p {
    color: #666666;
    line-height: 1.6;
}

.job-card a {
    color: inherit;
    text-decoration: none;
}

.job-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.job-link svg {
    flex: 0 0 auto;
}

.jobs-empty {
    margin: 20px 0;
}

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

.jobs-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    color: #222222;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jobs-pagination .page-numbers:hover,
.jobs-pagination .current {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .job-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .job-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-info {
        grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
    }

    .job-location,
    .job-department {
        grid-column: 1 / -1;
    }

    .job-link {
        grid-row: 1;
        grid-column: 2;
    }
}

@media (max-width: 600px) {
    .job-filter {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .job-info {
        grid-template-columns: 1fr 50px;
        gap: 10px 14px;
    }

    .job-card h3 {
        font-size: 20px;
    }
}
