/* Keystone diagnostic-method article */
.method-page .note-article-header { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.method-page .note-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
}
.method-principle {
  margin: 1.9rem 0 2rem;
  font-size: clamp(1.12rem, 1.8vw, 1.26rem);
  line-height: 1.5;
  font-weight: 650;
  color: #333833;
}
.source-ref { font-size: 0.72em; vertical-align: super; line-height: 0; }
.source-ref a { text-decoration: none; }

.diagnostic-figure {
  width: 100%;
  max-width: 860px;
  margin: clamp(3.5rem, 7vw, 5rem) 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  background: rgba(255,255,255,.20);
  border-block: 1px solid var(--line);
}
.diagnostic-figure picture,
.diagnostic-figure img { display: block; width: 100%; height: auto; }
.diagnostic-figure .diagnostic-print { display: none; }
.diagnostic-figure figcaption {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.note-sources {
  margin: 1.8rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.note-sources li { margin-bottom: 0.9rem; padding-left: 0.25rem; }
.note-sources li::marker { color: var(--teal); font-weight: 700; }
.note-sources cite { color: var(--ink); font-style: italic; }
.note-sources a { font-weight: 600; }

@media (max-width: 700px) {
  .diagnostic-figure {
    margin-inline: 0;
    padding: 0.9rem 0.5rem 1rem;
  }
  .diagnostic-figure figcaption { padding-inline: 0.5rem; text-align: left; }
}

@media print {
  .method-page .diagnostic-figure { break-inside: avoid; page-break-inside: avoid; padding: 0; background: transparent; }
  .diagnostic-figure picture { display: none; }
  .diagnostic-figure .diagnostic-print { display: block; }
  .diagnostic-figure figcaption { color: #444; }
  .note-sources { color: #333; }
}