/* GLOBAL FONT */
body, 
.job-archive-layout, 
.job-filters-sidebar, 
.job-card, 
.job-title, 
.job-excerpt-top, 
.job-meta p, 
.single-job-layout, 
.job-meta-inline span, 
.apply-btn, 
.modal-content {
    font-family: 'Outfit', sans-serif;
}

/* JOB ARCHIVE LAYOUT */
.job-archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 40px auto;
}

/* FILTER SIDEBAR */
.job-filters-sidebar {
    background: #444244;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
}
.job-filters-sidebar .filter-title {
    font-size: 20px;
    margin-bottom: 15px;
   color: #E3C09C; text-transform: uppercase;
}

/* JOB GRID */
.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* JOB CARD */
.job-card {
    position: relative;
    background: #444244;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.job-card:hover {
    transform: translateY(-5px);
    background: #262626;
    border-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ARROW ICON */
.job-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #D9AA78;
    transition: transform 0.3s ease;
}
.job-card:hover .job-arrow {
    transform: translateX(5px);
}

/* JOB TITLE */
.job-title {
    font-size: 20px;
    color: #fff; text-transform: uppercase;
    margin-bottom: 10px;
}

/* EXCERPT */
.job-excerpt-top {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 15px;
}

/* JOB META */
.job-meta p {
    font-size: 14px;
    margin-bottom: 5px;
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin: 30px 0;
}
.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    flex-wrap: wrap;
}
.pagination ul li a,
.pagination ul li span {
    display: inline-block;
    padding: 8px 14px;
    background: #444244;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 14px;
    min-width: 34px;
    text-align: center;
}
.pagination ul li a:hover,
.pagination ul li span.current {
    background: #84593D;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .job-archive-layout {
        grid-template-columns: 1fr;
    }
    .job-grid {
        grid-template-columns: 1fr;
    }
}

/* SINGLE JOB PAGE */
.single-job-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

/* META INLINE BOXES */
.job-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}
.job-meta-inline span {
    padding: 8px 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: #FFFFFF; color: #171717 ;
    font-size: 14px;
    transition: all 0.3s ease;
}
.job-meta-inline span:hover {
    background: #CF9455;
    border-color: #CF9455;
    color: #000;
}

/* APPLY BUTTON */
.apply-btn {
    display: inline-block;
    padding: 10px 25px;
    background:  transparent; border: 1px solid #fff;
    color: #fff; text-transform: uppercase;
    font-weight: 500;
    border-radius: 0px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.apply-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    padding: 40px 0;
    box-sizing: border-box;
}

/* MODAL CONTENT */
.modal-content {
    position: relative;
    background-color: #444244;
    color: #fff;
    margin: auto;
    padding: 40px 30px;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* CLOSE BUTTON */
.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}
.modal-content .close:hover {
    color: #CF9455;
}

/* MODAL HEADER */
.modal-content h2 {
    font-size: 26px;
    color: #CF9455;
    margin-bottom: 15px;
    text-align: center;
}
.modal-content p {
    text-align: center;
    font-size: 15px;
    color: #ddd;
    margin-bottom: 20px;
}

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
}

/* BACK TO VACANCIES & SHARE SECTION */
.job-sticky-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}
.job-sticky-nav .back-to-vacancies a {
    color: #CF9455;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}
.job-sticky-nav .back-to-vacancies a:hover {
    color: #fff;
}
.job-sticky-nav .share-vacancy {
    text-align: right;
}
.job-sticky-nav .share-vacancy p {
    color: #fff;
    margin-bottom: 5px;
    font-size: 15px;
    cursor: pointer;
}
.job-sticky-nav .share-icons {
    display: none;
    margin-top: 8px;
    gap: 8px;
}
.job-sticky-nav .share-icons.show {
    display: flex;
}
.job-sticky-nav .share-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    margin-left: 5px;
    color: #CF9455;
    background: #444244;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.job-sticky-nav .share-icons a:hover {
    background: #CF9455;
    color: #000;
}

/* RESPONSIVE SHARE */
@media (max-width: 768px) {
    .job-sticky-nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .job-sticky-nav .share-vacancy p {
        text-align: center;
    }
}
