/* ==========================================================================
   Galeria surowych opinii (screeny z wiadomości)
   ========================================================================== */

.screens {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line-dark);
}

.screens-head {
  margin-bottom: 28px;
  text-align: center;
}

.screens-head .eyebrow {
  justify-content: center;
}

.screens-head h3 {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.screens-grid {
  columns: 3;
  column-gap: 18px;
}

.screens-grid figure {
  display: block;
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 10px;
  background: var(--night-850);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.screens-grid figure:hover {
  border-color: rgba(111, 164, 255, 0.42);
  transform: translateY(-2px);
}

.screens-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.screens-grid figure[hidden] {
  display: none;
}

.screens-more {
  margin-top: 6px;
  text-align: center;
}

.button-ghost {
  color: var(--paper-50);
  background: transparent;
  border: 1px solid rgba(111, 164, 255, 0.4);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(33, 102, 229, 0.12);
  border-color: rgba(111, 164, 255, 0.7);
}

.screens-note {
  max-width: 640px;
  margin: 22px auto 0;
  color: rgba(153, 167, 186, 0.7);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 980px) {
  .screens-grid {
    columns: 2;
  }
}

@media (max-width: 620px) {
  .screens {
    margin-top: 48px;
    padding-top: 42px;
  }

  .screens-grid {
    columns: 1;
  }
}
