/* NeuroLogic — Evidence levels card.
   House tokens declared locally on the component root, the same pattern as
   nl-resources, so the card renders identically on both installs and does not
   depend on either kit's global colour ids (4718 on EN, 309 on FR).

   Deliberately NOT a cream panel with a gold left rule — that grammar already
   belongs to .nl-perspective inside blog posts. This one is a white shelf with
   a short gold rule, so the two never read as the same thing. */

.nl-ev {
  --nl-ev-navy:   #101227;
  --nl-ev-blue:   #2E478A;
  --nl-ev-gold:   #D3BF90;
  --nl-ev-goldh:  #C3AC77;
  --nl-ev-line:   #E4E2DE;
  --nl-ev-body:   #4A4C60;
  --nl-ev-mute:   #7C7E92;
  display: block;
  max-width: 768px;          /* the .nl-post-body measure */
  margin: 8px auto 44px;
}

.nl-ev-inner {
  background: #fff;
  border: 1px solid var(--nl-ev-line);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 1px 2px rgba(16,18,39,.04);
}

.nl-ev-inner::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--nl-ev-gold);
  margin: 0 0 18px;
}

.nl-ev-eyebrow {
  font: 600 12px/1 Montserrat, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nl-ev-blue);
  margin: 0 0 10px;
}

.nl-ev .nl-ev-title {
  font: 700 20px/1.32 Montserrat, sans-serif;
  letter-spacing: normal;
  color: var(--nl-ev-navy);
  margin: 0 0 12px;
  text-wrap: balance;
}

.nl-ev-body {
  font: 400 15px/1.65 Montserrat, sans-serif;
  color: var(--nl-ev-body);
  margin: 0 0 10px;
}

.nl-ev-meta {
  font: 600 11px/1.4 Montserrat, sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--nl-ev-mute);
  margin: 0 0 20px;
}

/* Navy on gold, always. */
.nl-ev .nl-ev-cta {
  display: inline-block;
  background: var(--nl-ev-gold);
  color: var(--nl-ev-navy) !important;
  font: 600 14px/1 Montserrat, sans-serif;
  letter-spacing: .2px;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 50px;
  transition: background .2s ease, transform .2s ease;
}

.nl-ev .nl-ev-cta:hover,
.nl-ev .nl-ev-cta:focus {
  background: var(--nl-ev-goldh);
  color: var(--nl-ev-navy) !important;
  transform: translateY(-1px);
}

.nl-ev .nl-ev-cta:focus-visible {
  outline: 3px solid rgba(46,71,138,.45);
  outline-offset: 3px;
}

.nl-ev-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Column variant — for a future home-page or sidebar placement. */
.nl-ev--card { max-width: none; margin: 0; }
.nl-ev--card .nl-ev-inner { height: 100%; }

@media (max-width: 600px) {
  .nl-ev { margin: 4px auto 32px; }
  .nl-ev-inner { padding: 22px 20px; }
  .nl-ev .nl-ev-title { font-size: 18px; }
  .nl-ev-body { font-size: 14.5px; }
  .nl-ev .nl-ev-cta { display: block; text-align: center; padding: 15px 18px; }
}
