/* Sports — frame 2:297 (1440) / 40:354 (390). Board, slip and markets header
 * come from home.css / components.css; this file adds the sports hero, filters
 * and the featured match. */

/* ── hero (14:25 / 40:370) ────────────────────────────────────────────── */
.shero { position: relative; overflow: hidden; height: 809px; padding: 80px 60px; background: var(--color-bg); color: var(--color-text); }
.shero__wm { position: absolute; left: 60px; top: 10px; color: var(--color-cream); opacity: .03; font-family: var(--font-display); font-weight: 800; font-size: 220px; line-height: 264px; letter-spacing: 10px; pointer-events: none; }
.shero__grid { position: relative; display: flex; align-items: center; gap: 42.45px; height: 648.84px; }   /* photo drawn at x 802.45 */
.shero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; width: 760px; flex: none; }
.shero__title { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 86px; letter-spacing: -2px; }
.shero__line { display: block; width: 760px; }
.shero__panel { margin-top: 15.88px; padding: 4px 16px 4px 0; line-height: 86px; transform: rotate(-2deg); transform-origin: 0 0; }   /* 14:28 */
.shero__lead { width: 560px; font-size: 16px; line-height: 26px; color: var(--color-muted); }
.shero__ctas { display: flex; gap: 16px; }
.shero__ctas .btn--ghost { padding: 13px 32px; }
.shero__photo { width: 512px; height: 640px; flex: none; align-self: flex-start; margin-top: 8.94px; transform: rotate(-1deg); transform-origin: 0 0; box-shadow: inset 0 0 0 1px var(--color-lime), var(--shadow-photo); }
.shero__label { padding: 6px 12px; font-size: 12px; line-height: 14.4px; }
.shero__bar { position: absolute; left: 16px; bottom: 80px; width: 120px; height: 3px; background: var(--color-lime); }
.shero__caption { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius-sm); background: var(--color-bg); box-shadow: inset 0 0 0 1px var(--color-lime); font-family: var(--font-display); }
.shero__caption-label { font-weight: 700; font-size: 10px; line-height: 12px; letter-spacing: 1.5px; color: var(--color-muted-3); }
.shero__caption-n { font-weight: 800; font-size: 28px; line-height: 34px; color: var(--color-lime); }
.shero__photo .hero__star { left: 40px; bottom: 100px; }

