.memories { min-height: 65vh; }
.memories h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); margin-bottom: 24px; }
.memory-description { max-width: 62ch; margin-block: 12px 24px; line-height: 1.6; white-space: pre-line; }
.memory-date { color: var(--muted); }
.memory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 18px; margin-block: 22px; }
.memory-tile { display: block; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; }
a.memory-tile:hover h2 { text-decoration: underline; }
.memory-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--pale); }
.memory-caption, .memory-tile figcaption { padding: 14px; }
.memory-caption h2 { font-size: 1.5rem; margin-bottom: 6px; }
.memory-toolbar, .memory-tile figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; }
.memory-panel { margin-top: 24px; padding-block: 18px; border-top: 1px solid var(--line); }
.memory-panel h2 { font-size: 1.9rem; margin-bottom: 12px; }
.memory-form { display: grid; align-items: start; gap: 14px; max-width: 36rem; margin-bottom: 24px; }
.memory-form label { display: grid; gap: 5px; font-weight: 650; }
.memory-form input, .memory-form textarea {
  width: 100%; padding: 10px; border: 1px solid #8a9ab1; border-radius: 5px; font: inherit; color: var(--navy); background: #fff;
}
.memory-form .button { justify-self: start; cursor: pointer; }
.memory-form [role="status"] { min-height: 1.25em; }
