.timeline {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: sans-serif;
  }
  
  .timeline-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #2e7d32;
  }
  
  .timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
  }
  
  .timeline-year {
    min-width: 90px;
    text-align: center;
    line-height: 1.4;
    flex-shrink: 0;
  }
  
  .timeline-year .year {
    font-size: 26px;
    font-weight: bold;
    color: #2e7d32;
  }
  
  .timeline-year .term {
    font-size: 16px;
    color: #4caf50;
  }
  
  .timeline-content {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    flex-grow: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .timeline-content h4 {
    margin-top: 0;
    color: #004d40;
    font-size: 20px;
  }
  
  .timeline-content p {
    margin-bottom: 16px;
    color: #444;
  }
  
  /* 圖片區塊 */
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }
  
  .image-gallery a {
    display: block;
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .image-gallery img:hover {
    transform: scale(1.03);
  }
  
  /* RWD 響應式 */
  @media (max-width: 768px) {
    .timeline-item {
      flex-direction: column;
    }
  
    .timeline-year {
      font-size: 20px;
    }
  
    .image-gallery a {
      width: 100%;
      height: auto;
    }
  
    .image-gallery img {
      width: 100%;
      height: auto;
    }
  }
  