/* Minimal pure-black overrides for /dopamine-reset/
   Inherits exact layout, typography, cover, TOC, and .x-product buttons from /assets/articles.css.
   Keeps #dopa-3d styles intact via /assets/guides.css. */

/* Clean black-and-white anatomical/mechanism model frames */
.x-article .x-figure.x-model {
  margin: 26px 0;
}
.x-article .x-figure.x-model img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.x-article .x-figure figcaption {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

/* Real PubMed header screenshot + real cropped PDF graph/table stack */
.x-article .x-proof {
  margin: 20px 0 26px;
}
.x-article .x-proof__head {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.x-article .x-proof__head img {
  display: block;
  width: 100%;
  height: auto;
}
.x-article .x-proof__crop {
  margin: 10px 0 0;
}
.x-article .x-proof__crop img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.x-article .x-proof__cap {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.54);
}
.x-article .x-proof__cap a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep interactive 3D molecular viewer (#dopa-3d) crisp inside .x-body */
.x-article .g-3d {
  margin: 26px 0;
}

/* Clean superscript citation links */
.x-article sup.x-ref {
  font-size: 0.72em;
  line-height: 0;
  margin-left: 1px;
}
.x-article sup.x-ref a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}
.x-article sup.x-ref a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Clean h2 section rhythm inside .x-body */
.x-article .x-body h2 {
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.x-article .x-body h2:first-child {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

/* Clean numbered references section at bottom */
.x-article .x-refs {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.x-article .x-refs__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
}
.x-article .x-refs ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.x-article .x-refs li {
  font-size: 13px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.62);
}
.x-article .x-refs li a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.x-article .x-refs li a:hover {
  text-decoration: underline;
}
.x-article .x-refs li span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.44);
}
