/* ================= FULL WIDTH SECTION ================= */
/* FORCE FULL WIDTH – THEME BYPASS */
.cm-job-archive-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f9f9f9;
    font-family: sans-serif;
}
html, body {
    overflow-x: hidden !important;
}

/* ================= BANNER ================= */
.cm-job-banner {
	margin-top:120px;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cm-job-banner h1 {
    color: #fff;
    font-size: 36px;
    background: rgba(0,0,0,.55);
    padding: 15px 30px;
    border-radius: 6px;
}

/* ================= INNER CONTAINER ================= */
.cm-job-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 15px;
}

/* ================= FILTER ================= */
.cm-archive-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    max-width: 700px;
}
.cm-archive-filter select,
.cm-archive-filter button {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.cm-archive-filter button {
    background: #007a09;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cm-archive-filter button:hover {
    background: #27ae60;
}

/* ================= JOB + SIDEBAR BODY ================= */
.cm-job-body {
    display: flex;
    gap: 30px;
}

/* LEFT COLUMN JOBS */
.cm-job-left {
    width: 75%;
}
.cm-job-header,
.cm-job-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 12px;
    font-family:sans-serif;
}
.cm-job-header {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}
.cm-job-row {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: .25s;
    padding: 15px 15px 15px 10px;
    font-weight: bold;
    font-family:sans-serif;
}
.cm-job-row-link {
    text-decoration: none;
    color: inherit;
}
.cm-job-row:hover {
    background: #007a09;
    color: #fff;
}
.cm-job-row small {
    color: #666;
    font-size: 12px;
}
.cm-job-row:hover small {
    color: #fff;
}

/* RIGHT SIDEBAR */
.cm-job-right {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cm-job-right-inner {
    background: #f2f2f2;
    padding: 18px;
    border-radius: 8px;
}
.cm-job-right-inner h4 {
    margin-bottom: 10px;
}

/* ================= SEARCH BOX ================= */
.cm-job-banner-search {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.cm-job-search-form {
     display: flex;
    align-items: center;
    width: 700px;
    height: 72px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}
.cm-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.cm-search-icon svg {
    width: 35px;
    height: 35px;
}
.cm-job-search-form input[type="text"] {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 24px;
    line-height: 80px;
    box-sizing: border-box;
    outline: none;
}
.cm-job-search-form input[type="text"]::placeholder {
    color: #999;
}
.cm-job-search-form button {
    background: #007a09;
    color: #fff;
    border: none;
    padding: 0 70px;
    height: 80px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.cm-job-search-form button:hover {
    background: #27ae60;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .cm-job-search-form {
        width: 500px;
        height: 70px;
    }
    .cm-job-search-form input[type="text"] {
        font-size: 20px;
        line-height: 70px;
    }
    .cm-job-search-form button {
        font-size: 20px;
        padding: 0 30px;
    }
}
@media (max-width: 768px) {
    .cm-job-search-form {
        width: 350px;
        height: 60px;
    }
    .cm-job-search-form input[type="text"] {
        font-size: 18px;
        line-height: 60px;
    }
    .cm-job-search-form button {
        font-size: 18px;
        padding: 0 20px;
    }
}
@media (max-width: 992px) {
    .cm-job-body {
        flex-direction: column;
    }
    .cm-job-left,
    .cm-job-right {
        width: 100%;
    }
}