.vpoms-ig {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}
.vpoms-ig-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.vpoms-ig-head h2 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.2;
}
.vpoms-ig-handle {
  font-weight: 600;
  text-decoration: none;
}
.vpoms-ig-handle:hover { text-decoration: underline; }
.vpoms-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 700px) {
  .vpoms-ig-grid { grid-template-columns: repeat(2, 1fr); }
}
.vpoms-ig-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.vpoms-ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.vpoms-ig-item:hover img { transform: scale(1.04); }
.vpoms-ig-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.vpoms-ig-item:hover .vpoms-ig-cap,
.vpoms-ig-item:focus .vpoms-ig-cap { opacity: 1; }
.vpoms-ig-fallback { font-size: 1rem; }
