/* 연혁 페이지 스타일 */
.history_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.history_section {
  margin-bottom: 60px;
  position: relative;
}

.history_section:last-child {
  margin-bottom: 0;
}

.history_year_header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #4168ad;
  position: relative;
}

.history_year_header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #4168ad;
  margin: 0;
  display: inline-block;
}

.history_items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 30px;
}

.history_item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 25px;
  background: #fff;
  border-radius: 12px;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
  margin-left: 20px;
}

.history_item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 28px;
  width: 8px;
  height: 8px;
  background: #4168ad;
  border-radius: 50%;
  z-index: 1;
}

.history_item:hover {
  transform: translateX(5px);
}

.history_date {
  min-width: 140px;
  font-size: 16px;
  font-weight: 600;
  color: #4168ad;
  line-height: 1.5;
  flex-shrink: 0;
}

.history_content {
  flex: 1;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  word-break: keep-all;
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
  .history_container {
    padding: 30px 15px 60px;
  }

  .history_year_header h2 {
    font-size: 26px;
  }

  .history_items {
    padding-left: 25px;
    gap: 15px;
  }

  .history_item {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    margin-left: 15px;
  }

  .history_item::before {
    left: -15px;
    top: 25px;
    width: 6px;
    height: 6px;
  }

  .history_date {
    min-width: auto;
    width: 100%;
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
  }

  .history_content {
    font-size: 15px;
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .history_container {
    padding: 20px 10px 50px;
  }

  .history_year_header {
    margin-bottom: 25px;
  }

  .history_year_header h2 {
    font-size: 22px;
  }

  .history_items {
    padding-left: 20px;
    gap: 12px;
  }

  .history_item {
    padding: 15px;
    margin-left: 12px;
  }

  .history_item::before {
    left: -12px;
    width: 6px;
    height: 6px;
  }

  .history_date {
    font-size: 14px;
  }

  .history_content {
    font-size: 14px;
    line-height: 1.6;
  }
}
