/* VARIABLES */
:root {
    /* Colors: Main */
    --ascend-blue-100: #2EA3F2;
    --ascend-blue-200: #0077C8;
    --ascend-blue-300: #0A4A7A;
    --ascend-blue-400: #11354E;
    --ascend-lime: #8CBB3F;
    --ascend-white: #FFFFFF;
    --ascend-gray-200: #989898;
    --ascend-gray-300: #666666;
    --ascend-gray-500: #000000;
    --ascend-black: #000000;
    /* Colors: Ascend Brand */
    --ascend-yellow: #FFDE37;
    --ascend-orange: #F28E20;
    --ascend-navy: #0A4A7A;
    --ascend-purple: #6E398B;
    /* Box Shadow */
    --ascend-shadow-sm: 0px 0px 10px 0px rgba(17, 53, 78, 0.15);
}

/* TYPOGRAPHY */
.capitalize {
    text-transform: capitalize !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.cf-heading {
    font-family: "Bebas Neue";
    /* font-family: "Bebas Neue Pro"; */
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 116%;
}

.cf-hero-h3 {
    font-family: "Bebas Neue";
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cf-h3 {
    font-family: "Bebas Neue";
    font-size: 39px;
    font-style: normal;
    font-weight: 600;
    line-height: 123%;
    text-transform: uppercase;
}

.cf-hero-h4 {
    font-family: "Bebas Neue";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cf-h4 {
    font-family: "Bebas Neue";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cf-card-heading {
    /* font-family: "Bebas Neue Pro"; */
    font-family: "Bebas Neue";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 113%;
}

.text-blue {
    color: var(--ascend-blue-200);
}

.text-black {
    color: var(--ascend-black);
}

.text-white {
    color: var(--ascend-white) !important;
}


/* LAYOUT */
.container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* BUTTONS */
.cf-button {
    cursor: pointer;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    text-transform: uppercase;
    font-family: 'Bebas Neue';
    padding: 10px 30px;
}

.cf-button.btn-blue {
    background-color: var(--ascend-blue-200);
    color: var(--ascend-white) !important;
}

.cf-button.btn-white {
    background-color: var(--ascend-white);
    color: var(--ascend-black) !important;
}

.cf-button.btn-navy {
    background-color: var(--ascend-blue-400);
    color: var(--ascend-white) !important;
}

.cf-button.btn-green {
    background-color: var(--ascend-lime);
    color: var(--ascend-blue-400) !important;
}

.cf-page a, .cf-page .cf-button {
    transition: all 300ms ease;
}

/* SWIPER SLIDER */
.swiper-container {
    overflow: hidden;
    padding: 20px ;
    margin-left: -20px;
    margin-right: -20px;
}
.swiper-wrapper {
    align-items: stretch;
}

.swiper-wrapper .swiper-slide {
    height: auto !important;
}

.swiper-button-next::before, .swiper-button-prev::before {
    color: var(--ascend-white);
    font-size: 32px;
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}
.swiper-button-next {
    transform: translate(60px, 30px);
}

.swiper-button-prev {
    transform: translate(-60px, 30px);
}

/* TAGS */
.cf-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cf-tags .tag {
    display:flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    text-transform: capitalize;
    color: var(--ascend-white) !important;
    text-decoration: none !important;
    background-color: var(--ascend-blue-200);
    gap: 8px;
}

.cf-tags .tag.tag-round {
    border-radius: 25px;
    padding: 8px 14px;
}

.cf-tags .tag.tag-square {
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
}

.cf-tags .tag svg {
    fill: var(--ascend-white);
}
/* TAGS ends here */

/* ######## BACKGROUND IMAGE ######## */
div:has(>.container__bg) {
    position: relative;
}

.container__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 105vw;
    background-position: center; 
    background-size: cover; 
    z-index: 1;
        max-height: 100%;
    overflow: hidden;
}

.container__bg ~ .container {
    position: relative;
    z-index: 2;
}

.container__bg.video video {
    position: absolute;
    top: -40%;
    left: 0;
    min-width: 100%;
    object-fit: cover;
    min-height: 140%;
    height: auto;
    /* transform: translateY(-20%); */
}

.container__bg.video::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 20%, rgba(0, 0, 0, 0) 80%);

}


/* ######## PAGE HEADER ######## */
.cf-grid-page-header {
    min-height: 220px;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
}

.cf-grid-page-header h1, .cf-grid-page-header .entry-title {
    text-align: center;
    padding-top: 12px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cf-grid-page-header h1, .cf-grid-page-header .entry-title {
        font-size: 48px;
    }
}

.cf-grid-page-header.network-partner {
    min-height: 580px;
}

.cf-grid-page-header .container__bg {
    background-image: url('/wp-content/themes/ascend-681/assets/img/page-header-profiles.jpg');
    background-size: cover;
}

.cf-grid-page-header.network-partner .container__bg {
    background-image: url('/wp-content/themes/ascend-681/assets/img/page-header-networks.jpg');
    /* background-position: 50% 0; */
}

#primary{
    position: relative;
    overflow: visible;
    padding-top: 0;
}

