.jobs-archive-page {
    padding: 40px 0;
}

/* Breadcrumbs
.breadcrumb-container {
    background: #F8F9FA;
    padding: 12px 0;
    margin-bottom: 30px;
} */

/* .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #6C757D;
} */
.company-name {
    width: 713px;
    height: 22px;
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #606977;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.breadcrumb a {
    color: #9DAAF2;
    text-decoration: none;
}

/* .breadcrumb .separator {
    color: #6C757D;
} */

/* .breadcrumb .current {
    color: #1A2238;
} */

/* Grid Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    align-items: start;
}

.jobs-sidebar {
    position: sticky;
    top: 20px;
}

.jobs-main {
    min-width: 0; /* Fix for grid overflow */
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-family: 'Rubik', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #1A2238;
    margin: 0;
}

/* Job Listings */
.job_listings {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 12px;
}

.job_listing {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #FFFFFF;
}


.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.position {
    min-width: 0;
}

.position h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1A2238;
    margin: 0 0 8px;
}

.company {
    font-size: 14px;
    color: #6C757D;
    margin-bottom: 4px;
}

.location {
    font-size: 14px;
    color: #6C757D;
}

.meta {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta li {
    font-size: 13px;
    color: #6C757D;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-type {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    color: #1A2238;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
}

.pagination .page-numbers.current {
    background: #0058AF;
    color: #FFFFFF;
    border-color: #0058AF;
}

.pagination .page-numbers:hover:not(.current) {
    background: #F8F9FA;
}

/* No Jobs Found */
.no-jobs-found {
    text-align: center;
    padding: 60px 0;
    color: #6C757D;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .jobs-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .job_listing a {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .company-logo {
        width: 48px;
        height: 48px;
    }
}

/* Main Layout */
.search-page-header {
    width: 100%;
    height: 290px;
    padding: 80px 0 140px;
    position: relative;
    background:
      linear-gradient(90deg, #0058AF 0%, #014181 100%);
}
  
.search-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('http://work4u.local/wp-content/uploads/2025/05/group.png') no-repeat right center;
    background-size: cover;
    opacity: 0.06; 
    pointer-events: none;
    z-index: 1;
}
  
.search-page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb */
/* .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
} */

/* .breadcrumb-item {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    line-height: 22px;
    color: #9DAAF2;
    text-decoration: none;
} */

.breadcrumb-item.current {
    color: #FF6A3D;
}

/* Page Title */
.search-page-header h1 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 56px;
    color: #ffffff;
    margin: 0 0 30px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-filters-wrapper {
    max-width: 1200px;
    width: 100%;
    border-radius: 8px;
    margin: 30px auto;
    position: relative;
    z-index: 1;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
    width: 100%;
}

.search-form .form-group {
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.search-form label {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #333;
}

.search-form input {
    height: 48px;
    padding: 0 16px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.search-form button {
    height: 48px;
    padding: 0 24px;
    background: #FF6A3D;
    border: none;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}

/* Search Form Inputs */
input#search_keywords {
    width: 380px;
    height: 48px;
    border: 1px solid rgba(26, 26, 26, 0.5); 
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    outline: none;
}


input#search_keywords::placeholder {
    color: #999;
    
}

input#search_location {
    width: 260px;
    height: 48px;
    border-radius: 4px;
}

/* Job Filters Form */
.job_filters {
    margin-top: 10px;
    max-width: 1170px;
    background-color: #fff;
    justify-items: center;
    margin-left: 100px;

}

.job_filters .search_jobs div.filter_first,
.job_filters .search_jobs div.search_keywords {
    float: left;
    padding-right: .5em;
    width: auto;
}
.job_filters .search_jobs div.search_location {
    float: left;
    padding-right: .5em;
    width: 260px;
}
/* Main Content Area */
.main-content {
    padding: 0 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1060px 340px;
    gap: 40px;
    margin-top: 230px;
}

/* Job Listings Area */
.jobs-area {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 50px 48px;
    width: 1060px;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 79px;
}

.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.results-count {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    color: #333;
}

.sort-dropdown {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #666;
}
.job_listing,
.job-card,
li.job_listing {
    border-bottom: none !important;
    border-top: none !important;
}



.job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    gap: 10px;
    width: 964px;         /* Set as max-width for responsiveness */
    height: 296px;    /* Use min-height for flexibility */
    background: #F8F8FB;
    border-radius: 20px;
    box-shadow: none;
    border: none;
    margin-bottom: 24px;
    transition: box-shadow 0.2s;
    border-top: none !important;
}
.jobs-area {
    padding-left: 48px;
    padding-right: 48px;
  }
  

