/* SPDX-License-Identifier: GPL-2.0-or-later
 * horo theme collections, 2026: archive as a travel log. Original styling.
 */
.collection-header { padding: 8px 0 30px; text-align: center; }
.collection-header h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.4; font-weight: 900; letter-spacing: .03em; overflow-wrap: anywhere; }
.collection-count { display: inline-flex; align-items: center; gap: 12px; margin: 12px 0 0; font: 13.5px/1.6 var(--h-sans); color: var(--h-ink-3); }
.collection-count [data-total-count] { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--h-wheat); color: #2a1a10; font-weight: 800; font-variant-numeric: tabular-nums; }
.collection-intro { margin-bottom: 30px; }
.collection-navigation { margin: 0 0 40px; font: 14px/1.6 var(--h-sans); }
.collection-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.collection-navigation a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--h-paper); box-shadow: inset 0 0 0 1.5px var(--h-line); color: var(--h-ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.collection-navigation a:hover { color: var(--h-ink); background: var(--h-wheat-soft); box-shadow: none; }
.collection-navigation [aria-current=page] { background: var(--h-apple); color: var(--h-on-apple); box-shadow: none; font-weight: 600; }
.collection-navigation [aria-current=page]:hover { background: var(--h-apple); color: var(--h-on-apple); }
.collection-navigation .date-scopes { margin-top: 12px; padding-top: 12px; border-top: 1.5px dotted var(--h-line-strong); }
.collection-navigation .date-scopes a { height: 30px; padding: 0 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.empty-collection { text-align: center; color: var(--h-ink-3); }

/* Chronology: years are milestones along the road. */
.chronology-year { position: relative; margin: 0 0 44px; padding: 20px 24px 10px; border-radius: var(--h-radius); background: var(--h-paper); box-shadow: var(--h-lift); }
.chronology-year h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; font-size: 40px; line-height: 1.2; font-weight: 900; color: var(--h-wheat-deep); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.chronology-year h2 span { font: 500 13px/1 var(--h-sans); color: var(--h-ink-3); letter-spacing: 0; }
.chronology-year ol { list-style: none; margin: 0; padding: 0; }
.chronology-year li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1.5px dotted var(--h-line); overflow-wrap: anywhere; }
.chronology-year li:last-child { border-bottom: 0; }
.chronology-year time { font: 600 13.5px/1.6 var(--h-sans); color: var(--h-ink-3); font-variant-numeric: tabular-nums; }
.chronology-title { font-size: 16.5px; line-height: 1.65; font-weight: 600; }
.chronology-year small { font: 12px/1.6 var(--h-sans); color: var(--h-ink-3); white-space: nowrap; }
.chronology-timeline .chronology-year ol { margin-left: 6px; padding-left: 22px; border-left: 2px dashed rgb(232 169 59 / .55); }
.chronology-timeline .chronology-year li { position: relative; border-bottom: 0; }
.chronology-timeline .chronology-year li::before { content: ""; position: absolute; left: -30px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--h-paper); box-shadow: inset 0 0 0 3px var(--h-apple); }
.chronology-timeline .chronology-year li:hover::before { background: var(--h-apple); }

.term-directory { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; list-style: none; margin: 0; padding: 0; }
.term-directory .price-tag { height: 34px; padding-right: 14px; font-size: 14.5px; gap: 8px; }
.term-directory .price-tag small { font-size: 12px; font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  .collection-header { padding-bottom: 24px; }
  .collection-navigation ul { justify-content: flex-start; }
  .chronology-year { padding: 16px 16px 6px; margin-bottom: 30px; }
  .chronology-year h2 { font-size: 32px; }
  .chronology-year li { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; }
  .chronology-year small { grid-column: 2; }
}
