/* Separate photo and credit layouts from the shared project-gallery styles. */
.network-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.network-photo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: #132027;
}
.network-photo > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.network-photo > a > img {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pagehero .network-photo--hero > img {
  display: block;
  position: static;
  inset: auto;
  flex: 1;
  width: 100%;
  height: clamp(285px, 28vw, 520px);
  min-height: 0;
  object-fit: cover;
}
.network-caption {
  position: static;
  padding: 18px 22px;
  color: #e2eae9;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.network-caption > span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}
.network-caption small {
  font-size: inherit;
}
.network-caption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.network-caption a:hover {
  color: #ffda39;
}
.network-photo a:focus-visible {
  outline: 2px solid #ffda39;
  outline-offset: -3px;
}
@media (max-width: 600px) {
  .network-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}
