/* Pre-rendered pages built by scripts/build.mjs: group, sport, town and directory pages. */

.crumbs { padding-top: 28px; font-size: 14.5px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); }
.crumbs + .page-head { padding-top: 18px; }

.page-head .group-top { margin-bottom: 4px; }
.page-head .group-top .type { margin-left: 0; }

.group-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 72px; }
.group-layout .facts { margin-top: 0; }
.group-join { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.group-join .dlg-spots .full { color: var(--ruby); }
.group-join .dlg-actions { margin-top: 18px; }
.group-join .form { margin-top: 0; }

.listing { padding-bottom: 72px; }
.listing h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin: 40px 0 18px; }
.listing h2:first-child { margin-top: 0; }
.listing .group-card .meta { margin-top: auto; }
.listing-empty { color: var(--ink-2); font-size: 18px; max-width: 54ch; }
.listing-empty a { font-weight: 600; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

@media (max-width: 860px) {
  .group-layout { grid-template-columns: 1fr; }
  .group-join { position: static; }
}
@media (max-width: 560px) {
  .group-layout .facts { grid-template-columns: 1fr; }
}
