/* =====================================================
   HS ATHLETICS — LEAGUE CSS
   Clean league-only stylesheet
===================================================== */

body.tax-sp_league {
  --hs-blue: #002554;
  --hs-light-blue: #5e8ab4;
  --hs-gradient: linear-gradient(135deg,#001f3f 0%,#002554 42%,#1c4a8c 100%);
  --hs-team-primary: var(--hs-blue);
  --hs-team-secondary: var(--hs-light-blue);
  --hs-ink: #101820;
  --hs-muted: #647084;
  --hs-bg: #f4f7fb;
  --hs-border: rgba(15,32,55,.10);
}

body.tax-sp_league .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.tax-sp_league .hs-espn-header {
  top: 0 !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.tax-sp_league .hs-espn-header.hs-league-scrolled {
  background: #002554 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.22) !important;
}

body.tax-sp_league .hs-espn-header::after {
  display: none !important;
}

/* LEAGUE HEADER/NAV — EXACT TEAM MATCH */
body.tax-sp_league .hs-league-header-wrap {
  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,.58),
      rgba(0,0,0,.36)
    ),
    var(--league-hero-bg),
    #002554 !important;

  background-size: cover !important;
  background-position: center 38% !important;
  background-repeat: no-repeat !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-hero {
  background: transparent !important;
}


/* MATCH TEAM HERO SIZING */

body.tax-sp_league .hs-league-header-wrap .hs-team-hero {
  padding: 28px 0 0 !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-hero .container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 18px 24px !important;
  min-height: 190px !important;

  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  gap: 36px !important;
  align-items: center !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-logo img {
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.45)) !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-school-title {
  margin: 8px 0 0 !important;
  max-width: 820px !important;

  color: #fff !important;
  font-size: clamp(38px,4vw,56px) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
}




body.tax-sp_league .site-content {
  padding-top: 0 !important;
}

body.tax-sp_league #hs-league-header {
  margin-top: calc(var(--hs-header-height) * -1) !important;
  padding-top: var(--hs-header-height) !important;
}

