/* Social Media Graphics — 3-column grid, matches project-page tokens */

.graphics-grid-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.graphics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
  align-items: stretch;
}

.graphics-grid__cell {
  background: rgba(10, 10, 10, 0.035);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background 0.25s ease;
}

.graphics-grid__cell:hover {
  background: rgba(10, 10, 10, 0.055);
}

.graphics-grid__cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .graphics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.75rem;
  }
  .graphics-grid-wrap {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 88px;
  }
}

@media (max-width: 520px) {
  .graphics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .graphics-grid__cell {
    aspect-ratio: auto;
    min-height: 200px;
    max-height: min(85vh, 640px);
  }
}
