/* Taxonomy Index template */
.taxonomy-index {}

.taxonomy-index__header {
  display: flex;
  flex-direction: row;
  padding-top: 60px;
}

.taxonomy-index__text {
  width: 100%;
  max-width: 720px;
  flex: 1 1 auto;
}

.taxonomy-index__title {
  margin-top: 0;
  font-size: 2.5rem;
}

.taxonomy-index__content {
  font-size: 1.125rem;
  line-height: 1.5em;
}

.taxonomy-index__anchor, .taxonomy-index__back {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.125rem;
  background-color: var(--background);
  padding: 7px 10px 9px 24px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 40px;
  position: relative;
}

.taxonomy-index__back{
  margin-bottom: 16px;
  font-size: 1rem;
}

.taxonomy-index__anchor:hover, .taxonomy-index__back:hover {
  background-color: var(--main-sec);
  text-decoration: none;
}

.taxonomy-index__anchor .direction-arrow{
  position: absolute;
  left: 10px;
  top: 0;
}

.taxonomy-index__back .direction-arrow{
  position: absolute;
  left: 8px;
  top: 3px;
}

.taxonomy-index__img {
  max-width: 300px;
  width: 100%;
  flex: 1 1 auto;
  margin-left: auto;
  display: none;
}

@media screen and (min-width: 48em) {
  .taxonomy-index__img {
    display: block;
  }
}

.taxonomy-index__overviews{
  background-color: var(--grey-alt);
  padding: 30px 0;
}

.taxonomy-term{
  margin: 30px 0;
}

  .taxonomy-term__header{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
  }

  .taxonomy-term__img{
    width: 100%;
    max-width: 212px;
    height: auto;
    margin: 0 30px 0 0;
  }

  .taxonomy-term__text{
    max-width: 675px;
    margin-right: auto;
  }

  .taxonomy-term__title{
    font-size: 1.75rem;
    margin-top: 0;
  }

  .taxonomy-term__description{
    font-size: 1.125rem;
    margin-bottom: 0;
    line-height: 1.5em;
  }

    .taxonomy-term__description > *:last-child{
      margin-bottom: 0;
    }

.taxonomy-index__aside .signup-banner{
  background-color: var(--background);
}

.taxonomy-index__org-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

  @media screen and (min-width: 48em) {
    .taxonomy-index__org-list {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media screen and (min-width: 62em) {
    .taxonomy-index__org-list {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }

.taxonomy-index__org-item{
  background-color: var(--background);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

  .taxonomy-index__org-item a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .taxonomy-index__org-item img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }