.job-list-heading {
  align-items: end;
  background: transparent;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.job-list-heading h2 { margin-bottom: .35em; }
.job-list-heading label { font-size: .9rem; font-weight: 700; }
.job-list-heading select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  display: block;
  font: inherit;
  margin-top: 4px;
  min-height: 44px;
  padding-inline: 12px;
}

.content > .job-count { margin: 14px 0 8px; font-size: .9rem; }
.job-grid {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.job-profile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.job-profile summary {
  cursor: pointer;
  display: block;
  padding: 16px 40px 16px 16px;
  position: relative;
}

.job-profile summary::-webkit-details-marker { display: none; }
.job-profile summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--purple);
  content: "";
  height: 8px;
  position: absolute;
  right: 18px;
  top: 20px;
  transform: rotate(45deg);
  width: 8px;
}

.job-profile details[open] summary::after { transform: rotate(225deg); }
.job-profile summary:focus-visible,
.job-list-heading select:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.job-title, .job-meta { display: block; }
.job-title { font-weight: 750; line-height: 1.35; }
.job-meta { color: var(--muted); font-size: .88rem; margin: 4px 0 8px; }
.job-stack {
  background: var(--soft);
  border-radius: 999px;
  color: var(--purple);
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  padding: 2px 9px;
}

.job-description { border-top: 1px solid var(--line); padding: 14px 16px; }
.job-description h3 { font-size: 1rem; line-height: 1.35; margin: 16px 0 6px; }
.job-description ul { color: var(--muted); margin: 0; padding-inline-start: 20px; }
.job-detail-link {
  border-top: 1px solid var(--line);
  display: block;
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 16px;
}
.job-detail-sections h2 { margin: 1.2em 0 .5em; }
.job-detail-sections h2:first-child { margin-top: 0; }
.job-detail ul { color: var(--muted); margin: 0; padding-inline-start: 1.25em; }
