@font-face {
  font-family: "DM Serif";
  src: url(/assets/dm-serif-text-italic.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

.jobs-wrap { width: min(1050px, calc(100% - 52px)); margin-inline: auto; }
.jobs-top { color: #fff5fb; background: #2c1c31; border-bottom: 2px solid #bd4671; }
.jobs-top .jobs-wrap, .jobs-top nav { display: flex; align-items: center; gap: 20px; }
.jobs-top .jobs-wrap { justify-content: space-between; min-height: 72px; }
.jobs-top nav a { padding-block: 10px; font-weight: 650; text-decoration: none; }
.jobs-top nav a:hover { color: #ffb6d0; }
.jobs-hero { background: #f2e5ee; padding: clamp(36px, 7vw, 80px) 0; }
.jobs-hero h1 { max-width: 21ch; font-size: clamp(36px, 6vw, 73px); margin-block: 6px 12px; }
.jobs-hero em { font: italic 400 1em "DM Serif", Georgia, serif; color: #92234e; }
.jobs-hero h1 + p { color: #654e63; font-size: 1.04rem; }
.jobs-role { color: #92234e; font-size: .73rem; font-weight: 740; text-transform: uppercase; letter-spacing: .08em; }
.jobs-results { padding-block: 28px 60px; }
.jobs-search { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 2.5fr) auto; gap: 12px; align-items: end; margin-bottom: 22px; }
.jobs-search > div { display: grid; gap: 4px; }
.jobs-search label { font-weight: 650; }
.jobs-search input, .jobs-search select { width: 100%; min-height: 44px; padding-inline: 11px; border: 1px solid #c8acbd; border-radius: 7px; background: #fff; font-weight: 490; }
.jobs-button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #9f254f; border-radius: 7px; background: #9f254f; color: white; font-weight: 690; text-decoration: none; }
.jobs-button:hover { background: #832043; }
.jobs-count { display: flex; justify-content: space-between; margin-bottom: 9px; }
.jobs-count p { color: #665467; }
.jobs-count a, .jobs-back, .jobs-source, .jobs-intake a { color: #92234e; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.jobs-card { display: grid; gap: 5px; padding: 17px 19px; margin-bottom: 8px; border: 1px solid #e2d4de; border-radius: 9px; background: #fff; }
.jobs-card h2, .jobs-detail h2 { font-size: clamp(22px, 2.5vw, 29px); line-height: 1.15; }
.jobs-card h2 a { text-decoration: none; }
.jobs-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jobs-card h2 span { color: #9f254f; }
.jobs-pay { color: #653351; font-weight: 630; }
.jobs-empty { padding: 22px 0; }
.jobs-intake { margin-top: 24px; }
.jobs-back { display: inline-block; margin-bottom: 20px; }
.jobs-detail { padding: 23px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border: 1px solid #e2d4de; border-radius: 9px; background: #fff; }
.jobs-detail h2, .jobs-detail p { flex-basis: 100%; }

@media (max-width: 570px) {
  .jobs-wrap { width: calc(100% - 34px); }
  .jobs-top .brand { width: 110px; }
  .jobs-top .jobs-wrap, .jobs-top nav { gap: 9px; }
  .jobs-top nav a { font-size: .72rem; white-space: nowrap; }
  .jobs-search { grid-template-columns: 1fr; }
  .jobs-search button { justify-content: center; }
}
