/**
 * Default clearfix implementation.
 *
 * @usage
 *    .box {
 *      @include clearfix;
 *    }
 */
/**
 * Casts a string into a number.
 *
 * @param {string} $value
 *    Tje string to cast to a number.
 * @return {$number}
 *    The value as number.
 */
/**
 * Split a string into a list of strings.
 *
 * @param {string} $string
 *    Tje string to be split.
 * @param {string} $delimiter
 *    The boundary string.
 * @return {list} $result
 *    The result list.
 */
.publication-teaser {
  margin-bottom: 2rem;
  background: #fff;
  text-align: center;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr auto auto auto;
  grid-template-areas: "img" "title" "subtitle" "buttons";
  -webkit-column-gap: 1rem;
     -moz-column-gap: 1rem;
          column-gap: 1rem;
  row-gap: 0;
  grid-gap: 0;
  border: 3px solid #EDEFF8;
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.5rem;
  margin-bottom: 1rem;
  max-width: 1140px;
}
@media (min-width: 767px) {
  .publication-teaser {
    margin-bottom: 2rem;
  }
}
.publication-teaser h3.is-h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.publication-teaser h3.is-h4 a {
  text-decoration: none;
}
.publication-teaser .publication-thumbnail {
  width: 100%;
  max-width: 10rem;
  margin: 0 auto;
  height: auto;
  color: #fff;
  position: relative;
}
.publication-teaser .publication-thumbnail > figure {
  display: block;
}
.publication-teaser .publication-thumbnail .copyright {
  background: #fff;
}
.publication-teaser .publication-thumbnail img {
  vertical-align: bottom;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}
.publication-teaser .publication-thumbnail svg {
  vertical-align: bottom;
}
.publication-teaser__subtitle {
  font-size: 0.78rem;
}
.publication-teaser__subtitle__year {
  font-size: 0.78rem;
  font-weight: normal;
  margin-top: 0.5rem;
}
.publication-teaser__buttons {
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
}
.publication-teaser__buttons .button {
  margin-bottom: 0.5rem;
  /*
  &:only-child {
    width: 100%;
    justify-content: center;
  }*/
}
.publication-teaser__buttons .button::before {
  content: none;
}