/*
 * IEHES Bolsa de Trabajo
 * Sistema visual único para portada, filtros, resultados, detalle y postulación.
 */

.iehes-jobs {
  --ij-navy-950: #061a3a;
  --ij-navy-900: #082d5c;
  --ij-navy-800: #0a4b82;
  --ij-teal-700: #075fae;
  --ij-teal-600: #077bb7;
  --ij-teal-100: #e1f3fb;
  --ij-cyan-300: #79d4f2;
  --ij-ink: #102f4c;
  --ij-muted: #526c82;
  --ij-line: #cbdde9;
  --ij-surface: #ffffff;
  --ij-surface-soft: #f3f8fc;
  --ij-surface-tint: #eaf4fb;
  --ij-success: #087554;
  --ij-warning: #8b5708;
  --ij-danger: #ad251b;
  --ij-radius-sm: 10px;
  --ij-radius-md: 16px;
  --ij-radius-lg: 24px;
  --ij-shadow-sm: 0 8px 24px rgba(6, 43, 80, .08);
  --ij-shadow-md: 0 18px 48px rgba(6, 43, 80, .13);
  --ij-shadow-lg: 0 28px 80px rgba(5, 28, 66, .2);
  min-width: 0;
  color: var(--ij-ink);
  background:
    radial-gradient(circle at 8% 22%, rgba(7, 138, 199, .08), transparent 24rem),
    linear-gradient(180deg, #f8fbfe 0%, #edf4f9 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.iehes-jobs,
.iehes-jobs * { box-sizing: border-box; }
.iehes-jobs * { min-width: 0; }
.iehes-jobs img { display: block; max-width: 100%; height: auto; }
.iehes-jobs button,
.iehes-jobs input,
.iehes-jobs select,
.iehes-jobs textarea { font: inherit; }
.iehes-jobs button,
.iehes-jobs a { -webkit-tap-highlight-color: transparent; }
.iehes-jobs :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #078ac7;
  outline-offset: 3px;
}
.iehes-jobs .container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding: 0;
}

/* Hero */
.ij-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(52px, 7vw, 86px) 0 clamp(76px, 9vw, 108px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(95, 202, 241, .28), transparent 24rem),
    radial-gradient(circle at 8% 90%, rgba(22, 121, 198, .28), transparent 30rem),
    linear-gradient(125deg, var(--ij-navy-950), var(--ij-navy-900) 60%, #075fae);
}
.ij-hero::before,
.ij-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.ij-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
  animation: ij-float 10s ease-in-out infinite alternate;
}
.ij-hero::after {
  width: 190px;
  height: 190px;
  left: 48%;
  bottom: -150px;
  background: rgba(121, 212, 242, .13);
  filter: blur(3px);
}
.ij-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}
.ij-hero-copy { animation: ij-rise .65s cubic-bezier(.2,.75,.25,1) both; }
.ij-kicker {
  margin: 0 0 12px;
  color: #9cdef8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ij-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .99;
  text-wrap: balance;
}
.ij-hero .ij-lead {
  max-width: 720px;
  margin: 0;
  color: #dcecf8;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.65;
}
.ij-hero .ij-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.ij-hero .ij-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #edf8f9;
  background: rgba(255,255,255,.08);
  font-size: 12.5px;
  font-weight: 600;
}
.ij-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ij-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ij-pill:hover { transform: translateY(-2px); border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.ij-pill--solid { border-color: #fff; color: var(--ij-navy-900); background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.ij-pill--solid:hover { color: var(--ij-navy-950); background: #edf8fe; }

.ij-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  animation: ij-rise .7s .12s cubic-bezier(.2,.75,.25,1) both;
}
.ij-hero-panel::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  bottom: -75px;
  border-radius: 50%;
  background: rgba(121,212,242,.2);
}
.ij-hero-panel-kicker { display: block; margin-bottom: 4px; color: #9cdef8; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ij-hero-panel h2 { margin: 0 0 18px; color: #fff; font-size: 21px; letter-spacing: -.02em; }
.ij-hero-route { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: ij-route; }
.ij-hero-route li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; align-items: center; color: #e6f2fb; font-size: 13px; line-height: 1.4; }
.ij-hero-route li::before {
  counter-increment: ij-route;
  content: counter(ij-route);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  color: var(--ij-navy-950);
  background: #9cdef8;
  font-size: 12px;
  font-weight: 850;
}
.ij-hero-panel-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); color: #bfd8eb; font-size: 12px; }

