/* /game-days (templates/game-days.php): the two-week calendar and the "what to wear" panel. */
.gd-hero { background: var(--navy, #041e42); color: #fff; padding: 32px 0 30px; }
.gd-hero .crumbs, .gd-hero .crumbs a { color: rgba(255,255,255,.75); }
.gd-hero h1 { color: #fff; margin: 8px 0 10px; }
.gd-hero p { max-width: 640px; margin: 0; color: rgba(255,255,255,.85); font-size: 18px; }

.gdc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(28px, 4vw, 44px); padding-bottom: 72px; }
.gdc__bucket + .gdc__bucket, .gdc__later { margin-top: 32px; }
.gdc h2 { font-size: 22px; }
.gdc__bucket > h2, .gdc__later > h2 { padding-bottom: 10px; border-bottom: 2px solid var(--navy, #041e42); }
.gdc__day { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #d9e0e8); }
.gdc__day h3 { display: grid; align-content: start; padding-top: 10px; font: 800 18px/1 var(--display); color: var(--navy, #041e42); }
.gdc__day h3 span { font: 500 12.5px/1.6 var(--body, inherit); color: var(--muted, #5b6573); }
.gdc ul { margin: 0; padding: 0; list-style: none; }
.gdc__day ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.gdc__day li { min-width: 0; }
.gdc__game { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; color: inherit; text-decoration: none; }
.gdc__game:hover { background: #f3f6f9; }
.gdc__game:focus-visible { outline: 3px solid var(--gold, #ffb81c); outline-offset: 2px; }
.is-on > .gdc__game { border-color: var(--navy, #041e42); background: #f3f6f9; }
.gdc__who { display: grid; gap: 2px; min-width: 0; }
.gdc__who b { font-weight: 700; color: var(--navy, #041e42); }
.gdc__who small { font-size: 14px; color: var(--muted, #5b6573); }
.gdc__time { font: 700 15px/1 var(--display); color: var(--navy, #041e42); white-space: nowrap; }
.gdc__time em { font-style: normal; padding: 4px 8px; border-radius: 99px; background: #c8102e; color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* The team's So Nashville pick and the sport's icon (public domain, /assets/img/sports/LICENSE.txt)
   in the team's colors, so hockey and hoops read apart at a glance. */
.gdc__marks { display: flex; align-items: center; gap: 6px; }
.gdc__marks .sn-badge { --sz: 36px; }
.gdc__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--th-base, var(--navy, #041e42)); color: var(--th-a, var(--gold, #ffb81c)); }
.gdc__ico.sn-theme--checker { box-shadow: inset 0 0 0 1.5px #ff8200; }
.gdc__ico i { width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.gdc__ico--hockey { --ico: url("/assets/img/sports/hockey.svg"); }
.gdc__ico--football { --ico: url("/assets/img/sports/football.svg"); }
.gdc__ico--basketball { --ico: url("/assets/img/sports/basketball.svg"); }
.gdc__ico--baseball { --ico: url("/assets/img/sports/baseball.svg"); }
.gdc__ico--soccer { --ico: url("/assets/img/sports/soccer.svg"); }

.gdc__later li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line, #d9e0e8); }
.gdc__later .sn-badge { --sz: 28px; }
.gdc__later b { color: var(--navy, #041e42); }
.gdc__later span:not(.sn-badge) { color: var(--muted, #5b6573); font-size: 14px; }
.gdc__later a { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--navy, #041e42); }
.gdc__none, .gdc__note { color: var(--muted, #5b6573); }
.gdc__note { margin: 16px 0 0; font-size: 13px; }

.gdc__wear { position: sticky; top: calc(var(--header-h, 64px) + 20px); scroll-margin-top: 90px; }
.gdc__panel { padding: 22px; border-radius: 14px; border: 1px solid var(--line, #d9e0e8); border-top: 8px solid var(--th-a, var(--gold, #ffb81c)); background: #fff; }
.gdc__ph { display: flex; align-items: center; gap: 12px; }
.gdc__ph .sn-badge { --sz: 48px; }
.gdc__ph .eyebrow { margin-bottom: .3rem; color: var(--th-text, var(--blue-ink)); }
.gdc__panel > p { margin: 10px 0 18px; color: var(--muted, #5b6573); }
.gdc__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.gdc__btn { width: 100%; justify-content: center; margin-top: 20px; }
.gdc__sold { font-weight: 600; color: var(--navy, #041e42); }

@media (max-width: 900px) {
  .gdc { grid-template-columns: minmax(0, 1fr); }
  .gdc__wear { position: static; }
  /* Phones: game-days.js moves the panel under the tapped game; its shirts scroll sideways. */
  .gdc__day .gdc__wear { margin: 6px 0 10px; }
  .gdc__day .gdc__panel { padding: 16px; }
  .gdc__day .gdc__cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .gdc__day .gdc__cards::-webkit-scrollbar { display: none; }
  .gdc__day .gdc__cards > * { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .gdc__day { grid-template-columns: 40px minmax(0, 1fr); gap: 6px; }
  .gdc__game { gap: 10px; padding: 8px 6px; }
  .gdc__marks { gap: 4px; }
  .gdc__marks .sn-badge { --sz: 28px; }
  .gdc__ico { width: 34px; height: 34px; border-radius: 9px; }
  .gdc__ico i { width: 22px; height: 22px; }
  .gdc__day .gdc__cards > * { flex-basis: 58%; }
}
