/* ==========================================================
   Fractional CMO Jobs UI Pro
   Version 1.2.0
   Scoped presentation layer for Ohio + WP Job Board Pro
   ========================================================== */

:root {
    --fcmo-green: #31e56d;
    --fcmo-green-dark: #13ad53;
    --fcmo-green-soft: #eafcf0;
    --fcmo-navy: #010047;
    --fcmo-text: #151517;
    --fcmo-muted: #777a83;
    --fcmo-border: #e4e4e7;
    --fcmo-border-strong: #d9d9de;
    --fcmo-soft: #f6f6f6;
    --fcmo-sidebar: #f5f5f5;
    --fcmo-white: #ffffff;
    --fcmo-danger: #ef5361;
    --fcmo-danger-soft: #ffe5e8;
    --fcmo-radius: 9px;
    --fcmo-shadow: 0 12px 34px rgba(1, 0, 71, 0.08);
}

/* ---------- Ohio page-shell cleanup, only for Jobs shortcode page ---------- */
body.fcmo-jobs-page .page-headline,
body.fcmo-jobs-page .page-headline-holder,
body.fcmo-jobs-page .clb-page-headline,
body.fcmo-jobs-page .clb-page-headline-holder,
body.fcmo-jobs-page .page-heading,
body.fcmo-jobs-page .page-title-wrap,
body.fcmo-jobs-page .entry-header,
body.fcmo-jobs-page h1.entry-title,
body.fcmo-jobs-page .page-title {
    display: none !important;
}

body.fcmo-jobs-page .site-content,
body.fcmo-jobs-page .content-area,
body.fcmo-jobs-page .page-container,
body.fcmo-jobs-page .page-content {
    padding-top: 0;
}

body.fcmo-filter-open {
    overflow: hidden;
}

.fcmo-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-block;
}

/* ==========================================================
   Main Jobs Directory
   ========================================================== */

.fcmo-jobs-directory {
    width: min(100%, 1560px);
    margin: 0 auto;
    padding: 44px 28px 96px;
    display: grid;
    grid-template-columns: minmax(290px, 350px) minmax(0, 1fr);
    gap: 34px;
    position: relative;
    box-sizing: border-box;
}

.fcmo-jobs-directory *,
.fcmo-jobs-directory *::before,
.fcmo-jobs-directory *::after {
    box-sizing: border-box;
}

/* ---------- Sidebar ---------- */
.fcmo-jobs-sidebar {
    align-self: start;
    background: var(--fcmo-sidebar);
    border-radius: 10px;
    padding: 30px 28px;
    position: sticky;
    top: 24px;
    z-index: 4;
}

.fcmo-mobile-filter-head {
    display: none;
}

.fcmo-filter-form {
    margin: 0;
}

.fcmo-filter-group {
    margin: 0 0 24px;
}

.fcmo-filter-group:last-of-type {
    margin-bottom: 0;
}

.fcmo-filter-group > label,
.fcmo-range-label-row > label {
    display: block;
    color: var(--fcmo-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 9px;
}

.fcmo-control {
    min-height: 52px;
    width: 100%;
    background: var(--fcmo-white);
    border: 1px solid #dedee2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    position: relative;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fcmo-control:focus-within {
    border-color: var(--fcmo-green-dark);
    box-shadow: 0 0 0 3px rgba(49, 229, 109, 0.14);
}

.fcmo-control-icon > .fcmo-icon {
    margin-left: 14px;
    color: #33343a;
}

.fcmo-control input,
.fcmo-control select,
.fcmo-toolbar-select select {
    width: 100%;
    min-height: 50px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--fcmo-text) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    margin: 0 !important;
}

.fcmo-control input {
    padding: 0 14px !important;
}

.fcmo-control-icon input {
    padding-left: 11px !important;
}

.fcmo-control input::placeholder {
    color: #92949b;
    opacity: 1;
}

.fcmo-select-wrap select,
.fcmo-toolbar-select select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0 44px 0 14px !important;
}

