/* Team Gallery V2 */
.tg2-section {
  --v2-gap: 20px;
  --tg2-cols: 4;
  --tg2-row: 200px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E3EFF8 100%);
}
.tg2-section .tg2-grid {
  display: grid;
  grid-template-columns: repeat(var(--tg2-cols), minmax(0, 1fr));
  grid-auto-rows: var(--tg2-row);
  gap: var(--v2-gap);
}
.tg2-section .tg2-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--v2-card-radius);
  overflow: hidden;
  background: #0A1E38;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tg2-section button.tg2-tile {
  cursor: zoom-in;
}
.tg2-section button.tg2-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 30, 56, .07);
}
.tg2-section .tg2-tall {
  grid-row: span 2;
}
.tg2-section .tg2-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg2-section .tg2-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 30, 56, 0) 48%, rgba(10, 30, 56, .72) 100%);
}
.tg2-section .tg2-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-align: left;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(6, 18, 34, .6);
}

/* Bootstrap breakpoints */
@media (max-width: 1199px) {
  .tg2-section {
    --tg2-cols: 3;
  }
  .tg2-section .tg2-tall {
    grid-row: span 1;
  }
}
@media (max-width: 767px) {
  .tg2-section {
    --tg2-cols: 2;
    --tg2-row: 170px;
  }
}
@media (max-width: 480px) {
  .tg2-section {
    --tg2-cols: 1;
    --tg2-row: 200px;
  }
}
