
.gallery-list  {

  // ---------------------
  // ---- IMAGE STYLING
  // ---------------------

  .image-wrap {
    height: 45px;
    width: 45px;
    overflow: hidden;
    position: relative;

    img {
      height: 45px;
      position: absolute;
      left: 50%;
      transform: translate(-50%, 0);
    }
  }

  .album-link {
    position: relative;
    overflow: hidden;

    .album-link-hover {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 0.3rem 0.75rem;
      background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.1) 100%);
      color: #fff;
      opacity: 0;
      transform: translateY(100%);
      transition: opacity .3s linear;
    }

    &:hover .album-link-hover,
    &:focus .album-link-hover {
      opacity: 1;
      transform: translateY(0);
    }
  }

  // ---------------------
  // ---- BODY STYLING
  // ---------------------

  .media-body {
    vertical-align: middle;
  }
}

// ---------------------
// ---- 6 GRID SIZING
// ---------------------

.tile-gallery-component.grid-stack-item-6[data-gs-width="1"] {
    .gallery-list {
        .list-mode {
            .media-body {
                display: block;
                width: 100%;
            }

            .image-wrap, .image-wrap img {
                height: 30px;
            }

            .image-wrap {
                width: 30px;
            }
        }
    }

    &[data-gs-max-width="6"] {
        .pages-card-grid {
            grid-template-columns: repeat(1,minmax(0,1fr));
        }
    }
}

// -----------------------------------
// ---- THUMBNAIL VIEW STYLING -------
// -----------------------------------
.thumbnail-image {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4/3;
}
