/* Recruitment rewards: the comparison and actual monthly examples. */
#reward.reward-scheme {
  background: #173763;
  color: #fff;
}
#reward .reward-intro {
  padding-top: 70px;
  padding-bottom: 70px;
}
#reward .reward-intro .eyebrow {
  color: #f0d397;
  margin-bottom: 16px;
}
#reward .reward-heading {
  color: #ffe478;
  font-size: clamp(27px, 3vw, 40px);
}
#reward .reward-lead {
  color: #edf4ff;
  line-height: 1.9;
  margin: 18px 0 0;
}
#reward .reward-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  color: #ffe478;
  margin-top: 22px;
}
#reward .reward-rate strong {
  font: 500 clamp(52px, 7vw, 75px)/1.2 Georgia, serif;
  letter-spacing: .02em;
}
#reward .reward-rate span {
  font-size: 16px;
}
#reward .reward-note {
  color: #edf4ff;
  font-size: 15px;
  line-height: 1.8;
  margin: 14px 0 0;
}
.reward-comparison {
  padding-top: 60px;
  padding-bottom: 0;
}
.reward-comparison .eyebrow {
  margin-bottom: 10px;
}
.reward-comparison h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}
.reward-comparison > p {
  margin: 12px 0 0;
}
.reward-calculation {
  background: #eff5fb;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  margin-top: 20px;
  padding: 24px;
}
.reward-calculation > h3 {
  color: #18345c;
  font: 600 16px/1.7 var(--sans);
  margin: 0;
}
.reward-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.reward-card {
  background: #fff;
  border-radius: 8px;
  min-width: 0;
  padding: 20px;
}
.reward-card h4 {
  color: #173d73;
  font-size: 17px;
  margin: 0 0 10px;
}
.reward-card dl {
  margin: 0;
}
.reward-card dl > div {
  padding: 7px 0;
}
.reward-card dt {
  color: #536984;
  font-size: 14px;
}
.reward-card dd {
  color: #173d73;
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 600;
  margin: 0;
}
.reward-card .reward-total {
  border-top: 1px solid #e2ebf5;
  margin-top: 8px;
  padding-top: 14px;
}
.reward-calculation .reward-disclaimer,
.income-examples .income-disclaimer {
  color: #4a5f7b;
  font-size: 14px;
  line-height: 1.8;
  margin: 18px 0 0;
}

/* Keep the semantic table used by the recruitment blog, while displaying
   each person's details as a compact card on the recruitment page. */
.income-examples .income-table {
  background: transparent;
  border-collapse: separate;
  display: block;
}
.income-examples .income-table thead {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.income-examples .income-table tbody {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.income-examples .income-table tbody tr {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  padding: 20px;
}
.income-examples .income-table tbody th {
  background: transparent;
  border: 0;
  display: block;
  order: 0;
  padding: 0;
}
.income-examples .income-type {
  display: block;
  margin: 3px 0 0;
}
.income-examples .income-table tbody td {
  align-items: baseline;
  border-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  order: 2;
  padding: 4px 0;
}
.income-examples .income-table tbody td::before {
  color: #4a5f7b;
  content: attr(data-label);
  font-size: 14px;
  font-weight: 400;
}
.income-examples .income-table tbody td.income-amount {
  border-bottom: 1px solid #e2ebf5;
  display: block;
  font-size: clamp(23px, 2.4vw, 30px);
  margin-bottom: 10px;
  order: 1;
  padding: 12px 0;
}
.income-examples .income-table tbody td.income-amount::before {
  display: block;
  line-height: 1.5;
}
@media (max-width: 760px) {
  #reward .reward-intro {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .reward-comparison {
    padding-top: 45px;
    padding-bottom: 0;
  }
  .reward-calculation {
    padding: 18px;
  }
  .reward-cards,
  .income-examples .income-table tbody {
    grid-template-columns: 1fr;
  }
  .reward-card {
    padding: 16px 18px;
  }
  .reward-card dl > div {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: space-between;
  }
  .income-examples .income-table tbody tr {
    padding: 18px;
  }
}
