/* ===== Sports page ===== */

/* ---------- Hero ---------- */
.sp-hero { position: relative; overflow: hidden; padding: 80px 0; border-bottom: 1px solid var(--c-line); }
.sp-hero__ghost { left: 60px; top: 10px; font-size: 220px; line-height: var(--lh-osw); letter-spacing: 10px; }
.sp-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; }
.sp-hero__text { width: 520px; flex: none; display: flex; flex-direction: column; gap: 32px; }
.sp-hero__title { display: flex; flex-direction: column; gap: 0; }
.sp-hero__title .display__line { font-size: 72px; line-height: 68px; }
.sp-hero__title .display__line--accent { font-size: 80px; line-height: 76px; }
.sp-hero__lead { font: 400 15px/24px var(--f-plex); color: var(--c-gray); }
.sp-hero__ctas { display: flex; gap: 16px; }
.sp-hero__cta--mob { display: none; }
.sp-hero__media { flex: 1; min-width: 0; }
.sp-hero__photo { height: 480px; --shade: .15; }
.sp-hero__pic { display: block; height: 100%; }
.sp-hero__photo .photo__bar { width: 260px; }
.sp-hero__photo .photo__tag-label { letter-spacing: 1px; }
.sp-hero__caption { display: none; font: 400 11px/var(--lh-plex) var(--f-plex); color: var(--c-gray-2); }

/* ---------- Sports markets + bet slip ---------- */
.sp-markets { background: var(--c-paper); color: var(--c-ink); padding: 50px 0; }
.sp-markets__inner { display: flex; flex-direction: column; gap: 40px; }
.sp-markets__head { display: flex; flex-direction: column; gap: 12px; }
.sp-markets__head-text { display: flex; flex-direction: column; gap: 12px; }
.sp-markets__title { color: var(--c-orange); padding-top: 12px; }
.sp-markets__sub { color: var(--c-gray-2); }
/* Figma draws the 1px stroke inside the 10/24 padding: 9/23 + border = the same 41px tall tab */
.sp-markets__tabs .tab { padding: 9px 23px; }
.sp-markets__grid { display: flex; align-items: flex-start; gap: 32px; }
.sp-markets__board { flex: 1; min-width: 0; }

/* ---------- Featured match ---------- */
.sp-featured { position: relative; overflow: hidden; background: #000; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 80px 0; }
.sp-featured__ghost { right: 60px; top: 20px; font-size: 240px; line-height: var(--lh-osw); opacity: .02; }
.sp-featured__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 40px; }
.sp-featured__media { width: 780px; height: 380px; flex: none; --shade: .1; }
.sp-featured__pic { display: block; height: 100%; }
.sp-featured__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.sp-featured__head { align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.sp-featured__sport { font: 700 64px/60px var(--f-osw); color: var(--c-orange); }
.sp-featured__title { font: 700 28px/34px var(--f-osw); color: var(--c-paper); }
.sp-featured__sub { font: 400 14px/var(--lh-plex) var(--f-plex); color: var(--c-gray); }
.sp-featured__pill { display: inline-flex; align-items: center; justify-content: center; background: var(--c-line); border: 1px solid var(--c-orange); padding: 7px 15px; font: 700 14px/var(--lh-osw) var(--f-osw); letter-spacing: 1px; color: var(--c-paper); }

/* ---------- Tablet fallback ---------- */
@media (max-width: 1099px) {
  .sp-hero__ghost { font-size: 140px; letter-spacing: 6px; }
  .sp-hero__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .sp-hero__text { width: auto; max-width: 640px; }
  .sp-hero__title .display__line { font-size: 64px; line-height: 60px; }
  .sp-hero__title .display__line--accent { font-size: 72px; line-height: 68px; }
  .sp-hero__media { flex: none; }
  .sp-hero__photo { height: 400px; }

  .sp-markets__grid { flex-direction: column; }
  .sp-markets__board { flex: none; width: 100%; }
  .sp-markets__slip { width: 100%; position: static; }

  .sp-featured__ghost { font-size: 160px; }
  .sp-featured__inner { flex-direction: column; align-items: stretch; }
  .sp-featured__media { width: 100%; height: 360px; }
  .sp-featured__info { flex: none; }
  .sp-featured__sport { font-size: 52px; line-height: 48px; }
}

/* ---------- Mobile (Figma 390) ---------- */
@media (max-width: 767px) {
  .sp-hero { padding: 40px 0 32px; border-bottom: 0; }
  .sp-hero__ghost, .sp-featured__ghost { display: none; }
  .sp-hero__inner { gap: 20px; }
  .sp-hero__text { max-width: none; gap: 20px; }
  .sp-hero__title { gap: 2px; }
  .sp-hero__title .display__line { font-size: 48px; line-height: 44px; }
  .sp-hero__title .display__line--accent { font-size: 54px; line-height: 50px; }
  .sp-hero__lead { font-size: 14px; line-height: 20px; }
  .sp-hero__ctas { flex-direction: column; gap: 8px; }
  .sp-hero__cta { width: 100%; padding: 12px 0; font-size: 15px; }
  .sp-hero__cta--desk { display: none; }
  .sp-hero__cta--mob { display: inline-flex; }
  .sp-hero__media { display: flex; flex-direction: column; gap: 8px; }
  .sp-hero__photo { height: 240px; border-color: var(--c-ink); }
  .sp-hero__photo .photo__bar { width: 120px; }
  .sp-hero__photo .photo__tag-label { letter-spacing: .5px; }
  .sp-hero__caption { display: block; }

  .sp-markets { padding: 32px 0 50px; }
  .sp-markets__inner { gap: 24px; }
  .sp-markets__head { gap: 24px; }
  .sp-markets__head-text { gap: 8px; }
  .sp-markets__title { font-size: 36px; line-height: 38px; letter-spacing: .5px; padding-top: 0; }
  .sp-markets__sub { font: 600 12px/var(--lh-plex) var(--f-plex); letter-spacing: 1px; }
  .sp-markets__tabs .tab { padding: 9px 13px; }
  .sp-markets__tabs .tab:first-child { padding: 9px 15px; }
  .sp-markets__grid { gap: 32px; }
  .sp-markets__board .fixture + .fixture { margin-top: 20px; }
  .sp-markets__board .fixture__main { gap: 10px; }
  /* full-bleed slip: 390 wide, edge to edge */
  .sp-markets__slip { width: calc(100% + 32px); margin: 0 -16px; }

  .sp-featured { padding: 40px 0; border: 0; }
  .sp-featured__inner { gap: 24px; }
  .sp-featured__media { height: 180px; --shade: .15; }
  .sp-featured__info { gap: 16px; align-items: stretch; }
  .sp-featured__head { gap: 4px; }
  .sp-featured__sport { font-size: 48px; line-height: 44px; }
  .sp-featured__title { font-size: 24px; line-height: 28px; }
  .sp-featured__sub { font-size: 13px; }
  .sp-featured__pill { width: 100%; font-size: 13px; text-align: center; }
  .sp-featured__cta { width: 100%; }
}
