#hero {
    padding: 40px 0;
    background: #152C36;
}

#hero h1 {
    color: #fff;
    font-family: 'VAGRoundedLTProLight';
    font-size: 31px;
    line-height: 42px;
    margin-bottom: 30px;
}

#hero .text p {
    color: #fff;
    margin: 0;
}

#hero .content {
    padding-bottom: 30px;
    border-bottom: 1px solid #747474;
    margin-bottom: 30px;
}

#hero .row {
    align-items: center;
}

#hero .text {
    color: #fff;
}

/* =======================================================
Filters
=======================================================*/
#filters{
    padding: 40px 0;
}
#filters .post_types{
    margin-top: 30px;
}

#filters .post_types{
    display: flex;
    flex-wrap: wrap;
}
#filters .post_type{
    border: 1px solid #A7204F;
    border-radius: 50px;
    height: 45px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-family: 'VAGRoundedLTProBold';
    margin-right: 10px;
    margin-top: 10px;
    cursor: pointer;
}
#filters .post_type img{
    height: 17px;
    margin-right: 5px;
}
#filters .post_type.active{
    border-color: #A7204F !important;
    border-width: 2px !important;
}
#filters .post_type:hover{
    border-color: #A7204F !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#filters .post_type.all{
    background: #FFECF4;
    border: 1px solid #A7204F;
}
#filters .post_type.resources{
    background: #FFFAEE 0% 0% no-repeat padding-box;
    border: 1px solid #FED164;
}
#filters .post_type.case-study{
    background: #E6FEED 0% 0% no-repeat padding-box;
    border: 1px solid #94C1A0;
}
#filters .post_type.categories{
    background: #FFF1EA 0% 0% no-repeat padding-box;
    border: 1px solid #F4A37A;
}
#filters .post_type.groups{
    background: #E6F5FE 0% 0% no-repeat padding-box;
    border: 1px solid #81D2FF;
}
#filters .post_type.sfwd-courses{
    background: #E6F5FE 0% 0% no-repeat padding-box;
    border: 1px solid #81D2FF;
}
#filters .post_type.funding{
    background: #EDE6FF 0% 0% no-repeat padding-box;
    border: 1px solid #C7B4FF;
}
#filters .post_type.collection{
    background: #FFE9E6 0% 0% no-repeat padding-box;
    border: 1px solid #FFC1B4;
}

#filters .post_type.forum{
    background: #FFE8FB 0% 0% no-repeat padding-box;
    border: 1px solid #FF9BEE;
}
#filters .post_type.organisation {
    background: #BFE3DF 0% 0% no-repeat padding-box;
    border: 1px solid #E57373;
}


/* =======================================================
POSTS
=======================================================*/
#posts{
    margin: 40px 0 50px;
}
#posts .post-item{
    margin-bottom: 20px;
}
#posts .inner{
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    height: 100%;
}
#posts .top{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 15px 15px;
    border-bottom: 1px solid #94C1A0;
    border-radius: 4px 4px 0 0;
}
#posts .top img{
    height: 30px;
    margin-right: 15px;
}
#posts .top h5{
    margin: 0;
    color: #333333;
    font-size: 16px;
}
#posts .top .new{
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  --f: .5em; /* control the folded part*/
  --r: .5em; /* control the ribbon shape */
  position: absolute;
  top: 18px;
  right: calc(-1*var(--f));
  padding-inline: .65em;
  line-height: 1.8;
  background: #EC6097;
  border-bottom: var(--f) solid #0005;
  border-left: var(--r) solid #0000;
  clip-path: 
    polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
      calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
      var(--r) calc(50% - var(--f)/2));
}

#posts .resources .top{
    background: #FFFAEE;
    border-color: #FED164;
}
#posts .case-studies .top{
    background: #E6FEED;
    border-color: #94C1A0;
}
#posts .funding .top{
    background: #EDE6FF;
    border-color: #C7B4FF;
}
#posts .groups .top{
    background: #E5F5FE;
    border-color: #81D2FF;
}
#posts .organisation .top {
    background: #BFE3DF;
    border-color: #E57373;
}
#posts .sfwd-courses .top{
    background: #E5F5FE;
    border-color: #81D2FF;
}
#posts .inner{
    border: 1px solid #D9D9D9;
    border-radius: 4px;
}
#posts .top{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 15px 15px;
    border-bottom: 1px solid #94C1A0;
}
#posts .top img{
    height: 30px;
    margin-right: 15px;
}
#posts .top h5{
    margin: 0;
    color: #333333;
    font-size: 16px;
}
#posts .top .new{
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  --f: .5em; /* control the folded part*/
  --r: .5em; /* control the ribbon shape */
  position: absolute;
  top: 18px;
  right: calc(-1*var(--f));
  padding-inline: .65em;
  line-height: 1.8;
  background: #EC6097;
  border-bottom: var(--f) solid #0005;
  border-left: var(--r) solid #0000;
  clip-path: 
    polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
      calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
      var(--r) calc(50% - var(--f)/2));
}

#posts .resources .top{
    background: #FFFAEE;
    border-color: #FED164;
}
#posts .case-studies .top{
    background: #E6FEED;
    border-color: #94C1A0;
}
#posts .funding .top{
    background: #EDE6FF;
    border-color: #C7B4FF;
}
#posts .sfwd-courses .top{
    background: #E5F5FE;
    border-color: #81D2FF;
}
#posts .collection .top{
    background: #FFE9E6;
    border-color: #FFC1B4;
}
#posts .categories .top{
    background: #FFF1EA;
    border-color: #F4A37A;
}
#posts .forum .top{
    background: #FFE8FB;
    border-color: #FF9BEE;
}


#posts .bottom{
    padding: 24px;
}
#posts .bottom h4{
    color: #393939;
    font-size: 18px;
    line-height: 27px;
}
#posts .experience{
    margin: 15px 0 0;
}
#posts .experience p{
    margin: 0;
    font-family: 'VAGRoundedLTProLight';
}
#posts .experience p span{
    color: #A7204F;
    font-family: 'VAGRoundedLTProBold';
}
#posts .provided{
    margin: 15px 0 0;
}
#posts .provided p{
    margin: 0;
    font-family: 'VAGRoundedLTProLight';
}
#posts .provided p span{
    color: #A7204F;
    font-family: 'VAGRoundedLTProBold';
}
#posts a{
    text-decoration: none;
    color: #040707;
}
#posts .Closed{
    display: none !important;
}

@media(max-width: 991px){
    #filters .post_types{
        flex-wrap: wrap;
        gap: 10px 0;
    }
    #filters{
        padding: 20px 10px;
    }
}