.portal-ultimas-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portal-ultimas-item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(20px);
  opacity: 0;
  animation: cascata 0.6s ease forwards;
}

.portal-ultimas-item:nth-child(1) {
  animation-delay: 0.1s;
}
.portal-ultimas-item:nth-child(2) {
  animation-delay: 0.2s;
}
.portal-ultimas-item:nth-child(3) {
  animation-delay: 0.3s;
}
.portal-ultimas-item:nth-child(4) {
  animation-delay: 0.4s;
}
.portal-ultimas-item:nth-child(5) {
  animation-delay: 0.5s;
}
.portal-ultimas-item:nth-child(6) {
  animation-delay: 0.6s;
}
.portal-ultimas-item:nth-child(7) {
  animation-delay: 0.7s;
}
.portal-ultimas-item:nth-child(8) {
  animation-delay: 0.8s;
}
.portal-ultimas-item:nth-child(9) {
  animation-delay: 0.9s;
}
.portal-ultimas-item:nth-child(10) {
  animation-delay: 1s;
}
.portal-ultimas-item:nth-child(11) {
  animation-delay: 1.1s;
}
.portal-ultimas-item:nth-child(12) {
  animation-delay: 1.2s;
}

@keyframes cascata {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portal-ultimas-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-ultimas-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.portal-ultimas-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.portal-ultimas-titulo {
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
}
