.experience-panel {
  padding: 2.4rem;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin: 0;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1.45rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.8rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.2rem;
  width: 0.2rem;
  background: rgba(15, 118, 110, 0.18);
}

.timeline-item {
  position: relative;
  padding-left: 6rem;
}

.timeline-item::before {
  content: "\f0b1";
  position: absolute;
  top: 2.1rem;
  left: 0.6rem;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 0.3rem solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: var(--surface-strong);
  font-family: "Font Awesome 5 Free";
  font-size: 1.3rem;
  font-weight: 900;
}

.experience-card {
  display: grid;
  gap: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 2.4rem;
  padding: 2rem;
  background: var(--surface-strong);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
}

.experience-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.experience-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.3;
}

.role {
  margin: 0.4rem 0 0;
  color: var(--accent-strong);
  font-size: 1.4rem;
  font-weight: 800;
}

.period {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--muted);
  background: rgba(15, 118, 110, 0.08);
  font-size: 1.15rem;
  font-weight: 800;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 750;
}

.impact-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.8rem;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 650;
}

@media (min-width: 900px) {
  .timeline {
    gap: 2rem;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
  }

  .timeline-item:nth-child(odd) {
    justify-self: end;
    padding-left: 3.2rem;
  }

  .timeline-item:nth-child(even) {
    justify-self: start;
    padding-right: 3.2rem;
  }

  .timeline-item:nth-child(odd)::before {
    left: -1.6rem;
  }

  .timeline-item:nth-child(even)::before {
    left: auto;
    right: -1.6rem;
  }
}

@media (max-width: 700px) {
  .experience-panel {
    padding: 1.5rem;
  }

  .section-head,
  .experience-topline {
    flex-direction: column;
  }
}
