.page-lichsuhinhthanh .container,
.page-lichsuhinhthanh .container-fluid {
  width: 100%;
  max-width: 1365px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
}

.page-lichsu {
  padding: 14px 0 76px;
  background: #fff;
  overflow: hidden;
}

.page-lichsu__head {
  text-align: center;
}

.page-lichsu__title {
  margin: 0;
  color: #00576a;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-lichsu__subtitle {
  position: relative;
  margin: 10px auto 0;
  padding-bottom: 22px;
  color: #00576a;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 400;
}

.page-lichsu__subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 490px;
  max-width: 70vw;
  height: 2px;
  background: #00576a;
  transform: translateX(-50%);
}

.page-lichsu__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  height: 795px;
  margin-top: 48px;
  padding: 0 24px;
}

.page-lichsu__wave {
  position: absolute;
  left: 0;
  top: 248px;
  width: 100%;
  height: 128px;
  fill: none;
  pointer-events: none;
}

.page-lichsu__wave path {
  fill: none;
  stroke: #cfd6d8;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.page-lichsu__item {
  position: relative;
  min-width: 0;
  --timeline-color: #45c7cc;
}

.page-lichsu__content {
  position: absolute;
  left: 50%;
  width: min(190px, 92%);
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.page-lichsu__item--top .page-lichsu__content {
  bottom: 575px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lichsu__item--bottom .page-lichsu__content {
  top: 424px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lichsu__text {
  color: #00576a;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 800;
}

.page-lichsu__logo {
  width: 130px;
  height: 62px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-lichsu__logo img {
  display: block;
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.page-lichsu__line {
  width: 108px;
  height: 6px;
  margin: 8px auto 0;
  background: var(--timeline-color);
}

.page-lichsu__year {
  position: relative;
  min-width: 108px;
  height: 32px;
  padding: 4px 12px;
  background: var(--timeline-color);
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
}

.page-lichsu__item--top .page-lichsu__year {
  order: 3;
  margin-top: 0;
}

.page-lichsu__item--top .page-lichsu__line {
  order: -1;
  margin: 0 auto 12px;
}

.page-lichsu__item--top .page-lichsu__year::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid var(--timeline-color);
  transform: translateX(-50%);
}

.page-lichsu__item--bottom .page-lichsu__year {
  order: -1;
  margin-bottom: 8px;
}

.page-lichsu__item--bottom .page-lichsu__year::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 18px solid var(--timeline-color);
  transform: translateX(-50%);
}

.page-lichsu__item:nth-of-type(1),
.page-lichsu__item:nth-of-type(2),
.page-lichsu__item:nth-of-type(3),
.page-lichsu__item:nth-of-type(4) {
  --timeline-color: #54d2d8;
}

.page-lichsu__item:nth-of-type(5),
.page-lichsu__item:nth-of-type(6),
.page-lichsu__item:nth-of-type(7) {
  --timeline-color: #249aa2;
}

.page-lichsu__item:nth-of-type(8),
.page-lichsu__item:nth-of-type(9),
.page-lichsu__item:nth-of-type(10),
.page-lichsu__item:nth-of-type(11),
.page-lichsu__item:nth-of-type(12) {
  --timeline-color: #0b6870;
}

.page-lichsu__dot {
  position: absolute;
  left: 50%;
  z-index: 3;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #42c0c7;
  background: var(--timeline-color);
  transform: translateX(-50%);
}

.page-lichsu__item--top .page-lichsu__dot {
  top: 257px;
}

.page-lichsu__item--bottom .page-lichsu__dot {
  top: 338px;
}

.page-lichsu__more {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lichsu__more-label {
  margin-bottom: 20px;
  color: #00576a;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
}

.page-lichsu__button {
  min-width: 420px;
  height: 58px;
  padding: 12px 42px;
  border-radius: 999px;
  background: #00576a;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .page-lichsu__timeline {
    display: flex;
    gap: 20px;
    height: auto;
    margin-top: 48px;
    padding: 0 0 16px;
    overflow-x: auto;
  }

  .page-lichsu__wave {
    display: none;
  }

  .page-lichsu__item {
    flex: 0 0 180px;
    padding: 0 0 24px;
  }

  .page-lichsu__content,
  .page-lichsu__item--top .page-lichsu__content,
  .page-lichsu__item--bottom .page-lichsu__content {
    position: static;
    width: 100%;
    height: 310px;
    transform: none;
  }

  .page-lichsu__dot {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-lichsu {
    padding: 42px 0 64px;
  }

  .page-lichsu__title,
  .page-lichsu__subtitle {
    font-size: 28px;
  }

  .page-lichsu__timeline {
    margin-top: 36px;
  }

  .page-lichsu__more-label {
    font-size: 22px;
  }

  .page-lichsu__button {
    min-width: 0;
    width: min(360px, 100%);
    height: 48px;
    font-size: 22px;
  }
}
