/* Empleos Centro Educatic · Catálogo público premium.
   CSS exclusivo de /empleos: conserva la paleta esmeralda/azul y los estilos compartidos. */

.jobs-directory-hero.jobs-directory-hero--premium {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr);
    align-items: center;
    gap: 28px;
    min-height: 286px;
    margin: 0 0 26px;
    padding: clamp(29px, 4vw, 49px);
    overflow: hidden;
    border: 1px solid #d8eee1;
    border-radius: 27px;
    background: linear-gradient(117deg, #f0faf5 0%, #f7fcf9 60%, #e7f6ef 100%);
    box-shadow: 0 18px 48px rgba(22,91,64,.07);
}
.jobs-directory-hero--premium::before,
.jobs-directory-hero--premium::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.jobs-directory-hero--premium::before {
    width: 390px;
    height: 390px;
    top: -220px;
    right: -110px;
    background: rgba(21,155,128,.055);
}
.jobs-directory-hero--premium::after {
    width: 260px;
    height: 260px;
    bottom: -220px;
    left: -70px;
    background: rgba(37,99,235,.04);
}
.jobs-hero-copy { position: relative; z-index: 2; min-width: 0; }
.jobs-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px !important;
    color: #107b61 !important;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .11em;
}
.jobs-hero-eyebrow svg { width: 17px; height: 17px; }
.jobs-directory-hero--premium h1 {
    max-width: 720px;
    margin: 0 0 15px;
    color: #173c30;
    font-size: clamp(2rem, 3.65vw, 3.3rem);
    font-weight: 850;
    line-height: 1.09;
    letter-spacing: -.053em;
    text-wrap: balance;
}
.jobs-directory-hero--premium h1 span { color: #159b80; }
.jobs-directory-hero--premium .jobs-hero-copy > p:not(.jobs-hero-eyebrow) {
    max-width: 650px;
    margin: 0;
    color: #577367;
    font-size: .96rem;
    line-height: 1.68;
}
.jobs-hero-notes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 22px;
}
.jobs-hero-notes span { display: inline-flex; align-items: center; gap: 7px; color: #32806a; font-size: .76rem; font-weight: 800; }
.jobs-hero-notes svg { width: 17px; height: 17px; }
.jobs-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 211px;
}
.jobs-hero-orbit {
    position: absolute;
    display: block;
    width: 220px;
    height: 220px;
    border: 1px solid #cce7d7;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.93), rgba(218,242,230,.2));
    box-shadow: 0 0 0 19px rgba(27,145,111,.035);
}
.jobs-hero-orbit::after { content: ""; position: absolute; inset: 19px; border: 1px dashed #c7e3d3; border-radius: 50%; }
.jobs-hero-large-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 119px;
    height: 119px;
    border: 1px solid #bde5ce;
    border-radius: 29px;
    background: linear-gradient(145deg, #dff8e9, #fafffc);
    color: #159b80;
    box-shadow: 0 14px 28px rgba(17,103,69,.13);
    transform: rotate(-7deg);
    animation: jobsHeroFloat 6.5s ease-in-out infinite;
}
.jobs-hero-large-icon svg { width: 66px; height: 66px; transform: rotate(7deg); stroke-width: 1.5; }
.jobs-hero-mini {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: absolute;
    z-index: 2;
    padding: 11px;
    border: 1px solid #d8e8dd;
    border-radius: 11px;
    background: #fff;
    color: #295d47;
    box-shadow: 0 10px 23px rgba(16,90,61,.1);
    font-size: .73rem;
    font-weight: 800;
}
.jobs-hero-mini svg { width: 17px; height: 17px; color: #159b80; }
.jobs-hero-mini--one { top: 9px; left: -20px; transform: rotate(-6deg); }
.jobs-hero-mini--two { bottom: 0; right: -8px; transform: rotate(4deg); }

/* Distribución: filtro anclado en escritorio, contenido íntegro en móvil. */
.jobs-directory-layout.jobs-directory-layout--premium {
    display: grid;
    grid-template-columns: minmax(285px, 315px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}
.jobs-filter-sidebar.jobs-filter-sidebar--premium {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 114px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    border: 1px solid #dcece3;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(21,85,62,.07);
    scrollbar-color: #c6e4d4 transparent;
    scrollbar-width: thin;
}
.jobs-filters-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 21px 18px;
    border-bottom: 1px solid #e7f0ea;
    background: linear-gradient(135deg,#f0faf4,#fbfefc);
}
.jobs-filters-header-icon,
.jobs-results-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border: 1px solid #cbe8d7;
    border-radius: 12px;
    background: #e2f7ec;
    color: #108b6d;
}
.jobs-filters-header-icon svg, .jobs-results-icon svg { width: 22px; height: 22px; }
.jobs-filters-header-copy { min-width: 0; flex: 1; }
.jobs-filters-header-copy h2 { margin: 0 0 5px; color: #173e31; font-size: .96rem; line-height: 1.3; letter-spacing: -.025em; }
.jobs-filters-header-copy p { margin: 0; color: #6a8174; font-size: .74rem; line-height: 1.45; }
.jobs-filters-count {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 3px;
    border-radius: 8px;
    color: #0c8b6a;
    background: #d9f6e6;
    font-size: .76rem;
    font-weight: 850;
}
.jobs-filters-toggle { display: none; }
.jobs-filters-body { padding: 18px 21px 21px; }
.jobs-filter-form { display: grid; gap: 17px; }
.jobs-filter-sidebar--premium .jobs-filter-field + .jobs-filter-field { margin-top: 0; }
.jobs-filter-field label {
    display: block;
    margin-bottom: 8px;
    color: #2b5341;
    font-size: .78rem;
    font-weight: 800;
}
.jobs-field-control { position: relative; display: block; }
.jobs-field-control > svg {
    position: absolute;
    z-index: 1;
    left: 12px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: #4fa080;
    transform: translateY(-50%);
    pointer-events: none;
}
.jobs-filter-sidebar--premium .jobs-field-control input,
.jobs-filter-sidebar--premium .jobs-field-control select,
.jobs-filter-sidebar--premium .jobs-filter-salary-grid input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 45px;
    padding: 10px 13px;
    border: 1px solid #d9e7de;
    border-radius: 10px;
    outline: 0;
    background: #fafffc;
    color: #234536;
    font-size: .82rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.jobs-filter-sidebar--premium .jobs-field-control input,
.jobs-filter-sidebar--premium .jobs-field-control select {
    padding-left: 39px;
}
.jobs-filter-sidebar--premium .jobs-field-control select {
    padding-right: 9px;
    cursor: pointer;
    text-overflow: ellipsis;
}
.jobs-filter-sidebar--premium .jobs-field-control input:focus,
.jobs-filter-sidebar--premium .jobs-field-control select:focus,
.jobs-filter-sidebar--premium .jobs-filter-salary-grid input:focus {
    border-color: #159b80;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21,155,128,.13);
}
.jobs-filter-sidebar--premium .jobs-field-control input::placeholder,
.jobs-filter-sidebar--premium .jobs-filter-salary-grid input::placeholder { color: #98aea1; }
.jobs-filter-advanced {
    overflow: hidden;
    border: 1px solid #dcece1;
    border-radius: 12px;
    background: #f8fcfa;
}
.jobs-filter-advanced summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 12px 13px;
    color: #2b6f54;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.jobs-filter-advanced summary::-webkit-details-marker { display: none; }
.jobs-filter-advanced summary > span { display: inline-flex; align-items: center; gap: 8px; }
.jobs-filter-advanced summary svg { width: 17px; height: 17px; }
.jobs-filter-advanced summary > svg { transition: transform .18s ease; }
.jobs-filter-advanced[open] summary > svg { transform: rotate(180deg); }
.jobs-filter-advanced summary:focus-visible { outline: 2px solid #80d7b0; outline-offset: -3px; }
.jobs-filter-salary-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    padding: 13px 12px 0;
    border-top: 1px solid #e2efe7;
}
.jobs-filter-salary-grid .jobs-filter-field { min-width: 0; }
.jobs-filter-salary-grid label { font-size: .73rem; }
.jobs-filter-salary-hint { margin: 9px 12px 13px; color: #789083; font-size: .7rem; line-height: 1.5; }
.jobs-filter-form-actions { display: grid; gap: 8px; }
.jobs-filter-submit,
.jobs-empty-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #159b80;
    border-radius: 10px;
    background: #159b80;
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(21,155,128,.12);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.jobs-filter-submit:hover, .jobs-empty-cta:hover {
    transform: translateY(-2px);
    background: #107a65;
    border-color: #107a65;
    color: #fff;
    box-shadow: 0 11px 21px rgba(21,155,128,.2);
}
.jobs-filter-submit svg,
.jobs-empty-cta svg { width: 17px; height: 17px; }
.jobs-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 35px;
    color: #56776a;
    text-decoration: none;
    font-size: .77rem;
    font-weight: 800;
}
.jobs-filter-reset:hover { color: #107a65; }
.jobs-filter-reset svg { width: 15px; height: 15px; }
.jobs-filter-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 17px 0 0;
    color: #7a8e81;
    font-size: .71rem;
    line-height: 1.55;
}
.jobs-filter-help svg { flex: 0 0 16px; width: 16px; height: 16px; color: #159b80; }
.jobs-filter-sidebar--premium .portal-ad--rectangle { margin-top: 15px; }

/* Resultados y chips que permiten eliminar individualmente cada filtro. */
.jobs-directory-results--premium { min-width: 0; }
.jobs-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin: 0 0 17px;
    padding: 17px 20px;
    border: 1px solid #dfece4;
    border-radius: 17px;
    background: linear-gradient(135deg,#fff,#f7fcf9);
    box-shadow: 0 8px 26px rgba(23,86,59,.045);
}
.jobs-results-summary { display: flex; align-items: center; gap: 13px; min-width: 0; }
.jobs-results-icon { width: 47px; height: 47px; flex-basis: 47px; }
.jobs-results-summary > div { min-width: 0; }
.jobs-results-eyebrow {
    margin: 0 0 3px;
    color: #179076;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .09em;
}
.jobs-results-summary h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #294b3a;
    line-height: 1.3;
}
.jobs-results-summary h2 strong { color: #10886b; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.jobs-results-summary p:not(.jobs-results-eyebrow) { margin: 4px 0 0; color: #7e9086; font-size: .76rem; }
.jobs-results-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #d1eadb;
    border-radius: 99px;
    background: #e8f8ef;
    color: #21775a;
    font-size: .71rem;
    font-weight: 850;
}
.jobs-results-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #19ad83;
    box-shadow: 0 0 0 3px rgba(21,155,128,.14);
}
.jobs-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 19px;
}
.jobs-active-filters-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 3px;
    color: #638272;
    font-size: .76rem;
    font-weight: 850;
}
.jobs-active-filters-label svg { width: 15px; height: 15px; color: #159b80; }
.jobs-active-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 9px;
    border: 1px solid #cbe4d7;
    border-radius: 9px;
    background: #eef9f2;
    color: #1c795c;
    font-size: .72rem;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}
.jobs-active-filter-pill span { overflow-wrap: anywhere; }
.jobs-active-filter-pill svg { flex: 0 0 14px; width: 14px; height: 14px; opacity: .7; }
.jobs-active-filter-pill:hover { background: #dff3e8; border-color: #94ceb0; color: #12593f; }
.jobs-active-filter-pill:hover svg { opacity: 1; }
.jobs-active-reset { padding: 7px 5px; color: #5f7e70; font-size: .74rem; font-weight: 850; text-underline-offset: 3px; }
.jobs-active-reset:hover { color: #0f795b; }
.jobs-directory-results--premium .jobs-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 19px;
}
.jobs-directory-results--premium .job-card--premium { min-height: 265px; }
.jobs-directory-results--premium .job-card--premium.will-reveal.is-visible:hover { transform: translateY(-5px); }
.jobs-directory-results--premium .pagination-wrap { margin-top: 26px; }
.jobs-directory-results--premium .pagination-link { border-color: #d3e5d9; background: #fff; border-radius: 9px; }
.jobs-directory-results--premium .pagination-link:hover { border-color: #159b80; color: #0c795e; }
.jobs-directory-results--premium .pagination-link.active { background: #159b80; border-color: #159b80; color: #fff; }

/* Estado vacío: explica la búsqueda sin datos de relleno. */
.jobs-empty-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(38px, 6vw, 62px) 26px;
    border: 1px dashed #bdddc8;
    border-radius: 22px;
    background: linear-gradient(155deg, #f8fdfa, #fff);
    text-align: center;
}
.jobs-empty-art { position: relative; display: grid; place-items: center; width: 126px; height: 126px; margin: 0 0 20px; color: #139478; }
.jobs-empty-ring { position: absolute; inset: 2px; border: 1px dashed #c1e3d0; border-radius: 50%; }
.jobs-empty-ring::after { content: ""; position: absolute; inset: 20px; border: 1px solid #d4eddd; border-radius: 50%; }
.jobs-empty-art > svg { position: relative; width: 52px; height: 52px; stroke-width: 1.45; }
.jobs-empty-premium h2 { max-width: 500px; margin: 0 0 10px; color: #173e32; font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.22; }
.jobs-empty-premium p { max-width: 490px; margin: 0 0 21px; color: #668071; line-height: 1.7; font-size: .87rem; }
.jobs-empty-premium .jobs-empty-cta { width: auto; min-width: 230px; }

/* Responsive, navegación por teclado y movimiento reducido. */
@media (max-width: 1100px) {
    .jobs-directory-layout.jobs-directory-layout--premium { grid-template-columns: minmax(267px, 285px) minmax(0,1fr); gap: 18px; }
    .jobs-directory-hero.jobs-directory-hero--premium { padding: 32px; }
    .jobs-filter-sidebar.jobs-filter-sidebar--premium { top: 94px; }
    .jobs-filters-heading { padding: 18px 15px; }
    .jobs-filters-body { padding: 16px; }
}
@media (max-width: 960px) {
    .jobs-directory-layout.jobs-directory-layout--premium { grid-template-columns: 1fr; gap: 18px; }
    .jobs-filter-sidebar.jobs-filter-sidebar--premium { position: static; max-height: none; overflow: visible; }
    .jobs-filter-sidebar--premium.is-enhanced .jobs-filters-toggle {
        display: grid;
        flex: 0 0 35px;
        place-items: center;
        width: 35px;
        height: 35px;
        border: 1px solid #cfebd9;
        border-radius: 10px;
        background: #fff;
        color: #117d61;
        cursor: pointer;
    }
    .jobs-filters-toggle svg { width: 17px; height: 17px; transition: transform .2s ease; }
    .jobs-filter-sidebar--premium.is-collapsed .jobs-filters-toggle svg { transform: rotate(180deg); }
    .jobs-filter-sidebar--premium.is-collapsed .jobs-filters-body { display: none; }
    .jobs-filter-sidebar--premium.is-collapsed .portal-ad { display: none; }
    .jobs-filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 16px; }
    .jobs-filter-advanced, .jobs-filter-form-actions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .jobs-directory-hero.jobs-directory-hero--premium { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; border-radius: 20px; }
    .jobs-directory-hero--premium h1 { font-size: clamp(2rem, 7.8vw, 2.8rem); }
    .jobs-hero-art { display: none; }
    .jobs-filter-form { grid-template-columns: 1fr; gap: 14px; }
    .jobs-filter-advanced, .jobs-filter-form-actions { grid-column: auto; }
    .jobs-results-toolbar { padding: 15px; flex-wrap: wrap; }
    .jobs-results-status { margin-left: 59px; }
}
@media (max-width: 450px) {
    .jobs-directory-hero.jobs-directory-hero--premium { padding: 25px 18px; }
    .jobs-filters-heading { padding: 17px 14px; }
    .jobs-filters-body { padding: 16px 14px; }
    .jobs-results-summary { align-items: flex-start; }
    .jobs-results-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .jobs-results-summary h2 { font-size: .94rem; }
    .jobs-results-status { margin-left: 0; }
    .jobs-active-filter-pill { max-width: 100%; }
}
@keyframes jobsHeroFloat {
    0%,100% { transform: translateY(0) rotate(-7deg); }
    50% { transform: translateY(-8px) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
    .jobs-hero-large-icon { animation: none !important; }
    .jobs-filter-submit, .jobs-empty-cta, .jobs-active-filter-pill,
    .jobs-directory-results--premium .job-card--premium,
    .jobs-filters-toggle svg { transition: none !important; }
    .jobs-filter-submit:hover,
    .jobs-empty-cta:hover,
    .jobs-directory-results--premium .job-card--premium.will-reveal.is-visible:hover { transform: none !important; }
}


/* ==========================================================
   Resultados en dos columnas + selects buscables (Select2-like).
   Solo se activa en /empleos, sin dependencia de jQuery.
   ========================================================== */
.jobs-directory-results--premium .jobs-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}
.jobs-directory-results--premium .jobs-results-grid .job-card--premium {
    min-height: 315px;
    padding: 20px;
    gap: 14px;
}
.jobs-results-grid .job-card-identity-row { gap: 10px; }
.jobs-results-grid .job-card--premium .job-card-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
}
.jobs-results-grid .job-card--premium h2 {
    font-size: 1.02rem;
    line-height: 1.36;
}
.jobs-results-grid .job-card--premium .job-card-published {
    white-space: normal;
    text-align: right;
}
.jobs-results-grid .job-card--premium .job-card-facts { gap: 7px; }
.jobs-results-grid .job-card--premium .job-card-facts .meta-item { padding: 6px 8px; font-size: .74rem; }
.jobs-results-grid .job-card--premium .job-card-footer { gap: 12px; flex-wrap: wrap; }
.jobs-results-grid .job-card--premium .job-card-detail {
    min-height: 38px;
    font-size: .76rem;
    padding: 9px 12px;
}
.jobs-results-grid .job-card--premium .job-card-categories { gap: 6px; }
.jobs-results-grid .job-card--premium .job-card-category { font-size: .7rem; padding: 5px 8px; }

/* Selector nativo visible hasta que JS active la mejora. */
.jobs-filter-sidebar--premium .jobs-select-native-hidden {
    display: none !important;
}
.jobs-searchable-select { width: 100%; min-width: 0; }
.jobs-filter-sidebar--premium .jobs-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 45px;
    padding: 9px 13px 9px 39px;
    border: 1px solid #d9e7de;
    border-radius: 10px;
    background: #fafffc;
    color: #657d70;
    font: inherit;
    font-size: .82rem;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jobs-select-trigger.has-selection { color: #234536; font-weight: 650; }
.jobs-select-trigger:hover { border-color: #a2d9bb; background: #fff; }
.jobs-select-trigger.is-open,
.jobs-select-trigger:focus-visible {
    outline: none;
    border-color: #159b80;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21,155,128,.13);
}
.jobs-select-trigger-label {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.jobs-select-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: 3px;
    margin-top: -3px;
    border-right: 1.8px solid #6b967d;
    border-bottom: 1.8px solid #6b967d;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.jobs-select-trigger.is-open .jobs-select-chevron { margin-top: 4px; transform: rotate(225deg); }

/* Menú fijado sobre la página para no recortarse en el panel lateral sticky. */
.jobs-select-popover {
    position: fixed;
    z-index: 110;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 8px;
    border: 1px solid #cfe4d8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 17px 42px rgba(16,72,53,.18);
}
.jobs-select-popover[hidden] { display: none !important; }
.jobs-select-search {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    padding: 8px 11px;
    border: 1px solid #d8e9df;
    border-radius: 8px;
    background: #f8fcf9;
    color: #214735;
    font: inherit;
    font-size: .81rem;
    outline: none;
}
.jobs-select-search::placeholder { color: #8aa293; }
.jobs-select-search:focus { border-color: #159b80; box-shadow: 0 0 0 3px rgba(21,155,128,.12); }
.jobs-select-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    margin: 7px 0;
    scrollbar-width: thin;
    scrollbar-color: #c3ddcc transparent;
}
.jobs-select-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #365b48;
    text-align: left;
    font: inherit;
    font-size: .8rem;
    line-height: 1.4;
    cursor: pointer;
}
.jobs-select-option:hover,
.jobs-select-option.is-active { background: #e9f7ef; color: #0b785d; }
.jobs-select-option[aria-selected="true"] {
    background: #e3f7eb;
    color: #0b785c;
    font-weight: 800;
}
.jobs-select-option:focus-visible { outline: 2px solid #159b80; outline-offset: -2px; }
.jobs-select-option-text { max-width: 100%; overflow-wrap: anywhere; }
.jobs-select-option small { color: #829788; font-size: .67rem; font-weight: 700; }
.jobs-select-empty { padding: 17px 10px; color: #7c9083; text-align: center; font-size: .77rem; line-height: 1.5; }
.jobs-select-status {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 8px 2px;
    border-top: 1px solid #e9f1eb;
    color: #7a9385;
    font-size: .7rem;
    line-height: 1.3;
}

/* Con barra lateral visible y poco ancho, priorizamos leer una tarjeta completa. */
@media (max-width: 1180px) and (min-width: 961px) {
    .jobs-directory-results--premium .jobs-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .jobs-directory-results--premium .jobs-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .jobs-directory-results--premium .jobs-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
    .jobs-results-grid .job-card--premium { padding: 18px; }
    .jobs-results-grid .job-card--premium .job-card-footer { align-items: stretch; }
    .jobs-results-grid .job-card--premium .job-card-detail { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .jobs-select-trigger, .jobs-select-chevron { transition: none !important; }
}

/* Acceso al catálogo de categorías desde el buscador de empleos. */
.jobs-hero-categories-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #bce1ce;
    border-radius: 9px;
    background: rgba(255,255,255,.78);
    color: #117e63;
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.jobs-hero-categories-link svg {width: 17px;height: 17px;}
.jobs-hero-categories-link:hover {background: #fff;color: #0b725a;transform: translateY(-2px);}
.jobs-hero-categories-link:focus-visible {outline: 3px solid #88dab6;outline-offset: 3px;}
@media (prefers-reduced-motion: reduce) {
    .jobs-hero-categories-link {transition: none;}
    .jobs-hero-categories-link:hover {transform: none;}
}
