/* ==============================================
   Responsive: Tablet (980px)
   ============================================== */
@media (max-width: 980px) {
  /* Banner */
  .ch-banner-social-link span { display: none; }

  .ch-header-banner {
    height: 64px;
  }

  .ch-banner-logo-col {
    width: 132px;
    margin-right: 10px;
  }

  .ch-banner-logo {
    height: 140px;
    width: 132px;
  }

  .ch-banner-logo-link {
    bottom: -76px;
  }

  /* Scale down two-tone title */
  .ch-banner-word-1,
  .ch-banner-word-2 {
    font-size: 44px;
  }


  /* Nav */
  .ch-nav {
    position: static;
    flex: 1;
  }

  .ch-nav-ink {
    display: none;
  }

  .ch-btn-tickets {
    padding: 0 14px;
    font-size: 12px;
  }

  .ch-menu-toggle {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  /* Ticket CTA — hidden from dropdown; icon appears in header bar instead */
  .ch-nav-list > li.tix {
    display: none;
  }

  /* Ticket icon button in header bar (JS-created) */
  .ch-tix-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    height: 100%;
    background: var(--gold);
    color: #fff;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.15s;
  }

  .ch-tix-mobile-btn svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    display: block;
  }

  .ch-tix-mobile-btn:hover {
    background: var(--gold-bright);
  }

  /* Mobile nav panel */
  .ch-nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 3px solid var(--gold);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    z-index: 300;
    padding: 0;
    margin: 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .ch-nav-list.ch-nav-open {
    display: flex;
  }

  .ch-nav-list > li {
    width: 100%;
    flex-direction: column;
  }

  /* Top-level nav links */
  .ch-nav-list > li > a {
    height: auto;
    padding: 13px 20px;
    justify-content: flex-start;
    text-align: left;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.06em;
  }

  .ch-nav-list > li > a:hover {
    color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Hide dropdown chevrons on mobile */
  .ch-nav-list > li.menu-item-has-children > a::after {
    display: none;
  }

  /* Children sub-menu — gold left accent, slightly inset */
  .ch-nav-list > li > ul.sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    padding: 0;
    min-width: 0;
    border-top: none;
    border-radius: 0;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .ch-nav-list > li > ul.sub-menu::before,
  .ch-nav-list > li > ul.sub-menu::after {
    display: none;
  }

  /* Child links */
  .ch-nav-list > li > ul.sub-menu > li > a {
    padding: 11px 20px 11px 24px;
    justify-content: flex-start;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: none;
    letter-spacing: 0.05em;
    white-space: normal;
  }

  .ch-nav-list > li > ul.sub-menu > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }

  /* Hide right-chevron on child items that have grandchildren */
  .ch-nav-list > li > ul.sub-menu > li.menu-item-has-children > a::after {
    display: none;
  }

  /* Grandchildren sub-menu — double-indented, faint gold border */
  .ch-nav-list > li > ul.sub-menu > li > ul.sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    top: auto;
    left: auto;
    border-top: none;
    border-radius: 0;
    border-left: 3px solid rgba(185, 151, 91, 0.35);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  /* Grandchild links */
  .ch-nav-list > li > ul.sub-menu > li > ul.sub-menu > li > a {
    padding: 9px 20px 9px 36px;
    justify-content: flex-start;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-left: none;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .ch-nav-list > li > ul.sub-menu > li > ul.sub-menu > li > a:hover {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Scores strip — hide 1st item (oldest), keep 3 */
  .ch-score-item:nth-child(1) {
    display: none;
  }

  .ch-scores-inner {
    padding: 0 16px;
  }

  .ch-score-item {
    gap: 10px;
    padding: 8px 16px;
  }

  /* Page hero */
  .ch-page-hero {
    padding: 32px 16px;
  }

  .ch-page-hero-title {
    font-size: 36px;
  }

  .ch-page-hero-ghost {
    display: none;
  }

  /* Quick links — 2 columns on tablet */
  .ch-quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .ch-hero {
    padding: 40px 20px;
  }

  .ch-hero-title {
    font-size: 46px;
  }

  .ch-hero-title-outline {
    -webkit-text-stroke: 2px rgba(185, 151, 91, 0.65);
    text-stroke: 2px rgba(185, 151, 91, 0.65);
  }

  .ch-hero-pretitle {
    font-size: 11px;
  }

  .ch-arena-columns {
    flex-direction: column;
  }

  .ch-arena-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Roster — hide hometown + last stat, 4-col grid */
  .ch-roster-header,
  .ch-roster-row {
    grid-template-columns: 56px 1fr 60px 60px;
  }

  .ch-roster-hometown,
  .ch-roster-header-cell.ch-col-hometown {
    display: none;
  }

  .ch-roster-stat:last-child,
  .ch-roster-header-cell.ch-col-stat:last-child {
    display: none;
  }

  .ch-roster-number {
    font-size: 32px;
  }

  .ch-roster-player-name {
    font-size: 17px;
  }

  .ch-roster {
    padding: 24px 16px;
  }

  /* Sponsors — tablet */
  .ch-ft-sponsors-inner { padding: 24px 20px; gap: 16px; }
  .ch-ft-sponsors-label { font-size: 17px; }
  .ch-ft-sponsor-frame  { width: 120px; height: 72px; }

}

/* ==============================================
   Responsive: Mid (720px) — hide hashtag
   ============================================== */
@media (max-width: 720px) {
  .ch-banner-dot--tag,
  .ch-banner-hashtag {
    display: none;
  }
}

/* ==============================================
   Responsive: Phone (480px)
   ============================================== */
@media (max-width: 480px) {

  /* Stat Leaders */
  .ch-sl-cat {
    width: 40px;
    font-size: 9px;
  }

  .ch-sl-name {
    font-size: 13px;
  }

  .ch-sl-value {
    font-size: 20px;
    min-width: 32px;
  }
  /* Hide banner entirely on phone; nav bar carries logo + name */
  .ch-header-banner {
    display: none;
  }

  /* Always show sticky logo on phone (no banner to show it) */
  .ch-sticky-logo-link {
    width: 38px !important;
    opacity: 1 !important;
    margin-right: 10px !important;
    overflow: visible !important;
  }

  .ch-header-mobile-name {
    display: block;
    position: absolute;
    left: 58px;   /* sticky logo (38px) + margin (10px) + padding (10px) */
    right: 100px; /* tix btn + hamburger */
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
  }

  .ch-btn-tickets {
    display: none;
  }

  .ch-menu-toggle {
    margin-left: auto;
  }

  /* Scores strip — hide 1st and 2nd items, keep last 2 */
  .ch-score-item:nth-child(1),
  .ch-score-item:nth-child(2) {
    display: none;
  }

  .ch-scores-inner {
    padding: 0 12px;
  }

  .ch-score-item {
    gap: 8px;
    padding: 8px 12px;
  }

  .ch-score-date {
    font-size: 10px;
  }

  .ch-score-row {
    font-size: 12px;
    gap: 10px;
  }

  .ch-score-tag {
    font-size: 9px;
  }

  .ch-score-upcoming-label {
    font-size: 12px;
  }

  .ch-score-upcoming-detail {
    font-size: 10px;
  }

  /* Page hero */
  .ch-page-hero {
    padding: 24px 12px;
  }

  .ch-page-hero-title {
    font-size: 28px;
  }

  .ch-page-hero-breadcrumbs {
    font-size: 11px;
  }

  /* Quick links — single column on phone */
  .ch-quick-links {
    grid-template-columns: 1fr;
  }

  .ch-quick-link {
    height: 120px;
  }

  .ch-hero {
    padding: 32px 16px;
  }

  .ch-hero-title {
    font-size: 32px;
  }

  .ch-hero-title-outline {
    -webkit-text-stroke: 1px rgba(185, 151, 91, 0.65);
    text-stroke: 1px rgba(185, 151, 91, 0.65);
  }

  .ch-hero-pretitle {
    font-size: 10px;
  }

  .ch-hero-subtitle {
    font-size: 13px;
  }

  /* Roster — number + name + GP only */
  .ch-roster-header,
  .ch-roster-row {
    grid-template-columns: 48px 1fr 50px;
  }

  .ch-roster-stat:nth-last-child(2),
  .ch-roster-header-cell.ch-col-stat:nth-last-child(2) {
    display: none;
  }

  .ch-roster-number {
    font-size: 28px;
    padding: 12px 8px 12px 12px;
  }

  .ch-roster-player-name {
    font-size: 14px;
  }

  .ch-roster-player-detail {
    font-size: 10px;
  }

  .ch-roster-stat-val {
    font-size: 15px;
  }

  .ch-roster-filter {
    font-size: 11px;
    padding: 8px 12px;
  }

  .ch-roster {
    padding: 20px 12px;
  }

  /* Sponsors — phone */
  .ch-ft-sponsors-inner { padding: 20px 16px; gap: 8px; }
  .ch-ft-sponsors-label { font-size: 14px; letter-spacing: 0.18em; }
  .ch-ft-sponsors-label::before,
  .ch-ft-sponsors-label::after { width: 28px; }
  .ch-ft-sponsor-frame  { width: 98px; height: 58px; }

  /* Footer — Phone */
  .ch-ft-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ch-ft-col a:hover {
    padding-left: 0;
    border-left-color: transparent;
  }

  .ch-ft-ghost {
    display: none;
  }
}