.fcmo-select-wrap > .fcmo-icon:not(.fcmo-select-chevron) {
    margin-left: 14px;
    color: #33343a;
}

.fcmo-select-wrap > .fcmo-icon:not(.fcmo-select-chevron) + select {
    padding-left: 11px !important;
}

.fcmo-select-chevron {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888b92;
}

/* Native WP Job Board Pro geocoder hooks */
.fcmo-map-location-inner {
    position: relative;
}

.fcmo-map-location-group .action-location {
    position: relative;
}

.fcmo-map-location-group .find-me {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fcmo-green-dark);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.fcmo-map-location-group .find-me::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    inset: 0;
    margin: auto;
}

.fcmo-map-location-group .clear-location {
    position: absolute;
    right: 39px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #8c8d92;
    font-size: 19px;
    line-height: 1;
    z-index: 2;
}

.fcmo-map-location-group .hidden {
    display: none !important;
}

.fcmo-map-location-group .leaflet-geocode-container {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid var(--fcmo-border);
    border-radius: 8px;
    box-shadow: var(--fcmo-shadow);
    overflow: hidden;
    z-index: 40;
}

.fcmo-map-location-group .leaflet-geocode-container ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.fcmo-map-location-group .leaflet-geocode-container li {
    padding: 10px 14px;
    margin: 0;
    font-size: 13px;
    cursor: pointer;
}

.fcmo-map-location-group .leaflet-geocode-container li:hover {
    background: var(--fcmo-green-soft);
}

/* ---------- Range controls ---------- */
.fcmo-range-group {
    padding-top: 2px;
}

.fcmo-range-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fcmo-range-label-row > label {
    margin: 0;
}

.fcmo-range-label-row > strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--fcmo-green-dark);
    white-space: nowrap;
}

.fcmo-range-dash {
    color: #999ba1;
    padding: 0 4px;
}

.fcmo-single-range,
.fcmo-dual-range input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
}

.fcmo-single-range {
    height: 22px;
}

.fcmo-single-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--fcmo-green-dark), var(--fcmo-green-dark)) no-repeat,
                #d7d8dc;
    background-size: var(--fcmo-range-progress, 25%) 100%;
}

.fcmo-single-range::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: #d7d8dc;
}

.fcmo-single-range::-moz-range-progress {
    height: 4px;
    border-radius: 999px;
    background: var(--fcmo-green-dark);
}

.fcmo-single-range::-webkit-slider-thumb,
.fcmo-dual-range input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--fcmo-green-dark);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.fcmo-single-range::-webkit-slider-thumb {
    margin-top: -8px;
}

.fcmo-single-range::-moz-range-thumb,
.fcmo-dual-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--fcmo-green-dark);
    cursor: pointer;
}

.fcmo-dual-range {
    height: 22px;
    position: relative;
    margin-top: 4px;
}

.fcmo-dual-range-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        #d7d8dc 0%,
        #d7d8dc var(--fcmo-salary-left, 0%),
        var(--fcmo-green-dark) var(--fcmo-salary-left, 0%),
        var(--fcmo-green-dark) var(--fcmo-salary-right, 100%),
        #d7d8dc var(--fcmo-salary-right, 100%),
        #d7d8dc 100%
    );
}

.fcmo-dual-range input[type="range"] {
    position: absolute;
    left: 0;
    top: 1px;
    height: 20px;
    pointer-events: none;
}

.fcmo-dual-range input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.fcmo-dual-range input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
}

.fcmo-dual-range input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    margin-top: -8px;
}

.fcmo-dual-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
}

/* ---------- Sidebar actions ---------- */
.fcmo-filter-actions {
    padding-top: 4px;
}

.fcmo-filter-submit {
    width: 100%;
    min-height: 50px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--fcmo-green) !important;
    color: var(--fcmo-navy) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.fcmo-filter-submit:hover {
    background: #27da63 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(49, 229, 109, 0.22);
}

