/* Comments worth sharing (2026-11-20): a comment's own page (Comments/v2comment.htm) and the
 * hikers' tips collection (Comments/v2tips.htm). Colours only from the edition's --c-* tokens. */

.cs-page { padding-block: 20px 56px; }
.cs-page .breadcrumb { margin-bottom: 16px; }
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.cs-layout > * { min-width: 0; }
@media (min-width: 1024px) {
  .cs-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cs-side { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* the comment */
.cs-article { padding: clamp(20px, 4vw, 40px); }
.cs-author { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.cs-author .small { white-space: nowrap; }
.cs-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--c-primary-container); }
.cs-name { font-weight: 700; font-size: 17px; }
.cs-name a { color: inherit; }
.cs-badge { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--c-primary-container); color: var(--c-primary-dark); white-space: nowrap; }
.cs-badge.sm { height: 20px; padding: 0 6px; }
.cs-eyebrow { margin: 26px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-primary-dark); }
.cs-quote { margin: 0 0 22px; padding-left: 18px; border-left: 5px solid var(--c-primary); font-family: var(--font-serif); font-size: clamp(22px, 3.2vw, 32px); line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.cs-text { font-size: 17px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; max-width: 72ch; }

.cs-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 24px; }
.cs-photos a { display: block; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 1; background: var(--c-surface-2); }
.cs-photos img { width: 100%; height: 100%; object-fit: cover; }
.cs-photos.is-single { grid-template-columns: 1fr; }
.cs-photos.is-single a { aspect-ratio: auto; }
.cs-photos.is-single img { height: auto; max-height: 640px; object-fit: contain; background: #000; }

.cs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--c-outline); }
.cs-share-label { font-weight: 600; margin-right: 4px; }
.cs-editor { margin: 16px 0 0; }

/* the side: the route, more tips */
.cs-side { display: flex; flex-direction: column; gap: 14px; }
.cs-side p { margin: 0; }
.cs-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-item-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cs-item-body h2 { margin: 0; }
.cs-item-body p { margin: 0; color: var(--c-text-2); }
.cs-kind { text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.cs-figures { display: flex; gap: 6px; flex-wrap: wrap; }
.cs-wide { width: 100%; justify-content: center; }
.cs-others { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cs-others h2 { margin: 0 0 2px; }
.cs-other { padding: 14px 16px; gap: 6px; }
.cs-other p { margin: 0; font-size: 14px; color: var(--c-text-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* the collection */
.cs-tips { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 8px; }
.cs-tip { display: flex; flex-direction: column; }
.cs-tip-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cs-tip-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cs-tip-quote { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.35; }
.cs-tip-quote a { color: inherit; }
.cs-tip-body p { margin: 0; color: var(--c-text-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cs-tip-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cs-pager { display: flex; justify-content: space-between; margin-top: 28px; }
