/*
 Theme Name:   Kadence Child
 Description:  A child theme for Kadence
 Author:       Designhammer
 Template:     kadence
 Version:      1.0.0
*/

.searchandfilter-wrap.post-type-resources {

  .filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    @media (min-width: 1025px) {
      flex-wrap: nowrap;
    }

    > .search-filter-field {
      flex: 0 1 100%;
      padding: 0 0.5rem 1rem;
      @media (min-width: 768px) {
        flex: 0 1 calc(100% / 3);
      }
      @media (min-width: 1025px) {
        flex: 1 1 auto;
      }
    }

    > .search-filter-field:last-child,
    > .search-filter-field:nth-last-child(2) {
      flex: 0 1 auto;
    }
  }

  .results-found {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
}

.content-wrap.resources-archive .entry-list-item {

  .content-bg {
    background: var(--global-palette4, #2D3748);
  }

  .entry-content-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .entry-title {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    margin: 5px 0 20px;

    a {
      color: var(--global-palette1);
    }
  }

  .entry-footer {
    margin-top: auto;
  }

  .more-link-wrap {
    text-align: center;

    .post-more-link {
      color: var(--global-palette7, #EDF2F7);
      font-size: 18px;
      font-style: normal;
      font-weight: 700;
      line-height: 1.2em;
      font-family: 'Source Sans 3';
      text-transform: uppercase;
      background: var(--global-palette2, #2B6CB0);
      border-radius: 200px;
      display: inline-block;
      padding: 10px 16px;
      /* margin: auto 0 10px; */

      &:hover {
        color: var(--global-palette8);
        background: var(--global-palette10);
        box-shadow: 0 15px 25px -7px rgba(0, 0, 0, 0.1);
      }
    }
  }
}
