/* 전체 섹션 배경 */
.thj-history {
  padding: 80px 24px;
  background: #f4f6fb;
}

.thj-history-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* s1 : 헤더 */
.thj-history-header {
  text-align: left;
  margin-bottom: 40px;
}

.history-title {
  font-size: 42px;
  line-height: 1.4;
  font-weight: 700;
  color: #0f3f96;
  margin-bottom: 12px;
}

.history-desc {
  font-size: 24px;
  line-height: 1.8;
  color: #555;
}

/* s2 + s3 래퍼 */
.thj-history-body {
  position: relative;
  margin-top: 24px;
  padding: 24px 32px 32px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 42, 84, 0.08);
}

/* 가운데 축 + 노드 */
.history-axis {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none; /* 클릭/호버 방해 안 하게 */
}

.axis-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, #c9d7f3, #e0e7f7);
}

.axis-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #1360c8;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 96, 200, 0.1);
}

/* 노드 위치 (스크롤 애니메이션용, JS에서 top 값 바꿔도 됨) */
.axis-node-top {
  top: 3%;
}

.axis-node-bottom {
  top: 69%;
}

/* 각 row 기본 레이아웃 */
.history-row {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 40px;
}

.history-row:last-child {
  margin-bottom: 0;
}

.history-col {
  flex: 1;
}

/* 좌측 컬럼 공통 (텍스트 중심) */
/* .history-col-left {
  max-width: 320px;
} */

/* 우측 컬럼 공통 */
.history-col-right {
  flex: 1;
}

/* 2020-now 블록 */
.block-range {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
  color: #1360c8;
  margin-bottom: 8px;
}

.block-main {
  font-size: 28px;
  line-height: 1.6;
  font-weight: 700;
  color: #222;
}

/* 2010-2019 블록 */
.history-col-right-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.block-main-bottom {
  font-size: 28px;
  line-height: 1.6;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.block-range-bottom {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 600;
  color: #1360c8;
}

/* 상단 오른쪽 : 연도 카드 리스트 */
.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.milestone-item {
  background: #f7f9ff;
  border-radius: 16px;
  padding: 16px 20px 16px;
}

.milestone-year {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #1360c8;
  margin-bottom: 4px;
}

.milestone-main {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.milestone-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #777;
}

/* 하단 왼쪽 : 2016 / 2017 리스트 */
.history-past-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.past-item {
  padding: 4px 0;
}

.past-year {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #1360c8;
  margin-bottom: 4px;
}

.past-main {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.past-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #777;
}

/* 반응형 */
@media (max-width: 768px) {
  .thj-history {
    padding: 56px 16px;
    background: none;
  }

  .thj-history-body {
    padding: 0;
    box-shadow: none;
  }

  .history-axis {
    left: 12px;
    transform: none;
    display: none;
  }

  .axis-line {
    left: 50%;
    transform: translateX(-50%);
  }

  .history-title {
    font-size: 36px;
  }

  .history-desc {
    font-size: 22px;
    line-height: 1.6;
  }

  .history-row {
    flex-direction: column;
    gap: 24px;
  }

  .history-col-left {
    max-width: none;
  }

  .history-col-right-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .history-row-bottom {
    flex-direction: column-reverse;
  }

  .block-range,
  .block-range-bottom {
    font-size: 42px;
  }

  .block-main,
  .block-main-bottom {
    font-size: 26px;
  }
}
