/* Job Css */
.innerjobs-wrp{
    padding: 80px 0 100px;
}

form.job_filters {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}

.search_jobs {
    display: grid;
    grid-template-columns: 1fr 1fr 180px;
    column-gap: 16px;
    row-gap: 14px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(12, 17, 33, 0.06);
    font-family: var(--mainFont);
    width: calc(100% - 280px);
    height: max-content;
}

.search_jobs .search_keywords,
.search_jobs .search_location {
    display: flex;
    flex-direction: column;
}

.search_jobs label {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--title-color);
}

.search_jobs input[type="text"] {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    font-family: var(--mainFont);
    font-size: 14px;
    color: var(--title-color);
    outline: none;
    transition: all 0.25s ease;
}

.search_jobs input[type="text"]:focus {
    border-color: var(--theme-orange);
    box-shadow: 0 0 0 3px rgba(217, 94, 0, 0.08);
}

.search_jobs input[type="text"]::placeholder {
    color: #999;
}

.search_jobs .search_submit {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
}

.search_jobs .search_submit input[type="submit"] {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 100px;
    background: var(--theme-blue);
    color: #fff;
    font-family: var(--mainFont);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.search_jobs .search_submit input[type="submit"]:hover {
    background: var(--theme-orange);
}

.search_jobs .search_remote_position {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search_jobs .search_remote_position input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--theme-orange);
    cursor: pointer;
}

.search_jobs .search_remote_position label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--para-color);
    cursor: pointer;
}

.search_jobs>div[style="clear: both"] {
    display: none;
}

/* JOB TYPE FILTERS */

.job-types-wrapper {
    width: 100%;
    max-width: 280px;
    padding: 24px;
    background: var(--whiteColor);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: var(--mainFont);
    box-shadow: 0 8px 20px rgba(12, 17, 33, 0.06);
}

/* Heading */
.job-types-heading {
    margin: 0 0 20px;
    font-size: var(--size);
    line-height: 1.3;
    font-weight: 600;
    color: var(--title-color);
}

/* Job type list */
.job-types-wrapper .job_types {
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-types-wrapper .job_types li {
    margin: 0 0 14px;
    padding: 0;
}

.job-types-wrapper .job_types li:last-child {
    margin-bottom: 0;
}

/* Label */
.job-types-wrapper .job_types label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--para-color);
}

.job-types-wrapper .job_types input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: var(--whiteColor);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.job-types-wrapper .job_types input[type="checkbox"]:hover {
    border-color: var(--theme-blue);
}

.job-types-wrapper .job_types input[type="checkbox"]:checked {
    background: var(--theme-blue);
    border-color: var(--theme-blue);
}

.job-types-wrapper .job_types input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    left: 6px;
    top: 2px;
    border: solid var(--whiteColor);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.job-types-wrapper .job_types label:hover {
    color: var(--title-color);
}

/* Job Listings */
.job_listings {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--mainFont);
}

.innerjobs-wrp ul.job_listings .no_job_listings_found {
    text-align: center;
    padding: 30px !important;
}

.innerjobs-wrp ul.job_listings {
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    margin-top: -60px;
    width: calc(100% - 310px);
    margin-left: auto;
    box-shadow: 0 8px 20px rgba(12, 17, 33, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.job_listings>li.job_listing {
    margin: 0 !important;
    background: var(--whiteColor);
    transition: all 0.25s ease;
}

.job_listings>li.job_listing>a {
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.job_listings .company_logo {
    width: 50px !important;
    height: 50px !important;
    margin: 0;
    object-fit: contain;
    border-radius: 8px;
    background: #f7f7f7;
}

.job_listings .position {
    min-width: 0;
    padding: 0 0 0 50px !important;
}

.job_listings .position h3 {
    margin: 0 0 6px !important;
    font-family: var(--mainFont);
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: var(--theme-orange);
}

.job_listings .company {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--para-color) !important;
    text-transform: capitalize;
}

.job_listings .company strong {
    color: var(--gray);
    font-weight: 600;
}

.job_listings .tagline {
    color: var(--para-color);
}

.job_listings .tagline::before {
    content: "•";
    margin-right: 6px;
}

.job_listings .location {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray) !important;
}

.job_listings .location small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--para-color);
}