#primary.network-partner:before {
    position: absolute;
    content: '';
    background-image: url('/wp-content/themes/ascend-681/assets/img/network-main-bg.png');
    background-repeat: no-repeat;
    left: -14em;
    bottom: 320px;
    background-size: 500px auto;
    height: 840px;
    width: 500px;
    z-index: -1;
}

@media screen and (max-width: 922px){
    #primary.network-partner:before{
        display: none;
    }
}


.cf-grid-page-header .container {
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 2;
    flex-direction: center;
}

.cf-grid-page-header.network-partner .container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.cf-grid-page-header h1 {
    color: var(--ascend-white);
}

.cf-grid-page-header.network-partner h1 {
    color: var(--ascend-blue-400);
}

.cf-grid-page-header.network-partner .description {
    max-width: 550px;
    color: var(--ascend-blue-400);
    font-size: 18px;
    line-height: 1.5;
}


/* ######## SEARCH BAR ######## */
.cf-grid-searchbar .container__bg {
    background-color: var(--ascend-lime);

}

.cf-grid-searchbar .container {
    padding: 16px 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cf-grid-searchbar .container .search-form__wrapper {
    max-width: 780px;
    width: 100%;
}

.cf-grid-searchbar .container .search-form__wrapper .facetwp-facet-group_search {
    margin-bottom: 0;
}

.cf-grid-searchbar .container .search-form__wrapper form, .cf-grid-searchbar .container .search-form__wrapper .facetwp-facet-group_search .facetwp-search {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: var(--ascend-white);
    border-radius: 3px;
    overflow: hidden;
}

.cf-grid-searchbar .container .search-form__wrapper .facetwp-facet-group_search .facetwp-input-wrap i {
    opacity: 1;
}

.cf-grid-searchbar .container .search-form__wrapper .facetwp-facet-group_search .facetwp-input-wrap i{
    animation: none !important;
}

.cf-grid-searchbar .container .search-form__wrapper .facetwp-facet-group_search .facetwp-input-wrap i:before {
    display: inline-block;
    content: 'SEARCH';
    width: 80px;
    height: 100%;
    background: none;
    position: absolute;
    right: 6px;
    top: 15px;
    font-size: 24px;
    font-weight: 700;
    font-family: Bebas Neue, Helvetica, Arial, sans-serif;
    color: var(--ascend-blue-200);
    font-style:normal;
    animation: none !important;
}

.cf-grid-searchbar .container .search-form__wrapper form i {
    display: none;
}

.cf-grid-searchbar .container .search-form__wrapper form label {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border: none !important;
    background-color: transparent !important;
}

.cf-grid-searchbar .container .search-form__wrapper form input:not([type=submit]) {
    width: 100%;
    background-color: transparent;
    border: none;
}

.cf-grid-searchbar .container .search-form__wrapper form input[type=submit] {
    background-color: transparent;
    color: var(--ascend-blue-200);
}




/* ######## GRIDS ######## */
.cf-grid__wrapper {
    width: 100%;
    /*display: grid;*/
    display: flex;
    grid-template-columns: 1fr 3fr;
    gap: 32px;
    padding: 50px 0;
    align-items: flex-start;
}

.cf-grid__wrapper div.grid-items{
    flex-grow: 1;
}

.cf-grid__wrapper div.grid-items .facetwp-template{
    display: flex;
    flex-wrap: wrap;
}

.cf-grid__wrapper div.grid-items .facetwp-template>a{
    width: 30%;
    align-self: stretch;
    flex: 0 1 auto;
}

@media screen and (max-width: 1095px){
    .cf-grid__wrapper div.grid-items .facetwp-template>a{
        width: 47%;
    } 
}

@media screen and (max-width: 988px){
    .cf-grid__wrapper{
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .cf-grid__wrapper .grid-items{
        width: 383px;
    }
    
    .cf-grid__wrapper div.grid-items .facetwp-template>a{
        width: 100%;
    } 
}

@media screen and (max-width: 430px){
    .cf-grid__wrapper .grid-items, .cf-grid__wrapper div.sidebar{
        width: 320px;
        min-width: 320px;
    }
}

@media screen and (max-width: 782px){
    .cf-grid__wrapper{
        flex-wrap: wrap;
    }

    .cf-grid__wrapper div .facetwp-template{
        grid-template-columns: 1fr;
    }
}

/* SIDEBAR */
.cf-grid__wrapper .sidebar {
    display: flex;
    width: 383px;
    min-width: 383px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(17, 53, 78, 0.15);
    background-color: var(--ascend-white) !important;
}

/*.cf-grid__wrapper .sidebar.group{
    width: 320px;
    min-width: 320px; 
}*/

.cf-grid__wrapper .sidebar .sidebar-bottom{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-grid__wrapper .sidebar .sidebar-bottom p{
    color: var(--ascend-blue-200);
    text-transform: capitalize;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    font-family: "Bebas Neue";
}

.cf-grid__wrapper .sidebar .sidebar-bottom a{
    width: 100%;
    background-color: var(--ascend-blue-200);
    color: white;
    padding: 8px 20px;
    text-align: center;
    border-radius: 3px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    font-family: "Bebas Neue";
    line-height: 150%;
    text-transform: uppercase;
}

.cf-grid__wrapper .sidebar .sidebar-bottom a:hover{
    background-color: var(--ascend-blue-400);
}

 .cf-grid__wrapper .sidebar .sort-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    align-self: stretch;
} 

/* .cf-grid__wrapper .sidebar .sort-box svg#grid-filter-clear {
    pointer-events: auto;
}  */


.sort-component {
    gap:0;
  }
  
  .sort-component p {
    color: #0077C8;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.5px;
  }
  
  .sort-component .facetwp-facet-sort_resources {
    text-align: right;
    margin-top:0;
    position: relative;
    }
  
  .sort-component .fs-wrap {
    text-align:right;
    position:absolute;
    right:0;
  }
  
  .sort-component .fs-label-wrap {
    border: 0px;
    background:none;
  }
  
  .sort-component .fs-label {
    display: none;
  }
  
  .sort-component .facetwp-facet-sort_resources {
    margin: -21px 15px 0 0;
  }
  
  .sort-component .fs-arrow {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 18 12" fill="none"><path d="M0 12V10H6V12H0ZM0 7V5H12V7H0ZM0 2V0H18V2H0Z" fill="%230077C8"/></svg>') center no-repeat;
    display: inline-block;
    width: 18px;
    height: 12px;
    border:0;
    cursor:pointer;
    transform:none;
    transition:200ms color linear;
    margin-right:14px;
    margin-bottom: -2px;
    position:static;
  }
  
  @media(max-width:781px) {
    .sort-component .wp-block-column.is-layout-flow, .filter-heading-component .wp-block-column.is-layout-flow {
      flex-basis: 45% !important;
      flex-grow: 0;
    }
  }
  
  .sort-component .fs-open .fs-arrow {
    transform: none;
  }
  
  .sort-component .fs-dropdown {
    margin-top: 5px;
    margin-left: -178px;
    width: 200px;
  }
  







.cf-grid__wrapper .sidebar .taxonomy-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.cf-grid__wrapper .sidebar .taxonomy-selector .taxonomy-title {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: left;
}

.cf-grid__wrapper .sidebar .taxonomy-selector .taxonomy-title .tooltip a{
    color: #fdfdfd;
    text-decoration: underline;
}

.cf-grid__wrapper .sidebar .taxonomy-selector form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}






.cf-grid__wrapper .sidebar .facetwp-type-checkboxes{
    display: flex;
    flex-direction: column;
}

.cf-grid__wrapper .sidebar .facetwp-checkbox {
    position: relative;
    padding: 0 0 8px 34px;
    display: flex;
    cursor: pointer;
    user-select: none;
    background-image: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.cf-grid__wrapper .sidebar .facetwp-checkbox .subtopic-expander{
    margin-left: auto;
}

.cf-grid__wrapper .sidebar .facetwp-checkbox .subtopic-expander svg{
    width: 24px;
    height: 24px;
    fill: var(--ascend-blue-200);
}

.cf-grid__wrapper .sidebar .facetwp-checkbox .subtopic-expander svg.topic-minus{
    display: none;
}

.cf-grid__wrapper .sidebar .facetwp-checkbox .facetwp-expand {
    display: none;
}


.cf-grid__wrapper .sidebar .facetwp-checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid var(--ascend-gray-500);
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.cf-grid__wrapper .sidebar .facetwp-checkbox::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s, border-color 0.3s;
}


.cf-grid__wrapper .sidebar .facetwp-checkbox.checked::before {
    background-image: none;
    border-color: var(--ascend-blue-200);
}

.cf-grid__wrapper .sidebar .facetwp-checkbox.checked::after {
    background-image: none;
    background-color: var(--ascend-blue-200);
}


.cf-grid__wrapper .sidebar .facetwp-display-value  {
    font-size: 16px;
    font-weight: 400;
    color: var(--ascend-gray-500);
}

.cf-grid__wrapper .sidebar .facetwp-expander{
    margin-left: auto;
    /* margin-top: 6px;
    padding-bottom: 1px;
    background: var(--ascend-blue-200);
    color: white;
    height: 12px;
    width: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 16px;
    margin-right: 6px; */
}

.cf-grid__wrapper .sidebar .facetwp-checkbox:hover .facetwp-display-value{
    color: var(--ascend-blue-200)
}

.cf-grid__wrapper .sidebar .facetwp-checkbox:hover::before {
    border-color: var(--ascend-blue-200);
}

.cf-grid__wrapper .sidebar .facetwp-depth{
    border-top: 1px solid var(--ascend-blue-200);
    border-bottom: 1px solid var(--ascend-blue-200);
    margin: 0 0 34px 28px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 10px;
    position: relative;
    /*background-color: #f5f5f5; */
    flex-direction: column;
}

/* .cf-grid__wrapper .sidebar .facetwp-depth:before{
    content: 'Subtopics';
    position: absolute;
    top: -22px;
} */


/* Style the count number */
.cf-grid__wrapper .sidebar .facetwp-counter {
    display: none;
}






.cf-grid__wrapper .sidebar .taxonomy-selector form .checkbox-wrapper {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cf-grid__wrapper .sidebar .taxonomy-selector form .checkbox-wrapper input {
    border: none;
    width: 18px;
    position: relative;
}


.cf-grid__wrapper .sidebar .taxonomy-selector form .checkbox-wrapper input::after {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--ascend-gray-500);
    position: absolute;
    content: '';
    opacity: 1;
    overflow:visible;
    background-color: var(--ascend-white);
}



.cf-grid__wrapper .sidebar .taxonomy-selector form .checkbox-wrapper input:checked::after {
    background-color: var(--ascend-blue-200);
    opacity: 1;
    border-color: var(--ascend-blue-200);
}

.cf-grid__wrapper .sidebar .taxonomy-selector form label {
    font-size: 16px;
    color: var(--ascend-gray-500);
}


.cf-grid__wrapper .sidebar .apply-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-grid__wrapper .sidebar .apply-cta a {
    text-align: center;
    padding: 8px 20px;
}

/* GRID BOX */
.cf-grid-box, .facetwp-template {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.cf-grid-box.cf-convenings-grid, .facetwp-template[data-name="convenings"] {
    grid-template-columns: 1fr 1fr;

}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner {
    background-position: 50% 30%;
    background-size: auto 100%;
    background-repeat: no-repeat;
    position: relative;
    transition: all 350ms ease;
    transition-delay: 100ms;
}

.cf-fellows-list__item.team-item:hover .cf-fellows-list__item-inner {
    background-size: auto 108%;
}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner::before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0, 0.00) 0%, rgba(0, 0, 0, 0.80) 90%);
    opacity: 0.8;
    top: 0;
    left: 0;
    position: absolute;
    transition: all 350ms ease;
}
.cf-fellows-list__item.team-item:hover .cf-fellows-list__item-inner::before {
    background: linear-gradient(180deg, rgba(0,0,0, 0.00) 0%, rgba(0, 0, 0, 0.80) 90%);
    /* background: linear-gradient(180deg, rgba(0,0,0, 0.10) 0%, rgba(0, 0, 0, 0.70) 90%); */
    opacity: 1;
}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner .content {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    gap: 8px;
}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner .content .title {
    text-transform: uppercase !important;
}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner .content .job-title {
    min-height: 60px;
    text-align: center;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: 0.08px;
    color: var(--ascend-white);
}

