/* Green callouts across all case studies. */
.result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: none;
  padding: 16px 20px;
  background: rgba(29, 170, 97, 0.08);
  border-inline-start: 3px solid #1daa61;
  border-radius: 0 10px 10px 0;
}
.result-kicker, .result-body {
  margin: 0;
  letter-spacing: 0.01em;
}
.result-kicker { color: #187f49; font-size: 10px; font-weight: 500; }
.result-body { font-size: 14px; line-height: 1.4; }
.result-body + .result-body { margin-top: 8px; }
.result-body strong { font-weight: 500; }

@media (max-width: 760px) {
  .result { padding: 14px 16px; }
  .result-body { font-size: 13px; }
}

@media (min-width: 1025px) {
  .split { column-gap: 24px; }
}

/* Solution media can use the full copy column. */
.solution .screens,
.solution .screens + .result,
.solution .explorations,
.solution .hero-slot { max-width: 100%; }

/* Shared gray callouts across case studies. */
.note, .decisions .note, .proj-body .uxr-note, .proj-body .context-card { background: #fafafa; }

/* Keep Design Principles cards borderless across project pages. */
.principles li { border: 0; }

/* Shared hero sizing, based on Member Tags' 828 × 597 artwork. */
main > .hero {
  --project-hero-art-height: min(596.61px, calc((100vw - var(--gutter) * 2) * 477 / 662));
  box-sizing: border-box;
  height: calc(var(--project-hero-art-height) + 144px);
  padding: 72px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}
main > .hero > :is(img, video) {
  display: block;
  width: auto;
  height: var(--project-hero-art-height);
  max-width: 100%;
  object-fit: contain;
  flex: 0 1 auto;
}
@media (max-width: 760px) {
  main > .hero {
    height: calc(var(--project-hero-art-height) + 96px);
    padding: 40px var(--gutter) 56px;
  }
}

/* Enlarge mobile hero artwork within the existing background height. */
@media (max-width: 760px) {
  main > .hero { padding: 16px 24px; overflow: hidden; }
  main > .hero > :is(img, video):not(.hero-logo) {
    height: calc(var(--project-hero-art-height) + 64px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .context-card .arrow { font-size: 28px; line-height: 24px; }
}

/* Keep horizontal gallery captions on the pagination's center line. */
:is(.admin-queue-screens, .research-gallery) > figure {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
}
:is(.admin-queue-screens, .research-gallery) > figure > figcaption {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 33px;
  margin-bottom: 0;
  line-height: 1.4;
}
:is(.admin-queue-pagination, .research-pagination) {
  height: 33px;
  align-items: center;
  line-height: 1.4;
}

/* Readable neutral callouts against the near-white page background. */
:root { --callout-bg: #eeeeee; --callout-ink: #454545; }
main .note, .project-page .note, .decisions .note,
.proj-body .uxr-note, .proj-body .context-card,
.project-page .principles li {
  background: var(--callout-bg);
  border: 0;
  color: var(--callout-ink);
}
:is(main, .project-page, .proj-body) :is(.note-kicker, .note-title) { color: #202020; }
:is(main, .project-page, .proj-body) .note-kicker { font-size: 12px; line-height: 1.4; }
:is(main, .project-page, .proj-body) .note-title { font-size: 15px; line-height: 1.4; }
:is(main, .project-page, .proj-body) .note-body { color: var(--callout-ink); font-size: 14px; line-height: 1.5; }
:is(.note, .uxr-note) a { color: #245a98; text-decoration: underline; text-underline-offset: 3px; }
:is(.note, .uxr-note) a:focus-visible { outline: 2px solid #245a98; outline-offset: 3px; }
@media (forced-colors: active) {
  main .note, .project-page .note, .decisions .note,
  .proj-body .uxr-note, .proj-body .context-card, .project-page .principles li {
    background: Canvas; color: CanvasText;
  }
  :is(main, .project-page, .proj-body) :is(.note-kicker, .note-title, .note-body) { color: CanvasText; }
}

:is(.note, .uxr-note) .decision-icon { color: #187f49; }