.fcmo-filter-reset {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #6d6f76 !important;
    text-decoration: none !important;
}

.fcmo-filter-reset:hover {
    color: var(--fcmo-text) !important;
}

/* ---------- Main results ---------- */
.fcmo-jobs-main-column {
    min-width: 0;
    position: relative;
}

.fcmo-jobs-results-region {
    position: relative;
    min-height: 260px;
    transition: opacity 0.18s ease;
}

.fcmo-jobs-directory.is-loading .fcmo-jobs-results-region {
    opacity: 0.45;
    pointer-events: none;
}

.fcmo-jobs-directory.is-loading .fcmo-jobs-main-column::after {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(49, 229, 109, 0.22);
    border-top-color: var(--fcmo-green-dark);
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -17px;
    z-index: 8;
    animation: fcmo-spin 0.75s linear infinite;
}

@keyframes fcmo-spin {
    to { transform: rotate(360deg); }
}

.fcmo-results-toolbar {
    min-height: 54px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fcmo-results-count {
    color: var(--fcmo-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.fcmo-toolbar-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.fcmo-toolbar-form {
    margin: 0;
}

.fcmo-toolbar-select {
    position: relative;
    min-width: 152px;
    background: #f3f3f3;
    border-radius: 7px;
}

.fcmo-toolbar-select select {
    min-height: 50px !important;
    padding-left: 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.fcmo-toolbar-form:first-child .fcmo-toolbar-select {
    min-width: 170px;
}

/* ==========================================================
   Job Cards
   ========================================================== */

.fcmo-job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.fcmo-job-grid.fcmo-cols-1 {
    grid-template-columns: 1fr;
}

.fcmo-job-grid.fcmo-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Homepage / featured cards ----------
   Keep the established FCMO homepage card visual intact. */
.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-job-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--fcmo-border);
    padding: 28px 30px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-job-card:hover {
    border-color: var(--fcmo-green);
    box-shadow: 0 10px 28px rgba(1,0,71,.07);
    transform: translateY(-1px);
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-top {
    display: grid;
    grid-template-columns: 76px minmax(0,1fr);
    gap: 22px;
    align-items: start;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo,
.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo img,
.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo .fcmo-logo-placeholder {
    width: 76px;
    height: 76px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none !important;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo img {
    object-fit: contain;
    display: block;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo .fcmo-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fcmo-navy);
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-employer {
    color: var(--fcmo-green-dark);
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 5px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-content h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
    margin: 0 0 10px !important;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-content h3 a {
    color: var(--fcmo-text) !important;
    text-decoration: none !important;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--fcmo-muted);
    font-size: 14px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-types {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 17px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-types span {
    background: #f1f1f1;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--fcmo-border);
    margin-top: 24px;
    padding-top: 18px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-salary {
    font-weight: 750;
    font-size: 17px;
}

.fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-expiry {
    color: var(--fcmo-muted);
    font-size: 14px;
}

/* ---------- Jobs-directory cards ----------
   JobTex structure with the established FCMO brand language. */
.fcmo-directory-job-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--fcmo-border);
    border-radius: 0;
    padding: 26px 26px 21px;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fcmo-directory-job-card:hover {
    border-color: var(--fcmo-green-dark);
    box-shadow: 0 11px 26px rgba(1, 0, 71, 0.08);
    transform: translateY(-1px);
    z-index: 2;
}

.fcmo-dir-card-main {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.fcmo-dir-card-logo,
.fcmo-dir-card-logo img,
.fcmo-dir-card-logo .fcmo-logo-placeholder {
    width: 60px;
    height: 60px;
}

.fcmo-dir-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    overflow: hidden;
    border-radius: 7px;
}

.fcmo-dir-card-logo img {
    display: block;
    object-fit: contain;
    background: #fff;
}

.fcmo-dir-card-logo .fcmo-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fcmo-navy);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.fcmo-dir-card-content {
    min-width: 0;
    padding-right: 0;
}

.fcmo-dir-card-category {
    color: var(--fcmo-green-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
    margin: 1px 0 6px;
}

.fcmo-dir-card-title-row {
    min-width: 0;
}

.fcmo-dir-card-title {
    font-size: 20px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.fcmo-dir-card-title a {
    color: var(--fcmo-text) !important;
    text-decoration: none !important;
}

.fcmo-dir-card-title a:hover {
    color: var(--fcmo-navy) !important;
}

.fcmo-dir-card-shortlist {
    position: absolute;
    right: 20px;
    top: 20px;
}

.fcmo-dir-card-shortlist .btn-shortlist {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #c5c6ca !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    text-decoration: none !important;
    overflow: hidden;
}

.fcmo-dir-card-shortlist .btn-shortlist span {
    display: none !important;
}

.fcmo-dir-card-shortlist .btn-shortlist i {
    display: block !important;
    width: 16px;
    height: 16px;
    font-size: 0 !important;
    line-height: 1 !important;
    position: relative;
}

.fcmo-dir-card-shortlist .btn-shortlist i::before {
    content: "♡" !important;
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 14px !important;
    color: currentColor !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%);
}

.fcmo-dir-card-shortlist .btn-added-job-shortlist,
.fcmo-dir-card-shortlist .btn-shortlist:hover {
    color: var(--fcmo-danger) !important;
    border-color: #f2c9cf !important;
}

.fcmo-dir-card-shortlist .btn-added-job-shortlist i::before {
    content: "♥" !important;
}

.fcmo-dir-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    color: var(--fcmo-muted);
    font-size: 13px;
    line-height: 1.4;
}

.fcmo-dir-card-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.fcmo-dir-card-meta .fcmo-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

/* ==========================================
   DIRECTORY CARD PILLS
========================================== */

.fcmo-dir-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 19px;
    margin-bottom: 24px; /* Clear space between the pills and divider */
}

.fcmo-dir-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #f2f2f3;
    color: #2b2c30;
    font-size: 11.5px;
    line-height: 1;
    font-weight: 650;
}

.fcmo-dir-pill-urgent {
    background: var(--fcmo-danger-soft);
    color: #e2495a;
}

.fcmo-dir-pill-filled {
    background: #fff0f0;
    color: #dc4040;
}

/* ==========================================
   DIRECTORY CARD RATE / DATE FOOTER
========================================== */

.fcmo-dir-card-footer {
    width: 100%;
    min-height: 58px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--fcmo-border);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 18px;
}

/* Cards without pills need the same divider spacing. */
.fcmo-dir-card-main + .fcmo-dir-card-footer {
    margin-top: 24px;
}

.fcmo-dir-card-salary {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    color: var(--fcmo-text);
    font-size: 17px;
    line-height: 1.28;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.fcmo-dir-card-salary .fcmo-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-self: center;
}

.fcmo-dir-card-salary-unlisted {
    color: #46474e;
    font-size: 17px;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.fcmo-dir-card-date-label {
    font-weight: inherit;
}

.fcmo-dir-card-deadline {
    color: #686a72;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 450;
    text-align: right;
    white-space: nowrap;
}

/* ---------- Pagination ---------- */
.fcmo-pagination {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.fcmo-pagination .page-numbers {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fcmo-border);
    border-radius: 50%;
    background: #fff;
    color: var(--fcmo-text) !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none !important;
    transition: all 0.16s ease;
}

.fcmo-pagination .page-numbers:hover,
.fcmo-pagination .page-numbers.current {
    border-color: var(--fcmo-green);
    background: var(--fcmo-green);
    color: var(--fcmo-navy) !important;
}

/* ---------- Empty state ---------- */
.fcmo-empty-state,
.fcmo-no-results {
    background: #f8f8f9;
    border: 1px solid var(--fcmo-border);
    border-radius: 10px;
    padding: 54px 28px;
    text-align: center;
}

.fcmo-empty-state h3 {
    margin: 0 0 7px !important;
    font-size: 22px !important;
}

.fcmo-empty-state p {
    margin: 0 0 18px;
    color: var(--fcmo-muted);
}

.fcmo-empty-state a {
    color: var(--fcmo-navy) !important;
    font-weight: 700;
}

/* ---------- Mobile filter button ---------- */
.fcmo-mobile-filter-btn {
    display: none;
}

.fcmo-mobile-filter-overlay {
    display: none;
}

/* ==========================================================
   Single Job / Profile pages from previous Pro plugin
   ========================================================== */

.fcmo-single-wrap,
.fcmo-profile-wrap {
    max-width: 1220px;
    margin: 0 auto;
}

.fcmo-single-wrap {
    padding: 135px 20px 80px;
}

.fcmo-profile-wrap {
    padding: 45px 20px 80px;
}

.fcmo-single-hero {
    border-bottom: 1px solid var(--fcmo-border);
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.fcmo-single-hero-inner {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.fcmo-single-actions {
    grid-column: 2;
    text-align: left;
}

.fcmo-single-logo img,
.fcmo-single-logo .fcmo-logo-placeholder {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.fcmo-single-employer,
.fcmo-kicker {
    color: var(--fcmo-green-dark);
    font-weight: 700;
    font-size: 14px;
}

.fcmo-single-heading h1,
.fcmo-profile-hero h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    margin: 4px 0 10px !important;
}

.fcmo-single-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--fcmo-muted);
    font-size: 14px;
}

.fcmo-single-types {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.fcmo-single-types span {
    background: #f1f1f1;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 12px;
}

.fcmo-single-actions .button,
.fcmo-single-actions .btn,
.fcmo-single-actions a.button {
    background: var(--fcmo-green) !important;
    color: var(--fcmo-navy) !important;
    border-color: var(--fcmo-green) !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

.fcmo-deadline {
    color: #d74d56;
    font-size: 13px;
    margin-top: 9px;
}

.fcmo-hero-salary {
    font-weight: 700;
    margin-top: 8px;
}

.fcmo-single-grid,
.fcmo-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: 48px;
    margin-top: 34px;
}

.fcmo-single-main {
    min-width: 0;
}


.fcmo-job-description h2,
.fcmo-profile-content h2,
.fcmo-related h2 {
    font-size: 22px !important;
}

.fcmo-richtext {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.fcmo-info-card {
    background: #f6f6f6;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 22px;
}

.fcmo-info-card h3 {
    font-size: 19px !important;
    margin: 0 0 12px !important;
}

.fcmo-info-card > div:not(.fcmo-employer-line) {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding: 13px 0;
    font-size: 14px;
}

.fcmo-info-card > div:last-child {
    border-bottom: 0;
}

.fcmo-info-card span {
    color: var(--fcmo-muted);
}

.fcmo-info-card strong {
    text-align: right;
}

.fcmo-employer-line {
    display: flex;
    gap: 14px;
    align-items: center;
}

.fcmo-employer-line img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.fcmo-employer-line a {
    display: block;
    color: var(--fcmo-green-dark);
    font-size: 13px;
}

.fcmo-related {
    margin-top: 60px;
}

.fcmo-profile-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--fcmo-border);
    padding-bottom: 30px;
}

.fcmo-profile-avatar img,
.fcmo-profile-avatar .fcmo-logo-placeholder {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

/* ==========================================================
   Employer / Candidate directories + native wrapped UI
   ========================================================== */

.fcmo-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fcmo-directory-card {
    border: 1px solid var(--fcmo-border);
    padding: 24px;
    display: flex;
    gap: 16px;
    background: #fff;
}

.fcmo-directory-avatar img,
.fcmo-directory-avatar .fcmo-logo-placeholder {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.fcmo-directory-card h3 {
    font-size: 18px !important;
    margin: 0 0 7px !important;
}

.fcmo-native-ui {
    max-width: 1040px;
    margin: 30px auto;
    padding: 0 20px;
}

.fcmo-native-ui form,
.fcmo-native-ui .box-white,
.fcmo-native-ui .dashboard-content-wrapper,
.fcmo-native-ui .job-submission-form {
    background: #fff;
    border: 1px solid var(--fcmo-border);
    border-radius: 8px;
    padding: 24px;
}

.fcmo-native-ui input[type="text"],
.fcmo-native-ui input[type="email"],
.fcmo-native-ui input[type="password"],
.fcmo-native-ui input[type="url"],
.fcmo-native-ui input[type="number"],
.fcmo-native-ui select,
.fcmo-native-ui textarea {
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    min-height: 46px !important;
}

.fcmo-native-ui button,
.fcmo-native-ui .button,
.fcmo-native-ui input[type="submit"] {
    background: var(--fcmo-green) !important;
    color: var(--fcmo-navy) !important;
    border-color: var(--fcmo-green) !important;
    border-radius: 999px !important;
}

.fcmo-ui-note {
    padding: 18px;
    background: #fff8df;
    border: 1px solid #f0df9c;
    border-radius: 6px;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1250px) {
    .fcmo-jobs-directory {
        grid-template-columns: minmax(270px, 310px) minmax(0, 1fr);
        gap: 26px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .fcmo-job-grid.fcmo-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-job-card,
    .fcmo-directory-job-card {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 1050px) {
    .fcmo-jobs-directory {
        display: block;
        padding-top: 26px;
    }

    .fcmo-mobile-filter-btn {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 20px;
        padding: 0 18px;
        border: 1px solid var(--fcmo-border) !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: var(--fcmo-text) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer;
    }

    .fcmo-mobile-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(1, 0, 71, 0.35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 99990;
    }

    .fcmo-mobile-filter-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .fcmo-jobs-sidebar {
        width: min(380px, 92vw);
        height: 100vh;
        overflow-y: auto;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        border-radius: 0;
        transform: translateX(-102%);
        transition: transform 0.24s ease;
        z-index: 99999;
        box-shadow: 12px 0 36px rgba(1, 0, 71, 0.12);
        padding: 24px;
    }

    .fcmo-jobs-sidebar.is-open {
        transform: translateX(0);
    }

    .fcmo-mobile-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 24px;
    }

    .fcmo-mobile-filter-head strong {
        font-size: 19px;
    }

    .fcmo-filter-close {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--fcmo-border) !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: var(--fcmo-text) !important;
        padding: 0 !important;
        cursor: pointer;
    }

    .fcmo-single-hero-inner {
        grid-template-columns: 76px 1fr;
    }

    .fcmo-single-actions {
        grid-column: 1 / -1;
        text-align: left;
    }

    .fcmo-single-grid,
    .fcmo-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .fcmo-jobs-directory {
        padding: 22px 16px 70px;
    }

    .fcmo-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 20px;
    }

    .fcmo-toolbar-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .fcmo-toolbar-form,
    .fcmo-toolbar-select {
        flex: 1 1 0;
        min-width: 0 !important;
    }

    .fcmo-job-grid,
    .fcmo-job-grid.fcmo-cols-3,
    .fcmo-directory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fcmo-toolbar-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fcmo-toolbar-select select {
        padding-left: 12px !important;
        padding-right: 32px !important;
        font-size: 12px !important;
    }

    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-job-card {
        padding: 20px;
    }

    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-top {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 15px;
    }

    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo,
    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo img,
    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-logo .fcmo-logo-placeholder {
        width: 58px;
        height: 58px;
    }

    .fcmo-job-grid:not(.fcmo-directory-grid-jobs) .fcmo-card-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .fcmo-directory-job-card {
        padding: 20px 18px 17px;
    }

    .fcmo-dir-card-main {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 13px;
    }

    .fcmo-dir-card-logo,
    .fcmo-dir-card-logo img,
    .fcmo-dir-card-logo .fcmo-logo-placeholder {
        width: 54px;
        height: 54px;
    }

    .fcmo-dir-card-content {
        padding-right: 30px;
    }

    .fcmo-dir-card-title {
        font-size: 18px !important;
    }

    .fcmo-dir-card-shortlist {
        right: 14px;
        top: 14px;
    }

    .fcmo-dir-card-shortlist .btn-shortlist {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .fcmo-dir-card-badges {
        margin-bottom: 20px;
    }

    .fcmo-dir-card-footer {
        min-height: 0;
        padding-top: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .fcmo-dir-card-deadline {
        text-align: left;
        font-size: 15px;
        white-space: normal;
    }

    .fcmo-single-wrap,
    .fcmo-profile-wrap {
        padding-top: 25px;
    }

    .fcmo-single-heading h1,
    .fcmo-profile-hero h1 {
        font-size: 24px !important;
    }

    .fcmo-single-logo img,
    .fcmo-single-logo .fcmo-logo-placeholder {
        width: 64px;
        height: 64px;
    }

    .fcmo-profile-hero {
        align-items: flex-start;
    }

    .fcmo-info-card > div:not(.fcmo-employer-line) {
        display: block;
    }

    .fcmo-info-card strong {
        display: block;
        text-align: left;
        margin-top: 4px;
    }
}

/* ==========================================
   SINGLE JOB PAGE VERTICAL POSITION
========================================== */

/* Desktop: begin the job header where the old Job Description block began.
   Everything below it moves together and keeps its existing spacing. */
@media (min-width: 1025px) {
    .fcmo-single-wrap {
        padding-top: 135px !important;
    }
}

@media (min-width: 781px) and (max-width: 1024px) {
    .fcmo-single-wrap {
        padding-top: 140px !important;
    }
}

@media (max-width: 780px) {
    .fcmo-single-wrap {
        padding-top: 60px !important;
    }
}


/* ==========================================
   SINGLE JOB - STICKY CANDIDATE FORM
========================================== */
.fcmo-job-sidebar-form-wrap {
    margin-top: 22px;
}

@media (min-width: 1025px) {
    .fcmo-job-sidebar-form-wrap {
        position: sticky;
        top: 24px;
        z-index: 5;
    }
}

@media (max-width: 1024px) {
    .fcmo-job-sidebar-form-wrap {
        position: static;
    }
}

/* ==========================================
   SINGLE JOB - CF7 SIDEBAR FORM
========================================== */
.fcmo-job-sidebar-form-wrap .fcmo-job-sidebar-form {
    margin-top: 38px !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-heading {
    margin: 0 0 8px !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-intro {
    margin: 0 0 22px !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field {
    margin: 0 0 18px !important;
}

/* Tight label/header to its input, upload, radio or checkbox choices. */
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field > label,
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field > .fcmo-label {
    display: block !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field > p,
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field .wpcf7-form-control-wrap,
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field .wpcf7-form-control {
    margin-top: 0 !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-field .wpcf7-list-item {
    margin-top: 0 !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-submit {
    margin-top: 22px !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-submit input[type="submit"],
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-submit button,
.fcmo-job-sidebar-form-wrap input.wpcf7-submit,
.fcmo-job-sidebar-form-wrap button.button {
    width: 100% !important;
    background: #30E56D !important;
    background-color: #30E56D !important;
    border-color: #30E56D !important;
    color: #000047 !important;
    font-weight: 550 !important;
}

.fcmo-job-sidebar-form-wrap .fcmo-sidebar-submit input[type="submit"]:hover,
.fcmo-job-sidebar-form-wrap .fcmo-sidebar-submit button:hover,
.fcmo-job-sidebar-form-wrap input.wpcf7-submit:hover,
.fcmo-job-sidebar-form-wrap button.button:hover {
    background: #55EA87 !important;
    background-color: #55EA87 !important;
    border-color: #55EA87 !important;
    color: #000047 !important;
}
