/* ============================================
   JOB HOME CARD — Estilo completo v3
   ============================================ */

/* Forzar que el li/wrapper padre no agregue espacio */
.imecapi-job-home-card,
li.imecapi-job-home-card,
.job_listings .imecapi-job-home-card,
.job-listings .imecapi-job-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    max-width: 380px;
    width: 100%;
    padding: 0 !important;      /* anular cualquier padding del tema padre */
    margin: 0 !important;
    list-style: none;
}

.imecapi-job-home-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

/* --- PORTADA: ocupa TODO el ancho sin dejar espacio --- */
.imecapi-job-home-card__cover {
    position: relative;
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a2236 0%, #2d3a55 100%);
    overflow: visible;
    flex-shrink: 0;
    /* Crítico: forzar que no haya ningún offset */
    margin: 0 !important;
    padding: 0 !important;
    left: 0;
    right: 0;
    display: block;
    box-sizing: border-box;
}

.imecapi-job-home-card__cover > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;           /* sin radius en la imagen, el card ya lo recorta */
}

.imecapi-job-home-card__cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d6a4f 100%);
    display: block;
}

/* --- BADGE "Nueva" --- */
.imecapi-job-home-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #16a34a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.imecapi-job-home-card__badge i {
    font-size: 13px;
}

/* --- LOGO superpuesto --- */
.imecapi-job-home-card__logo {
    position: absolute;
    bottom: -28px;
    left: 16px;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.imecapi-job-home-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imecapi-job-home-card__logo-placeholder {
    font-size: 32px;
    color: #aaa;
}

/* --- BODY --- */
.imecapi-job-home-card__body {
    padding: 40px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* --- TITLE ROW --- */
.imecapi-job-home-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.imecapi-job-home-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2236;
    margin: 0;
    line-height: 1.3;
}

/* --- BOOKMARK --- */
.imecapi-job-home-card__bookmark {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
}

.imecapi-job-home-card__bookmark:hover {
    background: #e2e8f0;
    color: #1a2236;
}

.imecapi-job-home-card__bookmark i {
    font-size: 18px;
}

/* --- EMPRESA --- */
.imecapi-job-home-card__company {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #4a5568;
}

.imecapi-job-home-card__company i {
    font-size: 16px;
    color: #718096;
}

/* --- UBICACIÓN --- */
.imecapi-job-home-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #718096;
}

.imecapi-job-home-card__location i {
    font-size: 15px;
}

/* --- CAJA SALARIO (azul, como estaba originalmente) --- */
.imecapi-job-home-card__salary-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 4px 0;
    min-width: 0;
}

.imecapi-job-home-card__salary-icon {
    width: 34px;
    height: 34px;
    background: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.imecapi-job-home-card__salary-icon i {
    font-size: 18px;
    color: #1d4ed8;
}

.imecapi-job-home-card__salary-amount {
    font-size: 13px;
    font-weight: 700;
    color: #1a2236;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    line-height: 1.15;
}

.imecapi-job-home-card__salary-divider {
    width: 1px;
    height: 28px;
    background: #bfdbfe;
    flex-shrink: 0;
}

.imecapi-job-home-card__salary-period {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.imecapi-job-home-card__salary-period i {
    font-size: 15px;
    color: #94a3b8;
}

/* --- CHIPS (azul) --- */
.imecapi-job-home-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0;
}

.imecapi-job-home-card__chips span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.imecapi-job-home-card__chips span i {
    font-size: 14px;
}

/* --- FOOTER --- */
.imecapi-job-home-card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 4px;
    border-top: 1px solid #e8ecf0;
    margin-top: 4px;
}

.imecapi-job-home-card__types {
    display: flex;
    gap: 6px;
}

.imecapi-job-home-card__type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: transparent;
    padding: 0;
}

.imecapi-job-home-card__type i {
    font-size: 15px;
}

.imecapi-job-home-card__footer-sep {
    color: #cbd5e1;
    font-size: 16px;
    flex-shrink: 0;
}

.imecapi-job-home-card__published {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9aa5b4;
    margin-left: auto;
}

.imecapi-job-home-card__published i {
    font-size: 14px;
}

