.history-timeline__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
}

.history-timeline__card {
  flex: 0 0 20%;      
  max-width: 20%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FFFDEE;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  max-height: 450px;   
  color: #51636F;
}

.history-timeline__year {
  font-weight: bold;
}

.history-timeline__image {
  width: 100%;
  aspect-ratio: 16 / 9; 
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-timeline__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-timeline__skeleton {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #eee 25%,
    #ddd 50%,
    #eee 75%
  );
  background-size: 200% 100%;
  animation: history-timeline__shimmer 1.5s infinite;
}

@keyframes history-timeline__shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.history-timeline__headline {
  font-size: 18px;
}

.history-timeline__description {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1200px) {
  .history-timeline__card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 768px) {
  .history-timeline__card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .history-timeline__card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
