/* 모음 pages (/collection/<slug>, lib/collection-page.mjs): a short head and the spaces' own cards (styles.css .door),
   each in a box with room for 「메터뷰 읽기」 under it. Tokens from styles.css. Grid columns mirror .grid > .door there. */
.coll-head { padding-block: 4px 4px; }
.coll-title { margin: 0 0 6px; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.2; }
.coll-lead { margin: 0; max-width: 34em; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.coll-grid > .coll-item { --n: 1; display: flex; flex-direction: column; gap: 8px; flex: 1 1 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n) - 1px); max-width: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); }
.coll-item > .door { flex: 1 1 auto; }
@media (min-width: 620px) { .coll-grid > .coll-item { --n: 2; } }
@media (min-width: 960px) { .coll-grid > .coll-item { --n: 3; } }
.coll-mz { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; box-sizing: border-box; height: 32px; line-height: 1; color: var(--ink); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.coll-mz .mzb { margin-left: 0; }
/* a card without 「메터뷰 읽기」 keeps the same room under it, so cards in one row end at the same height (controller 11/18) */
.coll-grid > .coll-item:not(:has(> .coll-mz))::after { content: ''; display: block; height: 32px; }
.coll-mz:hover { color: var(--lantern); }
.coll-mz:focus-visible { outline: 3px solid var(--lantern); outline-offset: 2px; border-radius: 6px; }
