/* Careers page (template-careers.php) -------------------------------
   Loaded only on this template. Builds on the shared sl-cc__grid cards,
   sl-cc__end panel, sl-steps and sl-il__note from main.css. */

/* Role cards (only when cr_roles is filled) */
.sl-cr__roles li{display:flex;flex-direction:column;position:relative}
.sl-cc__grid .sl-cr__team.sl-eyebrow{position:relative;margin:0 0 8px;font-size:15px}
.sl-cr__meta{position:relative;display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0}
.sl-cc__grid .sl-cr__meta{color:var(--sl-ink);font-size:13.5px}
.sl-cr__chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--sl-brand-tint);font-weight:600;line-height:1.2}
.sl-cr__chip svg{width:15px;height:15px;flex:none;color:var(--sl-brand-deep)}
/* Whole card is clickable: the apply link is static so its ::before stretches over the card */
.sl-cc__grid .sl-cr__apply{position:static;margin-top:auto;padding-top:18px;min-height:44px;align-self:flex-start}
.sl-cr__apply::before{content:"";position:absolute;inset:0;z-index:1;cursor:pointer;border-radius:20px}
.sl-cr__apply:hover,.sl-cr__apply:focus-visible{color:var(--sl-brand)}

/* No-roles message */
.sl-cr__empty{max-width:760px;margin:0 auto}
.sl-cr__empty .sl-cr__empty-icon{margin:0 auto 18px}
.sl-cr__empty h3{margin:0 0 10px;font-size:clamp(21px,2.2vw,26px)}
.sl-cr__empty p{max-width:52ch;margin-left:auto;margin-right:auto}
.sl-cr__empty .sl-btn{transition:background .2s,color .2s,box-shadow .2s}
.sl-cr__empty .sl-btn svg{width:18px;height:18px}

/* Application form: field styles come from contact.css */
.sl-cr__apply-wrap{max-width:calc(760px + var(--sl-gutter) * 2)}
.sl-ct__field input[type="file"]{box-sizing:border-box;width:100%;min-height:52px;padding:10px 12px;border:1.5px dashed #BFD3C7;border-radius:12px;background:var(--sl-paper);color:var(--sl-ink);font:400 15px/1.4 var(--sl-body);cursor:pointer}
.sl-ct__field input[type="file"]::file-selector-button{margin-right:12px;padding:8px 16px;border:0;border-radius:999px;background:var(--sl-brand);color:#fff;font:600 14px/1.2 var(--sl-body);cursor:pointer}
.sl-ct__field.is-invalid input[type="file"]{border-color:#C0392B}
#cr-apply{scroll-margin-top:90px}

/* Fraud notice: the shared note has only a top margin, so give it room before the footer */
.sl-cr__note{padding:0 0 var(--sl-section)}
.sl-cr__note .sl-il__note{margin-top:0}

@media (max-width:560px){
  .sl-cr__empty{padding-left:20px;padding-right:20px}
  .sl-cr__empty .sl-btn{width:100%}
}