/* ============================================
   JOB LIST CARD
   ============================================ */
.imecapi-job-list-card {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(16, 39, 70, 0.08);
    border-radius: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.imecapi-job-list-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 131, 255, 0.18);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.imecapi-job-list-card__logo {
    width: 112px;
    min-width: 112px;
    height: 112px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.imecapi-job-list-card__logo img,
.imecapi-job-list-card__logo .company_logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imecapi-job-list-card__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ea0b8;
    font-size: 34px;
}

.imecapi-job-list-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.imecapi-job-list-card__main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.imecapi-job-list-card__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.imecapi-job-list-card__title {
    margin: 0;
    font-size: 1.95rem;
    line-height: 1.08;
    color: #102746;
}

.imecapi-job-list-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eaf9ef;
    color: #1da45d;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.imecapi-job-list-card__company {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a2236;
    font-size: 1.05rem;
    font-weight: 700;
}

.imecapi-job-list-card__company i {
    color: #617a9b;
    font-size: 1rem;
}

.imecapi-job-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.imecapi-job-list-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #d8e3f1;
    color: #556a85;
    font-size: 0.98rem;
    font-weight: 600;
    white-space: nowrap;
}

.imecapi-job-list-card__meta-item i {
    color: #1783ff;
    font-size: 0.95rem;
}

.imecapi-job-list-card__meta-item--salary {
    background: #eef6ff;
    color: #1560d3;
}

.imecapi-job-list-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.imecapi-job-list-card__chips span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1560d3;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.imecapi-job-list-card__side {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    flex-shrink: 0;
}

.imecapi-job-list-card__types {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.imecapi-job-list-card__type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #edf9f1;
    color: #13824b;
    font-size: 0.96rem;
    font-weight: 700;
    white-space: nowrap;
}

.imecapi-job-list-card__type i {
    font-size: 0.95rem;
}

.imecapi-job-list-card__type--freelance {
    background: #eef6ff;
    color: #1674e8;
}

.imecapi-job-list-card__type--internship,
.imecapi-job-list-card__type--temporary {
    background: #f4eeff;
    color: #6033cc;
}

.imecapi-job-list-card__published {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #73839a;
    font-size: 0.98rem;
    font-weight: 600;
}

.imecapi-job-list-card__published i {
    color: #95a4b8;
    font-size: 0.95rem;
}

.imecapi-job-list-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f4f7fb;
    color: #6d7f98;
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .imecapi-job-list-card {
        align-items: flex-start;
    }

    .imecapi-job-list-card__body {
        flex-direction: column;
        align-items: stretch;
    }

    .imecapi-job-list-card__side {
        min-width: 0;
        width: 100%;
        align-items: flex-start;
    }

    .imecapi-job-list-card__types {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .imecapi-job-list-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border-radius: 22px;
    }

    .imecapi-job-list-card__logo {
        width: 96px;
        min-width: 96px;
        height: 96px;
        border-radius: 20px;
    }

    .imecapi-job-list-card__title {
        font-size: 1.6rem;
    }

    .imecapi-job-list-card__meta-item,
    .imecapi-job-list-card__type,
    .imecapi-job-list-card__chips span {
        min-height: 34px;
        font-size: 0.9rem;
    }
}

/* ============================================
   SINGLE JOB HERO CARD
   ============================================ */
.imecapi-job-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 236px;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(16, 39, 70, 0.08);
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.imecapi-job-hero-card__brand {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-width: 0;
}

.imecapi-job-hero-card__logo {
    width: 92px;
    min-width: 92px;
    height: 92px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.imecapi-job-hero-card__logo img,
.imecapi-job-hero-card__logo .company_logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.imecapi-job-hero-card__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.imecapi-job-hero-card__title {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    line-height: 1.04;
    color: #102746;
}

.imecapi-job-hero-card__company-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.imecapi-job-hero-card__name {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    color: #1a2236;
}

.imecapi-job-hero-card__name a {
    color: inherit;
    text-decoration: none;
}

.imecapi-job-hero-card__verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1783ff;
    font-size: 18px;
    flex-shrink: 0;
}

