h6 {
  position: relative;
  color: var(--blue);
  padding-top: 60px;
  margin: 0 0 30px;
}
h6:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--red);
}
#news-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 5fr;
  grid-gap: 100px;
  align-items: start;
}
.hidden {
  display: none;
}
#news-sidebar h5 {
  font-size: 20px;
  text-transform: uppercase;
}
#news-sidebar .filter-list {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}
  #news-sidebar .filter-list a {
    display: inline-block;
    padding: 3px 0;
    cursor: pointer;
  }
  #news-sidebar .filter-list a:hover,
  #news-sidebar .filter-list a.active {
    color: var(--red);
  }
  .show-all-btn {
    position: absolute;
    top: -10px;
    right: 0;
    display: none;
    margin: 0;
    font-size: 13px;
    padding: 10px 20px;
  }
    .show-all-btn:after {
      display: inline-block;
      content: '\f2ea';
      transition: all 0ms ease-out;
    }
    .show-all-btn:hover:after {
      transition: all 0.4s 20ms ease-out;
      transform: rotate(-360deg);
    }
.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 20px;
  align-items: center;
  padding: 15px;
  border: 1px solid #cecece;
  border-radius: 3px;
  background: #f3f3f3;
  margin: 0 0 30px;
}
  .alert i {
    font-size: 36px;
    color: var(--red);
  }
  .alert p {
    font-size: 14px;
    margin: 0;
  }
  .alert a {
    font-weight: 700;
    color: var(--red);
  }
    .alert a:hover {
      color: var(--blue);
    }
.news-block {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  grid-gap: 30px;
  align-items: center;
  padding: 1em;
  margin: 10px 0;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 20%);
  border-radius: 3px;
}
  .news-block > aside {
    display: flex;
    border-radius: 3px;
  }
    .news-block > aside img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 0 3px 3px 0;
    }
    .news-block .news-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1em;
      border: 1px solid var(--lightgrey);
      border-radius: 3px;
    }
  .news-block .file {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--blue);
  }
    .news-block .file i {
      font-size: 38px;
      color: var(--white);
    }
    .news-block .file span {
      font-size: 11px;
      color: var(--white);
      padding: 4px 0 0;
    }
  .news-block h3,
  .news-block h3 a {
    font-size: 20px;
    color: var(--blue);
  }
    .news-block h3 a:hover {
      color: var(--red);
    }
a.no-img {
  position: relative;
  width: 100%;
  background: var(--blue);
}
a.no-img img {
  mix-blend-mode: screen;
}
a.no-img:after {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: '';
  width: 80%;
  height: 100%;
  background: url(../images/acada-logo-white.png) no-repeat center center;
  background-size: contain;
}
.publication-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--red);
  border-radius: 3px 0 0 3px;
  padding: 20px;
  color: var(--white);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  text-align: center;
}
  .publication-date .day {
    font-size: 44px;
  }
  .publication-date i {
    font-size: 24px;
    margin: 0 0 6px;
  }
  .publication-date span {
    display: block;
  }
.news-info {
  display: grid;
}
  .news-info h3 + p {
    font-size: 14px;
    color: #585858;
    margin: -25px 0 25px;
  }
  .news-info .description {
    font-size: 16px;
    margin: 0 0 15px;
  }
.news-info .meta {
  display: grid;
  grid-template-columns: 2fr 8fr;
  align-items: center;
  font-size: 14px;
  padding: 5px 0;
}
  .news-info .meta p {
    color: var(--darkgrey);
    margin: 0 5px 0 0;
    text-align: right;
  }
  .news-info .meta span {
    display: inline-block;
    padding: 4px 8px;
    margin: 3px;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    background: var(--lightgrey);
    border-radius: 3px;
  }
  .news-info .meta span.tag {
    background: #f3f3f3;
  }
