/* Talanta careers portal. Brand colour comes from the company profile (--brand). */
body.careers { background: #F7F8FB; font-size: 15px; }
.c-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.c-head { background: #fff; border-bottom: 1px solid var(--line); }
.c-head::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, #FFC800 0%, #FF9A13 55%, #F86820 100%); }
.c-head .c-wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.c-brand { display: flex; align-items: center; color: var(--ink); font-weight: 700; font-size: 18px; }
.c-brand img { max-height: 44px; width: auto; display: block; }
.c-brand:hover { text-decoration: none; }
.c-nav { margin-left: auto; display: flex; gap: 20px; }
.c-nav a { color: var(--ink-2); font-weight: 500; }
.c-hero { background: var(--brand); color: #fff; padding: 46px 0 42px; position: relative; overflow: hidden; }
.c-hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.c-hero h1 { color: #fff; font-size: 34px; letter-spacing: -.02em; position: relative; z-index: 1; }
.c-hero-job { padding: 30px 0 32px; }
.c-hero-job h1 { font-size: 28px; }
.c-intro { max-width: 720px; margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .9); position: relative; z-index: 1; }
.c-intro p:last-child { margin-bottom: 0; }
.c-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 10px; position: relative; z-index: 1; }
.c-back:hover { color: #fff; }
.c-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); font-size: 13.5px; }
.c-meta span + span::before { content: "·"; margin: 0 8px; color: var(--faint); }
.c-meta-lg { color: rgba(255, 255, 255, .88); font-size: 15px; margin-top: 8px; position: relative; z-index: 1; }
.c-meta-lg span + span::before { color: rgba(255, 255, 255, .5); }
.c-cta { margin-top: 18px; background: #fff; color: var(--brand); border-color: #fff; position: relative; z-index: 1; }
.c-cta:hover { background: #F1F3F8; border-color: #F1F3F8; color: var(--brand); }
.c-body { padding-top: 26px; padding-bottom: 48px; }
.c-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.c-filters .search { position: relative; flex: 1 1 240px; }
.c-filters .search .input { padding-left: 36px; }
.c-filters .search .ic { position: absolute; left: 11px; top: 10px; color: var(--faint); }
.c-filters select.input { flex: 0 1 200px; width: auto; }
.c-count { color: var(--muted); font-size: 13.5px; margin: 6px 0 14px; }
.c-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.c-job-link { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .12s, box-shadow .12s; }
.c-job-link:hover { text-decoration: none; border-color: #C3C9D3; box-shadow: var(--shadow); }
.c-job-title { display: block; font-weight: 650; font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.c-sum { display: block; color: var(--ink-2); margin-top: 8px; font-size: 14px; }
.c-job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; text-align: right; }
.c-salary { font-weight: 600; color: var(--ink); font-size: 14px; }
.c-job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.c-article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; font-size: 15.5px; }
.c-article h2 { font-size: 18px; margin: 24px 0 10px; color: var(--ink); }
.c-article h2:first-child { margin-top: 0; }
.c-lead { font-size: 17px; color: var(--ink); }
.c-aside { position: sticky; top: 20px; display: grid; gap: 14px; }
.c-facts { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0; }
.c-facts dt { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.c-facts dt:first-child { margin-top: 0; }
.c-facts dd { margin: 0; font-weight: 500; }
.c-share { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 0 4px; font-size: 14px; }
.c-sticky { display: none; }
.c-preview { background: var(--warn-50); color: var(--warn); text-align: center; padding: 9px 16px; font-size: 13.5px; font-weight: 500; }
.c-form-wrap { max-width: 760px; }
.c-form { display: grid; gap: 16px; }
.c-form .card { margin: 0; }
.c-legend { font-weight: 650; font-size: 16px; color: var(--ink); margin-bottom: 14px; padding: 0; }
.c-form .file-drop { position: relative; }
.file-drop.is-invalid { border-color: var(--danger); }
.check.is-invalid span { color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-success { display: flex; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.c-success .ic { color: #fff; width: 34px; height: 34px; margin-top: 4px; }
.c-success p { color: rgba(255, 255, 255, .9); margin: 6px 0 0; }
.c-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 22px 0 0; padding: 0; counter-reset: s; }
.c-steps li { position: relative; text-align: center; font-size: 12.5px; color: var(--muted); padding-top: 22px; }
.c-steps li span { position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #D0D5DD; z-index: 1; }
.c-steps li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: #E4E7EC; }
.c-steps li:first-child::before { display: none; }
.c-steps li.done span, .c-steps li.now span { background: var(--brand); }
.c-steps li.done::before, .c-steps li.now::before { background: var(--brand); }
.c-steps li.now { color: var(--ink); font-weight: 600; }
.c-steps li.now span { box-shadow: 0 0 0 4px rgba(15, 23, 51, .12); }
.c-foot { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; font-size: 14px; }
.c-foot .c-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.is-embed { background: transparent; }
.is-embed .c-hero { padding: 24px 0; border-radius: 0; }
.offer-doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 40px; }
@media (max-width: 860px) {
  .c-job-layout { grid-template-columns: minmax(0, 1fr); }
  .c-aside { position: static; }
  .c-article { padding: 20px; }
  .c-job-link { flex-direction: column; align-items: stretch; gap: 12px; }
  .c-job-side { align-items: flex-start; text-align: left; }
  .c-hero h1 { font-size: 26px; }
  .c-sticky { display: block; position: sticky; bottom: 0; padding: 10px 16px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); z-index: 10; }
  .c-filters select.input { flex: 1 1 45%; }
  .c-steps li { font-size: 11px; }
  .offer-doc { padding: 22px 18px; }
}

/* ---------- 1.1 refresh: livelier hero, card grid, accent details (brand colour + logo accent only) ---------- */
body.careers { --accent: linear-gradient(90deg, #FFC800 0%, #FF9A13 55%, #F86820 100%); --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v32' fill='none' stroke='%23ffffff' stroke-opacity='.07'/%3E%3C/svg%3E"); }
.c-hero { background: var(--hex), linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 62%, #000) 100%); padding: 64px 0 92px; }
.c-hero::after { right: -120px; top: auto; bottom: -220px; width: 460px; height: 460px; background: none; border: 70px solid rgba(255, 154, 19, .2); }
.c-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); z-index: 1; }
.c-hero h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.025em; max-width: 760px; }
.c-hero-job { padding: 46px 0 56px; }
.c-hero-job h1 { font-size: clamp(28px, 3.6vw, 40px); }
.c-intro { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.c-pill { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 16px 7px 12px; border-radius: 30px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 600; font-size: 14px; }
.c-pulse { width: 9px; height: 9px; border-radius: 50%; background: #FF9A13; box-shadow: 0 0 0 0 rgba(255, 154, 19, .6); animation: c-pulse 2s infinite; }
@keyframes c-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 154, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 154, 19, 0); } }
.c-cta { font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.c-filters-card { position: relative; z-index: 2; margin-top: -62px; margin-bottom: 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(16, 24, 40, .1); }
.c-body { padding-top: 0; }
.c-hero-job + .c-body { padding-top: 30px; }
.c-count { margin: 4px 2px 16px; }
.c-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.c-job-link { position: relative; flex-direction: column; align-items: stretch; gap: 0; height: 100%; padding: 24px 24px 20px; border-radius: 16px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.c-job-link::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.c-job-link:hover, .c-job-link:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 44px rgba(16, 24, 40, .12); }
.c-job-link:hover::before, .c-job-link:focus-visible::before { transform: scaleX(1); }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.c-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--bg); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.c-chip .ic { width: 13px; height: 13px; color: #F86820; }
.c-chip.is-key { background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); font-weight: 600; }
.c-job-title { font-size: 19px; line-height: 1.3; margin-bottom: 2px; letter-spacing: -.01em; }
.c-dept { display: block; color: var(--muted); font-size: 13.5px; }
.c-sum { margin: 10px 0 18px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-job-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.c-job-info { display: flex; flex-direction: column; gap: 2px; }
.c-salary { font-size: 15px; font-weight: 650; color: var(--brand); }
.c-dl { font-size: 13px; color: var(--muted); }
.c-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; transition: transform .25s ease; }
.c-arrow .ic { width: 18px; height: 18px; }
.c-job-link:hover .c-arrow { transform: translateX(4px); }
.c-help { margin: 22px 2px 0; color: var(--muted); font-size: 14px; }
.c-help a { font-weight: 600; text-decoration: underline; }
.c-article { border-radius: 16px; padding: 32px 36px; box-shadow: var(--shadow-sm); }
.c-article h2 { position: relative; padding-left: 14px; }
.c-article h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--accent); }
.c-facts-card { position: relative; overflow: hidden; border-radius: 16px; }
.c-facts-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.c-facts dd { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .c-jobs { grid-template-columns: minmax(0, 1fr); }
  .c-hero { padding: 44px 0 80px; }
  .c-hero-job { padding: 36px 0 44px; }
  .c-article { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .c-pulse { animation: none; } .c-job-link, .c-job-link::before, .c-arrow { transition: none; } }

/* Candidate task page */
.c-files { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 6px; }
.c-files li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line-2); }
.c-files li:first-child { border-top: 0; }
.c-files li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.c-files .check { margin: 0; }
