.af-jobs {
  --af-job-ink: #122447;
  --af-job-muted: #60708e;
  --af-job-blue: #1260ea;
  --af-job-border: #dce2ec;
  color: var(--af-job-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  width: 100%;
}
.af-jobs *, .af-jobs *::before, .af-jobs *::after { box-sizing: border-box; }
.af-jobs h1, .af-jobs h2, .af-jobs p { margin: 0; }
.af-jobs h1 { color: #071a3b; font-size: clamp(2rem, 3vw, 3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; }
.af-jobs h2 { color: #102348; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.af-jobs p { color: var(--af-job-muted); }
.af-jobs a { color: #155fdc; }
.af-jobs-heading { align-items: flex-end; display: flex; gap: 1rem; justify-content: space-between; margin: 0 0 1.5rem; }
.af-jobs-heading p { font-size: 1.06rem; margin-top: .45rem; }
.af-jobs-back { display: inline-block; font-size: .88rem; font-weight: 650; margin-bottom: .8rem; text-decoration: none; }
.af-jobs-card { background: #fff; border: 1px solid #e4e8ef; border-radius: 12px; box-shadow: 0 4px 18px rgba(23, 40, 72, .045); margin-bottom: 1rem; padding: 1.45rem; }
.af-job-form { padding: clamp(1.1rem, 2.2vw, 1.8rem); }
.af-job-grid { display: grid; gap: 1.3rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.af-job-field { min-width: 0; }
.af-job-field--wide { grid-column: 1 / -1; }
.af-job-field label, .af-job-source label { color: #253957; display: block; font-size: .9rem; font-weight: 650; margin-bottom: .4rem; }
.af-job-field label span { color: #cf3e63; }
.af-jobs input:not([type="hidden"]), .af-jobs select, .af-jobs textarea { background: #fff; border: 1px solid #cfd7e4; border-radius: 6px; box-shadow: none; color: #263958; display: block; font: inherit; font-size: .97rem; line-height: 1.4; min-height: 46px; padding: .65rem .8rem; width: 100%; }
.af-jobs textarea { min-height: 150px; resize: vertical; }
.af-jobs input::placeholder, .af-jobs textarea::placeholder { color: #8491a9; }
.af-jobs input:focus, .af-jobs select:focus, .af-jobs textarea:focus, .af-jobs a:focus-visible, .af-jobs button:focus-visible { outline: 3px solid #98baff; outline-offset: 2px; }
.af-job-button, .af-jobs a.af-job-button { align-items: center; background: var(--af-job-blue); border: 1px solid var(--af-job-blue); border-radius: 6px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-size: .92rem; font-weight: 650; justify-content: center; line-height: 1.3; min-height: 44px; padding: .65rem 1rem; text-align: center; text-decoration: none; }
.af-job-button:hover, .af-jobs a.af-job-button:hover { background: #064dc5; border-color: #064dc5; color: #fff; }
.af-job-button--outline, .af-jobs a.af-job-button--outline { background: #fff; color: #095ade; }
.af-job-button--outline:hover, .af-jobs a.af-job-button--outline:hover { background: #eef4ff; color: #084cbb; }
.af-job-button--text, .af-jobs a.af-job-button--text { background: transparent; border-color: transparent; color: #095ade; }
.af-job-button--text:hover, .af-jobs a.af-job-button--text:hover { background: #eef4ff; border-color: transparent; color: #084cbb; }
.af-job-form-actions { align-items: center; border-top: 1px solid #e8ebf1; display: flex; gap: 1rem; justify-content: space-between; margin-top: 1.75rem; padding-top: 1.3rem; }
.af-job-form-actions p { font-size: .85rem; max-width: 32rem; }
.af-job-form-actions .af-job-button + p { margin-top: .65rem; }
.af-job-preview .af-job-preview-note { color: #155fdc; font-size: .84rem; font-weight: 650; margin-bottom: .8rem; }
.af-job-preview .af-job-meta { font-size: .88rem; margin-top: .8rem; }
.af-job-buttons, .af-job-listing-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; }
.af-jobs-filters { align-items: end; display: grid; gap: .8rem; grid-template-columns: minmax(12rem, 2fr) minmax(9rem, 1fr) minmax(9rem, 1fr) auto; }
.af-jobs-notice { background: #edf8f3; border: 1px solid #a9dfc4; border-radius: 8px; color: #155b3c; margin-bottom: 1rem; padding: .85rem 1rem; }
.af-job-listing-top { align-items: start; display: flex; gap: 1rem; justify-content: space-between; }
.af-job-listing h2 a { color: #102348; text-decoration: none; }
.af-job-listing h2 a:hover { color: #095ade; text-decoration: underline; }
.af-job-listing p { margin-top: .4rem; }
.af-job-listing .af-job-meta { color: #667590; font-size: .88rem; margin: .8rem 0 1rem; }
.af-job-status { border-radius: 999px; flex: none; font-size: .76rem; font-weight: 700; padding: .3rem .7rem; }
.af-job-status.is-published { background: #e4f6ed; color: #187049; }
.af-job-status.is-draft { background: #fff4dd; color: #895700; }
.af-job-inline-form { display: inline-flex; margin: 0; }
.af-job-source { background: #f5f8fe; border-radius: 8px; margin-top: 1rem; padding: .9rem; }
.af-job-source small { color: #61718d; display: block; margin-top: .45rem; }
.af-jobs-pagination { align-items: center; display: flex; gap: 1rem; justify-content: center; margin: 1.25rem 0; }
.af-jobs-pagination span { color: #60708e; font-size: .9rem; }
.af-jobs-public { margin: 2rem auto; max-width: 1100px; padding: 0 1rem; }
.af-jobs-public .af-job-detail { padding: clamp(1.3rem, 4vw, 2.5rem); }
.af-job-detail .af-job-eyebrow { color: #155fdc; font-size: .9rem; font-weight: 700; margin-bottom: .5rem; }
.af-job-detail .af-job-detail-location { margin: .55rem 0 1.5rem; }
.af-job-facts { border-block: 1px solid #e6eaf1; display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; margin: 0 0 1.7rem; padding: 1.1rem 0; }
.af-job-facts div { min-width: 9rem; }
.af-job-facts dt { color: #697895; font-size: .78rem; font-weight: 700; margin: 0 0 .2rem; text-transform: uppercase; }
.af-job-facts dd { color: #1a3156; margin: 0; }
.af-job-description { color: #344966; line-height: 1.7; margin-top: .8rem; overflow-wrap: anywhere; }
.af-jobs-route { min-height: 50vh; }
@media (max-width: 800px) {
  .af-jobs-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-jobs-filters .af-job-button { width: 100%; }
}
@media (max-width: 560px) {
  .af-jobs-heading { align-items: flex-start; flex-direction: column; }
  .af-job-grid, .af-jobs-filters { grid-template-columns: 1fr; }
  .af-job-field--wide { grid-column: auto; }
  .af-job-form-actions { align-items: stretch; flex-direction: column; }
  .af-job-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-jobs-card { padding: 1rem; }
  .af-job-listing-top { align-items: flex-start; }
  .af-job-listing-actions { align-items: stretch; }
  .af-jobs-public { padding: 0 .75rem; }
}
