/* One illustrated timeline: editable years/copy, original marks and placements. */
.editable-profile-body .tjr-career-timeline {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #57accd #080e13;
  border-block: 1px solid #294f60;
}
.editable-profile-body .tjr-career-timeline:focus-visible {
  outline: 2px solid #69a9ff;
  outline-offset: 4px;
}
.editable-profile-body .tjr-career-timeline .wp-block-group__inner-container {
  display: contents;
}
.editable-profile-body .tjr-career-timeline .tjr-career-stage {
  --timeline-year-row: 4.4cqw;
  --timeline-logo-row: 5.213cqw;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: max(100%, 1055px);
  background: #060b10;
}
.editable-profile-body .tjr-career-timeline .tjr-career-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* Match the seven frames in the original 1055px illustration. */
  grid-template-columns: 135fr 143fr 143fr 143fr 147fr 150fr 135fr;
  gap: .474%;
  width: 100%;
  min-width: 0;
  padding-inline: 1.422% 1.327%;
}
.editable-profile-body .tjr-career-timeline .tjr-career-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #31576a;
  border-bottom: 0;
  background: linear-gradient(180deg, #02060a20, #03060945);
}
.editable-profile-body .tjr-career-timeline .tjr-career-card h3 {
  display: grid;
  align-items: center;
  flex: 0 0 var(--timeline-year-row);
  min-height: var(--timeline-year-row);
  margin: 0 0 var(--timeline-logo-row);
  padding: 3px 7px 0;
  color: #ff1529;
  font: italic 900 clamp(30px, 3.25cqw, 50px)/1 'Barlow Condensed', sans-serif;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.editable-profile-body .tjr-career-timeline .tjr-career-card ul {
  flex: 1;
  min-height: 82px;
  margin: 0;
  padding: 11px 9px 13px;
  list-style: none;
  color: #f2f2f3;
  font: 500 clamp(15px, 1.34cqw, 20px)/1.28 'Barlow', sans-serif;
  text-align: center;
}
.editable-profile-body .tjr-career-timeline .tjr-career-card li {
  margin: 0;
}
.editable-profile-body .tjr-career-timeline .tjr-career-card li + li {
  margin-top: 3px;
}
.editable-profile-body .tjr-career-timeline .tjr-career-card p {
  margin: 0;
  padding: 0 9px 13px;
  color: #f2f2f3;
  font-size: 15px;
  text-align: center;
}
.editable-profile-body .tjr-career-timeline .tjr-career-texture {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .75;
}
.editable-profile-body .tjr-career-timeline .tjr-career-texture > svg {
  width: 100%;
  height: 100%;
  min-width: 0;
}
.editable-profile-body .tjr-career-timeline .tjr-career-series {
  position: absolute;
  z-index: 2;
  top: var(--timeline-year-row);
  left: 0;
  width: 100%;
  pointer-events: none;
}
.editable-profile-body .tjr-career-timeline .tjr-career-series > svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 1055 / 55;
}
.editable-profile-body .tjr-career-timeline .tjr-placement-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.editable-profile-body .tjr-career-timeline .tjr-placement-strip > svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 1055 / 59;
}
@media (max-width: 760px) {
  .editable-profile-body .tjr-career-timeline {
    overscroll-behavior-inline: contain;
  }
}
