.p1-update-hero {
  background-image: url("/style/img/case/hero-bg-top4.webp");
}

.p1-update-section {
  padding: 100px 0 200px;
}

.p1-update-timeline {
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}

.p1-update-entry {
  display: flex;
  min-height: 430px;
  position: relative;
  width: 100%;
}

.p1-update-entry::after {
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 34px;
  transform: translateX(-50%);
}

.p1-update-entry::after {
  background: linear-gradient(180deg, #64d9fd 0%, #fff 50%, #b04bfd 100%);
  bottom: 0;
  width: 4px;
}

.p1-update-node {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 51, 92, 0.18);
  display: flex;
  height: 34px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 34px;
  z-index: 2;
}

.dark .p1-update-node {
  background: #000;
}

.p1-update-node img {
  height: 28px;
  width: 28px;
}

.p1-update-card {
  padding: 0 48px 54px 0;
  width: 50%;
}

.p1-update-entry:nth-child(even) .p1-update-card {
  margin-left: 50%;
  padding-left: 48px;
  padding-right: 0;
}

.p1-update-meta {
  align-items: center;
  color: #12a3fc;
  display: flex;
  font-size: 14px;
  gap: 10px;
  margin-bottom: 12px;
}

.p1-update-card h2 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.p1-update-image {
  background: #fff;
  border: 1px solid #e2e9ee;
  border-radius: 8px;
  height: 200px;
  margin-bottom: 14px;
  object-fit: contain;
  width: 100%;
}

.p1-update-card ol {
  counter-reset: update-item;
  display: grid;
  gap: 7px;
}

.p1-update-card li {
  color: rgba(20, 27, 52, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

.dark .p1-update-card li {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1023px) {
  .p1-update-section {
    padding: 80px 0 120px;
  }

  .p1-update-entry {
    min-height: 0;
    padding-bottom: 42px;
  }

  .p1-update-entry::after {
    left: 17px;
  }

  .p1-update-node {
    left: 17px;
  }

  .p1-update-card,
  .p1-update-entry:nth-child(even) .p1-update-card {
    background: #fff;
    border-radius: 20px;
    margin-left: 52px;
    padding: 24px;
    width: calc(100% - 52px);
  }

  .dark .p1-update-card,
  .dark .p1-update-entry:nth-child(even) .p1-update-card {
    background: var(--color-background-6, #171b2e);
  }
}

@media (max-width: 640px) {
  .p1-update-section {
    padding-top: 64px;
  }

  .p1-update-card h2 {
    font-size: 19px;
  }

  .p1-update-image {
    height: 150px;
  }
}