/* Header Section with Logo and Actions */
.job-card-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

/* Left Side with Logo and Main Info */
.job-main-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Company Logo */
.company-logo-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #E9ECFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-wrapper img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}
.job-card-main-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* Company and Job Info */
.job-info-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.job-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0058AF;
    margin: 0;
    line-height: 28px;
}

.job-salary {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1D2939;
    font-weight: 500;
    margin: 0;
}

/* Action Buttons Top */
.action-buttons-top {
    display: flex;
    gap: 12px;
}

.action-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #D0D5DD;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.action-icon-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* Job Description */
.job-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #697586;
    margin: 0;
    max-width: 85%;
}

/* Job Meta Info */
.job-meta-info {
    display: flex;
    gap: 32px;
    margin: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #697586;
}

.meta-item img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.meta-item span {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

/* Bottom Container */
.job-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

/* Action Buttons Bottom */
.job-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.apply-button {
    background: #1D2939;
    color: white;
    padding: 0 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    min-width: 130px;
    justify-content: center;
}

.apply-button img {
    width: 18px;
    height: 18px;
}

.show-contacts-btn {
    background: white;
    border: 1px solid #D0D5DD;
    color: #344054;
    padding: 0 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
}


ul.job_listings li.job_listing a.btn-secondary {
    border: 1.5px solid #1A2238 !important;
    background: #F8F8FB;
    border-radius: 8px;
    color: #1A2238;
    font-size: 16px;
    padding: 16px 8px;
    height: 40px;
    width: 183px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

/* .job-card:hover {
    box-shadow: 0 4px 16px rgba(26,34,56,0.08);
} */
ul.job_listings {
    border-top: none !important;
}


.company-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E9ECFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.job-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2px;
}

.job-title {
    font-size: 20px;
    font-weight: 600;
    color: #034C95;
    font-family: 'Rubik', sans-serif;
    margin-right: 8px;
    text-decoration: none;
}

.salary {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #1A2238;
    font-family: 'Rubik', sans-serif;
}

.job-description {
    font-size: 15px;
    color: #7A869A;
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.job-meta {
    display: flex;
    gap: 24px;
    color: #9197A6;
    font-size: 14px;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.job-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: #1A2238;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 16px 8px;
    width: 130px;
    height: 40px;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #1A2238 !important; /* original background */
    color: #fff !important;         /* original text color */
    border: none !important;
    /* Remove any box-shadow or other hover effects if present */
    box-shadow: none !important;
    text-decoration: none !important;
}
/* .job_listing a.btn-primary {
    color: #fff;
} */
 
.btn-primary .arrow-down {
    margin-left: 8px;
    font-size: 14px;
    color: #fff;
}

.btn-secondary {
    background: #F8F8FB;
    color: #1A2238;
    border: 1.5px solid #1A2238;
    border-radius: 8px;
    padding: 16px 8px;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    width: 183px;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.job-card {
    position: relative;
}

.job-card-actions {
    position: absolute;
    top: 24px;
    right: 32px;
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    /* transition: background 0.2s; */
    box-shadow: none;
}

.icon-btn img {
    width: 28px;
    height: 28px;
}

.posted-time {
    position: absolute;
    bottom: 24px;
    right: 32px;
    color: #7A869A;
    font-size: 15px;
    font-family: 'Rubik', sans-serif;
}
.search_jobs{
    background-color: #fff;
}
@media (max-width: 768px) {
  .jobs-area {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 1100px) {
    .job-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}


.show-contacts-btn img {
    width: 22px;
    height: 22px;
}

/* Posted Time */
.posted-time {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #697586;
}


/* Responsive Design */
@media (max-width: 1440px) {
    .content-wrapper {
        grid-template-columns: 2fr 340px;
    }
    
    .jobs-area {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .jobs-area {
        width: 100%;
    }
    
    .filter-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-page-header {
        padding: 60px 0 120px;
    }
    
    .search-page-header h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .main-content {
        margin-top: 80px;
    }

    .job-card {
        padding: 16px;
    }

    .job-card-content {
        flex-direction: column;
    }

    .job-card-content .items-start {
        max-width: 100%;
    }

    .job-card-content .action-buttons {
        padding-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .job-card {
        grid-template-columns: 1fr;
    }
    
    .job-actions {
        justify-content: flex-start;
        margin-top: 16px;
    }
} 