/* -------------------------------- 

File#: _2_testimonial-gallery
Title: Testimonial Gallery
Descr: A gallery of client quotations
Usage: codyhouse.co/license

-------------------------------- */
.test-gallery {
  --masonry-grid-gap: var(--space-md);
  --masonry-col-auto-size: 350px;
  position: relative;
  z-index: 1;
}

.test-gallery__inner {
  position: relative;
}
.test-gallery__inner::after {
  /* overlay gradient */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, hsla(var(--color-bg-dark-h), var(--color-bg-dark-s), var(--color-bg-dark-l), 1) 25%, hsla(var(--color-bg-dark-h), var(--color-bg-dark-s), var(--color-bg-dark-l), 0));
  pointer-events: none;
}

.test-gallery__card {
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-light);
  box-shadow: var(--inner-glow), var(--shadow-xs);
}

.test-gallery__quote {
  line-height: var(--body-line-height);
}

.test-gallery__profile-img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: var(--space-xs);
}

.test-gallery__card-img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
}

.test-gallery__twitter-icon-wrapper {
  color: #1DA1F2;
  display: block;
  flex-shrink: 0;
  margin-left: auto;
  transition: -webkit-transform 0.3s var(--ease-out-back);
  transition: transform 0.3s var(--ease-out-back);
  transition: transform 0.3s var(--ease-out-back), -webkit-transform 0.3s var(--ease-out-back);
}
.test-gallery__twitter-icon-wrapper .icon {
  --size: 20px;
}
.test-gallery__twitter-icon-wrapper:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}