.job_listings .meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.job_listings .meta .job-type {
    align-items: center;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgb(217, 94, 0, .1);
    color: var(--theme-orange);
    font-size: 14px;
    font-weight: 600 !important;
}

.job_listings .meta .date {
    font-size: 12px;
    color: var(--para-color);
}

.job_listings .meta li::before {
    display: none !important;
}

.jobmain-wrapper .innerjobs-wrp ul.job_listings li.job_listing a {
    background: transparent;
    opacity: 1;
}

.innerjobs-wrp ul.job_listings li.job_listing:nth-child(even) {
    background: #faf9ff17;
}

.innerjobs-wrp ul.job_listings li.job_listing:hover {
    background: #fbf0ea4d;
}

.innerjobs-wrp .job_filters .showing_jobs {
    display: none !important;
}

/* Single Job Post */
.job-postsingle {
    padding: 80px 0;
}

.job-postsingle h1.entry-title {
    color: var(--title-color);
    text-align: center;
    margin-top: 0;
    font-size: 60px;
    line-height: 75px;
    font-weight: 700;
    margin-bottom: 30px;
}

.single_job_listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    background: var(--whiteColor);
    border: 1px solid #e8e8ec;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(12, 17, 33, 0.07);
    font-family: var(--mainFont);
    color: var(--para-color);
}

.single_job_listing .job-listing-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

