#resource-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 5fr;
  grid-gap: 100px;
  align-items: start;
}
#resource-wrap.executive {
  grid-template-columns: 1fr;
}
.hidden {
  display: none;
}
#resources-sidebar h5 {
  font-size: 20px;
  text-transform: uppercase;
}
#resources-sidebar .filter-list {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}
  #resources-sidebar .filter-list a {
    display: inline-block;
    padding: 3px 0;
    cursor: pointer;
  }
  #resources-sidebar .filter-list a:hover,
  #resources-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);
    }
.resource-block {
  display: grid;
  grid-template-columns: 1fr 8fr;
  grid-gap: 60px;
  align-items: start;
  padding: 1em;
  margin: 10px 0;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 20%);
  border-radius: 3px;
}
  .resource-block .file {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 15px;
    background: var(--blue);
  }
    .resource-block .file i {
      font-size: 38px;
      color: var(--white);
    }
    .resource-block .file span {
      font-size: 11px;
      color: var(--white);
      padding: 4px 0 0;
    }
  .resource-block h3,
  .resource-block h3 a {
    font-size: 20px;
    color: var(--blue);
  }
    .resource-block h3 a:hover {
      color: var(--red);
    }
  .executive .resource-block h3,
  .executive .resource-block h3 a {
    font-size: 24px;
  }
.resource-info {
  display: grid;
}
  .resource-info .description {
    font-size: 16px;
    margin: 0 0 15px;
  }
.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 a {
    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;
  }
    .related-companies a:hover {
      color: var(--white);
      background: var(--darkgrey);
    }
.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: 768px) {
  #resource-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: 580px) {
  .resource-block {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  .related-companies {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .related-companies p {
    margin: 0 0 5px;
  }
  .related-companies .companies {
    display: grid;
  }
}

/* single resource */

#resource-single {
  display: grid;
  grid-template-columns: 5fr 2fr;
  grid-gap: 60px;
}
#resource-sidebar .button {
  width: 100%;
  justify-content: space-between;
  font-size: 11px;
  text-align: left;
  margin: 0 0 5px;
}
#resource-sidebar .button-wrap .button + .button {
  color: var(--white);
  background: var(--red);
  margin-left: 0;
}
#resource-sidebar article {
  padding: 20px;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 20%);
}
#resource-sidebar article:not(:last-child) {
  margin: 0 0 30px;
}
#resource-sidebar h5 {
  font-size: 22px;
}
#resource-sidebar .promote-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}
  #resource-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;
  }
    #resource-sidebar .promote-buttons a.linkedin {
      background: #0077b5;
    }
      #resource-sidebar .promote-buttons a.linkedin:hover {
        background: #0783c5;
      }
    #resource-sidebar .promote-buttons a.twitter {
      background: #1DA1F2;
    }
      #resource-sidebar .promote-buttons a.twitter:hover {
        background: #30a9f5;
      }
    #resource-sidebar .promote-buttons a.facebook {
      background: #4267B2;
    }
      #resource-sidebar .promote-buttons a.facebook:hover {
        background: #4d76c7;
      }
#resource-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;
}
  #resource-sidebar .meta a.block:hover {
    color: var(--white);
    background: var(--darkgrey);
  }
#resource-main a {
  font-weight: 700;
}
#resource-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) {
  #resource-single {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  #resources-sidebar {
    text-align: center;
  }
}