.cf-fellows-list__item.team-item .cf-fellows-list__item-inner .content .organization {
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Avenir Next', 'Avenir', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.06px;
    color: var(--ascend-white);
}

.facetwp-load-more{
    color: var(--ascend-lime);
    background-color: transparent;
    border: none;
    font-family: "Bebas Neue";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
}

.facetwp-load-more:hover{
    color: var(--ascend-blue-200);
    background-color: transparent;
    border: none;
}

.topic-color-dot{
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

div.facetwp-facet.facetwp-facet-clear_all{
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 400;
    text-transform: none;
    color: #3A3A3A;
    display: none;
}

.sidebar .filterbox-title{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    
}


.facetwp-facet-clear_all:after{
    margin-left: auto;
    margin-top: 10px;
    position: relative;
    top: 3px;
    content: '';
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.99998 12.6667C3.99998 13.0203 4.14046 13.3594 4.3905 13.6095C4.64055 13.8595 4.97969 14 5.33331 14H10.6666C11.0203 14 11.3594 13.8595 11.6095 13.6095C11.8595 13.3594 12 13.0203 12 12.6667V4.66667H3.99998V12.6667ZM5.33331 6H10.6666V12.6667H5.33331V6ZM10.3333 2.66667L9.66665 2H6.33331L5.66665 2.66667H3.33331V4H12.6666V2.66667H10.3333Z' fill='%233A3A3A'/%3E%3C/svg%3E") center no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
}

@media screen and (max-width: 782px){
   .cf-cta-bottom .container{
        flex-direction: column;
    } 
}

.bookmark svg.bookmark-back{
    top: 0;
    left: 0;
}

.bookmark svg.bookmark-back .bookmark-back-main{
    fill: #8CBB3F;
}

.bookmark.complex-event svg.bookmark-back .bookmark-back-main{
    fill: #2EA3F2;
}


/*sliding convenings hearo text */
  
  .post-type-archive-event .cf-page-header__text h1 .sliding-text {
    position: relative;
    display: inline-block;
    height: 1em;
    overflow: hidden;
    vertical-align: bottom;
  }
  
  .post-type-archive-event .cf-page-header__text h1 .sliding-wrapper {
    display: flex;
    flex-direction: column;
    animation: slide 9s infinite cubic-bezier(0.25, 0.1, 0.25, 1); 
    margin-top: -5px !important;
  }
  
  .post-type-archive-event .cf-page-header__text h1 .sliding-wrapper span {
    display: block;
    height: 1em; 
    line-height: 1em;
    text-align: left;
  }
  
  

  @keyframes slide {
    0% {
      transform: translateY(0); /* First word */
    }
    25% {
      transform: translateY(0); /* Pause at first word */
    }
    33% {
      transform: translateY(-1em); /* Scroll to second word */
    }
    58% {
      transform: translateY(-1em); /* Pause at second word */
    }
    66% {
      transform: translateY(-2em); /* Scroll to third word */
    }
    91% {
      transform: translateY(-2em); /* Pause at third word */
    }
    100% {
      transform: translateY(-3em); /* Scroll to repeated first word */
    }
  }


  /* profile pagination */
  .facetwp-facet-pagination .facetwp-pager {
    display:flex;
    gap:16px;
    margin: 0 auto 100px;
    justify-content: center;
  }
  
  .facetwp-facet-pagination .facetwp-pager a {
    width: 48px;
    height: 48px;
    padding: 12px;
    display:inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #BDBDBD;
    border-radius: 6px;
    text-decoration: none;
    color:#BDBDBD;
    fill:#BDBDBD;
    font-size:16px;
    font-weight: 700;
    transition:200ms all linear;
    text-align: center;
    margin:0;
    white-space: nowrap;
  }
  
  .facetwp-facet-pagination .facetwp-pager a.active, .facetwp-facet-pagination .facetwp-pager a:hover {
    color:#fff;
    fill:#fff;
    background:#0077C8;
  }
  
  .facetwp-facet-pagination .facetwp-pager a svg {
    width:7px;
  }
  
  .facetwp-facet-pagination .facetwp-pager a.dots {
    pointer-events: none;
    border-color:transparent;
    color:#BDBDBD;
  }
  
  @media(max-width:781px) {
    .facetwp-facet-pagination .facetwp-pager {
      gap:12px;
    }
    
    .facetwp-facet-pagination .facetwp-pager a {
      width:36px;
      height:36px;
      padding:9px;
      font-size:12px;
    }
  }

  .cf-grid__wrapper .sidebar .facetwp-facet-convenings_location span.facetwp-counter{
    display: inline;
    font-size: 16px;
  }
  
/* RESOURCES GRID: Resource Library  */
.facetwp-template[data-name=resource_posts] {
    grid-template-columns: 1fr 1fr;
}

.cf-post-list__item.cf-resources-item .cf-post-list__item-inner .featured-img
{
	background-color: #11354E;
	padding: 0;
	border-radius: 12px;
	aspect-ratio: 4/3;
	padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-post-list__item.cf-resources-item .cf-post-list__item-inner .featured-img img {
	max-height: 100%;
	height: auto;
	object-fit: contain;
}

.cf-post-list__item.cf-resources-item .cf-post-list__item-inner .featured-img.resource-noimage img {
    max-height: 180px;
    max-width: 180px;
    min-height: unset;
    min-width: unset;
}

.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