.single_job_listing .job-listing-meta li {
    position: relative;
    margin: 0;
    padding: 10px 20px;
    border-radius: 50px;
    background: #f5f5f8;
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.single_job_listing .job-listing-meta .job-type {
    background: rgba(217, 94, 0, 0.1);
    color: var(--theme-orange);
}

.single_job_listing .job-listing-meta .location a {
    color: var(--theme-blue);
    text-decoration: none;
}

.single_job_listing .job-listing-meta .date-posted {
    background: #f1f2ff;
    color: var(--theme-blue);
}

.single_job_listing .job-listing-meta .position-filled {
    background: #fff0f0;
    color: #c0392b;
}

.single_job_listing .company {
    gap: 25px;
    margin-bottom: 45px;
    padding: 28px;
    background: #fafafa;
    border: 1px solid #ededf0;
    border-radius: 18px;
}

.single_job_listing .company_logo {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;
    padding: 5px;
    background: var(--whiteColor);
    border: 1px solid #e8e8ec;
    border-radius: 8px;
    margin-top: -8px;
}

.single_job_listing .company_header {
    flex: 1;
    padding-left: 95px;
}

.single_job_listing .company_header .name {
    margin: 0 0 8px;
    padding: 0;
    text-transform: capitalize;
}

.single_job_listing .company_header strong {
    order: -1;
    color: var(--title-color);
    font-size: 22px;
    font-weight: 600;
}

.single_job_listing .company_header a {
    color: var(--theme-blue);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.single_job_listing .company_header a:hover {
    color: var(--theme-orange);
}

.single_job_listing .company_header .tagline {
    margin: 0;
    padding: 0;
    color: #888;
    font-size: 14px;
    text-transform: capitalize;
}

.single_job_listing .job_description p {
    margin: 0 0 25px;
    color: var(--para-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
}

.single_job_listing .job_description p strong {
    color: var(--title-color);
    font-weight: 700;
}

.single_job_listing .job_description ul {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.single_job_listing .job_description li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 25px;
    color: var(--para-color);
    font-size: 18px;
    line-height: 1.7;
}

.single_job_listing .job_description li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 9px;
    height: 9px;
    background: var(--theme-orange);
    border-radius: 50%;
}

.single_job_listing a {
    transition: all 0.3s ease;
}

.single_job_listing a:hover {
    text-decoration: none;
}

.single_job_listing .meta .date-posted:before,
.single_job_listing .meta .location:before,
.single_job_listing .meta .listing-expired:before,
.single_job_listing .meta .position-filled:before,
.single_job_listing .meta .salary:before {
    font-size: 16px !important;
    height: 24px !important;
    margin: 0 4px 0 0 !important;
}

.single_job_listing .meta .location:before {
    color: var(--theme-blue);
}

.job-postsingle .single_job_listing .company .company_video {
    padding: 0;
    height: 100%;
    margin: 45px 0 0;
    padding-top: 30px;
}

.job_application .application_button.button {
    background-color: var(--theme-blue);
    border-radius: 100px;
    margin-right: auto;
    padding: 16px 30px 16px !important;
    font-family: var(--mainFont);
    font-size: 15px;
    border: 0;
    font-weight: 600;
    line-height: 110%;
    color: #fff;
    width: max-content;
    transition: all 0.20s ease;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.job_application .application_button.button:hover{
    background-color: var(--theme-orange);
}

body.job-apply-popup-open {
    overflow: hidden;
}

.job-apply-popup {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.job-apply-popup.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.job-apply-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 17, 33, 0.55);
}

.job-apply-popup-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 36px 40px 32px;
    background: var(--whiteColor);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(12, 17, 33, 0.2);
    outline: none;
}

.job-apply-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f5f8;
    color: var(--title-color);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.job-apply-popup-close:hover {
    background: var(--theme-blue);
    color: var(--whiteColor);
}

.job-apply-popup-title {
    margin: 0 40px 6px 0;
    color: var(--title-color);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.job-apply-popup-job {
    margin: 0 0 24px;
    color: var(--theme-orange);
    font-size: 16px;
    font-weight: 600;
}

.job-apply-popup .wpcf7 .job-application-form,
.job-apply-popup-form {
    margin: 0;
}

.job-apply-popup .wpcf7 form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.job-apply-popup .wpcf7 form > p,
.job-apply-popup .wpcf7 form > label {
    margin: 0 0 16px;
    min-width: 0;
}

.job-apply-popup .wpcf7 form > .hidden-fields-container {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.job-apply-popup .wpcf7 form > p:has(textarea),
.job-apply-popup .wpcf7 form > label:has(textarea),
.job-apply-popup .wpcf7 form > p:has(input[type="tel"]),
.job-apply-popup .wpcf7 form > label:has(input[type="tel"]),
.job-apply-popup .wpcf7 form > p:has(input[type="file"]),
.job-apply-popup .wpcf7 form > label:has(input[type="file"]),
.job-apply-popup .wpcf7 form > p:has(.wpcf7-submit),
.job-apply-popup .wpcf7 form > .wpcf7-submit,
.job-apply-popup .wpcf7 .wpcf7-response-output {
    grid-column: 1 / -1;
}

.job-apply-popup .wpcf7 label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--title-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.job-apply-popup .wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.job-apply-popup .wpcf7 input[type="text"],
.job-apply-popup .wpcf7 input[type="email"],
.job-apply-popup .wpcf7 input[type="tel"],
.job-apply-popup .wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8e8ec;
    border-radius: 10px;
    background: var(--whiteColor);
    color: var(--title-color);
    font-family: var(--mainFont);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    box-sizing: border-box;
}

.job-apply-popup .wpcf7 textarea {
    height: 88px;
    min-height: 88px;
    max-height: 140px;
    resize: vertical;
}

.job-apply-popup .wpcf7 input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px dashed #d5d5e2;
    border-radius: 10px;
    background: #fafafa;
    color: var(--para-color);
    font-family: var(--mainFont);
    font-size: 14px;
    cursor: pointer;
}

.job-apply-popup .wpcf7 input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 10px 18px;
    border: 0;
    border-radius: 100px;
    background: var(--theme-blue);
    color: #fff;
    font-family: var(--mainFont);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.job-apply-popup .wpcf7 input[type="file"]::file-selector-button:hover {
    background: var(--theme-orange);
}

.job-apply-popup .wpcf7 input[type="submit"],
.job-apply-popup .wpcf7 .wpcf7-submit {
    background-color: var(--theme-blue);
    border: 0;
    border-radius: 100px;
    margin-top: 4px;
    padding: 16px 36px;
    color: #fff;
    font-family: var(--mainFont);
    font-size: 15px;
    font-weight: 600;
    line-height: 110%;
    cursor: pointer;
    width: max-content;
    transition: all 0.20s ease;
}

.job-apply-popup .wpcf7 input[type="submit"]:hover,
.job-apply-popup .wpcf7 .wpcf7-submit:hover {
    background-color: var(--theme-orange);
}

.job-apply-popup .wpcf7 .wpcf7-not-valid-tip,
.job-apply-popup .wpcf7 .wpcf7-response-output {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 500;
}

.vacancies-section {
    padding-top: 80px;
    padding-bottom: 100px;
    background: var(--whiteColor);
}

.vacancies-section .section-title {
    margin-bottom: 40px;
    color: var(--title-color);
}

.vacancies-list .job_filters,
.vacancies-list .showing_jobs,
.vacancies-list .job_types {
    display: none !important;
}

.vacancies-list ul.job_listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    list-style: none;
    overflow: visible;
    background: transparent;
}