/* Carrusel de vacantes vigentes recientes */
.ij-spot { position: relative; z-index: 3; margin-top: -48px; }
.ij-opportunity-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid #c3dbea;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--ij-shadow-lg);
  animation: ij-rise .6s .2s cubic-bezier(.2,.75,.25,1) both;
}
.ij-opportunity-showcase::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #69cff1, var(--ij-teal-600) 46%, var(--ij-navy-800));
}
.ij-opportunity-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  padding: 27px 30px 22px;
}
.ij-opportunity-kicker {
  margin: 0 0 5px !important;
  color: var(--ij-teal-700) !important;
  font-size: 10.5px !important;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ij-opportunity-head h2 {
  margin: 0;
  color: var(--ij-ink);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 840;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.ij-opportunity-head > div:first-child > p:last-child { margin: 8px 0 0; color: var(--ij-muted); font-size: 13px; }
.ij-carousel-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.ij-carousel-control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bfd5e5;
  border-radius: 11px;
  color: #174f7a;
  background: #f4f9fd;
  box-shadow: none;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.ij-carousel-control:hover { border-color: var(--ij-teal-600); color: #fff; background: var(--ij-teal-700); transform: translateY(-1px); }
.ij-carousel-control:disabled { opacity: .42; cursor: default; transform: none; }
.ij-carousel-control svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ij-carousel-control .ij-play-icon { display: none; fill: currentColor; stroke: none; }
.ij-carousel-control[aria-pressed="true"] .ij-pause-icon { display: none; }
.ij-carousel-control[aria-pressed="true"] .ij-play-icon { display: block; }
.ij-carousel-status { min-width: 62px; color: #4d6a80; font-size: 12px; font-weight: 780; text-align: center; }
.ij-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--ij-navy-900);
}
.ij-carousel-viewport::-webkit-scrollbar { display: none; }
.ij-carousel-track { display: flex; width: 100%; }
.ij-opportunity-slide {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr);
  flex: 0 0 100%;
  min-height: 282px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  color: #fff;
  background:
    radial-gradient(circle at 58% 0%, rgba(105,207,241,.2), transparent 23rem),
    linear-gradient(118deg, #061a3a, #073f79 72%, #087db9);
}
.ij-opportunity-slide:nth-child(2n) { background: radial-gradient(circle at 52% 100%, rgba(105,207,241,.19), transparent 24rem), linear-gradient(118deg, #071f46, #084d8d 72%, #0a83bd); }
.ij-opportunity-slide:nth-child(3n) { background: radial-gradient(circle at 66% 20%, rgba(121,212,242,.2), transparent 22rem), linear-gradient(118deg, #061a3a, #0a427c 72%, #147eb6); }
.ij-opportunity-slide::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  right: 22%;
  bottom: -240px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(255,255,255,.025), 0 0 0 112px rgba(255,255,255,.018);
  transition: transform .7s ease;
}
.ij-opportunity-slide[data-active]::before { transform: translateY(-20px); }
.ij-slide-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(27px, 3.2vw, 40px); }
.ij-slide-topline { display: flex; width: 100%; justify-content: space-between; gap: 20px; align-items: center; }
.ij-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(151,230,223,.32);
  border-radius: 999px;
  color: #d4fbf5;
  background: rgba(54,175,161,.14);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ij-live-badge > span { width: 7px; height: 7px; border-radius: 50%; background: #72e0c3; box-shadow: 0 0 0 5px rgba(114,224,195,.12); }
.ij-slide-number { color: rgba(255,255,255,.18); font-size: 40px; font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.ij-opportunity-slide h3 {
  max-width: 780px;
  margin: 17px 0 0;
  color: #fff;
  font-size: clamp(25px, 3.1vw, 42px);
  font-weight: 830;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}
.ij-slide-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.ij-slide-tags span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.19); border-radius: 8px; color: #d7e9ec; background: rgba(255,255,255,.07); font-size: 11.5px; }
.ij-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 15px;
  border-radius: 10px;
  color: var(--ij-navy-900);
  background: #fff;
  box-shadow: 0 8px 22px rgba(1,18,26,.2);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.ij-slide-link:hover { color: #fff; background: var(--ij-teal-600); transform: translateY(-2px); }
.ij-slide-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ij-slide-facts {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-left: 1px solid rgba(255,255,255,.13);
  background: rgba(6,74,137,.3);
  backdrop-filter: blur(8px);
}
.ij-slide-urgency { align-self: flex-start; padding: 7px 10px; border-radius: 8px; color: #08335c; background: #a9e3f8; font-size: 11px; font-weight: 850; }
.ij-slide-facts dl { display: grid; gap: 0; margin: 18px 0 0; }
.ij-slide-facts dl > div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.ij-slide-facts dt { color: #bad4d8; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ij-slide-facts dd { margin: 0; color: #fff; font-size: 13px; font-weight: 700; }
.ij-slide-facts p { margin: 16px 0 0; color: #c4dadd; font-size: 11.5px; line-height: 1.55; }
.ij-carousel-dots { display: flex; justify-content: center; gap: 7px; padding: 14px 22px 16px; background: #fff; }
.ij-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #b5cace; box-shadow: none; cursor: pointer; transition: width .22s ease, background-color .22s ease; }
.ij-carousel-dots button[aria-current="true"] { width: 30px; background: var(--ij-teal-700); }
.ij-detail .tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; }

/* Botones comunes */
.ij-btn,
.ij-btn-primary,
.ij-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ij-btn:hover,
.ij-btn-primary:hover,
.ij-btn-ghost:hover { transform: translateY(-2px); }
.ij-btn--light,
.ij-btn-primary { border: 1px solid var(--ij-navy-900); color: #fff; background: var(--ij-navy-900); box-shadow: 0 9px 22px rgba(6,45,92,.2); }
.ij-btn--light:hover,
.ij-btn-primary:hover { color: #fff; background: var(--ij-navy-950); }
.ij-btn-ghost { border: 1px solid #adc7da; color: #164e78; background: #fff; }
.ij-btn-ghost:hover { border-color: var(--ij-teal-700); color: #07365f; background: #edf7fd; }

/* Búsqueda y filtros */
.ij-controls { padding: clamp(42px, 6vw, 72px) 0 20px; }
.ij-section-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: end; margin-bottom: 18px; }
.ij-section-head::after { content: "Actualización automática"; display: inline-flex; align-items: center; gap: 7px; color: var(--ij-success); font-size: 12px; font-weight: 750; }
.ij-section-head::before { content: ""; grid-column: 2; grid-row: 1; justify-self: end; width: 8px; height: 8px; margin: 0 144px 7px 0; border-radius: 50%; background: #19a779; box-shadow: 0 0 0 5px rgba(25,167,121,.12); }
.ij-section-head h2 { margin: 0; color: var(--ij-ink); font-size: clamp(29px, 3.5vw, 43px); letter-spacing: -.035em; line-height: 1.08; }
.ij-section-head p { max-width: 680px; margin: 8px 0 0; color: var(--ij-muted); }
.ij-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(350px, 1.6fr) minmax(180px, .55fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--ij-line);
  border-radius: var(--ij-radius-md);
  background: rgba(255,255,255,.96);
  box-shadow: var(--ij-shadow-sm);
}
.ij-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 100%; padding: 5px; border: 1px solid #d2e1eb; border-radius: 12px; background: #edf4f9; }
.ij-tab { min-height: 42px; padding: 8px 12px; border: 0; border-radius: 8px; color: #435c66; background: transparent; font-weight: 750; cursor: pointer; }
.ij-tab[aria-selected="true"] { color: var(--ij-navy-900); background: #fff; box-shadow: 0 3px 10px rgba(7,40,52,.12); }
.ij-status-meta { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ij-status-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 7px 10px; border: 1px solid #d4e1e4; border-radius: 9px; color: #39535e; background: #f6f9fa; font-size: 12.5px; font-weight: 700; }
.ij-status-pill[data-active="1"] { border-color: #9bcfe8; color: #07548a; background: #e3f3fb; }
.ij-status-copy { color: var(--ij-muted); font-size: 13px; font-weight: 600; }
.ij-search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 13px; border: 1px solid #adc5ca; border-radius: 11px; background: #fff; }
.ij-search:focus-within { border-color: var(--ij-teal-700); box-shadow: 0 0 0 4px rgba(7,95,174,.14); }
.ij-search svg { flex: 0 0 18px; fill: #526f79; }
.ij-search input { flex: 1; width: 100%; border: 0; outline: 0; color: var(--ij-ink); background: transparent; font-size: 15px; }
.ij-search input::placeholder,
.ij-field input::placeholder,
.ij-field textarea::placeholder { color: #637a83; opacity: 1; }
.ij-chips { display: flex; flex-wrap: wrap; gap: 7px; align-content: center; overflow: visible; padding: 0; }
.ij-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 10px; border: 1px solid #ccdade; border-radius: 9px; color: #3a535d; background: #f3f7f8; font-size: 12.5px; white-space: normal; cursor: pointer; user-select: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.ij-chip:hover { transform: translateY(-1px); border-color: #8bbbd8; background: #eaf5fb; }
.ij-chip[data-active="1"] { border-color: var(--ij-teal-700); color: #07538a; background: var(--ij-teal-100); box-shadow: inset 0 0 0 1px rgba(7,95,174,.12); }
.ij-right { display: flex; align-items: stretch; justify-content: flex-end; gap: 8px; }
.ij-select { width: 100%; min-height: 48px; padding: 10px 36px 10px 12px; border: 1px solid #adc5ca; border-radius: 10px; color: var(--ij-ink); background: #fff; }
#ij-export { display: none !important; }
.ij-count { margin: 14px 2px 0; color: #405a65; font-size: 14px; font-weight: 700; }

/* Resultados */
.ij-table-wrap { padding: 0 0 54px; transition: opacity .2s ease, transform .2s ease; }
.ij-scroller { overflow: auto; border: 1px solid #c9d9dd; border-radius: var(--ij-radius-md); background: #fff; box-shadow: var(--ij-shadow-sm); }
.ij-table { width: 100%; min-width: 960px; border-spacing: 0; border-collapse: separate; table-layout: fixed; font-size: 13.5px; }
.ij-table thead th { padding: 14px 13px; border-bottom: 1px solid #cbdce8; color: #294d6a; background: #eaf3f9; font-size: 11px; font-weight: 820; letter-spacing: .045em; text-align: left; text-transform: uppercase; }
.ij-table th.ij-sort { cursor: pointer; user-select: none; }
.ij-table th .arr { margin-left: 4px; opacity: .55; }
.ij-table tbody td { padding: 16px 13px; border-bottom: 1px solid #e1e9eb; vertical-align: middle; overflow-wrap: anywhere; }
.ij-table tbody tr { background: #fff; transition: background .18s ease, transform .18s ease; }
.ij-table tbody tr:nth-child(even) { background: #f8fbfe; }
.ij-table tbody tr:hover { background: #edf6fc; }
.ij-table tbody tr:last-child td { border-bottom: 0; }
.ij-center { text-align: center !important; }
.ij-title { display: grid; gap: 8px; }
.ij-title a { color: #075b9b; font-size: 14px; font-weight: 780; line-height: 1.42; text-decoration: none; overflow-wrap: anywhere; }
.ij-title a:hover { color: #062d54; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ij-status-tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.ij-status-tag.live { border: 1px solid #a9dfc9; color: #086043; background: #e5f7ef; }
.ij-status-tag.past { border: 1px solid #ccd8dc; color: #475e68; background: #eef2f3; }
.ij-badge { display: inline-flex; max-width: 100%; padding: 6px 8px; border: 1px solid #d0dee1; border-radius: 8px; color: #344e59; background: #eff4f5; font-size: 11.5px; line-height: 1.35; overflow-wrap: anywhere; }
.ij-badge.peach { border-color: #e4d2be; color: #694426; background: #f8f0e8; }
.ij-dd { color: #2f4a55; font-weight: 780; white-space: normal; overflow-wrap: anywhere; }
.ij-dd.ok { color: var(--ij-success); }
.ij-dd.warn { color: var(--ij-warning); }
.ij-dd.danger { color: var(--ij-danger); }
.ij-action a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 9px; color: #fff; background: var(--ij-navy-900); font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.ij-action a:hover { transform: translateY(-2px); color: #fff; background: var(--ij-teal-700); }
.ij-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; }
.ij-page { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 7px 10px; border: 1px solid #c6d6da; border-radius: 10px; color: #294751; background: #fff; font-weight: 750; cursor: pointer; }
.ij-page[aria-current="page"] { border-color: var(--ij-teal-700); color: #fff; background: var(--ij-teal-700); }
.ij-page[disabled] { opacity: .45; pointer-events: none; }

/* Detalle */
.ij-detail { display: none; padding: 28px 0 64px; }
.ij-detail .ij-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 2px; color: #075b9b; font-weight: 750; text-decoration: none; }
.ij-detail .card { overflow: hidden; border: 1px solid #c7d8dc; border-radius: var(--ij-radius-lg); background: #fff; box-shadow: var(--ij-shadow-md); animation: ij-rise .35s ease both; }
.ij-detail .cover { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 52px); color: #fff; background: linear-gradient(120deg, var(--ij-navy-950), var(--ij-navy-900) 62%, #0874ae); }
.ij-detail .cover::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -130px; top: -190px; border: 55px solid rgba(121,212,242,.14); border-radius: 50%; }
.ij-detail .cover h2 { max-width: 980px; margin: 0; color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 830; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.ij-detail .tag { padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #edf9fa; background: rgba(255,255,255,.09); font-size: 12px; }
.ij-detail .meta { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); grid-template-areas: "dates location" "summary summary" "functions requirements" "functions benefits"; gap: 16px; padding: 26px; background: #f8fbfe; }
.ij-detail .box { border: 1px solid #d2e0e3; border-radius: 14px; padding: 20px; color: #263f49; background: #fff; box-shadow: 0 5px 16px rgba(7,43,54,.045); }
.ij-detail .ij-detail-dates { grid-area: dates; }
.ij-detail .ij-detail-location { grid-area: location; }
.ij-detail .ij-detail-summary { grid-area: summary; border-left: 4px solid var(--ij-teal-600); }
.ij-detail .ij-detail-functions { grid-area: functions; }
.ij-detail .ij-detail-requirements { grid-area: requirements; }
.ij-detail .ij-detail-benefits { grid-area: benefits; }
.ij-detail h3 { margin: 0 0 10px; color: var(--ij-ink); font-size: 17px; letter-spacing: -.01em; }
.ij-detail p { line-height: 1.7; }
.ij-detail ul { margin: 0; padding-left: 20px; }
.ij-detail li { margin: 0 0 6px; line-height: 1.55; }
.ij-detail .notice { margin: 0 26px 24px; padding: 18px 20px; border: 1px solid #c9dce9; border-left: 5px solid #69acd4; border-radius: 13px; color: #34536b; background: #f2f8fc; }
.ij-detail .notice strong { display: block; margin-bottom: 6px; color: #174f76; }
.ij-detail .notice p { margin: 0; font-size: 13px; }
.ij-detail .notice a { color: #075c9e; font-weight: 750; overflow-wrap: anywhere; }
.ij-detail .actions { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 26px 24px; border-top: 1px solid #d8e3e6; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.iehes-jobs.detail-open .ij-hero,
.iehes-jobs.detail-open .ij-controls,
.iehes-jobs.detail-open .ij-table-wrap,
.iehes-jobs.detail-open .ij-spot { display: none; }
.iehes-jobs.detail-open .ij-detail { display: block; }

/* Estado vacío */
.ij-empty { display: none; padding: 42px 18px; text-align: center; color: #3b5661; }
.ij-empty .svg { width: 82px; height: 82px; margin: 0 auto 10px; }
.ij-empty p { margin: 6px 0 14px; }
.ij-empty .clear { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 14px; border: 1px solid #9fc7df; border-radius: 10px; color: #07558c; background: #e8f4fb; font-weight: 750; text-decoration: none; }

/* Modales y formularios */
.ij-modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; overflow: auto; padding: 20px; background: rgba(3, 20, 46, .76); backdrop-filter: blur(7px); }
.ij-modal.open { display: grid; animation: ij-fade .18s ease both; }
.ij-modal .box { width: min(720px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #bdd1d6; border-radius: 22px; background: #fff; box-shadow: var(--ij-shadow-lg); animation: ij-modal-in .25s ease both; }
.ij-modal--compact .box { width: min(540px, 100%); }
.ij-modal .hd { position: sticky; top: 0; z-index: 4; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #d5e1e4; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.ij-modal .hd h3 { margin: 0; color: var(--ij-ink); font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.ij-modal .hd .ij-btn-ghost { min-height: 38px; padding: 8px 11px; }
.ij-modal .bd { display: grid; gap: 15px; padding: 22px; }
.ij-modal .ij-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.ij-field { display: grid; gap: 7px; }
.ij-field > span { color: #263f49; font-size: 13px; font-weight: 750; }
.ij-field input,
.ij-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #aec5ca; border-radius: 10px; outline: 0; color: var(--ij-ink); background: #fff; }
.ij-field textarea { min-height: 100px; resize: vertical; }
.ij-field input:focus,
.ij-field textarea:focus { border-color: var(--ij-teal-700); box-shadow: 0 0 0 4px rgba(7,95,174,.14); }
.ij-field input[type="file"] { height: auto; padding: 9px; border-style: dashed; background: #f5f9f9; }
.ij-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 15px 22px; border-top: 1px solid #d6e2e5; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.ij-help { color: #526b75; font-size: 13px; }
.ij-error { color: #a8241b; font-weight: 750; }
.ij-success { color: #08704f; font-weight: 750; }
.ij-step { display: none; }
.ij-step.open { display: grid; gap: 13px; animation: ij-rise .22s ease both; }
.ij-info { padding: 13px 14px; border: 1px solid #c7dce9; border-left: 4px solid #79afd0; border-radius: 11px; color: #36556d; background: #f1f7fc; }
.ij-list { margin: 8px 0 0; padding-left: 18px; color: #3f5964; }
.ij-apply-route { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.ij-apply-route span { position: relative; display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 8px 9px; border: 1px solid #d3e0e3; border-radius: 10px; color: #607780; background: #f5f8f9; font-size: 11px; font-weight: 780; }
.ij-apply-route span::before { content: attr(data-index); display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; color: #405a64; background: #dfe8ea; }
.ij-apply-route span[data-state="active"] { border-color: #8cc7e5; color: #07558c; background: #e5f3fb; }
.ij-apply-route span[data-state="active"]::before { color: #fff; background: var(--ij-teal-700); }
.ij-apply-route span[data-state="complete"] { border-color: #9cd6bd; color: #146047; background: #edf8f2; }
.ij-apply-route span[data-state="complete"]::before { content: "✓"; color: #fff; background: var(--ij-success); }
.ij-missing-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ij-missing-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px; border: 1px solid #dfca9e; border-radius: 10px; background: #fff9ee; }
.ij-missing-row span { color: #594315; font-size: 13px; }
.ij-user { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 12px; border: 1px solid #bbd8e8; border-radius: 10px; color: #234f70; background: #eaf5fb; }
.ij-inline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ij-login-forgot { justify-self: start; padding: 3px 0; border: 0; color: #075b97; background: transparent; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ij-password-rules { margin: 0; padding-left: 18px; color: #536c76; font-size: 13px; }
.ij-modal--password .box { width: min(560px, 100%); }
.ij-modal--password .bd { padding: 26px; }
.ij-password-view { display: grid; width: 100%; gap: 16px; align-items: stretch; }
.ij-password-view[hidden] { display: none !important; }
.ij-password-view .ij-info { line-height: 1.55; }
.ij-password-view .ij-password-rules { padding: 13px 16px 13px 34px; border-radius: 10px; background: #f5f8f9; }
.ij-password-view .ij-inline-actions { margin-top: 2px; }
.ij-done { display: none; gap: 10px; padding: 8px 22px 22px; text-align: center; }
.ij-done.open { display: grid; }
.ij-done .ij-actions { position: static; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.ij-done .ok { color: var(--ij-success); }
.ij-toast { position: fixed; z-index: 1100; left: 50%; bottom: 20px; max-width: min(520px, calc(100% - 32px)); padding: 11px 15px; border: 1px solid #315c7d; border-radius: 11px; color: #edf8ff; background: #092c57; box-shadow: var(--ij-shadow-md); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease; }
.ij-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ij-screenloader { position: fixed; inset: 0; z-index: 1200; display: none; place-items: center; padding: 18px; background: rgba(3,18,43,.72); backdrop-filter: blur(6px); }
.ij-screenloader.open { display: grid; }
.ij-screenloader .panel { width: min(390px, 100%); padding: 24px 18px; border: 1px solid #315d80; border-radius: 18px; color: #edf8ff; background: #092c57; box-shadow: var(--ij-shadow-lg); text-align: center; }
.ij-screenloader .spin { width: 44px; height: 44px; margin: 0 auto 12px; border: 3px solid #77d2f0; border-right-color: transparent; border-radius: 50%; animation: ij-spin .8s linear infinite; }
.ij-screenloader .t1 { font-size: 18px; font-weight: 800; }
.ij-screenloader .t2 { color: #bfd4d9; font-size: 13px; }

/* Tablet: controles fluidos y resultados en dos columnas. */
@media (max-width: 1040px) {
  .ij-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(290px,.85fr); gap: 34px; }
  .ij-card { grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); }
  .ij-status-meta { grid-column: 2; }
  .ij-right { grid-column: 1 / -1; }
  .ij-select { width: min(100%, 280px); margin-left: auto; }
}

@media (max-width: 920px) {
  .iehes-jobs .container { width: min(100% - 32px, 1240px); }
  .ij-hero { padding-top: 48px; }
  .ij-hero-grid { grid-template-columns: 1fr; }
  .ij-hero-panel { display: grid; grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr); gap: 20px; align-items: center; }
  .ij-hero-panel h2 { margin-bottom: 0; }
  .ij-hero-panel-note { grid-column: 1 / -1; margin-top: 0; }
  .ij-opportunity-slide { grid-template-columns: minmax(0,1.2fr) minmax(265px,.8fr); }
  .ij-slide-copy,
  .ij-slide-facts { padding: 27px; }

  .ij-scroller { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .ij-table,
  .ij-table tbody,
  .ij-table tr,
  .ij-table td { display: block; width: 100%; min-width: 0; }
  .ij-table thead,
  .ij-table colgroup { display: none; }
  .ij-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .ij-table tbody tr { display: flex; flex-direction: column; margin: 0; padding: 20px; border: 1px solid #c9dade; border-top: 5px solid var(--ij-teal-600); border-radius: 16px; background: #fff; box-shadow: var(--ij-shadow-sm); animation: ij-rise .32s ease both; }
  .ij-table tbody tr:nth-child(even),
  .ij-table tbody tr:hover { background: #fff; }
  .ij-table tbody tr:nth-child(2) { animation-delay: .04s; }
  .ij-table tbody tr:nth-child(3) { animation-delay: .08s; }
  .ij-table tbody tr:nth-child(4) { animation-delay: .12s; }
  .ij-table tbody td { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; align-items: start; padding: 8px 0; border: 0; text-align: left !important; overflow-wrap: anywhere; }
  .ij-table tbody td[data-th]::before { content: attr(data-th); color: #617781; font-size: 9.5px; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
  .ij-table tbody td:first-child { display: block; padding: 0 0 13px; border-bottom: 1px solid #e0e8ea; }
  .ij-table tbody td:first-child::before { display: none; }
  .ij-title a { display: block; font-size: 18px; line-height: 1.34; }
  .ij-status-tag { margin-bottom: 8px; }
  .ij-table .ij-action { display: block; margin-top: auto; padding-top: 14px; }
  .ij-action a { width: 100%; }
}

@media (max-width: 760px) {
  .ij-section-head { grid-template-columns: 1fr; }
  .ij-section-head::before,
  .ij-section-head::after { display: none; }
  .ij-opportunity-head { align-items: center; padding: 25px 24px 20px; }
  .ij-opportunity-head > div:first-child > p:last-child { display: none; }
  .ij-opportunity-slide { grid-template-columns: 1fr; }
  .ij-slide-facts { border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .ij-card { grid-template-columns: 1fr; padding: 16px; }
  .ij-status-meta { grid-column: 1; }
  .ij-right { grid-column: 1; }
  .ij-select { width: 100%; margin: 0; }
  .ij-chips { gap: 6px; }
  .ij-chip { flex: 1 1 auto; justify-content: center; }
  .ij-detail .meta { grid-template-columns: 1fr; grid-template-areas: "dates" "location" "summary" "functions" "requirements" "benefits"; padding: 18px; }
  .ij-detail .notice { margin: 0 18px 18px; }
  .ij-detail .actions { padding: 16px 18px 20px; }
}

@media (max-width: 680px) {
  .ij-hero { padding: 40px 0 70px; }
  .ij-hero h1 { font-size: clamp(35px, 11vw, 48px); }
  .ij-hero .cta { display: grid; }
  .ij-pill { width: 100%; }
  .ij-hero-panel { display: block; padding: 20px; }
  .ij-hero-panel h2 { margin-bottom: 16px; }
  .ij-hero-panel-note { margin-top: 16px; }
  .ij-spot { margin-top: -34px; }
  .ij-opportunity-showcase { border-radius: 20px; }
  .ij-opportunity-head { flex-wrap: wrap; gap: 17px; padding: 24px 20px 18px; }
  .ij-carousel-controls { width: 100%; }
  .ij-carousel-status { flex: 1; }
  .ij-slide-copy,
  .ij-slide-facts { padding: 23px 20px; }
  .ij-opportunity-slide h3 { font-size: clamp(24px, 8vw, 34px); }
  .ij-slide-link { width: 100%; justify-content: center; margin-top: 24px; }
  .ij-controls { padding-top: 44px; }
  .ij-chips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ij-chip { width: 100%; justify-content: center; }
  .ij-table tbody { grid-template-columns: 1fr; }
  .ij-modal { align-items: end; padding: 0; }
  .ij-modal .box { width: 100%; max-height: calc(100dvh - 16px); border-radius: 22px 22px 0 0; }
  .ij-modal .hd,
  .ij-modal .bd,
  .ij-actions { padding-left: 16px; padding-right: 16px; }
  .ij-modal--password .bd { padding-top: 20px; padding-bottom: 22px; }
  .ij-modal .ij-row { grid-template-columns: 1fr; }
  .ij-apply-route { grid-template-columns: 1fr; }
  .ij-apply-route span { min-height: 40px; }
  .ij-missing-row { grid-template-columns: 1fr; }
  .ij-inline-actions,
  .ij-actions { display: grid; grid-template-columns: 1fr; }
  .ij-inline-actions > *,
  .ij-actions > * { width: 100%; }
}

@media (max-width: 580px) {
  .ij-hero-panel { display: none; }
}

@media (max-width: 400px) {
  .iehes-jobs .container { width: min(100% - 24px, 1240px); }
  .ij-hero h1 { font-size: 34px; }
  .ij-hero .ij-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ij-hero .ij-meta-item { justify-content: center; }
  .ij-hero .ij-meta-item:last-child { grid-column: 1 / -1; }
  .ij-opportunity-head h2 { font-size: 23px; }
  .ij-carousel-control { width: 40px; height: 40px; }
  .ij-slide-facts dl > div { grid-template-columns: 70px minmax(0,1fr); }
  .ij-table tbody tr { padding: 17px; }
  .ij-table tbody td { grid-template-columns: 76px minmax(0,1fr); }
  .ij-detail .cover { padding: 25px 20px; }
  .ij-detail .cover h2 { font-size: 29px; }
  .ij-detail .meta { padding: 14px; }
  .ij-detail .box { padding: 17px; }
}

@keyframes ij-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ij-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ij-modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ij-float { to { transform: translate(-20px, 18px) rotate(8deg); } }
@keyframes ij-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .iehes-jobs *,
  .iehes-jobs *::before,
  .iehes-jobs *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
