/**
 * 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.
 */
.card-teaser {
  border: none;
  background: #EDEFF8;
  padding-bottom: 1.5rem;
  margin-bottom: 0;
  height: 100%;
  position: relative;
  display: grid;
  grid-gap: 0;
  grid-template-rows: auto auto 1fr auto;
  grid-template-rows: subgrid;
  grid-row: span 3;
  border: 3px solid #EDEFF8;
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.5rem;
  margin-bottom: 1rem;
  max-width: 1140px;
}
@media (min-width: 767px) {
  .card-teaser {
    margin-bottom: 2rem;
  }
}
.card-teaser.subgrid-1 {
  grid-template-rows: 1fr;
  grid-template-rows: subgrid;
  grid-row: span 1;
}
.card-teaser.subgrid-2 {
  grid-template-rows: auto 1fr;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
.card-teaser.subgrid-3 {
  grid-template-rows: auto 1fr auto;
  grid-template-rows: subgrid;
  grid-row: span 3;
}
.card-teaser.subgrid-4 {
  grid-template-rows: auto auto 1fr auto;
  grid-template-rows: subgrid;
  grid-row: span 4;
}
.card-teaser.subgrid-5 {
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-rows: subgrid;
  grid-row: span 5;
}
.card-teaser div[data-contextual-id] {
  display: none;
}
@media (min-width: 767px) {
  .card-teaser {
    margin-bottom: 0;
  }
}
.card-teaser > h3.is-h4 {
  margin-top: 0.5rem;
  grid-row: span 1;
  margin-bottom: 0;
}
.card-teaser > h3.is-h4 a {
  text-decoration: none;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card-teaser__contentwrapper {
  grid-row: span 1;
}
.card-teaser__content {
  margin-top: 0.5rem;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
}
.card-teaser__content:empty {
  margin: 0;
}
.card-teaser__type {
  position: absolute;
  left: -1rem;
  top: -1rem;
  background: #fff;
  border-radius: 2rem;
  width: 2rem;
  height: 2rem;
  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #05598C;
}
.card-teaser__type i {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.card-teaser__media {
  grid-row: span 1;
  width: 100%;
  height: auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.card-teaser__media > figure > .field {
  max-width: inherit;
  max-height: inherit;
}
.card-teaser__media img {
  max-width: 100%;
  max-height: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
.card-teaser__subtitle {
  font-weight: bold;
  margin-top: 0.5rem;
}
.card-teaser .buttons {
  margin-top: 0.75rem;
}