/* Jornal Colabore v53.0 — Design Editorial de Vagas de Emprego & Blocos de Serviço
   Alto contraste garantido no modo claro e escuro, imune a overrides globais de artigos. */

/* ---------- 1. Hero Blindado de Vagas (Arquivo e Página Individual) ---------- */
.jc-jobs-archive .jc-jobs-hero,
.jc-job-single .jc-job-hero,
body.single-jc_job .jc-job-hero,
body.single .jc-bus-hero{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#071d3f 0%,#0b3b78 58%,#0d5cc7 100%)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  padding:28px 30px!important;
  box-shadow:0 18px 42px rgba(7,29,63,.16)!important;
  text-align:left!important;
}

.jc-jobs-hero__top,
.jc-job-hero__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.jc-job-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1.2;
}
.jc-job-badge--open{
  background:rgba(34,197,94,.2)!important;
  border:1px solid rgba(134,239,172,.45)!important;
  color:#ecfdf5!important;
}
.jc-job-badge--open::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#4ade80;
  box-shadow:0 0 0 3px rgba(74,222,128,.25);
}
.jc-job-badge--closed{
  background:rgba(248,113,113,.22)!important;
  border:1px solid rgba(252,165,165,.42)!important;
  color:#fef2f2!important;
}

.jc-job-hero__date,
.jc-jobs-hero__updated{
  font-size:12px!important;
  font-weight:700!important;
  color:rgba(235,245,255,.86)!important;
}

.jc-jobs-archive .jc-jobs-hero h1,
.jc-job-single .jc-job-hero h1,
body.single-jc_job .jc-job-hero h1,
body.single .jc-bus-hero h1{
  margin:4px 0 10px!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;
  font-size:clamp(28px,3.8vw,44px)!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
  color:#ffffff!important;
}

.jc-jobs-archive .jc-jobs-hero p,
.jc-job-single .jc-job-hero p,
body.single-jc_job .jc-job-hero p,
body.single .jc-bus-hero p{
  margin:0!important;
  max-width:780px!important;
  font-size:16.5px!important;
  line-height:1.5!important;
  font-weight:500!important;
  color:rgba(240,247,255,.92)!important;
}

.jc-job-hero__pills,
.jc-jobs-hero__stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.jc-job-hero__pills span,
.jc-jobs-hero__stats span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:5px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.15)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  color:#ffffff!important;
  font-size:13px!important;
  font-weight:800!important;
  backdrop-filter:blur(6px);
}

/* Breadcrumb acima do hero da vaga */
.jc-job-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 14px;
  font-size:12.5px;
  font-weight:700;
  color:#5b6b82;
}
.jc-job-breadcrumb a{
  color:#0d5cc7;
  text-decoration:none;
}
.jc-job-breadcrumb a:hover{
  text-decoration:underline;
}

/* ---------- 2. Layout da Página Individual de Vaga ---------- */
.jc-job-single{
  padding:18px 0 44px!important;
}
.jc-job-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:22px;
  align-items:start;
  margin-top:22px;
}
.jc-job-main-card,
.jc-job-side-card{
  background:#ffffff;
  border:1px solid #dce6f2;
  border-radius:22px;
  padding:26px;
  box-shadow:0 10px 30px rgba(10,35,68,.05);
}
.jc-job-side-card{
  position:sticky;
  top:88px;
  display:grid;
  gap:16px;
  padding:22px;
}
.jc-job-main-card h2{
  margin:0 0 14px;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.025em;
  color:#0f233f;
}
.jc-job-content{
  font-size:16px;
  line-height:1.68;
  color:#24364d;
}
.jc-job-content p{
  margin:0 0 14px;
}
.jc-job-content h3{
  margin:22px 0 10px;
  padding-top:14px;
  border-top:1px solid #e8eff7;
  font-size:17.5px;
  font-weight:850;
  color:#0f233f;
}
.jc-job-content ul{
  margin:0 0 16px;
  padding-left:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.jc-job-content ul li{
  position:relative;
  padding-left:22px;
  line-height:1.52;
}
.jc-job-content ul li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  color:#0d5cc7;
  font-weight:900;
}

.jc-job-safety-note{
  margin-top:22px;
  padding:14px 16px;
  border-radius:14px;
  background:#f4f8fd;
  border:1px solid #d8e6f6;
  font-size:13px;
  line-height:1.5;
  color:#41566f;
}
.jc-job-safety-note strong{
  color:#0d4ea6;
}

/* Ficha Lateral */
.jc-job-facts{
  display:grid;
  gap:12px;
}
.jc-job-fact{
  display:grid;
  gap:2px;
  padding-bottom:11px;
  border-bottom:1px solid #ebf1f8;
}
.jc-job-fact:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.jc-job-fact small{
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#0d5cc7;
}
.jc-job-fact strong{
  font-size:15px;
  font-weight:750;
  color:#132844;
  line-height:1.35;
}