.imecapi-job-hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.imecapi-job-hero-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 0 9px;
    border: 1px solid #d7e2f0;
    border-radius: 10px;
    background: #f8fbff;
    color: #1a2236;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.imecapi-job-hero-card__meta-item i {
    color: #1783ff;
    font-size: 13px;
}

.imecapi-job-hero-card__meta-item--type {
    padding: 0;
    border: 0;
    background: transparent;
    min-height: 0;
}

.imecapi-job-hero-card__meta-item--type .job-types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imecapi-job-hero-card__meta-item--type .job-types li {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 9px;
    border: 1px solid #bfe6cd;
    border-radius: 10px;
    background: #edf9f1;
    color: #13824b;
    font-size: 11px;
    font-weight: 700;
}

.imecapi-job-hero-card__salary {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    min-height: 42px;
    padding: 6px 9px;
    border-radius: 12px;
    background: linear-gradient(180deg, #eff6ff 0%, #e9f3ff 100%);
    color: #105ac7;
}

.imecapi-job-hero-card__salary-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #dbeafe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 8px;
}

.imecapi-job-hero-card__salary-icon i {
    color: #156ee8;
    font-size: 15px;
}

.imecapi-job-hero-card__salary-value {
    color: #1560d3;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.imecapi-job-hero-card__salary-divider {
    width: 1px;
    height: 16px;
    margin: 0 8px;
    background: rgba(91, 124, 171, 0.28);
}

.imecapi-job-hero-card__salary-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b6486;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.imecapi-job-hero-card__salary-meta i {
    color: #8ca3c3;
    font-size: 12px;
}

.imecapi-job-hero-card__deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a2236;
    font-size: 11px;
    font-weight: 600;
}

.imecapi-job-hero-card__deadline i {
    color: #1783ff;
    font-size: 14px;
}

.imecapi-job-hero-card__actions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    border-left: 1px solid rgba(16, 39, 70, 0.08);
    padding-left: 18px;
}

.imecapi-job-hero-card__actions .application {
    width: 100%;
    max-width: none;
}

.imecapi-job-hero-card__actions .application,
.imecapi-job-hero-card__actions .application p {
    margin: 0;
}

.imecapi-job-hero-card__actions .application .button,
.imecapi-job-hero-card__actions .application .application_button,
.imecapi-job-hero-card__actions .application input[type="submit"],
.imecapi-job-hero-card__actions .application a.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 16px;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
    font-size: 14px;
    font-weight: 700;
}

.imecapi-job-hero-card__published-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #73839a;
}

.imecapi-job-hero-card__published-note i {
    font-size: 13px;
    color: #95a4b8;
}

.imecapi-job-hero-card__meta-item--published {
    background: #fbfcfe;
    color: #58697f;
}

.imecapi-job-hero-card__meta-item--published i {
    color: #8ba1bb;
}

.imecapi-job-hero-card__meta-item--location {
    background: #f8fbff;
}

.imecapi-job-hero-card__meta-item--type .job-types li.full-time,
.imecapi-job-hero-card__meta-item--type .job-types li.part-time {
    background: #edf9f1;
    border-color: #bfe6cd;
    color: #13824b;
}

.imecapi-job-hero-card__meta-item--type .job-types li.freelance {
    background: #eef6ff;
    border-color: #cfe0f5;
    color: #1674e8;
}

.imecapi-job-hero-card__meta-item--type .job-types li.internship,
.imecapi-job-hero-card__meta-item--type .job-types li.temporary {
    background: #f4eeff;
    border-color: #d8caf9;
    color: #6033cc;
}

@media (max-width: 1199px) {
    .imecapi-job-hero-card {
        grid-template-columns: 1fr 210px;
        padding: 22px 22px;
    }

    .imecapi-job-hero-card__brand {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 18px;
    }

    .imecapi-job-hero-card__logo {
        width: 92px;
        min-width: 92px;
        height: 92px;
    }
}

