/* SportsWIN header + footer — see SportsWinHeader.tsx. Scoped under .swh / .swf
   so it cannot restyle the page it sits on. */
@font-face {
  font-family: "SportsWIN Anton";
  src: url("./assets/anton.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

.swh,
.swf {
  --swh-bg: #08111f;
  --swh-line: rgba(255, 255, 255, 0.14);
  --swh-blue: #1677ff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #fff;
  background: var(--swh-bg);
}
.swh a,
.swf a {
  color: inherit;
  text-decoration: none;
}
.swh a:focus-visible,
.swf a:focus-visible {
  outline: 3px solid var(--swh-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.swh {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--swh-line);
}
.swh-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 10px 48px 8px;
  min-height: 84px;
}
.swh-feed {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.swh-feed span {
  color: var(--swh-blue);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}
.swh-feed:hover span {
  transform: translate(3px, -2px);
}
.swh-home {
  justify-self: center;
}
.swh-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.swh-word {
  font-family: "SportsWIN Anton", Anton, "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 52px;
  letter-spacing: -0.01em;
  display: inline-block;
  transform: skewX(-9deg) scaleX(0.88);
  white-space: nowrap;
}
.swh-word span {
  color: var(--swh-blue);
}
.swh-category {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  white-space: nowrap;
  padding-left: 0.34em;
}
.swh-deportes {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.swh-deportes-logo {
  display: block;
  width: 186px;
  height: 61px;
  background: url("./assets/sportswin-deportes-logo.png") center / contain no-repeat;
}

@media (max-width: 900px) {
  .swh-inner {
    padding: 8px 20px 6px;
    min-height: 72px;
  }
  .swh-feed {
    font-size: 15px;
    gap: 8px;
  }
  .swh-feed span {
    font-size: 28px;
  }
  .swh-word {
    font-size: 40px;
  }
  .swh-category {
    font-size: 8px;
  }
  .swh-deportes-logo {
    width: 140px;
    height: 46px;
  }
}
@media (max-width: 520px) {
  .swh-inner {
    padding: 6px 14px 5px;
    gap: 8px;
    min-height: 62px;
  }
  .swh-feed {
    font-size: 12px;
    gap: 4px;
    letter-spacing: 0;
  }
  .swh-feed span {
    font-size: 22px;
  }
  .swh-word {
    font-size: 30px;
  }
  .swh-category {
    font-size: 6.5px;
    letter-spacing: 0.26em;
    margin-top: 4px;
  }
  .swh-deportes-logo {
    width: 96px;
    height: 32px;
  }
}

/* Market section strip — sits under the header on market homes that keep
   their section links and submit button (MarketHero approvedHeader). */
.swh-subnav {
  position: relative;
  z-index: 29;
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.swh-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 8px 48px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.swh-subnav-inner::-webkit-scrollbar {
  display: none;
}
.swh-subnav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.swh-subnav a:hover {
  color: #fff;
}
.swh-subnav a.swh-subnav-cta {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
}
@media (max-width: 900px) {
  .swh-subnav-inner {
    justify-content: flex-start;
    gap: 16px;
    padding: 6px 0 6px 16px;
  }
  .swh-subnav a {
    font-size: 12px;
  }
  /* The submit button is the money link: pinned at the right edge while the
     section links scroll beneath it, so a phone never hides it. */
  .swh-subnav a.swh-subnav-cta {
    position: sticky;
    right: 12px;
    margin: 0 12px 0 auto;
    padding: 0 12px;
    background: #0b1626;
    box-shadow: -16px 0 14px #0b1626;
  }
}

/* Footer */
.swf {
  border-top: 1px solid var(--swh-line);
}
.swf-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 26px 48px;
}
.swf-home .swh-mark {
  align-items: flex-start;
}
.swf-home .swh-word {
  font-size: 40px;
  transform-origin: left;
}
.swf-home .swh-category {
  font-size: 7.5px;
  padding-left: 0;
}
.swf-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 15px;
  color: #d8e1ee;
}
.swf-links a {
  padding: 6px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1;
}
.swf-links a:first-child {
  border-left: 0;
  padding-left: 0;
}
.swf-links a:hover {
  color: #fff;
}
.swf-tagline {
  margin: 0 0 0 auto;
  font-size: 15px;
  color: #d8e1ee;
  white-space: nowrap;
}
/* The network row: every market by name, up to four columns. */
.swf-network {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 48px 22px;
}
.swf-network-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8193ab;
}
.swf-network ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.swf-network a {
  color: #d8e1ee;
}
.swf-network a:hover {
  color: #fff;
  text-decoration: underline;
}
.swf-note {
  margin: 0 auto;
  width: min(1280px, 100%);
  padding: 0 48px 22px;
  font-size: 11px;
  line-height: 1.6;
  color: #8193ab;
}
@media (max-width: 900px) {
  .swf-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 20px 18px;
  }
  .swf-links {
    font-size: 14px;
    row-gap: 10px;
  }
  .swf-tagline {
    margin: 0;
    white-space: normal;
  }
  .swf-note {
    padding: 0 20px 22px;
  }
  .swf-network {
    padding: 0 20px 18px;
  }
  .swf-network ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
