.resources-hero{
  margin: 148px 20px 0;
  padding: 10px 0 0;
}

.resources-hero-container{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
@media screen and (max-width:1024px){
  .resources-hero{
    margin: 112px 20px 0;
  }
}
@media (max-width: 900px) {
  .resources-hero-container{
    flex-direction: column;
  }
}

.featured-resource{
  box-shadow: 0 5px 20px rgba(194, 194, 194, .2);
  border-radius: 0 0 8px 8px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 480px;
  width: 70%;
}

@media (max-width: 900px) {
  .featured-resource{
    width: 100%;
    margin: .5em 0;
  }
}

.featured-resource-thumbnail{
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
}

.side-resource{
  background-color: #32bfc6;
  height: 480px;
  width: 30%;
  margin-left: 1em;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(194, 194, 194, .2);
}

@media (max-width: 900px) {
  .side-resource{
    width: 100%;
    margin: .5em 0;
  }
}

.side-resource-thumbnail{
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .side-resource-thumbnail{
    height: 350px;
  }
}

.side-resource .resource-content{

}

.side-resource .resource-content .resource-title{
  color: #fff;
}

.side-resource .resource-content .resource-description{
  color: #fff;
}

.side-resource .resource-content .resource-button{
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}


.resource-content{
  display: flex;
  align-items: space-between;
  flex-direction: column;
  margin: 1.5em;
  flex-grow: 1;
  justify-content: space-between;
}

.resource-title{
  margin-bottom: 1em;
  text-align: left !important;
  color: #32bfc6;
}

.resource-description *{
  font-size: 18px !important;
  max-height: 150px;
  overflow: hidden;
  font-family: Montserrat;
}

.resource-content .resource-button{
  background-color: #32bfc6;
  border: 2px solid #32bfc6;
  color: #fff;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  line-height: 16px;
  width: max-content;
  margin-top: 1em;
}


/*////////// SCOLLBAR STYLES ////////////*/

.personalised-resources::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}

.personalised-resources::-webkit-scrollbar-track {
  background-color: transparent;
}

.personalised-resources::-webkit-scrollbar-thumb {
  background-color: #d4d4d4;
  border-radius: 32px;
}


.personalised-resources::-webkit-scrollbar-thumb:hover{
  background-color: #8f8f8f;
}
