
.experience-card {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
  flex-shrink: 0;
  margin-right: 1.5rem;
  align-self: flex-start;
}

.card-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.card-content {
  flex: 1;
}

.card-content h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.card-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #34495e;
  font-weight: 600;
  font-style: italic;
}

.date-location {
  margin: 0 0 0.5rem 0;
  color: #7f8c8d;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
}

.card-content p:not(.date-location) {
  margin: 0;
  line-height: 1.5;
  color: #555;
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .experience-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1rem 0.75rem;
  }

  .card-image {
    margin-right: 0;
    margin-bottom: 0.75rem;
    align-self: center;
  }

  .card-image img {
    width: 60px;
    height: 60px;
  }
}