.vacancies-list li.job_listing,
.vacancies-list ul.job_listings li.job_listing {
    margin: 0;
    background: var(--whiteColor);
    border: 1px solid #0c11212e;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.vacancies-list li.job_listing.status-expired {
    display: none !important;
}

.vacancies-list li.job_listing:hover {
    border-color: transparent;
    box-shadow: 0 4px 18px #0000000a;
}

.vacancies-list ul.job_listings li.job_listing a,
.vacancies-list ul.job_listings li.job_listing.job_position_filled a,
.vacancies-list ul.job_listings li.job_listing.job_listing-expired a {
    display: block !important;
    width: 100%;
    padding: 36px 40px;
    background: transparent;
    opacity: 1 !important;
}

.vacancies-list .company_logo,
.vacancies-list .company,
.vacancies-list .location,
.vacancies-list .meta {
    display: none !important;
}

.vacancy-title {
    margin: 0 0 12px;
    color: var(--title-color) !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.vacancies-list li.job_listing:hover .vacancy-title {
    color: var(--theme-orange) !important;
}

.vacancy-excerpt {
    margin: 0;
    color: var(--para-color) !important;
    font-size: 18px;
    line-height: 32px;
}

.vacancy-apply {
    display: inline-block;
    margin-top: 18px;
    color: var(--theme-orange) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.job_description h3 {
    margin: 32px 0 16px;
    color: var(--title-color);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.single_job_listing .job-listing-meta,
.single_job_listing .company {
    display: none !important;
}

@media (max-width: 991px) {
    .search_jobs {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .search_jobs .search_submit {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .search_jobs .search_submit input[type="submit"] {
        width: 100%;
    }

    .search_jobs .search_remote_position {
        grid-column: 1 / -1;
    }

    form.job_filters {
        flex-direction: column;
    }

    .innerjobs-wrp ul.job_listings {
        margin-top: 40px;
        width: 100%;
    }

    .vacancies-list li.job_listing a {
        padding: 28px;
    }

    .vacancy-title {
        font-size: 22px;
    }

    .vacancy-excerpt {
        font-size: 16px;
        line-height: 28px;
    }
}

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

    .search_jobs .search_remote_position,
    .search_jobs .search_submit {
        grid-column: auto;
    }

    .search_jobs .search_submit input[type="submit"] {
        height: 52px;
    }

    .job_types {
        gap: 8px;
    }

    .job_types li label {
        min-height: 40px;
        padding: 0 13px;
        font-size: 12px;
    }

    .job-apply-popup {
        padding: 12px;
        align-items: flex-start;
    }

    .job-apply-popup-dialog {
        padding: 28px 18px 20px;
        max-height: calc(100vh - 24px);
        border-radius: 18px;
    }

    .job-apply-popup-title {
        font-size: 22px;
    }

    .job-apply-popup .wpcf7 form {
        grid-template-columns: 1fr;
    }

    .job-apply-popup .wpcf7 textarea {
        height: 80px;
        min-height: 80px;
    }

    .job-apply-popup .wpcf7 input[type="submit"],
    .job-apply-popup .wpcf7 .wpcf7-submit {
        width: 100%;
        text-align: center;
    }
}
