.news-content .content-area .pagination a {
    cursor: pointer;
}

.news-content {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .news-content.no-padding {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .news-content .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) {
    .news-content .content-area .filter-area {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }
  .news-content .content-area .filter-area.mobile-filter {
    display: none;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .filter-area.mobile-filter {
      display: flex;
    }
  }
  .news-content .content-area .filter-area.filter-desktop {
    display: flex;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .filter-area.filter-desktop {
      display: none;
    }
  }
  .news-content .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;
  }
  .news-content .content-area .filter-area .filter-box {
    margin-left: 0;
    margin-right: 24px;
    cursor: pointer;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .filter-area .filter-box {
      flex: 0 0 187px;
      max-width: 187px;
      margin-right: 12px;
    }
  }
  .news-content .content-area .filter-area .filter-reset {
    width: 55px;
    position: relative;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .filter-area .filter-reset {
      position: relative;
      bottom: 10px;
    }
  }
  .news-content .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;
  }
  .news-content .content-area .filter-area .filter-reset .filter-reset-button.invisible {
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s;
  }
  .news-content .content-area .filter-area .filter-reset .filter-reset-button img {
    width: 10px;
    margin-right: 8px;
    margin-bottom: 2px;
  }
  .news-content .content-area .mobile-filter > .filter-box {
    display: flex;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .news-content .content-area .mobile-filter > .filter-box .filter-reset {
    position: absolute;
    bottom: 8px;
    right: 0;
    width: 20px;
    height: 20px;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .mobile-filter > .filter-box .filter-reset {
      display: none;
    }
  }
  .news-content .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button {
    cursor: pointer;
    opacity: 1;
    pointer-events: all;
    transition: all 0.35s;
  }
  .news-content .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button img {
    width: 10px;
    margin-right: 7px;
  }
  .news-content .content-area .mobile-filter > .filter-box .filter-reset .filter-reset-button.invisible {
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s;
  }
  .news-content .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;
  }
  .news-content .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;
  }
  .news-content .content-area .mobile-filter .filter-box-container.active {
    opacity: 1;
    pointer-events: all;
    transition: all 0s;
    overflow: auto;
  }
  .news-content .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);
  }
  .news-content .content-area .mobile-filter .filter-box-container .reset-filter-box {
    position: absolute;
    top: 20px;
    left: 24px;
  }
  .news-content .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;
  }
  .news-content .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;
  }
  .news-content .content-area .mobile-filter .filter-box-container .top-menu {
    text-align: left;
    margin-bottom: 30px;
  }
  .news-content .content-area .mobile-filter .filter-box-container .top-menu h3 {
    font-weight: 60;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #fff;
  }
  .news-content .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%;
  }
  .news-content .content-area .mobile-filter .filter-box-container .filter-area .filter-box {
    margin-bottom: 8px;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .news-content .content-area .mobile-filter .filter-box-container .filter-area .filter-box .select-selected {
    color: #fff;
    filter: brightness(100);
  }
  .news-content .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;
  }
  .news-content .content-area .mobile-filter .filter-box-container .filter-box-apply {
    position: absolute;
    bottom: 0;
    position: relative;
    left: 0;
    display: inline-block;
  }
  .news-content .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;
  }
  .news-content .content-area .news-boxes {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 40px;
  }
  .news-content .content-area .news-boxes .news-box {
    position: relative;
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 10px;
    height: auto;
    padding-bottom: 10px;
    transition: all 0.35s;
  }
  @media (max-width: 767.98px) {
    .news-content .content-area .news-boxes .news-box {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  .news-content .content-area .news-boxes .news-box::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #c5c5c5;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.35s;
  }
  .news-content .content-area .news-boxes .news-box .meta-news {
    display: flex;
    flex-wrap: wrap;
  }
  .news-content .content-area .news-boxes .news-box .meta-news h6 {
    color: #207552;
    text-transform: uppercase;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid rgba(19, 20, 21, 0.2);
  }
  .news-content .content-area .news-boxes .news-box .meta-news h6:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
  .news-content .content-area .news-boxes .news-box .title-news {
    padding-right: 40px;
  }
  @media (max-width: 991.98px) {
    .news-content .content-area .news-boxes .news-box .title-news {
      padding-right: 0;
    }
  }
  .news-content .content-area .news-boxes .news-box .title-news h5 {
    margin: 0;
    color: #545454;
  }
  .news-content .content-area .news-boxes .news-box .meta-news-2 {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  .news-content .content-area .news-boxes .news-box .meta-news-2 p {
    color: #7d7d7d;
    font-family: "TT Commons Pro Variable";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: -0.42px;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #e0e0e0;
    margin-bottom: 0;
  }
  .news-content .content-area .news-boxes .news-box .meta-news-2 p:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
  .news-content .content-area .news-boxes .news-box .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  @media (min-width: 768px) {
    .news-content .content-area .news-boxes .news-box:hover::before {
      height: 3px;
      background-color: #4ea72f;
      transition: all 0.35s;
    }
  }
  .news-content .content-area .pagination {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 20px;
  }
  .news-content .content-area .pagination .newer img {
    transform: scale(-1);
  }
  @media (min-width: 768px) {
    .news-content .content-area .pagination .newer:hover {
      color: #000;
    }
    .news-content .content-area .pagination .newer:hover img {
      transform: scale(-1) translateX(5px);
      transition: all 0.35s;
    }
  }
  .news-content .content-area .pagination .disable {
    opacity: 0.2;
    pointer-events: none;
  }

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

  /* The container must be positioned relative: */
.wp-block-acf-perspectives-archive .custom-select {
    max-width: 100%;
    position: relative;
    text-align: left;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .wp-block-acf-perspectives-archive .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
  .wp-block-acf-perspectives-archive .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-perspectives-archive  .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-perspectives-archive .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-perspectives-archive .select-items div {
      padding: 6px 16px;
    }
  }
  .wp-block-acf-perspectives-archive .select-items div:hover {
    background: #f5f5f5;
    color: #1f7554;
    transition: all 0.35s;
  }
  
  /* Style items (options): */
  .wp-block-acf-perspectives-archive .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-perspectives-archive .select-hide {
    display: none;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .filter-area h6 {
    margin-top: 0;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .title-area h3 {
    font-family: "Acta";
    color: #207552;
    font-size: 48px;
    line-height: 57.6px;
    font-weight: 50;
    margin-bottom: 16px;
    margin-top: 0 !important;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .news-boxes .news-box .meta-news h6 {
    font-family: "TT Commons Pro Variable";
    font-weight: 490;
    font-size: 14px;
    line-height: 17.5px;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .news-boxes .news-box .title-news h5 {
    font-family: "Acta";
    font-weight: 50;
    font-size: 24px;
    line-height: 28.8px;
    margin: 0;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .news-boxes .news-box .meta-news-2 p {
    margin-top: 0;
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .news-boxes .news-box .stretched-link {
    opacity: 0;
  }

  .news-content .content-area .sort-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -moz-column-gap: 24px;
    column-gap: 24px;
    row-gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 40px;
  }

  .news-content .content-area .sort-area a {
    color: #131415;
    display: inline-block;
    position: relative;
    text-decoration: none;
  }

  .news-content .content-area .sort-area a.active {
      color: #1f7554;
  }

  .news-content .content-area .sort-area .filter-box {
    display: none;
  }

  .news-content .content-area .sort-area a.active::before {
      opacity: 1;
      transition: all 0.35s;
      height: 3px !important;
      background-color: #207552 !important;
  }
  .news-content .content-area .sort-area a.active::before {
      opacity: 1;
      transition: all 0.35s;
      height: 3px !important;
      background-color: #207552 !important;
  }
  .news-content .content-area .sort-area a::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 1px;
      background-color: #000;
      opacity: 0;
      transition: all 0.35s;
      bottom: -20px;
      left: 0;
  }

  .news-content .content-area .sort-area h6 {
    color: #1f7554;
    text-transform: uppercase;
    margin: 0;
  } 

  @media (min-width: 768px) {
    .news-content .content-area .sort-area a:hover::before {
        opacity: 1;
        transition: all 0.35s;
    }
}

  @media (max-width: 767.98px) {
    .news-content .content-area .sort-area a {
      display: none;
    }

    .news-content .content-area .sort-area .filter-box {
      display: inline-block;
      margin-left: 0;
    }
  }

  .wp-block-acf-perspectives-archive .news-content .content-area .sort-area h6 {
    font-family: "TT Commons Pro Variable";
    font-weight: 490;
    font-size: 14px;
    line-height: 17.5px;
    letter-spacing: 2px;
  }
  