@charset "UTF-8";

.terms__list {
  display: grid;
  width: min(100%, 112rem);
  margin-inline: auto;
  row-gap: 3rem;
  column-gap: 4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terms__item_link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 5.4rem;
  padding: 1.2rem 3.2rem;
  white-space: nowrap;
}

@media screen and (max-width: 991.98px) {
  .terms__list {
    column-gap: 2.4rem;
  }

  .terms__item_link {
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 767.98px) {
  .terms__list {
    width: 100%;
    row-gap: clamp(2rem, 2.5445vw + 1.0452rem, 3rem);
    grid-template-columns: 1fr;
  }

  .terms__item_link {
    white-space: normal;
    padding: 1.2rem 2rem;
  }
}