/* ── filters (13:26 / 40:403) ─────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 0; padding: 10px 22px 10px 24px; border: 0; border-radius: var(--radius-sm); cursor: pointer;   /* right −2px: CSS letter-spacing trails the last glyph, Figma does not */
  background: var(--color-lime); color: var(--color-text-dark); box-shadow: inset 0 0 0 1px var(--color-text-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 11px; line-height: 13.2px; letter-spacing: 2px;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.filter:hover { background: var(--color-lime-tint); }
.filter .star { display: none; }
.filter.is-active { background: var(--color-text-dark); color: var(--color-lime); }
.filter.is-active .star { display: inline; color: var(--color-lime); }
.markets--sports .markets__hint { align-self: flex-end; }

/* ── featured match (13:184 / 40:506) ─────────────────────────────────── */
.featured { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 40px; padding: 80px 60px; background: var(--color-bg); color: var(--color-text); }
.featured__wm { position: absolute; right: 60px; top: 20px; color: var(--color-cream); opacity: .02; font-family: var(--font-display); font-weight: 800; font-size: 240px; line-height: 288px; pointer-events: none; }
.featured__grid { position: relative; display: flex; gap: 40px; align-items: center; }
.featured__media { position: relative; width: 780px; height: 380px; flex: none; overflow: hidden; box-shadow: inset 0 0 0 2px var(--color-border); }
.featured__media picture, .featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .1); pointer-events: none; }
.featured__info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 500px; font-family: var(--font-display); }
.featured__head { display: flex; flex-direction: column; gap: 8px; width: 500px; }
.featured__sport { font-weight: 800; font-size: 64px; line-height: 60px; color: var(--color-lime); }
.featured__title { font-weight: 800; font-size: 28px; line-height: 34px; }
.featured__sub { font-family: var(--font-body); font-size: 14px; line-height: 17px; color: var(--color-muted); }
.featured__pill { padding: 8px 16px; background: var(--color-border); box-shadow: inset 0 0 0 2px var(--color-lime); font-weight: 700; font-size: 14px; line-height: 17px; letter-spacing: 1px; }
.featured__btn { padding: 14px 24px; border: 0; background: var(--color-lime); color: #000; cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 17px; letter-spacing: 1px; transition: background-color var(--dur-fast) var(--ease); }
.featured__btn:hover { background: var(--color-lime-hover); }

@media (max-width: 1199px) {
  .shero { height: auto; padding: 40px 16px; }
  .shero__grid { flex-direction: column; align-items: stretch; gap: 24px; height: auto; }
  .shero__text { width: auto; gap: 24px; }
  .shero__title { align-self: stretch; gap: 4px; font-size: 48px; line-height: 42px; letter-spacing: -1px; }
  .shero__line { width: auto; }
  .shero__panel { margin-top: 8px; padding: 4px 8px; font-size: 44px; line-height: 38px; }
  .deco-arrow--m60 i { width: 60px; height: 2px; }
  .deco-arrow--m60 { font-size: 14px; line-height: 17px; }
  .shero__lead { width: auto; font-size: 14px; line-height: 22px; }
  .shero__ctas { flex-direction: column; gap: 12px; align-self: stretch; }
  .shero__ctas .btn { width: 100%; padding: 14px 0; font-size: 15px; line-height: 18px; letter-spacing: 1px; }
  .shero__ctas .btn--ghost { padding: 13px 0; letter-spacing: 1.5px; box-shadow: inset 0 0 0 1px var(--color-muted-5); }
  .shero__photo { width: 100%; height: 240px; margin-top: 0; transform: none; box-shadow: inset 0 0 0 1px var(--color-lime); }
  .shero__label { padding: 4px 8px; font-size: 10px; line-height: 12px; letter-spacing: 1px; }
  .shero__caption { right: 12px; bottom: 12px; gap: 2px; padding: 8px; }
  .shero__caption-label { font-size: 8px; line-height: 10px; letter-spacing: 1px; color: var(--color-muted); }
  .shero__caption-n { font-size: 16px; line-height: 19.2px; }

  .markets--sports { gap: 24px; padding: 40px 16px; }
  .markets--sports .markets__title { font-size: 38px; line-height: 34px; }
  .markets--sports .markets__hint { font-size: 12px; line-height: 14.4px; letter-spacing: 0; color: var(--color-text-dark); }
  .markets--sports .eyebrow--box .star { font-size: 11px; line-height: 13.2px; font-weight: 700; }
  .markets--sports .eyebrow--box .eyebrow__box { font-size: 10px; line-height: 12px; }
  .filters { flex-wrap: nowrap; gap: 6px; margin-block: -8px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; }   /* room for the 44px hit zones inside the scroller */
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .filter { gap: 4px; padding: 8px 12px; letter-spacing: 1px; background: transparent; }
  .filter.is-active { background: var(--color-text-dark); }
  .filter.is-active .star { font-size: 10px; line-height: 12px; letter-spacing: 0; }
  .markets--sports .markets .fx:nth-child(n+4), .markets--sports .fx:nth-child(n+4) { display: none; }
  .markets--sports .board__rows { gap: 16px; }
  .markets--sports .fx { gap: 12px; padding: 16px; }
  .markets--sports .fx__sport { font-weight: 700; font-size: 11px; line-height: 13.2px; letter-spacing: 1px; }
  .markets--sports .fx__time { font-size: 11px; line-height: 13.2px; }
  .markets--sports .fx__time::before { content: "• "; }
  .markets--sports .fx__name { font-size: 18px; line-height: 22px; }
  .markets--sports .fx__odds { gap: 6px; }
  .markets--sports .odd { height: 50px; gap: 2px; padding: 8px 0; }
  .markets--sports .odd__label { font-size: 9px; line-height: 11px; letter-spacing: 0; color: var(--color-muted); }
  .markets--sports .odd[aria-pressed="true"] { background: var(--color-lime); color: var(--color-text-dark); }   /* the 390 frame draws it dark; kept lime for one selected state across the site */
  .markets--sports .odd[aria-pressed="true"] .odd__label { color: var(--color-text-dark); }
  /* the 390 frame puts the slip in its own lime block: pad 0/16/40 */
  .markets--sports .markets__body { gap: 0; }
  .markets--sports .slip { margin-top: 40px; gap: 16px; padding: 20px; }
  .markets--sports .slip__count { padding: 2px 8px; font-size: 10px; line-height: 12px; letter-spacing: 0; }
  .markets--sports .slip__card--empty { min-height: 105px; }
  .markets--sports .slip__market { font-weight: 500; font-size: 12px; line-height: 14.4px; }
  .markets--sports .slip__odd { font-size: 28px; line-height: 34px; }
  .markets--sports .slip__cur { font-size: 12px; line-height: 14.4px; }
  .markets--sports .slip__label, .markets--sports .slip__cur, .markets--sports .slip__row dt { color: var(--color-muted); }
  .markets--sports .slip__quick { gap: 6px; }
  .markets--sports .slip__q { height: 32px; }
  .markets--sports .slip__row dt { font-size: 12px; line-height: 14.4px; }
  .markets--sports .slip__row dd { font-size: 14px; line-height: 17px; }
  .markets--sports .slip__row--return dd { font-size: 22px; line-height: 26.4px; }
  .markets--sports .slip__place { height: 48px; font-size: 15px; line-height: 18px; }

  .featured { gap: 24px; padding: 40px 16px; }
  .featured__grid { flex-direction: column; align-items: stretch; gap: 24px; }
  .featured__media { width: 100%; height: 200px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--color-border); }
  .featured__info { width: auto; gap: 16px; }
  .featured__head { gap: 6px; width: auto; }
  .featured__sport { font-size: 32px; line-height: 38.4px; }
  .featured__title { font-size: 20px; line-height: 24px; }
  .featured__sub { font-size: 13px; line-height: 16px; }
  .featured__pill { padding: 6px 12px; background: var(--color-surface); box-shadow: none; font-size: 11px; line-height: 13.2px; }
  .featured__btn { width: 100%; padding: 12px 0; font-size: 13px; line-height: 16px; }
}