/* Caixa de Candidatura */
.jc-job-cta-box{
  display:grid;
  gap:10px;
  padding:16px;
  border-radius:16px;
  background:linear-gradient(180deg,#f3f8ff 0%,#eaf3ff 100%);
  border:1px solid #cbe0fb;
}
.jc-job-cta-box__label{
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#0b4ea8;
}
.jc-job-cta-box__address{
  font-size:15px;
  font-weight:800;
  line-height:1.4;
  color:#0f233f;
}
.jc-job-cta-box__note{
  margin:0;
  font-size:12.5px;
  line-height:1.45;
  color:#4b6079;
}
.jc-job-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:46px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid transparent;
  font-size:14px;
  font-weight:850;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.jc-job-btn:hover{
  transform:translateY(-1px);
}
.jc-job-btn--primary{
  background:#0d5cc7;
  color:#ffffff!important;
  box-shadow:0 8px 20px rgba(13,92,199,.22);
}
.jc-job-btn--primary:hover{
  background:#0a4ca8;
}
.jc-job-btn--whatsapp{
  background:#16a34a;
  color:#ffffff!important;
  box-shadow:0 8px 20px rgba(22,163,74,.22);
}
.jc-job-btn--whatsapp:hover{
  background:#15803d;
}
.jc-job-btn--ghost{
  background:#ffffff;
  border-color:#c9daee;
  color:#17385e!important;
  min-height:40px;
  font-size:13px;
}
.jc-job-btn--ghost:hover{
  background:#f5f9ff;
  border-color:#93bce8;
}
.jc-job-cta-subactions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

/* Seção Mais Vagas no rodapé da vaga */
.jc-job-more{
  margin-top:30px;
}
.jc-job-more__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.jc-job-more__head h2{
  margin:0;
  font-size:21px;
  font-weight:900;
}
.jc-job-more__head a{
  font-size:13.5px;
  font-weight:800;
  color:#0d5cc7;
  text-decoration:none;
}

/* ---------- 3. Página de Listagem (/vagas/) & Filtros Rápidos ---------- */
.jc-jobs-toolbar{
  margin:18px 0 20px;
  padding:18px;
  background:#ffffff;
  border:1px solid #dce6f2;
  border-radius:20px;
  box-shadow:0 8px 24px rgba(10,35,68,.04);
  display:grid;
  gap:14px;
}
.jc-jobs-toolbar__search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
}
.jc-jobs-toolbar__search input[type="search"]{
  width:100%;
  min-height:46px;
  padding:0 15px;
  border:1px solid #c9d8e8;
  border-radius:12px;
  font-size:14.5px;
  font-weight:600;
  color:#10233f;
  background:#f9fbfe;
}
.jc-jobs-toolbar__search button{
  min-height:46px;
  padding:0 22px;
  border:0;
  border-radius:12px;
  background:#0d5cc7;
  color:#ffffff;
  font-weight:850;
  font-size:14px;
  cursor:pointer;
}
.jc-jobs-toolbar__clear{
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  border:1px solid #d5e1ee;
  border-radius:12px;
  color:#334e68;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}
.jc-jobs-filter-row{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.jc-jobs-filter-row__label{
  font-size:11.5px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#64748b;
  margin-right:4px;
}
.jc-jobs-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:32px;
  padding:4px 12px;
  border-radius:999px;
  border:1px solid #d5e2f0;
  background:#f6f9fd;
  color:#243b55;
  font-size:12.5px;
  font-weight:750;
  text-decoration:none;
  cursor:pointer;
  transition:.15s ease;
}
.jc-jobs-chip:hover{
  border-color:#93bce8;
  background:#edf5ff;
  color:#0d5cc7;
}
.jc-jobs-chip.is-active{
  background:#0d5cc7;
  border-color:#0d5cc7;
  color:#ffffff!important;
}

/* ---------- 4. Cards de Vaga Redesenhados ---------- */
.jc-jobs-grid--v53{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.jc-job-card--v53{
  display:flex!important;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  padding:18px 20px!important;
  background:#ffffff!important;
  border:1px solid #dce6f2!important;
  border-radius:18px!important;
  text-decoration:none!important;
  color:#10233f!important;
  box-shadow:0 6px 20px rgba(10,35,68,.04);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.jc-job-card--v53:hover{
  transform:translateY(-2px);
  border-color:#8ab8f0!important;
  box-shadow:0 14px 30px rgba(13,92,199,.1)!important;
}
.jc-job-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}
.jc-job-card__tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:#eaf3ff!important;
  color:#0b4ea8!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.02em;
}
.jc-job-card__new{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  background:#dcfce7!important;
  color:#166534!important;
  font-size:10.5px!important;
  font-weight:900!important;
  text-transform:uppercase;
}
.jc-job-card__title{
  display:block;
  margin:2px 0 4px!important;
  font-size:18px!important;
  font-weight:850!important;
  line-height:1.25!important;
  color:#0f233f!important;
}
.jc-job-card__company{
  display:block;
  font-size:13.5px!important;
  font-weight:650!important;
  color:#475569!important;
}
.jc-job-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.jc-job-card__meta em{
  font-style:normal;
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border-radius:8px;
  background:#f3f7fc;
  color:#334e68;
  font-size:12px;
  font-weight:700;
}
.jc-job-card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-top:11px;
  border-top:1px solid #ecf2f9;
  font-size:12.5px;
  font-weight:800;
  color:#0d5cc7;
}
.jc-job-card__foot small{
  margin:0!important;
  font-size:11.5px;
  font-weight:600;
  color:#64748b;
}