/* NAV */
body.tax-sp_league .hs-league-header-wrap .hs-team-nav {
    background: #002554 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    border-top: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;

    position: relative !important;
    z-index: 3 !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-nav ul {
  display: flex !important;
  gap: 36px !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 18px 18px 14px !important;
  list-style: none !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-nav a,
body.tax-sp_league .hs-league-header-wrap .hs-team-nav .hs-tab-link {
  position: relative !important;
  color: rgba(255,255,255,.85) !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  padding-bottom: 6px !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-nav a:hover,
body.tax-sp_league .hs-league-header-wrap .hs-team-nav a.active,
body.tax-sp_league .hs-league-header-wrap .hs-team-nav .hs-tab-link.active {
  color: #fff !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-team-nav a.active::after,
body.tax-sp_league .hs-league-header-wrap .hs-team-nav .hs-tab-link.active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 4px !important;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
  body.tax-sp_league .hs-league-header-wrap .hs-team-nav ul {
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 10px 10px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-team-nav li {
    flex: 0 0 auto !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-team-nav a,
  body.tax-sp_league .hs-league-header-wrap .hs-team-nav .hs-tab-link {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }
}

/* =====================================================
   PAGE LAYOUT
===================================================== */

body.tax-sp_league .hs-page-wrap {
  clear: both !important;
  position: relative !important;
  z-index: 1 !important;
  background: #f4f7fb !important;
  padding: 0 !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
}

body.tax-sp_league .hs-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px;
}

body.tax-sp_league #tab-leaders .hs-page,
body.tax-sp_league #tab-tabla .hs-page,
body.tax-sp_league #tab-calendario .hs-page,
body.tax-sp_league #tab-playoffs .hs-page {
  display: block;
}

body.tax-sp_league .hs-main,
body.tax-sp_league .hs-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.tax-sp_league .hs-tab-content {
  display: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.tax-sp_league .hs-tab-content.active {
  display: block;
}

/* =====================================================
   CARDS / TABLES
===================================================== */

body.tax-sp_league .hs-group-table {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  margin-bottom: 16px;
}

body.tax-sp_league .hs-group-table > h3 {
  margin: 0;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--hs-gradient);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.tax-sp_league .hs-group-table p {
  padding: 14px 16px;
  margin: 0;
  color: #374151;
  font-size: 13px;
}

body.tax-sp_league .sp-table-wrapper {
  overflow-x: auto;
  position: relative;
}

body.tax-sp_league .hs-group-table thead th {
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  background: #f8fafc;
  white-space: nowrap;
}

body.tax-sp_league .hs-group-table tbody td {
  font-size: 12px;
  color: #111827;
  vertical-align: middle !important;
}

body.tax-sp_league .hs-group-table tbody tr:hover {
  background: rgba(0,37,84,.05);
}

body.tax-sp_league .sp-data-table .data-name a,
body.tax-sp_league .sp-event-list td a {
  color: inherit;
  text-decoration: none;
}

body.tax-sp_league .sp-event-list td.data-time,
body.tax-sp_league .sp-event-list th.data-time {
  text-align: center !important;
  font-weight: 900;
}

body.tax-sp_league .sp-event-list .team-logo img,
body.tax-sp_league .hs-group-table .team-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body.tax-sp_league .hs-date-main {
  display: block;
}

body.tax-sp_league .hs-date-round {
  display: block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  color: #002554;
  margin-top: 2px;
}

/* =====================================================
   LEAGUE CONTENT BLOCKS
===================================================== */

body.tax-sp_league .hs-league-dashboard {
  --hs-team-primary: var(--hs-blue);
  --hs-team-secondary: var(--hs-light-blue);
}

body.tax-sp_league .hs-league-panorama {
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
  margin: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #111827;
}

body.tax-sp_league .hs-league-panorama p {
  padding: 0;
  margin: 0 0 12px;
}

body.tax-sp_league .hs-league-panorama p:last-child {
  margin-bottom: 0;
}

body.tax-sp_league .hs-league-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

body.tax-sp_league .hs-stat {
  background: #f3f6f9;
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: 10px;
}

body.tax-sp_league .hs-stat span {
  opacity: .72;
  font-weight: 800;
}

body.tax-sp_league .hs-stat strong {
  color: #002554;
  font-weight: 900;
}

body.tax-sp_league .hs-teams-list {
  display: flex;
  flex-direction: column;
}

body.tax-sp_league .hs-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}

body.tax-sp_league .hs-team-row:hover {
  background: rgba(0,37,84,.05);
}

body.tax-sp_league .hs-team-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.tax-sp_league .hs-team-logo-small {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.tax-sp_league .hs-team-logo-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.tax-sp_league .hs-team-name {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

/* =====================================================
   LEAGUE OVERVIEW CARDS
===================================================== */

body.tax-sp_league .hs-team-dashboard {
  margin: clamp(34px,5vw,64px) auto clamp(76px,8vw,116px) !important;
  padding: 0 clamp(12px,3vw,22px) !important;
}

body.tax-sp_league .hs-team-dashboard__inner {
  max-width: 1220px !important;
  margin: 0 auto !important;
}

body.tax-sp_league .hs-dashboard-grid {
  display: grid !important;
  grid-template-columns: minmax(0,1.38fr) minmax(320px,.62fr) !important;
  gap: clamp(20px,3vw,32px) !important;
  align-items: start !important;
}

body.tax-sp_league .hs-main-stack,
body.tax-sp_league .hs-side-stack {
  display: grid !important;
  gap: clamp(18px,3vw,24px) !important;
  align-content: start !important;
}

body.tax-sp_league .hs-card {
  position: relative !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(15,32,55,.10) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
  border-radius: 0 !important;
}

body.tax-sp_league .hs-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 5px !important;
  background: linear-gradient(90deg,var(--hs-team-primary,#002554),var(--hs-team-secondary,#5e8ab4)) !important;
}

body.tax-sp_league .hs-card-pad {
  padding: clamp(24px,4vw,36px) !important;
}

body.tax-sp_league .hs-section-label {
  margin-bottom: 18px !important;
  color: var(--hs-team-primary,#002554) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hs-card-title {
  margin: 0 0 10px !important;
  color: #101820 !important;
  font-size: clamp(22px,3vw,31px) !important;
  line-height: 1.06 !important;
  font-weight: 900 !important;
}

body.tax-sp_league .hs-card-text {
  margin: 0 !important;
  color: #647084 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

body.tax-sp_league .hs-inline-link {
  display: inline-block !important;
  margin-top: 18px !important;
  color: var(--hs-team-primary,#002554) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

body.tax-sp_league .hs-read-card,
body.tax-sp_league .hs-master-packet-card {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg,var(--hs-team-primary,#002554),#06192d) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.18) !important;
}

body.tax-sp_league .hs-read-card::before,
body.tax-sp_league .hs-master-packet-card::before {
  background: var(--hs-team-secondary,#5e8ab4) !important;
}

body.tax-sp_league .hs-read-card .hs-section-label,
body.tax-sp_league .hs-read-card .hs-card-title,
body.tax-sp_league .hs-master-packet-card .hs-section-label,
body.tax-sp_league .hs-master-packet-card .hs-card-title {
  color: #fff !important;
}

body.tax-sp_league .hs-read-card .hs-card-text,
body.tax-sp_league .hs-master-packet-card .hs-card-text {
  color: rgba(255,255,255,.80) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

body.tax-sp_league .hs-side-panel--light {
  background: linear-gradient(180deg,#fff,#f7f9fc) !important;
  border: 1px solid rgba(0,37,84,.13) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.10) !important;
}

body.tax-sp_league .hs-side-panel--light::before {
  height: 6px !important;
}

/* =====================================================
   LEAGUE ROWS / RESULTS
===================================================== */

body.tax-sp_league .hs-league-top-list,
body.tax-sp_league .hs-league-results-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

body.tax-sp_league .hs-league-top-row,
body.tax-sp_league .hs-league-result-row {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  background: var(--hs-bg);
  border: 1px solid rgba(15,32,55,.06);
  border-left: 4px solid var(--hs-team-primary);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

body.tax-sp_league .hs-league-top-row {
  grid-template-columns: 58px minmax(0,1fr) minmax(74px,auto) 20px !important;
}

body.tax-sp_league .hs-league-result-row {
  grid-template-columns: 96px minmax(0,1fr) 20px !important;
}

body.tax-sp_league .hs-league-top-row:hover,
body.tax-sp_league .hs-league-result-row:hover {
  background: #fff;
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

body.tax-sp_league .hs-league-rank {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 9px;
  background: var(--hs-team-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tax-sp_league .hs-league-team-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.tax-sp_league .hs-league-team-identity img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

body.tax-sp_league .hs-league-team-identity strong,
body.tax-sp_league .hs-league-team-record strong {
  display: block;
  color: var(--hs-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

body.tax-sp_league .hs-league-team-record strong {
  font-family: "Oswald", Arial, sans-serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

body.tax-sp_league .hs-league-team-identity span,
body.tax-sp_league .hs-league-team-record span {
  display: block;
  margin-top: 4px;
  color: var(--hs-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

body.tax-sp_league .hs-league-team-record {
  text-align: right;
  min-width: 70px;
}

body.tax-sp_league .hs-league-result-meta strong {
  display: block;
  color: var(--hs-team-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.tax-sp_league .hs-league-result-meta span {
  display: block;
  margin-top: 4px;
  color: var(--hs-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.tax-sp_league .hs-league-scoreline {
  display: grid;
  grid-template-columns: minmax(90px,1fr) auto minmax(90px,1fr) !important;
  align-items: center;
  gap: 8px;
}

body.tax-sp_league .hs-league-scoreline > strong {
  color: #101820 !important;
  font-family: "Oswald", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

body.tax-sp_league .hs-league-score-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

body.tax-sp_league .hs-league-score-team--left {
  justify-content: flex-end;
  text-align: right;
}

body.tax-sp_league .hs-league-score-team--right {
  justify-content: flex-start;
  text-align: left;
}

body.tax-sp_league .hs-league-score-team span {
  color: var(--hs-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tax-sp_league .hs-league-score-team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

body.tax-sp_league .hs-result-arrow {
  color: var(--hs-team-primary,#002554) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

/* =====================================================
   QUICK GRID / SIDEBAR STATS
===================================================== */

body.tax-sp_league .hs-season-mini-stats {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

body.tax-sp_league .hs-season-mini-stats div {
  padding: 14px !important;
  background: #fff !important;
  border: 1px solid rgba(0,37,84,.10) !important;
  text-align: center !important;
}

body.tax-sp_league .hs-season-mini-stats strong {
  display: block !important;
  color: var(--hs-team-primary,#002554) !important;
  font-family: "Oswald", Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.tax-sp_league .hs-season-mini-stats span {
  display: block !important;
  margin-top: 7px !important;
  color: #647084 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hs-quick-grid a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 58px !important;
  padding: 16px 18px !important;
  background: #f4f7fb !important;
  border: 1px solid rgba(0,37,84,.08) !important;
  border-left: 4px solid var(--hs-team-primary,#002554) !important;
  color: #101820 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

body.tax-sp_league .hs-quick-grid a:hover {
  background: #edf2f8 !important;
  border-color: rgba(0,37,84,.15) !important;
  transform: translateX(4px) !important;
}

body.tax-sp_league .hs-quick-grid a div {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

body.tax-sp_league .hs-quick-grid a strong {
  color: #101820 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hs-quick-grid a small {
  color: #647084 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.tax-sp_league .hs-quick-grid a span {
  color: var(--hs-team-primary,#002554) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

/* =====================================================
   LEADERS / STANDINGS TABLES
===================================================== */

body.tax-sp_league .hs-leaders-table {
  min-width: 760px;
}

body.tax-sp_league .hs-leaders-table th,
body.tax-sp_league .hs-leaders-table td {
  text-align: center;
}

body.tax-sp_league .hs-leaders-table th {
  cursor: pointer;
}

body.tax-sp_league .hs-leaders-table th.active {
  color: #002554;
}

body.tax-sp_league .hs-leaders-table th.asc::after {
  content: " ▲";
  font-size: 10px;
}

body.tax-sp_league .hs-leaders-table th.desc::after {
  content: " ▼";
  font-size: 10px;
}

body.tax-sp_league .hs-leaders-table th:nth-child(1),
body.tax-sp_league .hs-leaders-table td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 6;
  background: #fff;
  width: 50px;
  min-width: 50px;
}

body.tax-sp_league .hs-leaders-table th:nth-child(2),
body.tax-sp_league .hs-leaders-table td:nth-child(2) {
  position: sticky;
  left: 50px;
  z-index: 6;
  background: #fff;
  box-shadow: 3px 0 6px rgba(0,0,0,.06);
}

body.tax-sp_league .hs-table-note {
  padding: 0 14px 14px;
  font-size: 12px;
  color: #6b7280;
}

body.tax-sp_league .hs-table-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

body.tax-sp_league .hs-table-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.tax-sp_league .hs-tabla-tab {
  font-size: 10px;
  font-weight: 900;
  color: #cbd5e1;
  background: rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

body.tax-sp_league .hs-tabla-tab.active {
  color: #fff;
  background: rgba(255,255,255,.22);
  box-shadow: 0 0 10px rgba(94,138,180,.45);
}

body.tax-sp_league .hs-tabla-block {
  display: none;
}

body.tax-sp_league .hs-tabla-block.active {
  display: block;
}

body.tax-sp_league #tab-tabla .sp-table-caption,
body.tax-sp_league #tab-tabla .card__header,
body.tax-sp_league #tab-inicio .card__header {
  display: none !important;
}

/* =====================================================
   TEAM COMPARISON
===================================================== */

body.tax-sp_league .hs-cmp-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 14px;
}

body.tax-sp_league .hs-cmp-vs {
  font-size: 16px;
  font-weight: 900;
  color: #002554;
  text-align: center;
}

body.tax-sp_league .hs-cmp-select {
  position: relative;
  cursor: pointer;
}

body.tax-sp_league .hs-cmp-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px 12px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  color: #000;
}

body.tax-sp_league .hs-cmp-select::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #002554;
  opacity: .65;
  pointer-events: none;
}

body.tax-sp_league .hs-cmp-selected img,
body.tax-sp_league .hs-cmp-option img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body.tax-sp_league .hs-cmp-dropdown-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
}

body.tax-sp_league .hs-cmp-select.open .hs-cmp-dropdown-wrap {
  display: block;
}

body.tax-sp_league .hs-cmp-dropdown {
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

body.tax-sp_league .hs-cmp-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #000;
}

body.tax-sp_league .hs-cmp-option:hover {
  background: #f3f6f9;
}

body.tax-sp_league #league-compare {
  padding: 0 14px 14px;
}

body.tax-sp_league .hs-cmp-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 6px;
  text-align: center;
}

body.tax-sp_league .hs-cmp-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  color: #000;
}

body.tax-sp_league .hs-cmp-side {
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

body.tax-sp_league .hs-cmp-side.win {
  color: #16a34a;
}

body.tax-sp_league .hs-cmp-side.lose {
  opacity: .75;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 980px) {
  body.tax-sp_league .hs-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  body.tax-sp_league .hs-side-stack {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }

  body.tax-sp_league .hs-side-stack > article:last-child {
    grid-column: 1 / -1 !important;
  }
}


@media (max-width: 768px) {
  body.tax-sp_league .hs-page {
    display: block !important;
    padding: 0 12px;
  }

  body.tax-sp_league .hs-main,
  body.tax-sp_league .hs-side {
    width: 100%;
  }

  body.tax-sp_league .hs-league-stats {
    grid-template-columns: 1fr;
  }

  body.tax-sp_league .hs-table-top {
    flex-direction: column;
    align-items: flex-start;
  }

  body.tax-sp_league .hs-table-tabs {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  body.tax-sp_league .hs-leaders-table {
    min-width: 700px;
  }

  body.tax-sp_league .sp-event-list .data-home a,
  body.tax-sp_league .sp-event-list .data-away a,
  body.tax-sp_league .sp-data-table .data-name a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  body.tax-sp_league .sp-event-list .data-home .team-logo,
  body.tax-sp_league .sp-event-list .data-away .team-logo {
    order: -1;
  }
}

@media (max-width: 680px) {
  body.tax-sp_league .hs-side-stack,
  body.tax-sp_league .hs-journey-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  body.tax-sp_league .hs-league-top-row,
  body.tax-sp_league .hs-league-result-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.tax-sp_league .hs-league-result-meta,
  body.tax-sp_league .hs-league-team-record {
    text-align: left !important;
  }

  body.tax-sp_league .hs-league-scoreline {
    grid-template-columns: minmax(70px,1fr) auto minmax(70px,1fr) !important;
    gap: 6px !important;
  }

  body.tax-sp_league .hs-league-scoreline > strong {
    font-size: 22px !important;
  }

  body.tax-sp_league .hs-result-arrow {
    display: none !important;
  }
}



/* =====================================================
   LEAGUE CONTEXT SHEET — PRO COMPETITION CONTROL CENTER
===================================================== */

body.tax-sp_league .hsl-context-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(2,6,23,.72) !important;
  backdrop-filter: blur(6px) !important;
  z-index: 10000 !important;
}

body.tax-sp_league .hsl-context-overlay[hidden],
body.tax-sp_league .hsl-context-sheet[hidden] {
  display: none !important;
}

body.tax-sp_league .hsl-context-sheet {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10001 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  pointer-events: none !important;
}

body.tax-sp_league .hsl-context-sheet-inner {
  width: 100% !important;
  height: min(88vh, 760px) !important;
  max-height: 88vh !important;
  overflow: hidden !important;
  pointer-events: auto !important;

  background: #f4f7fb !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: 0 -36px 90px rgba(0,0,0,.48) !important;

  transform: translateY(100%) !important;
  transition: transform .32s cubic-bezier(.2,.8,.2,1) !important;
}

body.tax-sp_league .hsl-context-sheet-inner.is-open {
  transform: translateY(0) !important;
}

/* Header */
body.tax-sp_league .hsl-context-sheet .hs-context-header {
  position: relative !important;
  min-height: 210px !important;
  padding: 34px 28px 30px !important;

  display: grid !important;
  place-items: center !important;
  text-align: center !important;

  background:
    linear-gradient(135deg, rgba(0,0,0,.52), rgba(0,0,0,.28)),
    var(--league-hero-bg),
    linear-gradient(135deg,#001f3f,#002554) !important;

  background-size: cover !important;
  background-position: center 38% !important;
  color: #fff !important;
}

body.tax-sp_league .hsl-context-close {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  width: 40px !important;
  height: 40px !important;

  display: grid !important;
  place-items: center !important;

  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  color: #fff !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body.tax-sp_league .hsl-context-close:hover {
  background: rgba(255,255,255,.22) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-logo {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
  margin: 0 auto 14px !important;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.45)) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-school {
  color: #fff !important;
  font-size: clamp(26px,3.3vw,46px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-sport {
  margin-top: 8px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current {
  margin-top: 18px !important;
  padding-top: 16px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;

  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.18) !important;

  color: #fff !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current-label {
  color: #5e8ab4 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current strong {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current strong span {
  color: rgba(255,255,255,.45) !important;
}

/* Body */
body.tax-sp_league .hsl-context-sheet .hs-context-body {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 32px 22px 72px !important;
  max-height: calc(min(88vh, 760px) - 210px) !important;
  overflow-y: auto !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-intro {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 24px !important;
  align-items: end !important;
  margin-bottom: 24px !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-kicker {
  color: #5e8ab4 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-intro h3 {
  margin: 0 !important;
  color: #101820 !important;
  font-size: clamp(28px,3vw,44px) !important;
  font-weight: 900 !important;
  line-height: .98 !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-intro p {
  margin: 10px 0 0 !important;
  max-width: 640px !important;
  color: #647084 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Grid */
body.tax-sp_league .hsl-context-sheet .hs-context-grid {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option {
  margin: 0 !important;
  padding: 0 !important;
}

/* Card */
body.tax-sp_league .hsl-context-sheet .hs-context-option-card {
  position: relative !important;

  min-height: 82px !important;
  padding: 15px 16px !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 7px !important;

  background: linear-gradient(180deg,#ffffff,#f8fafc) !important;

  border: 1px solid rgba(0,37,84,.12) !important;
  border-left: 5px solid rgba(94,138,180,.85) !important;

  box-shadow: 0 10px 24px rgba(0,0,0,.07) !important;

  color: #002554 !important;
  text-decoration: none !important;
  overflow: hidden !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option-card::after {
  content: "→" !important;
  position: absolute !important;
  right: 14px !important;
  bottom: 12px !important;

  color: rgba(0,37,84,.28) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.tax-sp_league .hsl-context-sheet a.hs-context-option-card:hover {
  transform: translateY(-2px) !important;
  border-left-color: #002554 !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.14) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option-card strong {
  color: #002554 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  padding-right: 22px !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option-season {
  color: #647084 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

/* Current / selected */
body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card {
  background:
    radial-gradient(circle at top right, rgba(94,138,180,.34), transparent 42%),
    linear-gradient(135deg,#002554,#001f3f) !important;

  border-color: rgba(255,255,255,.18) !important;
  border-left-color: #5e8ab4 !important;

  box-shadow:
    0 20px 46px rgba(0,37,84,.34),
    inset 0 0 0 1px rgba(255,255,255,.10) !important;

  transform: translateY(-1px) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card::before {
  content: "VIENDO" !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;

  padding: 4px 7px !important;

  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.18) !important;

  color: #fff !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card::after {
  content: "✓" !important;
  color: rgba(255,255,255,.78) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card strong,
body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-season {
  color: #fff !important;
}

/* Remove old unused card pieces if still present */
body.tax-sp_league .hsl-context-sheet .hs-context-option-top,
body.tax-sp_league .hsl-context-sheet .hs-context-option-meta,
body.tax-sp_league .hsl-context-sheet .hs-context-option-action,
body.tax-sp_league .hsl-context-sheet .hs-context-option-card h4 {
  display: none !important;
}

/* Mobile */
@media (max-width:768px) {
  body.tax-sp_league .hsl-context-sheet-inner {
    height: 86vh !important;
    max-height: 86vh !important;
    border-radius: 20px 20px 0 0 !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-header {
    min-height: 150px !important;
    padding: 22px 16px 18px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-logo {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 8px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-school {
    font-size: 18px !important;
    letter-spacing: .06em !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-current {
  margin-top: 12px !important;
  padding-top: 12px !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current-label {
  font-size: 7px !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-current strong {
  font-size: 15px !important;
  letter-spacing: .06em !important;
}

  body.tax-sp_league .hsl-context-sheet .hs-context-body {
    max-height: calc(86vh - 150px) !important;
    padding: 18px 12px 44px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-intro {
    display: none !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-option-card {
    min-height: 72px !important;
    padding: 12px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-option-card strong {
    font-size: 14px !important;
    padding-right: 18px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-option-season {
    font-size: 7px !important;
    letter-spacing: .12em !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card::before {
    font-size: 6px !important;
    top: 8px !important;
    right: 8px !important;
    padding: 3px 5px !important;
  }
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card {
  background:
    radial-gradient(circle at top right, rgba(94,138,180,.34), transparent 42%),
    linear-gradient(135deg,#002554,#001f3f) !important;

  border-color: rgba(255,255,255,.18) !important;
  border-left-color: #5e8ab4 !important;

  box-shadow:
    0 20px 46px rgba(0,37,84,.34),
    inset 0 0 0 1px rgba(255,255,255,.10) !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card::before {
  content: "VIENDO" !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  padding: 4px 7px !important;
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #fff !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card::after {
  content: "✓" !important;
  position: absolute !important;
  right: 14px !important;
  bottom: 12px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-card strong,
body.tax-sp_league .hsl-context-sheet .hs-context-option.is-current .hs-context-option-season {
  color: #fff !important;
}

/* LEAGUE HERO — MOBILE FIX */
@media (max-width: 768px) {
  body.tax-sp_league .hs-league-header-wrap .hs-team-hero {
    padding: 22px 0 0 !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-team-hero .container {
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
    min-height: auto !important;
    padding: 0 12px 18px !important;
    align-items: center !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-team-logo img {
    width: 92px !important;
    height: 78px !important;
    max-width: 92px !important;
    max-height: 78px !important;
    object-fit: contain !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-school-title {
    font-size: 18px !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: .045em !important;
    margin: 4px 0 0 !important;
  }


}

/* Match team hero sport label */
body.tax-sp_league .hs-league-header-wrap .hs-sport-label {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    padding-left: 16px !important;

    color: rgba(255,255,255,.88) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

body.tax-sp_league .hs-league-header-wrap .hs-sport-label::before {
    content: "" !important;

    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 4px !important;
    height: 18px !important;

    background: #fff !important;
    border-radius: 999px !important;
}

@media (max-width:768px){

  body.tax-sp_league .hs-league-header-wrap .hs-sport-label{
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    font-size: 7px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;

    padding: 3px 7px 2px 12px !important;
    margin-bottom: 4px !important;
  }

  body.tax-sp_league .hs-league-header-wrap .hs-sport-label::before{
    width: 3px !important;
    height: 14px !important;
    background:#fff !important;
  }

}


/* =====================================================
   LEAGUE CONTEXT SHEET — MATCH LEAGUE HERO FINAL
===================================================== */

body.tax-sp_league .hsl-context-sheet .hs-context-header {
  position: relative !important;
  min-height: 190px !important;
  padding: 28px 72px 24px 18px !important;

  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 36px !important;
  row-gap: 6px !important;

  align-items: center !important;
  text-align: left !important;

  background:
    linear-gradient(135deg, rgba(0,0,0,.58), rgba(0,0,0,.36)),
    var(--league-hero-bg),
    #002554 !important;

  background-size: cover !important;
  background-position: center 38% !important;
  background-repeat: no-repeat !important;
}

/* Logo left */
body.tax-sp_league .hsl-context-sheet .hs-context-logo {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;

  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;

  object-fit: contain !important;
  margin: 0 !important;
}

/* League name first */
body.tax-sp_league .hsl-context-sheet .hs-context-school {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;

  margin: 0 !important;
  max-width: 820px !important;

  color: #fff !important;
  font-size: clamp(38px,4vw,56px) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
}

/* Sport below league name */
body.tax-sp_league .hsl-context-sheet .hs-context-sport {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;

  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;

  margin: 0 !important;
  padding: 3px 9px 2px 16px !important;

  background: transparent !important;
  color: rgba(255,255,255,.88) !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-sport::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: 4px !important;
  height: 18px !important;
  background: #fff !important;
  border-radius: 999px !important;
}

/* X top-right */
body.tax-sp_league .hsl-context-close {
  top: 16px !important;
  left: auto !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  z-index: 20 !important;
}

/* Mobile */
@media (max-width:768px) {
  body.tax-sp_league .hsl-context-sheet .hs-context-header {
    min-height: 118px !important;
    padding: 18px 48px 16px 12px !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-logo {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-school {
    font-size: 18px !important;
    line-height: 1.08 !important;
    letter-spacing: .045em !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-sport {
    font-size: 7px !important;
    padding: 3px 7px 2px 12px !important;
    letter-spacing: .16em !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-sport::before {
    width: 3px !important;
    height: 14px !important;
  }

  body.tax-sp_league .hsl-context-close {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 30px !important;
    height: 30px !important;
  }
}

body.tax-sp_league .hsl-context-sheet .hs-context-header {
  display: grid !important;
  grid-template-columns: auto minmax(0,1fr) !important;
  gap: 36px !important;
  align-items: center !important;
  justify-items: start !important;
  text-align: left !important;
  place-items: unset !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 0 !important;
  min-width: 0 !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-logo {
  margin: 0 !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-school {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.02 !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-sport {
  margin: -2px 0 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: left !important;
}

@media (max-width:768px) {
  body.tax-sp_league .hsl-context-sheet .hs-context-header {
    gap: 12px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-school {
    line-height: 1.04 !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-sport {
    margin-top: -1px !important;
    line-height: 1 !important;
  }
}

/* LEAGUE CONTEXT HEADER — FINAL STRUCTURE FIX */

body.tax-sp_league .hsl-context-sheet .hs-context-header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 36px !important;

  min-height: 190px !important;
  padding: 28px 72px 24px 18px !important;

  text-align: left !important;
  place-items: unset !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-logo {
  flex: 0 0 170px !important;

  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;

  margin: 0 !important;
  object-fit: contain !important;
}

/* This cancels the old grid placement */
body.tax-sp_league .hsl-context-sheet .hs-context-school,
body.tax-sp_league .hsl-context-sheet .hs-context-sport {
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: auto !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;

  gap: 0 !important;
  min-width: 0 !important;

  text-align: left !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-school {
  margin: 0 !important;
  padding: 0 !important;

  color: #fff !important;
  font-size: clamp(38px,4vw,56px) !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: .045em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-sport {
  position: relative !important;

  margin: -2px 0 0 !important;
  padding: 3px 9px 2px 16px !important;

  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;

  color: rgba(255,255,255,.88) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

body.tax-sp_league .hsl-context-sheet .hs-context-sport::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: 4px !important;
  height: 18px !important;

  background: #fff !important;
  border-radius: 999px !important;
}

body.tax-sp_league .hsl-context-close {
  top: 16px !important;
  left: auto !important;
  right: 16px !important;
}

/* Mobile */
@media (max-width:768px) {
  body.tax-sp_league .hsl-context-sheet .hs-context-header {
    gap: 12px !important;
    min-height: 118px !important;
    padding: 18px 48px 16px 12px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-logo {
    flex-basis: 78px !important;
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-school {
    font-size: 18px !important;
    line-height: 1.08 !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-sport {
    font-size: 7px !important;
    padding: 3px 7px 2px 12px !important;
    letter-spacing: .16em !important;
    margin-top: -1px !important;
  }

  body.tax-sp_league .hsl-context-sheet .hs-context-sport::before {
    width: 3px !important;
    height: 14px !important;
  }

  body.tax-sp_league .hsl-context-close {
    top: 10px !important;
    right: 10px !important;
  }
}