/* Experience facts belong to the expert section, independent of its biography copy. */
#expert .expert-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  width: 100%;
  margin: 24px 0 25px;
  padding: 22px 0 24px;
  border-top: 1px solid #cbd2c3;
  border-bottom: 1px solid #cbd2c3;
}

#expert .expert-fact {
  position: relative;
  min-width: 0;
  padding: 14px 14px 0 0;
}

#expert .expert-fact:not(:last-child) {
  border-right: 1px solid #d2d8ca;
}

#expert .expert-fact::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 3px;
  background: var(--yellow, #f4c742);
  content: "";
}

#expert .expert-fact > strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: var(--ink, #191a1b);
  font-family: inherit;
  font-size: clamp(48px, 4.2vw, 58px);
  font-weight: 550;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.02;
  letter-spacing: -.065em;
  white-space: nowrap;
}

#expert .expert-fact > strong > span {
  display: inline-block;
  flex: 0 0 auto;
  color: #7d6b29;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.015em;
}

#expert .expert-fact:last-child {
  padding-right: 0;
}

#expert .expert-fact:last-child > strong {
  gap: 5px;
  font-size: clamp(41px, 3.6vw, 49px);
  letter-spacing: -.055em;
}

#expert .expert-fact:last-child > strong > span {
  font-size: 23px;
  font-weight: 500;
}

#expert .expert-fact > p {
  margin: 11px 0 0;
  color: #596651;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: normal;
}

/* The portrait and copy share the tablet width: keep the long company-size fact whole. */
@media (min-width: 601px) and (max-width: 1150px) {
  #expert .expert-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 17px;
    padding-top: 20px;
    padding-bottom: 21px;
  }

  #expert .expert-fact:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  #expert .expert-fact:last-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    padding-top: 18px;
    border-top: 1px solid #d2d8ca;
  }

  #expert .expert-fact:last-child::before {
    top: -2px;
  }

  #expert .expert-fact:last-child > p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
  }
}

@media (max-width: 700px) {
  #expert .expert-facts {
    gap: 17px;
    margin-top: 23px;
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  #expert .expert-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 17px;
    padding-top: 20px;
    padding-bottom: 21px;
  }

  #expert .expert-fact > strong {
    font-size: 53px;
  }

  #expert .expert-fact:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  #expert .expert-fact:last-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    padding-top: 19px;
    border-top: 1px solid #d2d8ca;
  }

  #expert .expert-fact:last-child::before {
    top: -2px;
  }

  #expert .expert-fact:last-child > strong {
    font-size: 47px;
  }

  #expert .expert-fact:last-child > p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
  }
}

@media (max-width: 360px) {
  #expert .expert-facts {
    gap: 19px 14px;
  }

  #expert .expert-fact {
    padding-right: 10px;
  }

  #expert .expert-fact > strong {
    gap: 5px;
    font-size: 49px;
  }

  #expert .expert-fact > strong > span {
    font-size: 13px;
  }

  #expert .expert-fact > p {
    font-size: 12px;
    line-height: 1.7;
  }

  #expert .expert-fact:last-child {
    gap: 12px;
  }

  #expert .expert-fact:last-child > strong {
    font-size: 42px;
  }

  #expert .expert-fact:last-child > strong > span {
    font-size: 21px;
  }
}
