/* Append after the shared stylesheet. Only psychology screenshot groups are scoped here. */
.psych-screenshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin: 0;
}

.psych-screenshots > .psych-screenshot-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.psych-screenshots .psych-review {
  width: 100%;
  max-width: min(100%, 480px) !important;
  min-width: 0;
  margin: 0;
}

.psych-screenshots .psych-review > .screenshot-link {
  display: block;
  width: 100%;
}

.psych-screenshots .psych-review img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto;
}

/* The original final group contains one review; keep that single image centered. */
.psych-screenshots.psych-screenshots-single {
  grid-template-columns: minmax(0, 1fr);
}

/* Screenshot pairs stay side by side in a 600px panel, independently of video breakpoints. */
@media (max-width: 539px) {
  .psych-screenshots {
    grid-template-columns: minmax(0, 1fr);
  }
}
