/* licenses: компоненты страницы (разделено из reviews.css) */

/* ===== licenses: документы grid ===== */
/* ---------- документы: единая высота плиток, разная ширина ---------- */

.rv-doc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.rv-doc-card {
  position: relative;
  display: flex;
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.rv-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow);
}

.rv-doc-card img {
  display: block;
  height: 300px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.rv-doc-card .rv-photo-card__zoom {
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
}

@media (max-width: 560px) {
  .rv-doc-grid { gap: 14px; }
  .rv-doc-card { padding: 8px; }
  .rv-doc-card img { height: 220px; }
  .rv-doc-card .rv-photo-card__zoom {
    right: 14px;
    top: 14px;
    width: 30px;
    height: 30px;
  }
}
