/* Match the studio projects archive: .metro-gallery */
.metro-gallery {
  margin-bottom: 150px;
}

.metro-gallery ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2px;
  grid-auto-flow: dense;
  list-style: none;
  margin: 0;
  padding: 0;
}

.metro-gallery ul li {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.metro-gallery ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.metro-gallery ul li img,
.metro-gallery-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.metro-gallery-fallback {
  background: #111;
}

.metro-gallery-title {
  left: 0;
  width: 100%;
  background: #ffffff;
  position: absolute;
  display: none;
  bottom: 0;
  text-align: center;
}

.metro-gallery ul li:hover .metro-gallery-title,
.metro-gallery ul li:focus-within .metro-gallery-title {
  display: block !important;
}

.metro-gallery-title h2 {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0em;
  padding: 10px;
  margin: 0;
}

@media (min-width: 600px) {
  .metro-gallery ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 800px) {
  .metro-gallery ul {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

#rcg-stage {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 150px;
  z-index: 40;
  background: #07090f;
  display: flex;
  flex-direction: column;
}
#rcg-stage.is-full {
  top: 0 !important;
  z-index: 9999;
}
#rcg-stage[hidden] {
  display: none !important;
}
#rcg-stage-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  background: #07090f;
}