@media (max-width: 991px) {
    .imecapi-job-hero-card {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .imecapi-job-hero-card__actions {
        justify-content: stretch;
        border-left: 0;
        border-top: 1px solid rgba(16, 39, 70, 0.08);
        padding-left: 0;
        padding-top: 22px;
    }

    .imecapi-job-hero-card__actions .application {
        max-width: none;
    }

    .imecapi-job-hero-card__salary-divider {
        display: none;
    }

    .imecapi-job-hero-card__salary {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .imecapi-job-hero-card {
        padding: 22px;
        border-radius: 22px;
    }

    .imecapi-job-hero-card__brand {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .imecapi-job-hero-card__title {
        font-size: 2rem;
    }

    .imecapi-job-hero-card__logo {
        width: 110px;
        min-width: 110px;
        height: 110px;
    }

    .imecapi-job-hero-card__meta {
        gap: 12px;
    }

    .imecapi-job-hero-card__meta-item,
    .imecapi-job-hero-card__meta-item--type .job-types li {
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }

    .imecapi-job-hero-card__actions .application .button,
    .imecapi-job-hero-card__actions .application .application_button,
    .imecapi-job-hero-card__actions .application input[type="submit"],
    .imecapi-job-hero-card__actions .application a.button {
        min-height: 64px;
        font-size: 16px;
        border-radius: 22px;
    }
}

/* ============================================
   COMPENSATION FORM
   ============================================ */
#submit-job-form .fieldset-job_listing_salary,
#submit-job-form .fieldset-job_salary,
#submit-job-form .fieldset-job_salary_currency,
#submit-job-form .fieldset-job_salary_unit {
    display: none !important;
}

#submit-job-form .fieldset-compensation_mode,
#submit-job-form .fieldset-compensation_period {
    flex: 0 0 50%;
    max-width: 50%;
}

#submit-job-form .fieldset-compensation_fixed_amount,
#submit-job-form .fieldset-compensation_range_min,
#submit-job-form .fieldset-compensation_range_max {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

#submit-job-form .fieldset-compensation_fixed_amount[hidden],
#submit-job-form .fieldset-compensation_range_min[hidden],
#submit-job-form .fieldset-compensation_range_max[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    #submit-job-form .fieldset-compensation_mode,
    #submit-job-form .fieldset-compensation_period,
    #submit-job-form .fieldset-compensation_fixed_amount,
    #submit-job-form .fieldset-compensation_range_min,
    #submit-job-form .fieldset-compensation_range_max {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============================================
   SINGLE JOB PAGE HEADER FIX
   ============================================ */
body.single-job_listing .site-header,
body.single-job_listing .jh-site-header,
body.single-job_listing .header-v1,
body.single-job_listing .header-v2,
body.single-job_listing .header-v3,
body.single-job_listing .header-v4,
body.single-job_listing .header-v5 {
    position: relative;
    z-index: 30;
}

body.single-job_listing .site-content-page-header,
body.single-job_listing .page-header {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

body.single-job_listing .site-content-page-header .site-content-page-header-inner,
body.single-job_listing .page-header .site-content-page-header-inner {
    min-height: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body.single-job_listing .site-content-page-title,
body.single-job_listing .page-header .page-title,
body.single-job_listing .page-header h1 {
    margin: 0 !important;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
}

body.post-type-archive-job_listing .site-content-page-header,
body.post-type-archive-job_listing .page-header,
body.tax-job_listing_category .site-content-page-header,
body.tax-job_listing_category .page-header,
body.tax-job_listing_type .site-content-page-header,
body.tax-job_listing_type .page-header {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.post-type-archive-job_listing .site-content-page-header .site-content-page-header-inner,
body.post-type-archive-job_listing .page-header .site-content-page-header-inner,
body.tax-job_listing_category .site-content-page-header .site-content-page-header-inner,
body.tax-job_listing_category .page-header .site-content-page-header-inner,
body.tax-job_listing_type .site-content-page-header .site-content-page-header-inner,
body.tax-job_listing_type .page-header .site-content-page-header-inner {
    min-height: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body.post-type-archive-job_listing .site-content-page-title,
body.post-type-archive-job_listing .page-header .page-title,
body.post-type-archive-job_listing .page-header h1,
body.tax-job_listing_category .site-content-page-title,
body.tax-job_listing_category .page-header .page-title,
body.tax-job_listing_category .page-header h1,
body.tax-job_listing_type .site-content-page-title,
body.tax-job_listing_type .page-header .page-title,
body.tax-job_listing_type .page-header h1 {
    margin: 0 !important;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.1;
}

/* ============================================
   JOB DASHBOARD EDIT MODAL
   ============================================ */
body.imecapi-job-edit-modal-open {
    overflow: hidden;
}

.imecapi-job-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 16, 27, 0.58);
    backdrop-filter: blur(6px);
}

.imecapi-job-edit-modal[hidden] {
    display: none !important;
}

.imecapi-job-edit-modal__dialog {
    width: min(1180px, 100%);
    max-height: calc(100vh - 48px);
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.3);
    display: flex;
    flex-direction: column;
}

.imecapi-job-edit-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(16, 39, 70, 0.08);
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.imecapi-job-edit-modal__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: #102746;
}

.imecapi-job-edit-modal__subtitle {
    margin: 8px 0 0;
    font-size: 14px;
    color: #607187;
}

.imecapi-job-edit-modal__close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #edf4ff;
    color: #16325c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.imecapi-job-edit-modal__body {
    padding: 0;
    overflow: auto;
    background: #f7f9fc;
}

