.founders-grid {
    position: relative;
    background: #f5f5f5;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  @media (max-width: 767.98px) {
    .founders-grid {
      padding-top: 60px;
      padding-bottom: 60px;
    }
  }
  .founders-grid .content-area .filter-area {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    align-items: center;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .filter-area {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }
  .founders-grid .content-area .filter-area.mobile-filter {
    display: none;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .filter-area.mobile-filter {
      display: flex;
    }
  }
  .founders-grid .content-area .filter-area.filter-desktop {
    display: flex;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .filter-area.filter-desktop {
      display: none;
    }
  }
  .founders-grid .content-area .filter-area h6 {
    color: #1f7554;
    font-family: "TT Commons Pro Variable";
    font-size: 14px;
    font-style: normal;
    font-weight: 490;
    line-height: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-right: 24px;
  }
  .founders-grid .content-area .filter-area .filter-box {
    margin-left: 0;
    margin-right: 24px;
    cursor: pointer;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .filter-area .filter-box {
      flex: 0 0 187px;
      max-width: 187px;
      margin-right: 12px;
    }
  }
  .founders-grid .content-area .filter-area .filter-reset {
    width: 55px;
    position: relative;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .filter-area .filter-reset {
      position: relative;
      bottom: 10px;
    }
  }
  .founders-grid .content-area .filter-area .filter-reset .filter-reset-button {
    cursor: pointer;
    color: #e02827;
    color: #000;
    font-family: "TT Commons Pro Variable";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.28px;
    opacity: 1;
    pointer-events: all;
    transition: all 0.35s;
    display: flex;
    align-items: center;
  }
  .founders-grid .content-area .filter-area .filter-reset .filter-reset-button.invisible {
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s;
  }
  .founders-grid .content-area .filter-area .filter-reset .filter-reset-button img {
    width: 10px;
    margin-right: 8px;
    margin-bottom: 2px;
  }
  .founders-grid .content-area .mobile-filter > .filter-box {
    display: flex;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .founders-grid .content-area .mobile-filter > .filter-box .filter-reset {
    position: absolute;
    bottom: 8px;
    right: 0;
    width: 20px;
    height: 20px;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .mobile-filter > .filter-box .filter-reset {
      display: none;
    }
  }
  .founders-grid .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button {
    cursor: pointer;
    opacity: 1;
    pointer-events: all;
    transition: all 0.35s;
  }
  .founders-grid .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button img {
    width: 10px;
    margin-right: 7px;
  }
  .founders-grid .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button.invisible {
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s;
  }
  .founders-grid .content-area .mobile-filter .filter-toggle {
    cursor: pointer;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    background-image: url(../../assets/images/svg/dropdown-icon.svg);
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: top 10px right;
    border: none;
    color: #000;
    font-family: "TT Commons Pro Variable";
    font-size: 18px;
    font-style: normal;
    font-weight: 420;
    line-height: 150%;
    padding-right: 22px;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #207552;
    padding: 22px 20px 32px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container.active {
    opacity: 1;
    pointer-events: all;
    transition: all 0s;
    overflow: auto;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .close-filter-box {
    position: absolute;
    top: 26px;
    right: 20px;
    width: 18px;
    height: 18px;
    background-image: url(../../assets/images/menu-times.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    filter: brightness(100);
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .reset-filter-box {
    position: absolute;
    top: 20px;
    left: 24px;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .reset-filter-box button {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    color: #000;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .reset-filter-box button::before {
    content: "";
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    background-image: url(../../assets/images/menu-times.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 4px;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .top-menu {
    text-align: left;
    margin-bottom: 30px;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .top-menu h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #fff;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-area {
    overflow: auto;
    height: 100vh;
    height: auto;
    margin-bottom: 150px;
    overflow: visible;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-area .filter-box {
    margin-bottom: 8px;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-area .filter-box .select-selected {
    color: #fff;
    filter: brightness(100);
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-area .filter-box .select-items {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 3;
    padding-top: 0;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-box-apply {
    position: absolute;
    bottom: 0;
    position: relative;
    left: 0;
    display: inline-block;
  }
  .founders-grid .content-area .mobile-filter .filter-box-container .filter-box-apply .btn {
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
    font-size: 14px;
    line-height: 17.5px;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    padding: 11px 24px;
  }
  .founders-grid .content-area .founders-grid-container {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 24px;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .founders-grid-container {
      row-gap: 12px;
    }
  }
  .founders-grid .content-area .founders-grid-container .half {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 24px;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .founders-grid-container .half {
      flex: 0 0 100%;
      max-width: 100%;
      row-gap: 12px;
    }
  }
  .founders-grid .content-area .founders-grid-container .half .founders-box {
    position: relative;
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    background: #fff;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 164px;
    /* cursor: pointer; */
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .founders-grid-container .half .founders-box {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  .founders-grid .content-area .founders-grid-container .half .founders-box img {
    max-width: 80%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-box h6 {
    position: absolute;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    color: #7d7d7d;
    text-align: center;
    text-transform: none !important;
    font-size: 10px !important;
    letter-spacing: 0.1px !important;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-box .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-image {
    position: relative;
    width: 100%;
    height: 100%;
  }
  @media (max-width: 767.98px) {
    .founders-grid .content-area .founders-grid-container .half .founders-image {
      height: 164px;
    }
  }
  .founders-grid .content-area .founders-grid-container .half .founders-image > img {
    position: relative ;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-image .logo-area {
    position: absolute;
    left: 32px;
    bottom: 40px;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-image .logo-area img {
    max-height: 32px;
    max-width: 200px;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: bottom left;
       object-position: bottom left;
  }
  .founders-grid .content-area .founders-grid-container .half .founders-image .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
  }

  
.founders-grid .content-area .founders-grid-container .half .founders-box  {
    position: relative;
}

.founders-grid .content-area .founders-grid-container .half .founders-box a {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}

.founders-grid .content-area .founders-grid-container .half .founders-image  {
    position: relative;
}

.founders-grid .content-area .founders-grid-container .half .founders-image a {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}

.wp-block-acf-portfolio .founders-grid .content-area {
    position: relative;
    width: 1240px;
    max-width: 100%;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;  
}

.wp-block-acf-portfolio .founders-grid .content-area .founders-grid-container .half .founders-box h6 {
    font-family: "TT Commons Pro Variable";
    font-weight: 490;
    line-height: 17.5px;
    letter-spacing: 2px;
    margin: 0;
    text-transform: none !important;
    font-size: 10px !important;
}

.wp-block-acf-portfolio  .founders-grid .content-area .filter-area h6 {
    margin-top: 0;
}

.wp-block-acf-portfolio {
    margin-top: 0 !important;
}


/* The container must be positioned relative: */
.wp-block-acf-portfolio .custom-select {
    max-width: 100%;
    position: relative;
    text-align: left;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .wp-block-acf-portfolio .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
  .wp-block-acf-portfolio .select-selected {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    z-index: 2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    background-image: url(./static/wp-content/themes/mayfield/assets/images/svg/dropdown-icon.svg);
    background-size: unset;
    background-repeat: no-repeat;
    background-position: top 10px right;
    border: none;
    color: #000;
    font-family: "TT Commons Pro Variable";
    font-size: 18px;
    font-style: normal;
    font-weight: 420;
    line-height: 150%; /* 27px */
    width: 100%;
    transition: all 0.35s;
    padding-right: 22px;
  }
  .wp-block-acf-portfolio  .select-selected.select-arrow-active {
    background-image: url(./static/wp-content/themes/mayfield/assets/images/svg/dropdown-icon-active.svg);
    z-index: 6;
    box-shadow: none;
  }
  
  /* style the items (options), including the selected item: */
  .wp-block-acf-portfolio .select-items div {
    text-align: left;
    border: none;
    cursor: pointer;
    color: #000;
    font-family: "TT Commons Pro Variable";
    font-size: 18px;
    font-style: normal;
    font-weight: 420;
    line-height: 150%; /* 27px */
    padding: 12px 16px;
    transition: all 0.35s;
  }
  @media (max-width: 767.98px) {
    .wp-block-acf-portfolio .select-items div {
      padding: 6px 16px;
    }
  }
  .wp-block-acf-portfolio .select-items div:hover {
    background: #f5f5f5;
    color: #1f7554;
    transition: all 0.35s;
  }
  
  /* Style items (options): */
  .wp-block-acf-portfolio .select-items {
    position: absolute;
    background: #fff;
    top: 47px;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 0;
    font-weight: 400;
    padding-top: 4px;
    padding-bottom: 4px;
    z-index: 5;
    border: 1px solid #c5c5c5;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.15);
    width: -moz-max-content;
    width: max-content;
  }
  
  /* Hide the items when the select box is closed: */
  .wp-block-acf-portfolio .select-hide {
    display: none;
  }

  .founders-grid .content-area .founders-grid-container .half {
    align-items: flex-start;
}
  
.fancybox-slide {transition: opacity 0s !important;}

.founders-grid .content-area .filter-area a.btn_anchor {
  color: #000;
    font-family: "TT Commons Pro Variable";
    font-size: 18px;
    font-style: normal;
    font-weight: 420;
    line-height: 150%;
    margin-left: auto;
    text-decoration: none !important;
}

.founders-grid .content-area .filter-area .filter-reset .filter-reset-button.invisible {
  display: none;
}

.founders-grid .content-area .filter-area .filter-reset {
  width: auto !important;
}

.founders-grid .content-area .filter-area .filter-reset .filter-reset-button {
  margin-right: 24px;
}

.founders-grid .content-area .founders-grid-container .half .founders-image a.btn-arrow {
  position: relative;
  opacity: 1;
  width: auto;
  border-radius: 4px;
  border: 1px solid #FFF;
  background: transparent;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0px 0px 0 0px rgba(0, 0, 0, 0);

}

.founders-grid .content-area .founders-grid-container .half .founders-image a.btn-arrow img {
  filter: invert(1);
}

.founders-grid .content-area .founders-grid-container .half .founders-image a:hover {
  transform: none !important;
  border: 1.5px solid var(--BrightGreen, #4EA72F);
  background: #FFF;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.10);
  padding-right: 20px;
  color: #000;
  filter: none;
}

.founders-grid .content-area .founders-grid-container .half .founders-image .logo-area {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 64px);
}

/* .founders-grid .content-area .founders-grid-container.active_filter {
  display: none;
}

.founders-grid .content-area .founders-grid-container.active_filter.show {
  display: flex;
}

.founders-grid .content-area .founders-grid-container.active_filter .half {
  flex: 0 0 calc((100% - 24px) / 4);
  max-width: calc((100% - 24px) / 4);
}

.founders-grid .content-area .founders-grid-container.active_filter .half .founders-box {
  flex:  0 0 100%;
  max-width: 100%;
} */

/* @media (min-width: 767.98px) {
  .founders-grid .content-area .founders-grid-container .half {
    margin: 6px;
    width: calc((100% - 24px) / 2);
    column-gap: 18px !important;
    column-gap: 24px !important;
    flex: 0 0 calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
  }

  .founders-grid .content-area .founders-grid-container .half .founders-image {
    width: calc(100% - 6px) !important;
  }
} */

.founders-grid .mobile_button {
  margin-top: 20px;
}

.founders-grid .mobile_button a.btn_anchor {
  color: #000;
  font-family: "TT Commons Pro Variable";
  font-size: 18px;
  font-style: normal;
  font-weight: 420;
  line-height: 150%;
  margin-left: auto;
  text-decoration: none !important;
}

.founders-grid .content-area .filter-area .break {
  display: none;
}

@media (max-width: 767.98px) {
  .founders-grid .content-area .filter-area.mobile-filter {
    display: none !important;
  }

  .founders-grid .content-area .filter-area .break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .founders-grid .content-area .filter-area .filter-box {
    display: inline-block;
    flex: unset !important;
    margin-right: 25px !important;
  }

  .founders-grid .content-area .filter-area.filter-desktop {
    display: flex !important;
  }

  .founders-grid .content-area .filter-area .filter-reset .filter-reset-button {
    margin-top: 20px;
  }

  .founders-grid .content-area .filter-area .filter-box.status_filter {
    margin-right: 0 !important;
  }
}