/* A common visual language for public secondary pages. */
.page-secondary:not(.page-album):not(.page-leaderboard) { min-height: 100dvh; background: radial-gradient(ellipse 80% 600px at 100% 0, #eaf1f8 0, transparent 65%), #f8fafb; }
.page-secondary:not(.page-album):not(.page-leaderboard) > .site-footer { margin-top: 64px; }
.secondary-breadcrumb { display: flex; align-items: center; gap: 9px; margin: -15px 0 20px; color: #8a9aa9; font-size: 11px; line-height: 1.6; }
.secondary-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: #71879b; }
.secondary-breadcrumb > svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.secondary-breadcrumb > span:last-child { color: #345671; }
.secondary-masthead { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 220px; overflow: hidden; margin: 0 0 32px; padding: 36px 40px; border: 1px solid #dbe6ef; border-radius: 24px; background: radial-gradient(ellipse at 95% 20%, #d9e8f6 0, transparent 65%), linear-gradient(115deg, #fff, #f0f5f9); box-shadow: 0 6px 24px #183b5b04; }
.secondary-masthead::after { position: absolute; right: -60px; bottom: -150px; width: 330px; height: 330px; border: 1px solid #4f85ac0d; border-radius: 50%; box-shadow: 0 0 0 30px #4f85ac03, 0 0 0 60px #4f85ac03; content: ""; pointer-events: none; }
.secondary-masthead-copy { position: relative; z-index: 1; min-width: 0; }
.page-secondary .secondary-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #9b825f; font-size: 10px; font-weight: 500; letter-spacing: .18em; }
.secondary-eyebrow::before { width: 22px; height: 1px; background: #b69a70; content: ""; }
.page-secondary .secondary-masthead h1 { margin: 0; color: #183b5b; font-size: clamp(30px, 3.7vw, 44px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.page-secondary .secondary-masthead .secondary-intro { max-width: 540px; margin: 14px 0 0; color: #6b8296; font-size: 14px; line-height: 1.9; }
.page-secondary .secondary-masthead .meta { margin: 18px 0 0; color: #8494a2; font-size: 11px; }
.secondary-art { position: relative; display: grid; width: 180px; height: 160px; flex: 0 0 180px; place-items: center; }
.secondary-art::before, .secondary-art::after { position: absolute; width: 170px; height: 170px; border: 1px solid #5184ab26; border-radius: 50%; content: ""; transform: rotate(-25deg) scaleY(.65); }
.secondary-art::after { width: 210px; height: 210px; border-color: #b59b7036; transform: rotate(30deg) scaleY(.6); }
.secondary-art > span { position: relative; z-index: 1; display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid #fff; border-radius: 27px; background: linear-gradient(140deg, #fff, #deebf6); box-shadow: 0 14px 30px #2a608623, inset 0 1px 0 #fff; transform: rotate(-8deg); }
.secondary-art svg { width: 40px; height: 40px; fill: none; stroke: #477da5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.secondary-art > i { position: absolute; z-index: 1; top: 28px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #bca074; box-shadow: 0 0 0 5px #bca07412; }
.secondary-art > i:last-child { top: auto; right: auto; bottom: 25px; left: 8px; width: 5px; height: 5px; background: #79a2c2; }
.secondary-toc { margin: 0 0 24px; padding: 20px 24px; border: 1px solid #e0e8ee; border-radius: 16px; background: #ffffffba; }
.secondary-toc > p { margin: 0 0 12px; color: #7a8d9c !important; font-size: 11px; }
.secondary-toc > div { display: flex; flex-wrap: wrap; gap: 7px; }
.secondary-toc a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px; border: 1px solid #e4ebf1; border-radius: 8px; background: #f7f9fc; color: #4b6c87; font-size: 11px; text-decoration: none; transition: border-color 180ms, background 180ms; }
.secondary-toc a span { color: #a68d67; font-size: 10px; font-variant-numeric: tabular-nums; }
.page-document .legal-card { padding: 38px 44px; border-radius: 20px; box-shadow: 0 5px 24px #183b5b04; }
.page-document .legal-card h2 { display: flex; align-items: baseline; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid #e9eef3; scroll-margin-top: 100px; font-size: 18px; }
.page-document .legal-card h2::before { width: 5px; height: 14px; flex: 0 0 5px; border-radius: 3px; background: linear-gradient(#b69a70, #e2d3bc); content: ""; }
.page-document .legal-card :is(p, li) { font-size: 14px; line-height: 2; }
.page-document .legal-card li::marker { color: #9bb2c6; }
.secondary-related { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid #dce6ef; border-radius: 16px; background: linear-gradient(110deg, #ecf3f9, #f4f7fa); }
.secondary-related > span { color: #7c8d9c; font-size: 12px; }
.secondary-related > div { display: flex; flex-wrap: wrap; gap: 16px; }
.secondary-related a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #426c8e; font-size: 12px; }
.page-events .item-row { grid-template-columns: 140px minmax(0, 1fr); gap: 22px; min-height: 180px; padding: 26px; border-radius: 18px; transition: transform 220ms, box-shadow 220ms, border-color 220ms; }
.page-events .thumb { width: 140px; aspect-ratio: 1; border-radius: 12px; }
.page-events .details-link { gap: 8px; color: #4a7da4; font-size: 12px; }
.page-events .date-tag { padding: 3px 10px; border: 1px solid #dbe8f3; background: #f0f6fb; font-size: 10px; }
.page-contact .legal-card { position: relative; padding: 36px 40px; border-radius: 20px; }
.page-contact .legal-card > h2 { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 19px; }
.page-contact .legal-card > h2::before { width: 4px; height: 18px; border-radius: 3px; background: #b59b70; content: ""; }
.page-contact .legal-card > ul { margin: 20px 0 30px; padding: 20px 24px 20px 40px; border: 1px solid #e2eaf1; border-radius: 14px; background: #f4f8fb; }
.page-contact .contact-form { padding-top: 10px; }
.page-contact .contact-form :is(input, textarea) { min-height: 48px; border-radius: 10px; background: #fafcfe; transition: box-shadow 180ms, border-color 180ms; }
.page-contact .contact-form :is(input, textarea):focus { --control-focus-shadow: 0 0 0 3px #3478b90d; border-color: #6f9dbf; }
.page-contact .contact-form button { min-height: 48px; padding-inline: 28px; border-radius: 10px; background: linear-gradient(110deg, #24577c, #183b5b); box-shadow: 0 4px 12px #183b5b14; }
.page-registration .registration-hero, .page-tob .tob-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 90% 5%, #dceaf6, transparent 60%), linear-gradient(120deg, #f9fbfd, #eef4f9); }
.page-registration .registration-hero::after, .page-tob .tob-hero::after { position: absolute; z-index: -1; top: -160px; right: -100px; width: 480px; height: 480px; border: 1px solid #7196b615; border-radius: 50%; box-shadow: 0 0 0 45px #7196b604, 0 0 0 90px #7196b603; content: ""; pointer-events: none; }
.page-registration .registration-card { border-radius: 20px; box-shadow: 0 18px 48px #183b5b0b; }
.page-season .course-card, .page-tob .tob-point { transition: transform 220ms, border-color 220ms, box-shadow 220ms; }
.page-secondary :is(.secondary-toc, .secondary-related) a:focus-visible { outline: 3px solid #8fb4d4; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .secondary-toc a:hover { border-color: #b4ccdf; background: #eaf2f9; }
  .page-events .item-row:hover, .page-season .course-card:hover, .page-tob .tob-point:hover { transform: translateY(-3px); border-color: #b7cee0; box-shadow: 0 12px 30px #183b5b0c; }
}
@media (max-width: 767px) {
  .secondary-breadcrumb { margin-top: -6px; margin-bottom: 14px; }
  .secondary-masthead { min-height: 200px; gap: 0; margin-bottom: 24px; padding: 28px 24px; border-radius: 18px; }
  .page-secondary .secondary-eyebrow { font-size: 8px; letter-spacing: .12em; }
  .page-secondary .secondary-masthead h1 { font-size: 32px; }
  .page-secondary .secondary-masthead .secondary-intro { max-width: 88%; font-size: 12px; }
  .page-secondary .secondary-masthead .meta { font-size: 10px; }
  .secondary-art { position: absolute; top: 20px; right: -42px; opacity: .25; transform: scale(.8); pointer-events: none; }
  .secondary-toc { padding: 18px; }
  .secondary-toc a { min-height: 40px; padding-inline: 10px; }
  .page-document .legal-card, .page-contact .legal-card { padding: 24px 20px; border-radius: 16px; }
  .page-document .legal-card h2 { font-size: 16px; }
  .page-document .legal-card :is(p, li) { font-size: 13px; }
  .secondary-related { padding: 18px; }
  .secondary-related > div { gap: 12px; }
  .page-events .item-row { grid-template-columns: 94px minmax(0, 1fr); min-height: 148px; gap: 17px; padding: 20px; }
  .page-events .thumb { width: 94px; border-radius: 10px; }
  .page-contact .legal-card > ul { padding: 16px 16px 16px 30px; font-size: 12px; overflow-wrap: anywhere; }
  .page-secondary:not(.page-album):not(.page-leaderboard) > .site-footer { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .page-secondary *, .page-secondary *::before, .page-secondary *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
