/* =======================================================
Hero
=======================================================*/
#hero{
    min-height: 360px;
    background-image:url('/wp-content/uploads/2025/06/asset-1.png');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}
#hero .container{
    height: 100%;
    display: flex;
}
#hero .row{
    align-items: center;
    height: 100%;
}
#hero h1{
    font-family: 'VAGRoundedLTProLight';
    color: #fff;
    font-size: 50px;
    line-height: 71px;
    margin-bottom: 10px;
}
#hero p{
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
}
/* =======================================================
Post Types
=======================================================*/

#filters .post_types{
    display: flex;
    
}
#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;
    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.resource{
    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.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;
}
/* =======================================================
Interests
=======================================================*/
#filters{
    padding: 40px 0 0;
}
#filters .post_types{
    margin-top: 40px;
}
#filters .interests{
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 0 10px;
}
#filters .interests .dropdown {
    position: relative;
    width: fit-content;
    width: 100%;
}
#filters .interests .dropdown button {
    width: 100%;
    height: 46px;
    border: 1px solid #A2A2A2;
    border-radius: 4px;
    background: #fff;
    font-family: 'VAGRoundedLTProBold';
    color: #A7204F;
    text-align: left;
    padding: 0 30px 0 17px;
    position: relative;
}
#filters .interests .dropdown-toggle::after {
    position: absolute;
    right: 17px;
    top: 20px;
}

#filters .interests .dropdown-menu.show {
    display: block;
    width: 100%;
    position: absolute;
    transform: translate(0, 48px) !important;
    padding: 10px;
    overflow-y: scroll;
    height: auto;
    max-height: 500px;
    min-height: 200px;
    top: 0 !important;
}
#filters .interests label{
    font-size: 13px;
}
#filters .interests .dropdown ul li{
    margin: 7px 0;
    list-style: none;
}
#filters .interests .dropdown ul.list-0{
    padding: 0;
}
#filters .interests .dropdown .list-item-0{
    color: #000000;
    font-family: 'VAGRoundedLTProBold';
}
#filters .interests input {
    border: 2px solid #A7204F;
    border-radius: 0;
    height: 20px;
    width: 20px;
    position: relative;
    bottom: 2px;
    right: 2px;
    cursor: pointer;
}
#filters .form-check-input:checked {
    background-color: #fff;
    border-color: #A7204F;
}
#filters .form-check-input:checked[type=checkbox] {
    background-image: url("/wp-content/uploads/2025/06/check-solid.svg");
}
#filters .search-wrap {
    position: relative;
}
#filters .search-wrap input {
    height: 48px;
    border-radius: 52px;
    width: 300px;
    border: 1px solid #A2A2A2;
    cursor: auto;
    padding-left: 20px;
}
#filters .search-wrap button {
    position: absolute;
    top: -2px;
    right: 0;
    border: 0;
    background: none;
    color: #A7204F;
    height: 48px;
    width: 48px;
}
/* =======================================================
Pills
=======================================================*/
#filters .pills{
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
}
#filters .pills p{
    white-space: nowrap;
    font-family: 'VAGRoundedLTProBold';
    margin-right: 10px;
    margin-bottom: 0;
    position: relative;
    top: 4px;
}
#filters .pill{
    border: 1px solid #C8C8C8;
    border-radius: 161px;
    background: #F6F6F6;
    height: 32px;
    padding: 0 20px 0 0;
    color: #000;
    font-family: 'VAGRoundedLTProBold';
    display: flex;
    align-items: center;
    font-size: 13px;
    margin: 0 15px 15px 0 !important;
}
#filters .pill::before{
    content: 'x';
    cursor: pointer;
    padding: 0 10px 0 15px;
}

/* =======================================================
POSTS
=======================================================*/
#posts{
    margin: 40px 0 50px;
}
#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;
}
#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 .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 .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;
}



#filters .wrap{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#filters .wrap .dropdowns {
    display: flex;
    justify-content: space-around;
    width: auto;
    flex: 1;
    gap: 15px;
    padding: 0 0 0 20px;
}

#filters #resourceSearch{
    width: 300px;
    margin-bottom: 20px;
}

@media(max-width:1400px){
    #filters .wrap .dropdowns{
        width: 70%;
    }
    #filters .container {
        max-width: 100%;
    }
}

@media(max-width:1200px){ 
    #filters .wrap{
        flex-direction: column;
    }
    #filters .wrap .dropdowns{
        display: flex;
        justify-content: start;
        width: 100%;
        flex-wrap: wrap;
    }
    #filters .dropdown{
        margin-right: 20px;
        margin-bottom: 20px;
    }
    #filters .post_types{
        margin-top: 20px;
        flex-wrap: wrap;
    }
    #posts{
        margin-top: 20px;
    }
    #filters .post_type{
        margin-bottom: 20px;
    }
}
