/* The top menu (job 4795d, templates/_navlinks.html): "Charts" and
   "1/1 tracker" in the header. Loaded only by the menu itself, so a page
   without the menu is exactly as before. Narrow: a slim second row under
   the bar's own row (scrolls sideways, no script). From 720px: in the
   row, before BETA. The current page's link is underlined. */
.rp-xlinks{display:flex;align-items:center;gap:22px;overflow-x:auto;white-space:nowrap;
  scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rp-xlinks::-webkit-scrollbar{display:none}
.rp-xlink{flex:none;text-decoration:none;padding:12px 0}
.rp-xlink:hover{text-decoration:underline}
.rp-xlink.is-current{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

/* The three bars, while the menu is in them: logo, (menu,) BETA and Sign in
   as a grid, so the bar's own row never wraps (as before). */
.lp-top-in,.topin,.cp-top{display:grid;grid-template-columns:auto 1fr auto;
  grid-template-areas:"logo . right" "nav nav nav";row-gap:0}
.lp-top-in>.rbr-logo,.topin>.rbr-logo,.cp-top>.rbr-logo{grid-area:logo;justify-self:start}
.lp-top-r,.topright,.cp-topr{grid-area:right;justify-self:end}
.rp-xlinks{grid-area:nav;min-width:0}

/* the landing header (landing, sports, how it works, charts, year, tracker) */
.rp-xlinks-lp{margin:0 -20px;padding:0 20px;
  border-top:1px solid var(--line-2)}
.rp-xlinks-lp .rp-xlink{font:600 14px/1 var(--sans)}

/* the new-look top bar (help, home-screen) */
.rp-xlinks-new{margin:6px calc(-1 * var(--pad,16px)) -6px;
  padding:0 var(--pad,16px);border-top:1px solid rgba(127,127,127,.28)}
.rp-xlinks-new .rp-xlink{color:var(--head-ink);font:700 14px/1 'Radar Sans',sans-serif}

/* the About page's bar */
.rp-xlinks-cp{margin:14px -20px -14px;padding:0 20px;
  border-top:1px solid var(--line-2)}
.rp-xlinks-cp .rp-xlink{color:var(--link,inherit);font-weight:700;font-size:14px;line-height:1}

@media (min-width:600px){
  .rp-xlinks-lp{margin:0 -32px;padding:0 32px}
}
@media (min-width:720px){
  .lp-top-in,.topin,.cp-top{grid-template-areas:"logo nav right";grid-template-rows:auto}
  .rp-xlinks-lp,.rp-xlinks-new,.rp-xlinks-cp{justify-self:end;margin:0 6px 0 0;padding:0;border:0}
  .rp-xlinks-lp .rp-xlink{font-size:15px}
}

/* the home page's "See what Radar finds" section (templates/landing.html):
   two cards side by side from 720px, stacked on a phone; pictures keep their
   square shape from the width/height in the page, so nothing jumps. */
.rp-xcards{padding:36px 0}
.rp-xcards .lp-h2{margin-bottom:18px}
.rp-xcards-grid{display:grid;grid-template-columns:1fr;gap:20px}
.rp-xcard{display:flex;flex-direction:column;gap:10px;background:var(--panel);
  border:1px solid var(--line-2);border-radius:16px;padding:16px}
.rp-xcard-pic{display:block}
.rp-xcard-pic img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;
  border-radius:12px;border:1px solid var(--line-2)}
.rp-xcard-go{align-self:flex-start;font-weight:700}
@media(min-width:720px){.rp-xcards-grid{grid-template-columns:1fr 1fr;gap:24px}}

/* the sport pages' "Also on Radar" row (templates/sport_landing.html) */
.rp-xalso{padding:20px 0 0}
.rp-xalso-h{margin:0 0 8px;font-weight:700}
.rp-xalso-links{margin:0;display:flex;flex-wrap:wrap;gap:8px 22px}
.rp-xalso-links a{font-weight:700}
