/* Categories view. */
.view-category-articles .teaser__media {
  width: 360px;
}

.view-category-articles .teaser__content {
  padding-top: 0;
  padding-bottom: 0;
  height: 270px;
  max-height: 270px;
}

.view-category-articles .teaser__content header .teaser__headline {
  font-size: 1.5rem;
  line-height: 1;
}

.view-category-articles .teaser__content .field--name-field-teaser-text {
  font-size: 14px;
  max-height: 90px;
  overflow: hidden;
}

.view-category-articles .teaser__content .teaser__link {
  position: absolute;
  bottom: 0;
}

.view-category-articles .teaser__content .channel--bordered {
  border-left-color: #4992c4;
}

.view-category-articles .teaser__content .teaser__link a {
  border: solid 1px #585858;
  padding-top: 6px;
  padding-bottom: 6px;
  color: black;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
}

.view-category-articles .teaser__content .teaser__link a i {
  display: none;
}

.view-category-articles .node--type--article {
  margin-bottom: 20px;
}

.view-category-articles .teaser__body {
  max-height: 7.5 rem;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .view-category-articles .teaser__content .teaser__authored {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .view-category-articles .teaser__content .teaser__body {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px){
  .view-category-articles .teaser__content{
    height: auto;
    max-height: none;
  }

  .view-category-articles .teaser__content .teaser__link {
    position: relative;
    bottom: auto;
    width: fit-content
  }

  /* center align footer content */
  .contextual-region.node.node--type--article.node--view-mode--t8.promoted.teaser.teaser--item.teaser--item--large.align-items-center {
    text-align: center;
  }
  .contextual-region.node.node--type--article.node--view-mode--t8.promoted.teaser.teaser--item.teaser--item--large .teaser__media {
  margin-left: auto;
  margin-right: auto;
  }
  .node--type--article .teaser__content .button.teaser__link {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 425px) {
  .view-category-articles .teaser__media {
    width: 100%;
  }
  .view-category-articles .teaser__content {
    padding-top: 10px;
  }
  .view-category-articles .teaser__content .teaser__link {
    position: relative;
  }
}
