@media only screen and (max-width: 767px) {
  .gallery-tab {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .gallery-tab > li {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    margin: auto !important;
  }
  .gallery-container {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 767px) and (min-width: 641px) {
  .gallery-tab {
    width: 100%;
  }
}