/* ---------- 5. Blocos Editoriais Novos nas Matérias (.jc-news-service / .jc-news-readmore) ---------- */
.jc-article-content .jc-news-service{
  margin:20px 0;
  padding:16px 20px;
  border-radius:16px;
  border:1px solid #cbe0fb;
  border-left:5px solid #0d5cc7;
  background:#f4f8ff;
  color:#152b47;
}
.jc-article-content .jc-news-service strong:first-child{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#0d5cc7;
}
.jc-article-content .jc-news-readmore{
  margin:18px 0;
  padding:13px 16px;
  border-radius:14px;
  background:#f8fafd;
  border:1px solid #dce6f2;
  font-size:15px;
}
.jc-article-content .jc-news-readmore strong{
  color:#0d5cc7;
  margin-right:6px;
}

/* ---------- 6. Modo Escuro Completo ---------- */
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-main-card,.jc-job-side-card,.jc-jobs-toolbar,.jc-job-card--v53){
  background:#0e1e31!important;
  border-color:#263f5b!important;
  color:#edf5ff!important;
  box-shadow:none!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-main-card h2,.jc-job-content h3,.jc-job-fact strong,.jc-job-card__title,.jc-job-more__head h2){
  color:#f4f8ff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-content,.jc-job-card__company,.jc-job-breadcrumb){
  color:#c6d5e7!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-fact,.jc-job-content h3,.jc-job-card__foot){
  border-color:#20364f!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-cta-box{
  background:#132942!important;
  border-color:#2d4f73!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-cta-box__address{
  color:#f4f8ff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-cta-box__label,.jc-job-fact small,.jc-job-card__foot,.jc-job-more__head a,.jc-job-breadcrumb a){
  color:#8ec5ff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) :is(.jc-job-cta-box__note,.jc-job-safety-note){
  color:#b9cadc!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-safety-note{
  background:#12243a!important;
  border-color:#294564!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-card__meta em{
  background:#162d47!important;
  color:#d6e7fa!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-card__tag{
  background:#193b63!important;
  color:#b9dcff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-card__new{
  background:#14432a!important;
  color:#86efac!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-jobs-chip{
  background:#132840!important;
  border-color:#2d4a69!important;
  color:#d7e7f8!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-jobs-chip.is-active{
  background:#0d5cc7!important;
  border-color:#6ab0ff!important;
  color:#ffffff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-job-btn--ghost{
  background:#162d47!important;
  border-color:#325274!important;
  color:#e5f1ff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-article-content .jc-news-service{
  background:#12263f!important;
  border-color:#2d4f75!important;
  border-left-color:#56a3ff!important;
  color:#e8f2ff!important;
}
:where(html.jc-dark-mode-root body,body.jc-dark-mode) .jc-article-content .jc-news-readmore{
  background:#112236!important;
  border-color:#29435e!important;
  color:#e8f2ff!important;
}

/* ---------- 7. Responsividade Mobile ---------- */
@media (max-width: 980px){
  .jc-job-layout{
    grid-template-columns:1fr;
  }
  .jc-job-side-card{
    position:static;
    order:-1;
  }
  .jc-jobs-grid--v53{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 680px){
  .jc-jobs-archive .jc-jobs-hero,
  .jc-job-single .jc-job-hero{
    padding:20px 18px!important;
    border-radius:18px!important;
  }
  .jc-job-main-card,
  .jc-job-side-card{
    padding:18px;
    border-radius:18px;
  }
  .jc-jobs-toolbar__search{
    grid-template-columns:1fr;
  }
  .jc-jobs-grid--v53{
    grid-template-columns:1fr;
  }
  .jc-job-cta-subactions{
    grid-template-columns:1fr;
  }
}
