
/* ORION SCREENSHOT GALLERY */

.orion-gallery {
  --gallery-accent: #ff7a00;
  width: min(1280px, calc(100% - 36px));
  margin: 55px auto 90px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background: linear-gradient(145deg, #131720, #090b10);
  color: #f3f5f8;
}

.orion-gallery * {
  box-sizing: border-box;
}

.orion-gallery-heading {
  margin-bottom: 24px;
}

.orion-gallery-heading small {
  display: block;
  margin-bottom: 9px;
  color: var(--gallery-accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.orion-gallery-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1.15;
}

.orion-gallery-heading p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #a2a8b3;
  font-size: .93rem;
  line-height: 1.6;
}

.orion-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.orion-gallery-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 15px;
  background: #07090c;
}

.orion-gallery-item:first-child {
  grid-column: 1 / -1;
}

.orion-gallery-item a {
  display: block;
  padding: 10px;
  color: inherit;
  text-decoration: none !important;
}

.orion-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border-radius: 9px;
  background: #050608;
}

.orion-gallery-item:first-child img {
  max-height: 600px;
}

.orion-gallery-item figcaption {
  padding: 11px 13px 5px;
  color: #9da5b1;
  font-size: .78rem;
}

.orion-gallery-item a:hover img {
  filter: brightness(1.07);
}

.orion-gallery-item a:focus-visible {
  outline: 2px solid #40d9ff;
  outline-offset: -2px;
}

@media (max-width: 650px) {
  .orion-gallery {
    width: calc(100% - 24px);
    padding: 16px;
    margin: 35px auto 65px;
    border-radius: 18px;
  }

  .orion-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .orion-gallery-item:first-child {
    grid-column: auto;
  }

  .orion-gallery-item img,
  .orion-gallery-item:first-child img {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orion-gallery * {
    scroll-behavior: auto !important;
  }
}
