/*######################################################################

		Updates

************************************************************************/

.updates-contents {
  margin-bottom: 40px;
}

.updates-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  width: min(1000px, 100%);
}

.updates-timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background-color: #bbb;
}

@media not all and (min-width: 468px){
  .updates-timeline {
    --updates-dot-size: 12px;
    --updates-dot-offset: 10px;
    gap: 8px;
  }
}

.updates-item {
  position: relative;
  padding: 22px 32px 24px 72px;
  border-radius: 12px;
  background-color: #f8f8f8;
}

.updates-item::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50vh;
  background-color: #1D6BBF;
  box-shadow: 0 0 0 6px rgba(29, 107, 191, 0.12);
}

.updates-item--latest {
  isolation: isolate;
}

.updates-item--latest::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-color: rgba(29, 107, 191, 0.18);
  transform-origin: center;
  animation: updates-pulse-halo 2.4s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

.updates-item--latest::before {
  animation: updates-pulse-dot 2.4s ease-out infinite;
}

.updates-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.updates-item__date {
  color: #5b5b57;
  font-size: var(--font-size-14);
  line-height: 1.6;
}

.updates-item__title {
  margin-bottom: 16px;
  font-size: var(--font-size-24);
  line-height: 1.5;
}

.updates-item__body {
  max-width: 900px;
  color: #383834;
  font-size: var(--font-size-16);
  line-height: 1.9;
}

@keyframes updates-pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(29, 107, 191, 0.12);
  }
  45% {
    box-shadow: 0 0 0 10px rgba(29, 107, 191, 0.16);
  }
}

@keyframes updates-pulse-halo {
  0% {
    opacity: 0;
    transform: scale(0.76);
  }
  18% {
    opacity: 0.34;
  }
  72% {
    opacity: 0;
    transform: scale(1.26);
  }
  100% {
    opacity: 0;
    transform: scale(1.26);
  }
}

@media not all and (min-width: 768px){
  .updates-item {
    padding: 22px 24px 20px 60px;
  }

  .updates-item__title {
    margin-bottom: 12px;
    font-size: var(--font-size-21);
  }
}

@media not all and (min-width: 468px){
  .updates-item {
    padding: 19px 16px 18px 52px;
  }

  .updates-timeline::before {
    left: 28px;
    top: 18px;
    bottom: 18px;
  }

  .updates-item::before {
    left: 20px;
    top: 20px;
  }

  .updates-item--latest::after {
    left: 3px;
    top: 13px;
    width: 26px;
    height: 26px;
  }

  .updates-item__date {
    font-size: var(--font-size-12);
  }

  .updates-item__title {
    font-size: var(--font-size-18);
  }

  .updates-item__body {
    font-size: var(--font-size-14);
  }
}
