/* =======================================================
Hero
=======================================================*/
#hero{
    min-height: 360px;
    background-image:url('/wp-content/uploads/Category-Page-Banner-Image.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}
#hero .container{
    height: 100%;
}
#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;
}
/* =======================================================
Experience
=======================================================*/

#filters .experience {
    margin: 20px 0 40px;
}
#filters .experience .fa-solid {
    -webkit-text-stroke: 1.5px #A7204F;
    text-stroke: 1.5px #A7204F;
    font-size: 18px;
}
#filters .experience .fa-regular {
    color: transparent !important;
    -webkit-text-stroke: 1.5px #A7204F;
    text-stroke: 1.5px #A7204F;
    font-size: 18px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
#filters .experience .stars {
    display: flex;
    justify-content: flex-end;
}
#filters .experience .stars span {
    font-family: 'VAGRoundedLTProBold';
    margin-right: 20px;
}
#filters .experience .stars .star span {
    font-family: 'VAGRoundedLTProLight';
    margin-left: 5px;
}
#filters .experience input {
    border: 2px solid #A7204F;
    border-radius: 0;
    height: 20px;
    width: 20px;
    position: relative;
    bottom: 2px;
    right: 2px;
}
#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");
}
/* =======================================================
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 .interests{
    display: flex;
    justify-content: space-between;
    position: relative;
}
#filters .interests .dropdown{
    position: relative;
    width: 260px;
}
#filters .interests .dropdown button{
    width: 260px;
    height: 46px;
    border: 2px solid #a7204f;
    border-radius: 4px;
    background: #fff;
    font-family: 'VAGRoundedLTProBold';
    color: #A7204F;
    text-align: left;
    padding: 3px 17px 0;
    position: relative;
}
#filters .interests .dropdown-toggle::after {
    position: absolute;
    right: 17px;
    top: 20px;
    border-top: .33em solid;
    border-right: .33em solid transparent;
    border-left: .33em solid transparent;
}

#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;
    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");
}
/* =======================================================
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;
}
/* =======================================================
PAGINATION
=======================================================*/
.pag-wrap {
  text-align: center;
  margin: 2rem 0;
}

.pag {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
}

.pag .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: #393939;
  text-decoration: none;
    border: 1px solid #D9D9D9;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  min-width: 2.5rem;
  text-align: center;
}

.pag .page-numbers:hover {
  background-color: #e9ecef;
  border-color: #D9D9D9;
  color: #000;
}

.pag .current {
  background-color: #EC6097;
  color: #fff;
  border-color: #EC6097;
  cursor: default;
}

.pag .dots {
  padding: 0.5rem 0.75rem;
  color: #393939;
  cursor: default;
}

.pag .next,
.pag .prev {
  font-weight: bold;
}

/* =======================================================
RESPONSIVE
=======================================================*/
@media(max-width: 1400px){

    #filters .container {
        max-width: 100%;
    }
    #filters .interests .dropdown {
        position: relative;
        width: 100%;
    }
    #filters .interests .dropdown button {
        width: 90%;
    }
}
@media(max-width: 1200px){
    #filters .experience .stars {
        justify-content: flex-start;
    }
        #filters .interests {
        justify-content: flex-start;
        margin-top: 20px;
        gap: 0 15px;
    }
    #filters .container {
        max-width: 100%;
    }
}

@media(max-width: 991px){
    #filters .experience .stars span{
        width: 100%;
        margin-bottom: 10px;
    }
    #filters .experience .stars {
        flex-wrap: wrap;
    }
    #filters .experience .star {
        width: 33%;
    }
}
@media(max-width: 767px){
    #filters .experience .star {
        width: 100%;
    }
    #filters .post_types {
        flex-wrap: wrap;
        gap: 10px 0;
    }
    #filters .interests {
        flex-wrap: wrap;
        gap: 15px 0;
    }
    #filters .interests .dropdown {
        width: 100%;
    }
    #filters .interests .dropdown button {
        width: 100%;
    }
}