.imecapi-job-edit-modal__iframe {
    width: 100%;
    min-height: 640px;
    border: 0;
    background: #ffffff;
    display: block;
}

/* ============================================
   MODAL EDIT VIEW / WIZARD
   ============================================ */
body.imecapi-job-edit-modal-view .site-header,
body.imecapi-job-edit-modal-view .jh-site-header,
body.imecapi-job-edit-modal-view .header-v1,
body.imecapi-job-edit-modal-view .header-v2,
body.imecapi-job-edit-modal-view .header-v3,
body.imecapi-job-edit-modal-view .header-v4,
body.imecapi-job-edit-modal-view .header-v5,
body.imecapi-job-edit-modal-view .site-footer,
body.imecapi-job-edit-modal-view footer,
body.imecapi-job-edit-modal-view .site-content-page-header,
body.imecapi-job-edit-modal-view .page-header,
body.imecapi-job-edit-modal-view .breadcrumbs,
body.imecapi-job-edit-modal-view .woocommerce-MyAccount-navigation {
    display: none !important;
}

body.imecapi-job-edit-modal-view .site-content,
body.imecapi-job-edit-modal-view #content,
body.imecapi-job-edit-modal-view .content-area,
body.imecapi-job-edit-modal-view .site-main {
    padding: 0 !important;
    margin: 0 !important;
}

body.imecapi-job-edit-modal-view #submit-job-form {
    max-width: 100%;
    margin: 0;
    padding: 28px;
    background: #ffffff;
}

.imecapi-edit-wizard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imecapi-edit-wizard__header {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    padding: 8px;
    border-radius: 18px;
    background: #eef5ff;
    border: 1px solid rgba(23, 131, 255, 0.12);
}

.imecapi-edit-wizard__tab {
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #607187;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
}

.imecapi-edit-wizard__tab.is-active {
    background: #1783ff;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(23, 131, 255, 0.24);
}

.imecapi-edit-wizard__divider {
    width: 1px;
    height: 18px;
    background: rgba(96, 113, 135, 0.24);
}

.imecapi-edit-wizard__step {
    display: none;
}

.imecapi-edit-wizard__step.is-active {
    display: block;
}

.imecapi-edit-wizard__step > h2 {
    margin: 0 0 18px;
    font-size: 24px;
    color: #102746;
}

.imecapi-edit-wizard__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(16, 39, 70, 0.08);
}

.imecapi-edit-wizard__actions--step-one {
    justify-content: flex-end;
}

.imecapi-edit-wizard__actions--step-two > p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.imecapi-edit-wizard__next,
.imecapi-edit-wizard__back,
.imecapi-edit-wizard__actions input[type="submit"],
.imecapi-edit-wizard__actions .save_draft {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
}

.imecapi-edit-wizard__back {
    background: #ffffff;
}

