/**
 *
 * Custom Post Type - Testimonials
 *
 * Styling for testimonials custom post type
 *
 */

.tsw-testimonials-container {
 display: grid;
 grid-gap: 10px;
 grid-template-columns: repeat(auto-fill, minmax(330px,1fr));
 grid-auto-rows: 5px;
}

.tsw-testimonial-quotemark:before {
  position: absolute;
  top: -20px;
  left: 16px;
  width: 48px;
  height: 48px;
  filter: invert(55%) sepia(75%) saturate(292%) hue-rotate(0deg) brightness(97%) contrast(88%); /* #bd9751 - https://codepen.io/sosuke/pen/Pjoqqp */
  content: url('./images/quote-mark.svg');
}

.tsw-testimonial-speech-source:before {
  content: url( './images/speech-source-pointer.svg');
  width: 24px;
  height: 24px;
  position: absolute;
  left: -24px;
  bottom: -2px;
}

.tsw-testimonial-quote .tsw-testimonial-content {
  position: relative;
  background-color: #FFF;
  margin-left: 32px;
  padding: 32px;
  border-radius: 32px 32px 32px 0;
  border: 2px solid #555;
  text-align: center;
  color: #333;
  hyphens: auto;
}

.tsw-testimonial-remark {
  quotes: initial;
  line-height: 1.4em;
}

.tsw-testimonial-remark:before {
  content: open-quote;
}

.tsw-testimonial-remark:after {
  content: close-quote;
}

.tsw-testimonial-author {
  margin-top: 32px;
  font-weight: bold;
}

.tsw-testimonial-location {
  font-size: 0.8em;
}

.tsw-testimonials-load-more {
 margin: 1em 0em;
 text-align: center;
}

