/* Electric Control — editorial careers page. */
body.ec-careers-editorial {
  --careers-navy: #0f1c2e;
  --careers-green: #7dbf2a;
  --careers-gray: #e6e8eb;
  color: var(--careers-navy);
  background: #fff;
  background-image: none;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
}
body.ec-careers-editorial .ec-page-hero--premium {
  min-height: max(680px,min(760px,84svh));
  padding: clamp(180px,20vh,220px) 0 clamp(72px,9vw,112px);
  align-items: flex-end;
  background-image:
    linear-gradient(90deg,rgba(15,28,46,.94) 0%,rgba(15,28,46,.77) 50%,rgba(15,28,46,.16) 100%),
    linear-gradient(0deg,rgba(15,28,46,.48),transparent 55%),
    url('/assets/public/heroes/hero-trabaja.jpg');
  background-position: center,center,center 52%;
  border: 0;
}
body.ec-careers-editorial .ec-page-hero--premium::before,
body.ec-careers-editorial .ec-page-hero--premium::after { display: none; }
body.ec-careers-editorial .ec-page-hero--premium .ec-container { width: min(100% - 96px,1440px); }
body.ec-careers-editorial .ec-page-hero--premium .ec-breadcrumb { margin-bottom: 30px; }
body.ec-careers-editorial .ec-page-hero--premium .ec-heading-xl {
  max-width: 1000px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(3.5rem,8vw,7.7rem);
  line-height: .96;
  letter-spacing: -.075em;
}
body.ec-careers-editorial .ec-page-hero--premium .ec-highlight { background: none; color: var(--careers-green); -webkit-text-fill-color: currentColor; }
body.ec-careers-editorial .ec-page-hero--premium .ec-subtitle { max-width: 680px; color: rgba(255,255,255,.8); font-size: clamp(1rem,1.35vw,1.16rem); line-height: 1.8; }

