/* Job list ([tus_jobs] on /jobs/) and job page (single-job.php). Loaded only there (inc/jobs.php). */
.tus-jl, .tus-jp { --jl-teal: #07D5C8; --jl-teal-2: #2DBDB6; --jl-deep: #0E7771; --jl-ink: #003532; --jl-text: #3B4E57; --jl-muted: #6A7F88; --jl-line: #E3ECEE; font-family: var(--f-body, "Rubik", sans-serif); }

/* ---------- list ---------- */
.tus-jl { max-width: 1140px; margin: 0 auto; padding: 32px 16px 64px; box-sizing: border-box; }
.tus-jl__count { margin: 0 0 18px; color: var(--jl-muted); font-size: 15px; }
.tus-jl__count b { color: var(--jl-ink); font-size: 18px; }
.tus-jl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.tus-jl__card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px; background: #fff;
  border: 1px solid var(--jl-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 53, 50, .04);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, border-color .2s;
}
.tus-jl__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 53, 50, .10); border-color: var(--jl-teal-2); }
.tus-jl__card:focus-within { border-color: var(--jl-teal-2); }
.tus-jl__top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tus-jl__chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #EAF8F7; color: var(--jl-deep); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.tus-jl__badge { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.tus-jl__badge--ok { background: #DCFCE7; color: #166534; }
.tus-jl__badge--soon { background: #FEF3C7; color: #92400E; }
.tus-jl__badge--closed { background: #EEF1F3; color: #5E6E76; }
.tus-jl__badge--none { background: #E0F2FE; color: #075985; }
.tus-jl__meta { margin: -8px 0 0; color: var(--jl-muted); font-size: 14px; }
.tus-jl__title { margin: 0; font: 700 20px/1.3 var(--f-head, "Montserrat", sans-serif); color: var(--jl-ink); }
.tus-jl__title a { color: inherit; text-decoration: none; }
.tus-jl__title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }   /* whole card clickable */
.tus-jl__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.tus-jl__facts div { min-width: 0; }
.tus-jl__facts dt { font-size: 12px; color: var(--jl-muted); margin: 0 0 2px; }
.tus-jl__facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--jl-text); }
.tus-jl__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--jl-line); }
.tus-jl__date { font-size: 13px; color: var(--jl-muted); }
.tus-jl__btn, .tus-jl__more {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 10px;
  font: 700 14px/1 var(--f-ui, "Montserrat", sans-serif); text-decoration: none; white-space: nowrap; transition: background-color .15s, box-shadow .2s, transform .15s;
}
.tus-jl__btn { background: var(--jl-deep); color: #fff; }
.tus-jl__btn:hover, .tus-jl__btn:focus-visible { background: #0A5A55; color: #fff; box-shadow: 0 6px 16px rgba(14, 119, 113, .3); transform: translateY(-1px); }
.tus-jl__more { background: #EEF4F5; color: var(--jl-ink); }
.tus-jl__more:hover { background: #E1ECEE; color: var(--jl-ink); }
.tus-jl__card.is-closed { background: #FAFBFB; }
.tus-jl__card.is-closed .tus-jl__title { color: #4D5F67; }
.tus-jl__empty { padding: 48px 24px; text-align: center; background: #fff; border: 1px dashed #CFE0E3; border-radius: 16px; }
.tus-jl__empty h3 { margin: 0 0 8px; font: 700 20px/1.3 var(--f-head, "Montserrat", sans-serif); color: var(--jl-ink); }
.tus-jl__empty p { margin: 0; color: var(--jl-muted); }
.tus-jl__closed { margin-top: 36px; }
.tus-jl__closed summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 700 16px/1.3 var(--f-head, "Montserrat", sans-serif); color: var(--jl-text); }
.tus-jl__closed summary::-webkit-details-marker { display: none; }
.tus-jl__closed summary::before { content: "›"; display: inline-block; font-size: 20px; color: var(--jl-teal-2); transition: transform .2s; }
.tus-jl__closed[open] summary::before { transform: rotate(90deg); }
/* the converted Elementor block above the list used to add a spacer */
.tus-jobs::before { display: none; }

/* ---------- job page ---------- */
.tus-jp__wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.tus-jp__hero { background: linear-gradient(135deg, #EAF8F7 0%, #F6FBFB 60%, #fff 100%); border-bottom: 1px solid var(--jl-line); padding: 34px 0 30px; }
.tus-jp__back { display: inline-block; margin-bottom: 16px; color: var(--jl-deep); font-size: 14px; font-weight: 600; text-decoration: none; }
.tus-jp__back:hover { text-decoration: underline; }
.tus-jp__chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.tus-jp__chips .tus-jl__badge { margin-left: 0; }
.tus-jp__title { margin: 0 0 8px; font: 800 clamp(26px, 4vw, 38px)/1.2 var(--f-head, "Montserrat", sans-serif); color: var(--jl-ink); }
.tus-jp__sub { margin: 0; color: var(--jl-muted); font-size: 14.5px; }
.tus-jp, .tus-jl { overflow-x: clip; }
.tus-jp__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 48px; }
.tus-jp__closed { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: #FFF7E6; border: 1px solid #F5D9A6; color: #7A4B00; font-size: 15px; }
.tus-jp__sec { padding: 24px 26px; margin-bottom: 18px; background: #fff; border: 1px solid var(--jl-line); border-radius: 16px; }
.tus-jp__sec h2 { margin: 0 0 12px; font: 700 19px/1.3 var(--f-head, "Montserrat", sans-serif); color: var(--jl-ink); }
.tus-jp__text { color: var(--jl-text); font-size: 15.5px; line-height: 1.7; }
.tus-jp__text p { margin: 0 0 12px; }
.tus-jp__text ul, .tus-jp__text ol { margin: 0 0 12px; padding-left: 20px; }
.tus-jp__text li { margin: 4px 0; }
.tus-jp__text li::marker { color: var(--jl-teal-2); }
.tus-jp__side { position: sticky; top: 110px; }
.tus-jp__card { box-sizing: border-box; padding: 22px; background: #fff; border: 1px solid var(--jl-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 53, 50, .07); }
.tus-jp__facts { margin: 0 0 18px; }
.tus-jp__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--jl-line); }
.tus-jp__facts div:last-child { border-bottom: 0; }
.tus-jp__facts dt { color: var(--jl-muted); font-size: 14px; }
.tus-jp__facts dd { min-width: 0; overflow-wrap: anywhere; margin: 0; color: var(--jl-ink); font-size: 14.5px; font-weight: 700; text-align: right; }
.tus-jp__apply { width: 100%; box-sizing: border-box; padding: 14px 18px; font-size: 15px; }
.tus-jp__note { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--jl-muted); }
.tus-jp__share { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--jl-line); font-size: 13.5px; color: var(--jl-muted); }
.tus-jp__share span { margin-right: auto; }
.tus-jp__share .tus-jobpage__share-btn { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: #EEF4F5; transition: background-color .15s, transform .15s; }
.tus-jp__share .tus-jobpage__share-btn:hover { background: #DDF3F1; transform: translateY(-1px); }
.tus-jp__share svg { width: 16px; height: 16px; fill: var(--jl-ink); }
.tus-jp__others { padding-bottom: 56px; }
.tus-jp__others h2 { margin: 0 0 18px; font: 700 22px/1.3 var(--f-head, "Montserrat", sans-serif); color: var(--jl-ink); }

@media (max-width: 900px) {
  .tus-jp__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tus-jp__side { position: static; order: -1; }
}
@media (max-width: 480px) {
  .tus-jl__grid { grid-template-columns: 1fr; }
  .tus-jl__facts { grid-template-columns: 1fr 1fr; }
  .tus-jp__sec { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .tus-jl__card, .tus-jl__btn { transition: none; } .tus-jl__card:hover, .tus-jl__btn:hover { transform: none; } }
.tus-jp__zangia { display: block; margin-top: 12px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--jl-deep); text-decoration: none; } .tus-jp__zangia:hover { text-decoration: underline; }
