/* Poster artwork keeps its native colour and full 9:16 composition. */
.lab-page .poster-gallery {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(165, 181, 133, .32);
}
.lab-page #lab-results > .poster-gallery:first-child {
  margin-top: 0;
  padding-top: 8px;
  border-top: 0;
}
.lab-page .poster-gallery-heading {
  align-items: end;
  margin-bottom: 24px;
  gap: 18px;
}
.lab-page .poster-gallery-heading h2 {
  margin: 6px 0 0;
  color: #edf0d9;
  font-size: clamp(27px, 3.3vw, 38px);
  line-height: 1.2;
}
.lab-page .poster-gallery-heading > p {
  margin: 0;
  color: #c1cbb1;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}
.lab-page .poster-gallery-heading > p > span { color: #99ad98; }
.lab-page .poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px 22px;
}
.lab-page .poster-card {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 9px 9px 0;
  text-align: left;
  color: #e5e9d4;
  background: rgba(8, 32, 23, .96);
  border: 1px solid #64785c;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(207, 218, 166, .25), 0 4px 0 #061a12, 0 9px 20px rgba(0, 0, 0, .18);
  cursor: zoom-in;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lab-page .poster-card:hover,
.lab-page .poster-card:focus-visible {
  border-color: #c9d68f;
  box-shadow: inset 0 1px 0 rgba(229, 236, 190, .5), 0 4px 0 #061a12, 0 9px 24px rgba(0, 0, 0, .3);
}
.lab-page .poster-card:focus-visible { outline: 2px solid #d2dc9b; outline-offset: 5px; }
.lab-page .poster-art {
  display: block;
  aspect-ratio: 9 / 16;
  width: 100%;
  background: #090a09;
}
.lab-page .poster-card .poster-art img,
.lab-page .poster-card:hover .poster-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  filter: none !important;
  opacity: 1;
  mix-blend-mode: normal;
  image-rendering: auto;
  transform: none;
}
.lab-page .poster-caption {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 12px 5px;
  color: #e5e9d4;
  line-height: 1.5;
}
.lab-page .poster-number {
  color: #a5b48b;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.lab-page .poster-caption strong { font-size: 15px; font-weight: 500; }
.lab-page .poster-open { margin-left: auto; color: #cbd79a; font-size: 22px; }
@media (max-width: 900px) {
  .lab-page .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lab-page .poster-gallery { margin-top: 32px; padding-top: 26px; }
  .lab-page .poster-gallery-heading { display: block; margin-bottom: 20px; }
  .lab-page .poster-gallery-heading > p { margin-top: 13px; text-align: left; }
  .lab-page .poster-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lab-page .poster-card { padding: 7px 7px 0; }
  .lab-page .poster-caption { min-height: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .lab-page .poster-card { transition: none; }
}
