/* ROCED: works archive = native Tilda gallery (block 5891092101).
   Photos are managed in the Tilda editor; this only sets a compact mosaic:
   2 large, 2 medium and 4 small frames in every group of 8 (repeats for more photos). */
#rec5891092101 { margin-top: -1px; position: relative; }
#rec5891092101 .t1231__container {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: clamp(130px, 16vw, 215px) !important;
  grid-auto-flow: row dense;
  gap: clamp(8px, 1.1vw, 14px) !important;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 8px !important;
}
#rec5891092101 .t1231__tile {
  grid-column: auto / span 1 !important;
  grid-row: auto / span 1 !important;
  aspect-ratio: auto !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 2px;
}
#rec5891092101 .t1231__tile:nth-child(8n+1),
#rec5891092101 .t1231__tile:nth-child(8n+7) { grid-column: auto / span 2 !important; grid-row: auto / span 2 !important; }
#rec5891092101 .t1231__tile:nth-child(8n+4),
#rec5891092101 .t1231__tile:nth-child(8n+8) { grid-column: auto / span 2 !important; }
#rec5891092101 .t1231__bgimg {
  width: 100%; height: 100%;
  transition: transform .8s cubic-bezier(.23, 1, .32, 1);
}
@media (hover: hover) {
  #rec5891092101 .t1231__tile:hover .t1231__bgimg { transform: scale(1.05); }
}
@media (max-width: 640px) {
  #rec5891092101 .t1231__container {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 38vw !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #rec5891092101 .t1231__bgimg { transition: none; }
}
/* Скрываем плашку "Made on Tilda" */
#tildacоpy,
.tildacоpy,
a[href*="tilda.cc"],
a[href*="tilda.ws"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}