/* «Как выглядит игра» — настоящие скриншоты (_partials/game-shots.php, 24.10.2026). */
.xh-shots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.xh-shots-grid:focus-visible {
  outline: 2px solid var(--xh-orange);
  outline-offset: 4px;
  border-radius: var(--xh-radius-lg);
}
.xh-shot {
  margin: 0;
  border: 1px solid var(--xh-border);
  border-radius: var(--xh-radius-lg);
  background: var(--xh-bg-primary);
  overflow: hidden;
  transition: border-color var(--xh-transition), transform var(--xh-transition), box-shadow var(--xh-transition);
}
.xh-shot a { display: block; }
.xh-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.xh-shot figcaption {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--xh-text-secondary);
  border-top: 1px solid var(--xh-border);
}
.xh-shot:hover {
  border-color: color-mix(in srgb, var(--xh-orange) 55%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--xh-bg-deep) 60%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .xh-shot, .xh-shot:hover { transition: none; transform: none; }
}
/* Телефон: лента с прокруткой вбок, кадр почти на всю ширину. */
@media (max-width: 767px) {
  .xh-shots-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 20px -16px 0;
    padding: 0 16px 8px;
  }
  .xh-shot { flex: 0 0 86%; scroll-snap-align: center; }
}
