.careers-feature {
  border-bottom: 1px solid #111;
  background: #fff;
  color: #111;
}

.careers-feature__inner {
  display: flex;
  max-width: 73.75rem;
  align-items: center;
  gap: 3rem 4rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 6rem;
  flex-wrap: wrap;
}

.careers-feature__media {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 17.5rem;
  flex: 1 1 20rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e6e6e3;
  background: #e9e9e6;
}

.careers-feature__media > div {
  width: 100%;
}

.careers-feature__media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers-feature__content {
  min-width: 17.5rem;
  flex: 1 1 26.25rem;
}

.careers-feature__eyebrow {
  margin-bottom: 0.875rem;
  color: #8a8a87;
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.careers-feature__eyebrow > * {
  margin: 0;
}

.careers-feature__title {
  margin: 0 0 1.375rem;
  color: #111;
  font-family:
    "Gill Sans MT", "Gill Sans", "Gill Sans Nova", Calibri, "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: normal;
}

.careers-feature__description {
  margin: 0 0 1.875rem;
  color: #333;
  font-size: 1.09375rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.careers-feature__description > * {
  margin: 0;
}

.careers-feature__action a {
  display: inline-flex;
  min-height: 3.375rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid #111;
  background: #111;
  padding: 1rem 2.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.careers-feature__action a::after {
  width: 1.0625rem;
  height: 1.0625rem;
  content: "";
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.careers-feature__action a:hover {
  background: #fff;
  color: #111;
}

.career-page {
  background: #fff;
  color: #111;
}

.career-page__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 6.25rem;
}

.career-page__title {
  margin: 0 0 2.75rem;
  color: #111;
  font-family:
    "Gill Sans MT", "Gill Sans", "Gill Sans Nova", Calibri, "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: pretty;
}

.career-page__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* Prototype: image figure (8px) + enclosing block (34px). */
  margin: 0 0 2.625rem;
  border: 1px solid #d8d8d5;
  background: #f1f1ef;
}

.career-page__media,
.career-page__media > div,
.career-page__media .field-content,
.career-page__media .field-content > div,
.career-page__media .field-content > div > div {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.site-content .career-page__media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.career-page__description {
  margin: 0 0 2.125rem;
  color: #333;
  font-size: 1.125rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.career-page__description > * {
  margin: 0;
}

.career-page__description br {
  display: none;
}

.career-page__description br + br {
  display: block;
  height: 1.125rem;
  content: "";
}

.career-page__action {
  margin: 0.75rem 0 2.5rem;
}

.career-page__action > div {
  display: flex;
}

.career-page__action a {
  display: flex;
  width: 100%;
  max-width: 32.5rem;
  min-height: 3.375rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid #111;
  background: #111;
  padding: 1rem 2.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.career-page__action a::after {
  width: 1.0625rem;
  height: 1.0625rem;
  content: "";
  flex: 0 0 auto;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7M10 14 21 3M21 14v7H3V3h7' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.career-page__action a:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 48rem) {
  .career-page__inner {
    padding: 2.25rem 1.5rem 6.25rem;
  }

  .site-content .career-page__title {
    margin-bottom: 2.75rem;
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  .site-content .career-page__description,
  .site-content .career-page__description p,
  .site-content .career-page__description li,
  .site-content .career-page__description > div {
    font-size: 18px !important;
    line-height: 1.8 !important;
  }

  .career-page__action a {
    min-height: var(--sjm-mobile-action-height);
    padding: 0.75rem 1.875rem;
    font-size: 16px !important;
  }
}
