/* Savio careers: closed-position states
   Used by /careers/ and the /job-post/* pages that are no longer hiring.
   Inherits the site's Forma DJR / smoke-white / orange system; the closed
   treatment keeps the button geometry but drops the accent so it reads as
   unavailable rather than clickable. */

/* Job post CTA that replaces "Apply" once a role is closed */
.button.is-closed {
  display: inline-block;
  width: auto;
  max-width: none;
  white-space: nowrap;
  background-color: var(--background-color--background-smokewhite, #f6f5f0);
  border-color: #dcd8ce;
  box-shadow: 0 4px 0 0 #e7e3d9;
  color: #77746c;
  cursor: default;
  pointer-events: none;
}

/* Careers list: rows for roles that are no longer open */
.career_position_card.is-closed {
  cursor: default;
}

.career_position_card.is-closed:hover {
  box-shadow: none;
}

.career_position_status {
  justify-self: end;
  align-self: center;
  color: #6b6862;
  font-family: Archivo, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .career_position_card.is-closed {
    flex-wrap: wrap;
  }

  .career_position_status {
    flex: 0 0 100%;
    width: 100%;
    justify-self: start;
    white-space: normal;
    text-align: left;
    font-size: 0.6875rem;
    letter-spacing: 0.8px;
  }
}
