/* Production responsive layout for the supplied static Careers page. */
[data-careers-hero],
[data-careers-role] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-careers-hero] {
  padding: clamp(7.25rem, 11vw, 9rem) 0 clamp(2.75rem, 5vw, 4rem) !important;
}

[data-careers-shell],
[data-role-content] {
  width: 100%;
  max-width: 72rem !important;
  margin-inline: auto !important;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem) !important;
}

[data-careers-hero] h1 {
  max-width: none !important;
  font-size: clamp(3.25rem, 7vw, 5.75rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em;
}

[data-careers-role] {
  border-top: 1px solid rgba(22, 20, 17, 0.16);
}

[data-careers-role]:last-of-type {
  border-bottom: 1px solid rgba(22, 20, 17, 0.16);
  margin-bottom: clamp(4rem, 10vw, 8rem);
}

[data-careers-role] > .container {
  padding-block: 0 !important;
}

[data-role-content] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label status"
    "title title"
    "location location"
    "apply apply";
  column-gap: 1.5rem;
  row-gap: 0;
  padding-block: clamp(2.5rem, 5vw, 3.75rem) !important;
}

[data-role-header] {
  display: contents !important;
}

[data-role-label] {
  grid-area: label;
  align-self: center;
  margin: 0 !important;
  color: #312d28;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.82 !important;
}

[data-role-status] {
  grid-area: status;
  align-self: center;
  margin: 0 !important;
  border: 1px solid rgba(22, 20, 17, 0.5);
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  color: #181512;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 1 !important;
  white-space: nowrap;
}

[data-role-title] {
  grid-area: title;
  max-width: 46rem !important;
  margin: 1rem 0 0 !important;
  font-size: clamp(2.35rem, 5vw, 4.25rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

[data-role-location] {
  grid-area: location;
  max-width: none;
  margin: 1.15rem 0 0 !important;
  color: #4f4942;
  font-size: clamp(0.88rem, 1.5vw, 1rem) !important;
  line-height: 1.6;
  letter-spacing: 0.015em;
  opacity: 1 !important;
  text-wrap: pretty;
}

[data-role-apply] {
  grid-area: apply;
  min-height: 3rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 2rem !important;
  padding: 0.85rem 1.1rem;
  border: 1px solid #171411;
  border-radius: 0.25rem;
  background: #171411;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, color 160ms ease;
}

[data-role-apply]:hover,
[data-role-apply]:focus-visible {
  background: transparent;
  color: #171411 !important;
}

@media (max-width: 1023px) {
  header button[aria-label="Open menu"] {
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  [data-careers-hero] {
    padding-top: 7.25rem !important;
    padding-bottom: 2.75rem !important;
  }

  [data-careers-shell],
  [data-role-content] {
    padding-inline: 1.25rem !important;
  }

  [data-careers-hero] h1 {
    font-size: clamp(3rem, 16vw, 4.25rem) !important;
  }

  [data-role-content] {
    padding-block: 2.25rem !important;
  }

  [data-role-title] {
    margin-top: 1.25rem !important;
    font-size: clamp(2rem, 10vw, 2.85rem) !important;
  }

  [data-role-location] {
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
    line-height: 1.55;
  }

  [data-role-apply] {
    width: 100%;
    min-height: 3.25rem;
    justify-content: center;
    margin-top: 1.75rem !important;
    padding-inline: 0.9rem;
    text-align: center;
    white-space: normal;
  }
}
