.difficulty-study-hero {
  max-width: 980px;
}

.study-guardrail {
  border-left: 4px solid var(--accent, #fb923c);
}

.study-findings {
  scroll-margin-top: 5rem;
}

.study-findings .growth-card h3 {
  margin-top: 0.25rem;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.18;
}

.difficulty-study-page img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border: 1px solid var(--border-color, #44403c);
  border-radius: 0.9rem;
}

.study-source-line {
  color: var(--text-muted, #a8a29e);
  font-size: 0.88rem;
}

.study-embed {
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--border-color, #44403c);
  border-radius: 0.75rem;
}

.study-embed code {
  display: block;
  max-height: 8rem;
  margin: 0.75rem 0;
  padding: 0.75rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: color-mix(in srgb, var(--surface, #292524) 82%, transparent);
  border-radius: 0.5rem;
}

.difficulty-study-page :is(#finding-trap-family, #finding-branch-size, #finding-repeated-letters, #finding-familiarity, #figure-adjusted-effects, #model-table, #downloads) {
  scroll-margin-top: 5rem;
}

@media print {
  .difficulty-study-page .research-hero__actions,
  .difficulty-study-page button,
  .difficulty-study-page .study-embed,
  .difficulty-study-page .related-tools {
    display: none !important;
  }

  .difficulty-study-page .growth-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
