/* neuropsych-screenings.css (NEU-483): hub-only additions for /screenings/ and /es/screenings/.
   The hub is built from neuropsych-landing.css?v=2 (NEU-482: tokens, nav, .wrap, .tlink,
   .ico, .lead, h1 and the D3 hub rules .hub-head, .grid-live, .grid-soon, .cd*, .pos,
   .bundle*), loaded before this file on <body class="np-landing">. Only what the shared file
   does not already do lives here. */

/* The two live cards share a grid row, so they are always the same height. Letting the body
   grow keeps their CTA rows level when one card's copy wraps to an extra line (the Spanish
   dyscalculia meta line does at desktop widths), as in the picked D3 hub. */
.np-landing .grid-live .cd-body{flex:1 0 auto}

/* D3 colours the live CTAs with their condition (--c). In neuropsych-landing.css the anchor
   reset `.np-landing a{color:inherit}` outranks the unscoped `.cd-cta{color:var(--c)}`, so the
   CTAs would render in ink; this restores the picked colour (hover is unaffected). */
.np-landing .cd-cta{color:var(--c)}
.np-landing .cd-cta:hover{color:#fff}

/* NEU-520: shorter on phones. The live cards keep their artwork at a smaller
   height, and the four coming-soon cards become one compact list (name, line,
   status, link) without artwork. */
@media(max-width:760px){
  .np-landing .cd.live .cd-field{height:104px;padding:10px}
  .np-landing .cd.live .cd-field svg{width:auto;height:100%;max-width:100%}
  .np-landing .cd.live .cd-body{padding-top:14px}
  .np-landing .cd.live .cd-cta{margin-top:14px}
  .np-landing .grid-soon{gap:0;background:var(--surface);border:1px solid var(--border-h);border-radius:var(--r-lg);padding:2px 16px}
  .np-landing .cd.soon{border:0;border-radius:0;background:none;padding:12px 0 4px}
  .np-landing .cd.soon + .cd.soon{border-top:1px solid var(--border-h)}
  .np-landing .cd.soon .cd-field{display:none}
  .np-landing .cd.soon .cd-body{padding:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:14px}
  .np-landing .cd.soon h2,.np-landing .cd.soon .cd-desc{flex-basis:100%}
  .np-landing .cd.soon .cd-status{margin-top:2px}
}

/* NEU-512: the hub hero and card surfaces sit on the v2 theme (main carries data-ds="2").
   H1 and lede take the theme styles; landing.css's h1 rule would otherwise outrank the
   theme's :where() scope. Wraps are .wrap-wide, so the hero and every grid share one left
   edge. Rhythm: 72 from the header to the H1, 40 from the lede to the first row (48 / 32
   on phones). The cards take the theme card surface: white, 1px --line, 16px radius. */
.np-landing .hub-hero{padding-block:72px 40px}
.np-landing .hub-hero h1{font:800 var(--fs-h1)/var(--lh-display) var(--font-display);letter-spacing:var(--tracking-display);margin-bottom:0}
.cd,.np-landing .bundle{border:1px solid var(--line);border-radius:var(--r-card)}
@media(max-width:640px){
  .np-landing .hub-hero{padding-block:48px 32px}
}
@media(max-width:760px){
  .np-landing .grid-soon{border-color:var(--line);border-radius:var(--r-card)}
  .np-landing .cd.soon + .cd.soon{border-top-color:var(--line)}
}
/* NEU-750: card titles are the theme's card title (H3 look: Inter 600, 20 / 18), and the
   card call to action takes the one button shape (50 px, radius 12, Inter 15/600). It keeps
   its area tint and arrow: the colour belongs to the area, the shape to the site. */
.np-landing .cd h2{font:600 var(--fs-h3)/var(--lh-h3) var(--font-body);letter-spacing:-.005em}
.np-landing .cd.soon h2{font-size:16px}
.np-landing .cd-cta{min-height:0;height:var(--btn-h);padding:0 24px;border-radius:var(--r);font:600 var(--fs-button)/1 var(--font-body)}