@media (max-width: 767px) {
    .imecapi-job-edit-modal {
        padding: 10px;
    }

    .imecapi-job-edit-modal__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 20px;
    }

    .imecapi-job-edit-modal__header {
        padding: 18px 18px 14px;
    }

    .imecapi-job-edit-modal__title {
        font-size: 22px;
    }

    body.imecapi-job-edit-modal-view #submit-job-form {
        padding: 18px;
    }

    .imecapi-edit-wizard__header,
    .imecapi-edit-wizard__actions {
        width: 100%;
    }

    .imecapi-edit-wizard__header {
        justify-content: space-between;
    }

    .imecapi-edit-wizard__actions,
    .imecapi-edit-wizard__actions--step-two > p {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   GLOBAL HEADER OVERRIDE
   ============================================ */
.site-header,
.jh-site-header,
.header-v1,
.header-v2,
.header-v3,
.header-v4,
.header-v5,
.handheld-header {
    background: #1d2733 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.site-header *,
.jh-site-header *,
.header-v1 *,
.header-v2 *,
.header-v3 *,
.header-v4 *,
.header-v5 *,
.handheld-header * {
    border-color: rgba(255, 255, 255, 0.18);
}

.site-header a,
.site-header .menu-item > a,
.site-header .site-title a,
.jh-site-header a,
.jh-site-header .menu-item > a,
.header-v1 a,
.header-v1 .menu-item > a,
.header-v2 a,
.header-v2 .menu-item > a,
.header-v3 a,
.header-v3 .menu-item > a,
.header-v4 a,
.header-v4 .menu-item > a,
.header-v5 a,
.header-v5 .menu-item > a,
.handheld-header a,
.handheld-header .menu-item > a,
.site-header .navbar-toggler,
.jh-site-header .navbar-toggler,
.header-v1 .navbar-toggler,
.header-v2 .navbar-toggler,
.header-v3 .navbar-toggler,
.header-v4 .navbar-toggler,
.header-v5 .navbar-toggler,
.handheld-header .navbar-toggler {
    color: #ffffff !important;
}

.site-header a:hover,
.site-header a:focus,
.jh-site-header a:hover,
.jh-site-header a:focus,
.header-v1 a:hover,
.header-v1 a:focus,
.header-v2 a:hover,
.header-v2 a:focus,
.header-v3 a:hover,
.header-v3 a:focus,
.header-v4 a:hover,
.header-v4 a:focus,
.header-v5 a:hover,
.header-v5 a:focus,
.handheld-header a:hover,
.handheld-header a:focus {
    color: #ffffff !important;
    opacity: 0.82;
}

.site-header .sub-menu,
.site-header .children,
.jh-site-header .sub-menu,
.jh-site-header .children,
.header-v1 .sub-menu,
.header-v1 .children,
.header-v2 .sub-menu,
.header-v2 .children,
.header-v3 .sub-menu,
.header-v3 .children,
.header-v4 .sub-menu,
.header-v4 .children,
.header-v5 .sub-menu,
.header-v5 .children {
    background: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header .button,
.site-header .btn,
.jh-site-header .button,
.jh-site-header .btn,
.header-v1 .button,
.header-v1 .btn,
.header-v2 .button,
.header-v2 .btn,
.header-v3 .button,
.header-v3 .btn,
.header-v4 .button,
.header-v4 .btn,
.header-v5 .button,
.header-v5 .btn {
    color: #ffffff !important;
}

.site-header .jobhunt-stick-this.stuck,
.jh-site-header .jobhunt-stick-this.stuck,
.header-v1 .jobhunt-stick-this.stuck,
.header-v2 .jobhunt-stick-this.stuck,
.header-v3 .jobhunt-stick-this.stuck,
.header-v4 .jobhunt-stick-this.stuck,
.header-v5 .jobhunt-stick-this.stuck,
.header-bg-default .stuck,
.stuck {
    background: #1d2733 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.header-bg-default .stuck .header-menu > li > a,
.header-bg-default .stuck .header-menu > li > a:hover,
.header-bg-default .stuck .header-menu > li > a:focus,
.header-bg-default .stuck .header-search-icon .search-btn,
.stuck a,
.stuck .menu-item > a,
.stuck .navbar-toggler,
.stuck .site-title a,
.stuck .header-menu > li > a {
    color: #ffffff !important;
}

.header-bg-default .stuck .site-branding svg path,
.stuck .site-branding svg path {
    fill: #ffffff !important;
}
