/* Tournament pages share the standard activity-page layout and CTA. */
.tournament-page .tournament-text-link { margin-top: 20px; font-size: 16px; }
.tournament-text-link a, .tournament-guide-links a, .tournament-source a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.tournament-formats, .tournament-page #download { scroll-margin-top: 100px; }
.tournament-formats dl, .tournament-considerations dl { margin: 24px 0; }
.tournament-formats dl > div, .tournament-considerations dl > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.tournament-formats dt, .tournament-considerations dt { font-weight: 700; line-height: 1.5; }
.tournament-formats dd, .tournament-considerations dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.tournament-page .tournament-source { font-size: 14px; line-height: 1.7; }
.tournament-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 28px 0 0; list-style: none; counter-reset: tournament-phase; }
.tournament-phases li { border-top: 1px solid var(--border); padding-top: 18px; counter-increment: tournament-phase; }
.tournament-phases li::before { content: counter(tournament-phase, decimal-leading-zero); display: block; margin-bottom: 10px; color: var(--teal); font-size: 13px; font-weight: 700; }
.tournament-phases h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.4; }
.tournament-page .tournament-phases p { margin: 0; font-size: 15px; line-height: 1.7; }
.tournament-guide-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tournament-directory .activity-option-custom { grid-column: 1 / -1; }
.tournament-directory .activity-option-custom h3 { color: var(--teal); }
.tournament-formats dl > div { grid-template-columns: 220px minmax(0, 1fr); }
@media (max-width: 720px) {
  .tournament-formats dl > div, .tournament-considerations dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tournament-phases { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* Shared format guidance and the custom-activity route use a plain reading flow. */
.tournament-reference-page .tournament-example { max-width: 760px; padding: 20px 0; border-top: 1px solid var(--border); }
.tournament-reference-page .tournament-example h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; }
.tournament-reference-page .tournament-example p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.tournament-reference-page .tournament-custom-steps { max-width: 760px; padding-left: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.tournament-reference-page .tournament-custom-steps li + li { margin-top: 10px; }
.tournament-reference-page .tournament-return-link { margin-top: 32px; }
.tournament-reference-page .tournament-formats dl > div, .tournament-reference-page #combine-formats { scroll-margin-top: 100px; }
