/* Experience Styles */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.experience-item {
  display: flex;
  gap: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 10px;
  margin-bottom: 10px;
}

.experience-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100px; /* 固定宽度 */
}

.experience-image img {
  max-width: 100%;
  max-height: 100px; /* 固定高度 */
  width: auto;
  height: auto;
  border-radius: 5px;
  background-color: var(--card-bg);
}

.experience-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-content h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

.date {
  font-weight: bold;
  color: var(--accent-color);
  margin-top: 10px;
}

/* Empty state style for experience sections */
.experience-none {
  text-align: center;
  color: #777;
  font-style: italic;
  font-weight: bold;
  padding: 10px 10px;
  margin: 0;
  font-size: 1.2em;
}

.experience-none:before {
  content: "- ";
}

.experience-none:after {
  content: " -";
}

/* Responsive Experience */
@media screen and (max-width: 768px) {
  .experience-item {
    flex-direction: column;
  }

  .experience-image {
    max-width: 100%;
    text-align: center;
  }

  .experience-image img {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .experience-image img {
    max-height: 60px;
  }
}