.related-companies {
  display: grid;
  grid-template-columns: 1fr 8fr;
  align-items: flex-start;
  font-size: 14px;
  padding: 5px 0;
}
  .related-companies p {
    color: var(--darkgrey);
    margin: 4px 5px 0 0;
  }
  .related-companies span {
    display: inline-block;
    padding: 4px 8px;
    margin: 3px;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    background: var(--lightgrey);
    border-radius: 3px;
  }
.summary-link {
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
  .summary-link i {
    color: var(--red);
  }
  .summary-link:hover {
    color: var(--red);
  }
@media screen and (max-width: 1024px) {
  #news-wrap {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  .show-all-btn {
    display: block !important;
    opacity: 1 !important;
    position: relative;
    top: 0;
  }
}
@media screen and (max-width: 768px) {
  .news-block {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
}

/* single resource */

#news-single {
  display: grid;
  grid-template-columns: 5fr 2fr;
  grid-gap: 60px;
}
#news-sidebar .button {
  width: 100%;
  justify-content: center;
  margin: 0;
}
#news-sidebar .button-wrap .button + .button {
  color: var(--white);
  background: var(--red);
  margin-left: 0;
}
#news-sidebar article {
  padding: 20px;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 20%);
  margin: 30px 0 0;
}
#news-sidebar h5 {
  font-size: 22px;
}
#news-sidebar article.deadline h5 {
  margin: 0;
}
  #news-sidebar article.deadline h5 span {
    color: var(--darkgrey);
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }
#news-sidebar .promote-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}
  #news-sidebar .promote-buttons a {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
  }
    #news-sidebar .promote-buttons a.linkedin {
      background: #0077b5;
    }
      #news-sidebar .promote-buttons a.linkedin:hover {
        background: #0783c5;
      }
    #news-sidebar .promote-buttons a.twitter {
      background: #1DA1F2;
    }
      #news-sidebar .promote-buttons a.twitter:hover {
        background: #30a9f5;
      }
    #news-sidebar .promote-buttons a.facebook {
      background: #4267B2;
    }
      #news-sidebar .promote-buttons a.facebook:hover {
        background: #4d76c7;
      }
#news-sidebar .meta .block {
  display: inline-block;
  padding: 4px 8px;
  margin: 3px;
  font-size: 11px;
  color: var(--black);
  text-transform: uppercase;
  text-align: center;
  background: var(--lightgrey);
  border-radius: 3px;
  transition: all 0.1s ease-out;
}
  #news-sidebar .meta a.block:hover {
    color: var(--white);
    background: var(--darkgrey);
  }
#news-main a {
  font-weight: 700;
}
#news-main .last-updated {
  font-size: 14px;
  color: #585858;
  padding: 10px 0;
  border-top: 1px dotted #cecece;
  border-bottom: 1px dotted #cecece;
}
@media screen and (max-width: 768px) {
  #news-single {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  #news-sidebar {
    text-align: center;
  }
}

/* single news */

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0 20px;
  align-items: start;
  padding: 1em;
  margin: 10px 0;
  box-shadow: 0 0 6px 0 rgba(0,0,0,0.2);
  border-radius: 3px;
}
  .news-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
  }
  .news-item .excerpt {
    font-size: 14px;
    margin: 0 0 5px;
  }
  .news-item .info-block {
    margin: 0;
  }
  .news-item .read-more {
    font-size: 14px;
    letter-spacing: 0;
    padding: 0;
  }
  .news-item .date-block {
    display: grid;
    justify-items: center;
    align-content: center;
    background: #f3f3f3;
    padding: 10px;
  }
  .news-item .date-block .month,
  .news-item .date-block .day,
  .news-item .date-block .year {
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    text-transform: uppercase;
  }
  .news-item .date-block .month {
    font-size: 18px;
  }
  .news-item .date-block .day {
    font-size: 28px;
  }
  .news-item .date-block .year {
    font-size: 14px;
    line-height: 1.3;
  }