.research-interests-list {
  display: flex;
  flex-wrap: wrap;
  /* flex-direction: column;
  align-items: flex-start; */
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.research-interest-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid #d8e7f3;
  border-radius: 7px;
  background: #eef6fb;
  color: #315773;
  font-size: .84rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.education-timeline {
  --education-gap: 28px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr) minmax(0, .9fr);
  column-gap: var(--education-gap);
  min-width: 0;
  text-align: left;
}

.education-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: calc(-1 * var(--education-gap) - 4px);
  left: 4px;
  height: 1px;
  background: var(--border);
}

.education-item {
  position: relative;
  min-width: 0;
  padding: 0;
}

.education-node {
  position: relative;
  z-index: 1;
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.education-year {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .075em;
  line-height: 1.4;
}

.education-school {
  margin: 8px 0 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.42;
  white-space: nowrap;
}

.education-degree {
  margin: 5px 0 0;
  color: #465166;
  font-size: .86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.education-focus {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.journey-list {
  position: relative;
  min-width: 0;
  margin-left: 4px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.journey-entry {
  position: relative;
  min-width: 0;
  padding: 0 0 24px;
}

.journey-entry:last-child {
  padding-bottom: 0;
}

.journey-entry::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -32px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
}

.journey-year {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.journey-entry h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.journey-primary {
  margin: 4px 0 0;
  color: #465166;
  font-size: .89rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.journey-primary a {
  font-weight: 600;
}

.journey-secondary {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .education-timeline {
    display: block;
    padding-left: 24px;
    text-align: left;
  }

  .education-item,
  .education-item:last-child {
    padding: 0 0 24px;
  }

  .education-item:last-child {
    padding-bottom: 0;
  }

  .education-node {
    position: absolute;
    top: 4px;
    left: -24px;
    margin: 0;
  }

  .education-school {
    white-space: normal;
  }

  .education-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 13px;
    right: auto;
    bottom: -4px;
    left: -20px;
    width: 1px;
    height: auto;
    background: var(--border);
  }
}

@media (max-width: 640px) {
  .journey-list {
    margin-left: 3px;
    padding-left: 22px;
  }

  .journey-entry::before {
    left: -26px;
  }
}
