/* ============================================
   RECUERDOS — estilos de recuerdos.html (línea de tiempo)
   ============================================ */

.timeline {
  position: relative;
  max-width: 760px;
  margin: 2.5rem auto 4rem;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--coral), var(--teal));
  border-radius: 3px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral-dark);
  margin: 2.2rem 0 1.2rem;
  position: relative;
}

.timeline-year:first-child { margin-top: 0; }

.timeline-year::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral-dark);
  border: 3px solid var(--paper);
}

.memory-item {
  position: relative;
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.memory-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 1.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.memory-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 5px solid var(--paper);
}

.memory-photo img { width: 100%; height: 100%; object-fit: cover; }

.memory-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: none;
  margin-bottom: 0.2rem;
}

.memory-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.memory-desc { margin: 0; font-size: 0.95rem; }

@media (max-width: 600px) {
  .memory-item { grid-template-columns: 1fr; }
  .memory-photo { width: 100%; height: 160px; }
}
