/* ==========================================================================
   PropertyFlow careers section (Sept 2026)
   Scoped to /careers/ and the role pages. Role index cards and the role page
   details block only; everything else comes from the shared design system.
   ========================================================================== */

/* ---------- Role index cards ---------- */
.pf-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.pf-role-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #131316;
  border: 1px solid #26262b;
  border-radius: 16px;
  padding: 1.75rem;
}
.pf-role-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.pf-role-card__title a {
  color: #f0f0f5;
  text-decoration: none;
}
.pf-role-card__title a:hover { color: #FF0257; }
.pf-role-card__location {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a0a0aa;
}
.pf-role-card__summary {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #a0a0aa;
}
.pf-role-card__cta {
  margin-top: auto;
  padding-top: 1.25rem;
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FF0257;
  text-decoration: none;
}
.pf-role-card__cta::after { content: " \2192"; }
.pf-role-card__cta:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .pf-roles { grid-template-columns: 1fr; }
  .pf-role-card { padding: 1.5rem 1.25rem; }
}

/* ---------- Role page ---------- */
.pf-role-meta {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  background: #131316;
  border: 1px solid #26262b;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.pf-role-meta__row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.pf-role-meta dt {
  flex: 0 0 7rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7c7c86;
}
.pf-role-meta dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #f0f0f5;
}
.pf-role .ds-article__list li { color: #a0a0aa; }
.pf-role-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #26262b;
}

@media (max-width: 639px) {
  .pf-role-meta { padding: 1.125rem 1.125rem; }
  .pf-role-meta dt { flex-basis: 100%; }
}
