/*==============================================================================
 * Football Desktop theme — reference agency for Phase 39 hierarchy
 * Customize Layer 1 first; Layers 2–3 inherit via aliases.
 *============================================================================*/
:root {
  /* ==========================================================================
   * LAYER 1 — Core brand palette (Football navy blue hierarchy)
   * Primary/Secondary/Tertiary = approved Football nav navy family.
   * Interactive accents derive from the same blue family (Phase 45).
   * Orange (#FF8C00) remains for highlight / selected attention (not buttons).
   * Homepage marketing purple stays hardcoded on football_banner_wrap only.
   * ========================================================================== */
  --cb-brand-primary: #04306b;
  --cb-brand-secondary: #032554;
  --cb-brand-tertiary: #0A3F82;
  --cb-brand-accent: #3D6BA8; /* mid blue — Cricket accent role */
  --cb-brand-accent-bright: #5B8FD4; /* brighter blue CTA — Cricket accent-bright role */
  --cb-brand-accent-hover: #FF8C00; /* attention / neon-equivalent hover */
  --cb-brand-soft-teal: #3D6BA8; /* soft selected-tab / CTA chrome */
  --cb-brand-highlight: #FF8C00;
  --cb-brand-muted-surface: #021A3A;
  --cb-brand-deep-surface: #011022;
  --cb-brand-accent-soft: #4A7DB8;
  --cb-brand-primary-alt: #0A3F82;
  --cb-surface-dark: #021A3A;
  /* Shared .button / action family — deep Football blue (Enable Customization family) */
  --cb-btn-action-bg: #0A3F82;
  --cb-btn-action-hover: #032554;
  --cb-btn-action-text: #ffffff;
  --cb-core-profile-surface: #032554;
  --cb-core-profile-border: #3D6BA8;
  /* Functional: Available LiveStatus photo ring — keep orange intentionally */
  --cb-core-profile-photo-active: #FFA500;

  /* ==========================================================================
   * LAYER 2 — Shared semantic roles
   * ========================================================================== */
  --cb-surface-primary: var(--cb-brand-primary);
  --cb-surface-secondary: var(--cb-brand-secondary);
  --cb-surface-tertiary: var(--cb-brand-tertiary);
  --cb-surface-nested: var(--cb-brand-tertiary);
  --cb-surface-muted: var(--cb-brand-muted-surface);
  --cb-surface-deep: var(--cb-brand-deep-surface);
  --cb-surface-light: #E5E7E7;
  /* Subtle Football blue wash (replaces Cricket teal #F1F8F8) */
  --cb-surface-subtle: #E8EFF7;
  --cb-surface-hover: var(--cb-brand-secondary);
  --cb-surface-selected: var(--cb-surface-light);
  --cb-surface-overlay: rgba(4, 48, 107, 0.29);

  --cb-text-on-brand: #ffffff;
  --cb-text-brand: var(--cb-brand-primary);
  --cb-text-brand-secondary: var(--cb-brand-secondary);
  --cb-text-brand-bright: var(--cb-brand-highlight);
  --cb-text-on-brand-muted: rgba(255, 255, 255, 0.85);
  --cb-text-on-light-brand: var(--cb-brand-primary);
  --cb-link-brand: var(--cb-brand-secondary);
  --cb-link-brand-hover: var(--cb-brand-accent);
  --cb-brand-icon: var(--cb-brand-accent);
  /* Recolor Cricket-teal PNG/SVG artwork toward Football navy (#0A3F82) */
  --cb-brand-icon-filter: brightness(0) saturate(100%) invert(16%) sepia(48%) saturate(2200%) hue-rotate(196deg) brightness(92%) contrast(96%);

  /* ==========================================================================
   * LAYER 3 — Component aliases (header / profile / nav / strips / buttons)
   * Profile uses navy family so it reads as part of the Football header.
   * ========================================================================== */
  --cb-header-bg: var(--cb-brand-primary);
  --cb-header-fg: var(--cb-text-on-brand);
  --cb-header-secondary-bg: var(--cb-brand-secondary);
  --cb-header-secondary-fg: var(--cb-text-on-brand);
  --cb-user-profile-bg: var(--cb-core-profile-surface);
  --cb-user-profile-fg: var(--cb-text-on-brand);
  --cb-user-profile-border: var(--cb-core-profile-border);
  --cb-user-photo-border: var(--cb-core-profile-border);
  --cb-user-photo-border-active: var(--cb-core-profile-photo-active);
  --cb-user-profile-hover-bg: var(--cb-brand-tertiary);
  --cb-user-dropdown-bg: #ffffff;
  --cb-user-dropdown-fg: #021A3A;
  --cb-user-dropdown-hover-bg: rgba(4, 48, 107, 0.12);
  --cb-user-dropdown-selected-bg: #E5E7E7;
  --cb-user-dropdown-border: #C9CECF;

  --cb-nav-bg: var(--cb-brand-primary);
  --cb-nav-bg-secondary: var(--cb-brand-secondary);
  --cb-nav-league-bg: var(--cb-brand-secondary);
  --cb-nav-tournament-bg: var(--cb-brand-primary);
  --cb-nav-text: var(--cb-text-on-brand);
  --cb-nav-hover-fg: var(--cb-brand-accent-bright);
  --cb-nav-hover-bg: var(--cb-brand-secondary);
  --cb-nav-active: var(--cb-brand-accent-bright);
  --cb-nav-selected-bg: #E5E7E7;
  --cb-nav-selected-text: var(--cb-brand-primary);
  --cb-sport-selected-bg: #ffffff;
  --cb-sport-selected-text: var(--cb-brand-primary);

  /* Dark nav submenus (Scores / More / league dropdowns) — navy family */
  --cb-submenu-bg: #032554;
  --cb-submenu-text: #ffffff;
  --cb-submenu-border: #0A3F82;
  --cb-submenu-divider: rgba(255, 255, 255, 0.18);
  /* Light pill hover/active — same treatment as --cb-nav-selected-* on dark navy panel */
  --cb-submenu-hover-bg: #E5E7E7;
  --cb-submenu-hover-text: #04306b;
  --cb-submenu-active-bg: #E5E7E7;
  --cb-submenu-active-text: #04306b;
  --cb-submenu-shadow: 0 10px 25px rgba(4, 48, 107, 0.35);

  --cb-title-strip-bg: var(--cb-brand-primary);
  --cb-title-strip-text: var(--cb-text-on-brand);
  --cb-title-strip-secondary-bg: var(--cb-brand-secondary);
  --cb-title-strip-secondary-text: var(--cb-text-on-brand);
  --cb-title-strip-light-bg: var(--cb-surface-subtle);
  --cb-title-strip-light-fg: var(--cb-brand-primary);
  --cb-nested-panel-bg: var(--cb-brand-tertiary);
  --cb-nested-panel-text: var(--cb-text-on-brand);
  --cb-info-panel-border: var(--cb-brand-tertiary);
  --cb-info-panel-muted-fg: rgba(255, 255, 255, 0.85);
  --cb-subsection-title-border: var(--cb-brand-accent);

  --cb-btn-primary-bg: var(--cb-brand-secondary);
  --cb-btn-primary-text: #ffffff;
  --cb-btn-primary-border: var(--cb-brand-secondary);
  --cb-btn-primary-hover: var(--cb-brand-accent);
  --cb-btn-secondary-bg: var(--cb-brand-accent-bright);
  --cb-btn-secondary-text: #000000;
  --cb-btn-secondary-border: var(--cb-brand-accent-bright);
  --cb-btn-secondary-hover: var(--cb-brand-tertiary);
  /* Soft Edit / Modify pills & icon chips — Football blue wash (not Cricket teal) */
  --cb-btn-soft-bg: rgba(61, 107, 168, 0.12);
  --cb-btn-soft-border: rgba(61, 107, 168, 0.35);
  --cb-btn-soft-fg: var(--cb-brand-primary-alt);
  --cb-btn-soft-hover-bg: rgba(61, 107, 168, 0.18);
  --cb-btn-soft-hover-border: rgba(61, 107, 168, 0.5);
  --cb-icon-soft-bg: var(--cb-btn-soft-bg);
  --cb-icon-soft-border: var(--cb-btn-soft-border);
  --cb-icon-soft-fg: var(--cb-btn-soft-fg);
  --cb-btn-light-bg: #ffffff;
  --cb-btn-light-fg: #888888;
  --cb-btn-light-border: #888888;
  --cb-btn-outline-bg: transparent;
  --cb-btn-outline-fg: var(--cb-brand-secondary);
  --cb-btn-outline-border: var(--cb-brand-secondary);
  --cb-btn-icon-bg: var(--cb-brand-secondary);
  --cb-btn-icon-fg: #ffffff;
  --cb-btn-icon-hover: var(--cb-brand-accent);
  --cb-control-focus-border: var(--cb-brand-accent);

  --cb-tab-active-bg: var(--cb-brand-secondary);
  --cb-tab-active-text: #ffffff;
  --cb-tab-active-underline: var(--cb-brand-accent);
  --cb-tab-inactive-fg: var(--cb-text-on-brand);
  --cb-tab-hover-fg: var(--cb-brand-accent-bright);
  --cb-selected-item-bg: var(--cb-brand-highlight);
  --cb-selected-item-fg: #000000;
  --cb-selected-item-border: var(--cb-brand-accent);

  --cb-table-header-bg: var(--cb-brand-secondary);
  --cb-table-header-fg: #ffffff;
  --cb-table-border: var(--cb-brand-tertiary);
  --cb-card-header-bg: var(--cb-brand-primary);
  --cb-card-header-fg: #ffffff;
  --cb-card-accent-border: var(--cb-brand-accent);
  --cb-badge-brand-bg: var(--cb-brand-secondary);
  --cb-badge-brand-fg: #ffffff;
  --cb-badge-brand-border: var(--cb-brand-secondary);

  --cb-brand-border: var(--cb-brand-secondary);
  --cb-brand-border-secondary: var(--cb-brand-tertiary);
  --cb-brand-border-subtle: var(--cb-brand-accent-soft);
  --cb-brand-divider: var(--cb-brand-secondary);
  --cb-brand-shadow: rgba(4, 48, 107, 0.29);
  --cb-brand-gradient: linear-gradient(180deg, #04306b 0%, #032554 100%);
  --cb-brand-gradient-start: var(--cb-brand-primary);
  --cb-brand-gradient-end: var(--cb-brand-secondary);
  --cb-brand-overlay: var(--cb-surface-overlay);

  --primary-color: var(--cb-brand-primary);
}

/* --- Football homepage / marketing exceptions (intentional brand accents) --- */
section.football_banner_wrap {
  background-color: #9170a8;
}

.foot_bnr_title span {
  font-size: 24px;
  color: #fff;
  font-family: poppins;
  font-weight: 600;
  text-transform: uppercase;
}

.football_content_bot {
  background-color: rgb(4 48 107);
  color: #fff;
  font-size: 13px;
  font-family: poppins;
  text-transform: capitalize;
}

section.football_latest_feature {
  font-family: poppins;
  border-top: 1px solid #ddd;
}

section.foot_advance_wrapper {
  font-family: poppins !important;
}

section.foot_advance_wrapper .new-home-w12 h4.new-hom-title {
  color: #000;
  font-family: poppins !important;
}

section.foot_advance_wrapper .new-home-w12 .feaute-block ul li {
  font-family: poppins !important;
}

section.foot_advance_wrapper .new-home-w12 .feaute-block h5 {
  color: #fff;
  font-family: poppins !important;
  font-size: 15px;
}

section.foot_advance_wrapper .new-home-w12 .feaute-block {
  background-color: #04306b;
}

section.foot_advance_wrapper .feaute-block img {
  filter: brightness(100);
  opacity: 0.2;
}

.foot_bnr_title.tour_bnr_nm {
  background-color: #000028a1;
  border: 2px solid orange;
}
