/* ===== LATEST UPDATES ===== */
.latest-updates {
  position: relative;
  display: flex;
  flex-direction: column;
}

.latest-updates h2 {
  position: relative;
  transform: translateY(10px);
  text-wrap: nowrap;
}

.updates-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: scroll;
  max-height: 200px;

  padding-top: 5px;

  background-color: white;
  border: 1px solid var(--color-1);
  border-image: url("../img/website/asset-border-test.png") 100 / 15px round;
  border-image-outset: 18px;
}

.update-item {
  padding: 5px;
  border-left: 3px solid var(--color-2);
  padding-left: 12px;
  background-color: rgba(139, 69, 19, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.update-item:hover {
  background-color: rgba(139, 69, 19, 0.1);
  padding-left: 15px;
}

.update-date {
  font-size: 11px;
  color: var(--color-3);
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 5px;
}

.update-description {
  font-size: 12px;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
  min-width: 100px;
}

.update-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.update-link:hover {
  color: var(--dark);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .updates-list {
    border-image-width: 10px;
    border-image-outset: 12px;
  }
}
