.main .commands {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.main .commands .phantom-gallery-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.main .commands a {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-width: 0;
  padding-right: 24px;
  padding-bottom: 24px;
  overflow: hidden;
}

.main .commands h1 {
  font-size: var(--small-font-size);
  line-height: 1.8;
  text-transform: uppercase;
}

.main .commands h1::before {
  content: "●";
  position: relative;
  top: 0.055em;
  font-size: 1.5em;
  margin-right: 0.25em;
}

.main .commands a > figure {
  /* position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
  position: relative;
  height: 25vw;
  min-height: 220px;
  margin-bottom: 0;
  /* padding-right: 12px;
  padding-bottom: 12px; */

  /* overflow: hidden; */
  transition: filter 0.2s ease, padding 0.5s ease;
  /* mix-blend-mode: multiply;
  filter: brightness(350%) grayscale();
  opacity: 0.2;
  z-index: -1; */
}

.main .commands a:hover > figure {
  filter: brightness(50%);
  padding: 0;
}

/* .main .commands a > figure::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background-color: rgb(204, 225, 223);
  z-index: -1;
} */

.main .commands a > figure > img {
  height: 100%;
  object-fit: cover;
}

/* .main .command img {
  height: auto;
  object-fit: contain;
  object-position: top left;
  padding-right: 2em;
  padding-bottom: 2em;
}

.main .command img:nth-child(2n) {
  width: 70%;
}

.main .command img:nth-child(3n) {
  width: 30%;
} */

/**********************

	Gallery

***********************/
.glightbox-mt .gclose {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  background-color: rgba(0, 0, 0, 0.32);
  border-radius: 8px;
}

.glightbox-mt .gprev,
.glightbox-mt .gnext {
  position: absolute;
  top: 45%;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.32);
  border-radius: 8px;
}

.glightbox-mt .gprev {
  left: 16px;
}

.glightbox-mt .gnext {
  right: 16px;
}

.glightbox-mt .gprev svg path,
.glightbox-mt .gnext svg path,
.glightbox-mt .gclose svg path {
  fill: rgb(255, 255, 255);
}

.glightbox-mt .gslide-media {
  padding: 24px 0;
}

.glightbox-mt .gslide-description {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 100% !important;
  display: flex;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0.75) 100%
  );
  color: var(--ghostwhite);
  padding: 20px;
}

.glightbox-mt .gdesc-inner {
  width: 80%;
  margin: auto;
}

.glightbox-mt .gslide-desc {
  color: var(--ghostwhite) !important;
  font-family: "Zarathustra";
  font-size: var(--tiny-font-size);
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {
  .main .commands a {
    width: 50%;
  }
}
