.pjobs {
  --pjobs-navy: #14315f;
  --pjobs-blue: #2476b8;
  --pjobs-muted: #5f6b7a;
  --pjobs-border: #dbe3ee;
  --pjobs-head: #eef2f9;
  --pjobs-badge: #e6eef8;
  --pjobs-columns: minmax(0, 1fr) 155px 135px 32px;
  container-type: inline-size;
  color: var(--pjobs-navy);
  line-height: 1.4;
}

.pjobs *,
.pjobs *::before,
.pjobs *::after {
  box-sizing: border-box;
}

.pjobs [hidden] {
  display: none !important;
}

.pjobs .pjobs__eyebrow {
  margin: 0 0 4px;
  color: var(--pjobs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pjobs .pjobs__heading {
  margin: 0 0 14px;
  color: var(--pjobs-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

/* Filter bar */
.pjobs__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.pjobs__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pjobs__filter-label {
  margin-right: 4px;
  color: var(--pjobs-muted);
  font-size: 14px;
}

.pjobs button.pjobs__pill {
  margin: 0;
  padding: 9px 18px;
  border: 1px solid #c5d0df;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--pjobs-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.pjobs button.pjobs__pill:hover {
  border-color: var(--pjobs-navy);
}

.pjobs button.pjobs__pill.is-active {
  border-color: var(--pjobs-navy);
  background: var(--pjobs-navy);
  color: #fff;
}

.pjobs .pjobs__count {
  margin: 0 0 0 auto;
  color: var(--pjobs-muted);
  font-size: 14px;
}

/* Table */
.pjobs__table {
  overflow: hidden;
  border: 1px solid var(--pjobs-border);
  border-radius: 8px;
  background: #fff;
}

.pjobs__head,
.pjobs a.pjobs__row,
.pjobs__placeholder {
  display: grid;
  grid-template-columns: var(--pjobs-columns);
  align-items: center;
  column-gap: 16px;
  padding-right: 18px;
  padding-left: 18px;
}

.pjobs__head {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pjobs-border);
  background: var(--pjobs-head);
  color: var(--pjobs-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pjobs ul.pjobs__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pjobs li.pjobs__item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--pjobs-border);
}

.pjobs li.pjobs__item::before {
  content: none;
}

/* Only drop the final divider when no placeholder row follows. */
.pjobs__table:not(:has(.pjobs__placeholder:not([hidden]))) li.pjobs__item.is-last {
  border-bottom: 0;
}

.pjobs a.pjobs__row {
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--pjobs-navy);
  text-decoration: none;
  transition: background-color .15s;
}

.pjobs a.pjobs__row:hover {
  background: #f7f9fc;
  color: var(--pjobs-navy);
  text-decoration: none;
}

.pjobs a.pjobs__row:focus-visible {
  outline: 2px solid var(--pjobs-blue);
  outline-offset: -2px;
}

.pjobs__position {
  display: block;
  min-width: 0;
  max-width: 430px;
}

.pjobs__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pjobs__meta {
  display: block;
  margin-top: 3px;
  color: var(--pjobs-muted);
  font-size: 12px;
}

.pjobs__location {
  color: #26354d;
  font-size: 13px;
}

.pjobs__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--pjobs-badge);
  color: var(--pjobs-navy);
  font-size: 12px;
  font-weight: 700;
}

.pjobs__arrow {
  display: flex;
  justify-content: center;
}

/* Decorative "more to come" row */
.pjobs__placeholder {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #f8fafc;
}

.pjobs__placeholder i {
  display: block;
  height: 10px;
  border-radius: 3px;
  background: #e8edf4;
}

.pjobs__placeholder span:nth-child(1) i:first-child {
  width: 82%;
  max-width: 285px;
  background: #dde4ef;
}

.pjobs__placeholder span:nth-child(1) i:last-child {
  width: 36%;
  max-width: 125px;
  height: 8px;
  margin-top: 8px;
}

.pjobs__placeholder span:nth-child(2) i {
  width: 85px;
}

.pjobs__placeholder span:nth-child(3) i {
  width: 52px;
  height: 17px;
}

/* Actions */
.pjobs__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin-top: 20px;
}

.pjobs button.pjobs__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 22px;
  border: 2px solid var(--pjobs-navy);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  color: var(--pjobs-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}

.pjobs button.pjobs__more:hover {
  background: var(--pjobs-navy);
  color: #fff;
}

.pjobs button:focus-visible,
.pjobs a.pjobs__all:focus-visible {
  outline: 2px solid var(--pjobs-blue);
  outline-offset: 2px;
}

.pjobs a.pjobs__all {
  color: var(--pjobs-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pjobs .pjobs__empty {
  color: var(--pjobs-muted);
}

/* Narrow module positions and phones */
@container (max-width: 620px) {
  .pjobs__head {
    display: none;
  }

  .pjobs a.pjobs__row {
    grid-template-columns: auto minmax(0, 1fr) 24px;
    grid-template-areas:
      "position position arrow"
      "location type arrow";
    row-gap: 10px;
    padding-right: 12px;
    padding-left: 14px;
  }

  .pjobs__position { grid-area: position; }
  .pjobs__location { grid-area: location; }
  .pjobs__type { grid-area: type; }
  .pjobs__arrow { grid-area: arrow; }

  .pjobs__placeholder {
    grid-template-columns: 1fr;
  }

  .pjobs__placeholder span:not(:first-child) {
    display: none;
  }

  .pjobs .pjobs__count {
    margin-left: 0;
  }
}
