.cjs-wrap {
    width: 100%;
    color: #173042;
}

.cjs-search-form {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) minmax(190px, 1.2fr) minmax(135px, .75fr) minmax(160px, .9fr) auto;
    gap: 16px;
    align-items: end;
    margin: 0 0 30px;
    padding: 22px 0 30px;
    border-top: 1px solid #d8d8d1;
    border-bottom: 1px solid #d8d8d1;
    background: transparent;
}

.cjs-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 400;
    color: #263e4d;
}

.cjs-field input,
.cjs-field select {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #d9dde0;
    border-radius: 0;
    background: #fff;
    color: #173042;
    box-shadow: none;
    font: inherit;
}

.cjs-field input:focus,
.cjs-field select:focus {
    outline: 1px solid #3d5d54;
    outline-offset: 0;
    border-color: #3d5d54;
}

.cjs-submit-field button {
    min-height: 48px;
    padding: 10px 26px;
    border: 1px solid #3d5d54;
    border-radius: 0;
    background: #3d5d54;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease;
}

.cjs-submit-field button:hover,
.cjs-submit-field button:focus {
    opacity: .9;
}

.cjs-results-header {
    margin: 0 0 18px;
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    color: #173042;
}

.cjs-results {
    display: grid;
    gap: 13px;
}

.cjs-job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    min-height: 96px;
    padding: 22px 23px 22px 21px;
    border: 1px solid #d7dde1;
    border-left: 3px solid #4b6d64;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

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

.cjs-job-title {
    margin: 0 0 7px;
    padding: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
}

.cjs-job-title a {
    color: #173b56;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cjs-job-title a:hover,
.cjs-job-title a:focus {
    color: #315d6e;
}

.cjs-job-meta-line {
    font-size: 14px;
    line-height: 1.5;
    color: #173042;
}

.cjs-job-side {
    flex: 0 0 auto;
    min-width: 150px;
    text-align: right;
}

.cjs-job-salary {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #173042;
}

.cjs-job-date {
    font-size: 13px;
    line-height: 1.4;
    color: #173042;
}

.cjs-notice {
    padding: 15px 18px;
    border: 1px solid #d7dde1;
    border-radius: 0;
    background: #fff;
}

.cjs-error {
    border-color: #b34b3f;
}

.cjs-pagination {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.cjs-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 25px;
    border: 1px solid #173042;
    border-radius: 0;
    background: transparent;
    color: #173b56;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cjs-more-link:hover,
.cjs-more-link:focus {
    background: rgba(23, 48, 66, .05);
    color: #173b56;
}

@media (max-width: 1100px) {
    .cjs-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cjs-submit-field button {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .cjs-search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cjs-job-card {
        align-items: flex-start;
        gap: 16px;
        padding: 18px 17px;
    }

    .cjs-job-title {
        font-size: 18px;
    }

    .cjs-job-side {
        min-width: 105px;
    }
}

@media (max-width: 480px) {
    .cjs-job-card {
        display: block;
    }

    .cjs-job-side {
        min-width: 0;
        margin-top: 13px;
        text-align: left;
    }
}

/* Searchable location autocomplete */
.cjs-location-combobox {
    position: relative;
}

.cjs-location-combobox .cjs-location-input {
    padding-right: 40px;
}

.cjs-location-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cjs-location-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    margin: -6px 0 0 -4px;
    border-right: 2px solid #173042;
    border-bottom: 2px solid #173042;
    transform: rotate(45deg);
}

.cjs-location-suggestions {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d7dde1;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 48, 66, .12);
}

.cjs-location-suggestions[hidden] {
    display: none;
}

.cjs-location-option,
.cjs-location-message {
    display: block;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 13px;
    border: 0;
    border-bottom: 1px solid #edf0f1;
    border-radius: 0;
    background: #fff;
    color: #173042;
    text-align: left;
    font: inherit;
    line-height: 1.35;
}

.cjs-location-option {
    cursor: pointer;
}

.cjs-location-option:last-child,
.cjs-location-message:last-child {
    border-bottom: 0;
}

.cjs-location-option:hover,
.cjs-location-option:focus,
.cjs-location-option.is-active {
    outline: 0;
    background: #f2f4f2;
    color: #173042;
}

.cjs-location-message {
    color: #687780;
    cursor: default;
}

/* v1.5.2 UI refinements */
.cjs-field input,
.cjs-field select,
.cjs-submit-field button,
.cjs-job-card {
    border-radius: 10px;
}

.cjs-keywords-input,
.cjs-location-input {
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px 18px !important;
    padding-left: 42px !important;
}

.cjs-keywords-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352616B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
}

.cjs-location-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2352616B'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") !important;
}

.cjs-submit-field button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.cjs-search-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}
