.instingo-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

.instingo-gallery__item {
  min-width: 0;
  width: min(100%, 375px);
  margin-inline: auto;
}

.instingo-gallery__frame {
  padding: clamp(7px, 1vw, 11px) clamp(7px, 1vw, 11px) clamp(11px, 1.5vw, 16px);
  border: 1px solid rgb(226 216 200 / .28);
  border-radius: 30px;
  background: #e2d8c8;
  box-shadow: 0 18px 50px rgb(0 0 0 / .22);
}

.instingo-gallery__frame img {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 23px;
}

.instingo-gallery__item figcaption {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  color: #e2d8c8;
  font-size: 12px;
  line-height: 1.5;
}

.instingo-gallery__item figcaption strong {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .instingo-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instingo-gallery__item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .instingo-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .instingo-gallery__item:last-child {
    grid-column: auto;
  }
}
