/* ==========================================================================
   Careers page additions for the database-driven Open Roles.

   Additive only: the existing .openroles-* styles live inline in the page and
   are untouched. This file supplies the two badge variants the original markup
   never used (it only ever hard-coded Full-time and Internship) plus the empty
   state, so an admin can pick any employment type without it rendering unstyled.
   ========================================================================== */

.openroles-badge-type--parttime {
  background: #E8F5E9;
  color: #1B5E20;
}

.openroles-badge-type--contract {
  background: #F3E8FF;
  color: #6B21A8;
}

/* Shown when no roles are published. */
.openroles-card--empty {
  text-align: center;
}

.openroles-card--empty .openroles-role-title {
  margin-bottom: .5rem;
}

/* Deep links from the admin land on #role-<slug>; keep the card clear of the
   fixed site header when jumped to. */
.openroles-card[id^="role-"] {
  scroll-margin-top: 110px;
}