body.ec-careers-editorial .ec-section { padding: clamp(72px,9vw,116px) 0; }
body.ec-careers-editorial .ec-vacantes-header {
  align-items: end;
  margin-bottom: 32px !important;
  padding-bottom: 28px;
  border-bottom: 1px solid #cfd4d9;
}
body.ec-careers-editorial .ec-vacantes-header .ec-label { color: #5b941c; letter-spacing: .12em; }
body.ec-careers-editorial .ec-vacantes-header h2 { margin: 10px 0 0 !important; color: var(--careers-navy); font-size: clamp(2rem,4vw,3.6rem); line-height: 1.05; letter-spacing: -.06em; }
body.ec-careers-editorial #vacantes-count-badge { color: #456d17 !important; background: #edf3e6 !important; border: 0 !important; border-radius: 0 !important; font-size: .66rem !important; font-weight: 700; letter-spacing: .05em; }
body.ec-careers-editorial .ec-vacantes-header .ec-btn { min-height: 44px; color: var(--careers-navy); border: 1px solid #aeb6bf; border-radius: 0; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.ec-careers-editorial .ec-vacantes-filters {
  display: grid !important;
  grid-template-columns: minmax(220px,1.5fr) repeat(2,minmax(170px,.7fr));
  gap: 12px !important;
  margin-bottom: 30px !important;
  padding: 0 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #cfd4d9 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.ec-careers-editorial .ec-vacantes-filters > div { min-width: 0 !important; }
body.ec-careers-editorial .ec-vacantes-filters .ec-input {
  min-height: 46px;
  padding: 10px 12px;
  color: var(--careers-navy);
  background: #f4f6f7;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: .72rem;
}
body.ec-careers-editorial .ec-vacantes-filters .ec-input:focus { border-color: #5b941c; outline: 0; }
body.ec-careers-editorial #vacantes-lista {
  display: block !important;
  margin: 0;
  border-top: 1px solid #cfd4d9;
}
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card {
  display: grid !important;
  grid-template-columns: minmax(220px,.78fr) minmax(0,1.22fr) minmax(175px,.68fr);
  gap: 12px 34px;
  align-items: start;
  min-height: 150px;
  padding: 26px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #cfd4d9 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: padding .2s ease,background-color .2s ease;
}
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:first-child { grid-column: 1; grid-row: 1; display: block !important; margin: 0 !important; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card h3 { margin: 0 0 10px !important; color: var(--careers-navy); font-size: clamp(1.08rem,1.6vw,1.32rem) !important; line-height: 1.35 !important; letter-spacing: -.035em; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card .ec-badge { color: #456d17; background: #edf3e6; border: 0; border-radius: 0; font-size: .58rem !important; letter-spacing: .05em; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:nth-child(2) { grid-column: 1; grid-row: 2; gap: 8px !important; margin: 0 !important; color: #68717c !important; font-size: .67rem !important; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:nth-child(2) svg { width: 14px; height: 14px; color: #5b941c; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > p { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; color: #68717c !important; font-size: .77rem !important; line-height: 1.75 !important; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:last-child { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: grid !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card .ec-btn { min-height: 42px; justify-content: center; border-radius: 0; font-size: .59rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card .ec-btn-primary { color: #fff; background: var(--careers-navy); border-color: var(--careers-navy); }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card .ec-btn-outline { color: var(--careers-navy); border-color: #aeb6bf; }
body.ec-careers-editorial #vacantes-lista > .ec-vacante-card:hover { padding-left: 10px !important; background: #f8f9fa !important; }
body.ec-careers-editorial #vacantes-empty { padding: 46px 0 !important; text-align: left !important; }
body.ec-careers-editorial .ec-section-alt { background: #f4f6f7; }
body.ec-careers-editorial .ec-section .ec-text-center { max-width: none !important; margin: 0 0 42px !important; text-align: left; }
body.ec-careers-editorial .ec-section .ec-text-center .ec-label { color: #5b941c; }
body.ec-careers-editorial .ec-section .ec-text-center h2 { margin: 10px 0 0 !important; color: var(--careers-navy); font-size: clamp(2.1rem,4vw,4rem); line-height: 1.05; letter-spacing: -.06em; }
body.ec-careers-editorial .ec-section .ec-text-center p { max-width: 740px; margin: 14px 0 0; color: #68717c !important; font-size: .84rem; line-height: 1.8; }
body.ec-careers-editorial .ec-benefits-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; border-top: 1px solid #cfd4d9; }
body.ec-careers-editorial .ec-benefit-item { min-height: 180px; padding: 24px 16px 24px 0; background: transparent; border: 0; border-bottom: 1px solid #cfd4d9; border-radius: 0; box-shadow: none; }
body.ec-careers-editorial .ec-benefit-icon { display:flex; width:38px; height:38px; align-items:center; justify-content:center; margin:0 0 16px; color:#5b941c; background:#edf3e6; border-radius:0; }
body.ec-careers-editorial .ec-benefit-item h4 { margin: 0 0 8px; color: var(--careers-navy); font-size: .9rem; }
body.ec-careers-editorial .ec-benefit-item p { margin: 0; color: #68717c; font-size: .75rem; line-height: 1.75; }
body.ec-careers-editorial .ec-form-card { padding: clamp(28px,4vw,48px) !important; text-align: left !important; background: #f4f6f7; border: 0; border-top: 5px solid var(--careers-green); border-radius: 0; box-shadow: none; }
body.ec-careers-editorial .ec-form-card p { color: #68717c !important; font-size: .82rem; line-height: 1.8; }
body.ec-careers-editorial .ec-form-card .ec-btn { min-height: 46px; border-radius: 0; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.ec-careers-editorial .ec-page-cta { background: var(--careers-navy); border-radius: 0; }
body.ec-careers-editorial .ec-page-cta h2,
body.ec-careers-editorial .ec-page-cta p { color: #fff; }
body.ec-careers-editorial .ec-page-cta p { color: rgba(255,255,255,.72); }

@media (max-width: 900px) {
  body.ec-careers-editorial .ec-page-hero--premium .ec-container { width: min(100% - 48px,1440px); }
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card { grid-template-columns: minmax(190px,.8fr) minmax(0,1.2fr); gap: 12px 22px; }
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:last-child { grid-column: 2; grid-row: 3; grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.ec-careers-editorial .ec-benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body.ec-careers-editorial .ec-page-hero--premium { min-height: max(660px,82svh); padding: 150px 0 64px; background-position: center,center,55% center; }
  body.ec-careers-editorial .ec-page-hero--premium .ec-container { width: min(100% - 40px,1440px); }
  body.ec-careers-editorial .ec-page-hero--premium .ec-heading-xl { font-size: clamp(3rem,13vw,5rem); }
  body.ec-careers-editorial .ec-vacantes-header { align-items: flex-start; }
  body.ec-careers-editorial .ec-vacantes-filters { grid-template-columns: 1fr; }
  body.ec-careers-editorial .ec-vacantes-filters > div { min-width: 0 !important; }
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding: 22px 0 !important; }
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:first-child,
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:nth-child(2),
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > p,
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:last-child { grid-column:1; grid-row:auto; }
  body.ec-careers-editorial #vacantes-lista > .ec-vacante-card > div:last-child { grid-template-columns:1fr !important; }
  body.ec-careers-editorial .ec-benefits-grid { grid-template-columns:1fr 1fr; gap:0 18px; }
  body.ec-careers-editorial .ec-benefit-item { min-height: 200px; }
  body.ec-careers-editorial .ec-form-card { padding: 24px 20px !important; }
}
