/* Shared project components. Individual projects keep their overrides in their own folder. */
.positive .project-photo {
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
}
.positive .project-photo > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.positive .project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.positive .project-photo > .command-cover {
  height: 100%;
}
.project-card-extras {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 14px;
}
.project-card-extras summary {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 0;
}
.project-card-extras[open] summary {
  margin-bottom: 12px;
}
.simple-page .roadmap article > div,
.story-content,
.story-layout > * {
  min-width: 0;
}
.simple-page .roadmap h2,
.simple-page .roadmap h3 {
  overflow-wrap: anywhere;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.project-gallery > * {
  min-width: 0;
}
picture {
  display: block;
}
@media (max-width: 600px) {
  .positive .command-project .project-photo {
    aspect-ratio: auto;
  }
  .positive .project-photo > .command-cover {
    height: auto;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
}
