

/* Start:/local/media/css/terms.css?17933817463709*/
/* Общие и контрактные условия. Подключается только на /usloviya/. */
.terms-body .inner-page .content > .polygon-top {
  top: -18px;
  height: 495px;
}

.terms-page {
  position: relative;
  z-index: 20;
  /* Как у header + section на остальных внутренних страницах. */
  padding: 180px 0 100px;
  color: #03488c;
}

.terms-page__title,
.terms-group__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.terms-page__title {
  margin: 0 0 42px;
}

.terms-group {
  padding: 0;
}

.terms-group + .terms-group {
  margin-top: 50px;
}

.terms-group__title {
  margin: 0 0 22px;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 187px;
  margin: 0;
  padding: 20px;
  border-radius: 10px;
  background: #f0faff;
}

.terms-grid > .terms-card::before {
  content: none;
}

.terms-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #737373;
  font-size: 16px;
  line-height: 20px;
}

.terms-card__number,
.terms-card__annex {
  display: block;
  padding: 12px 14px;
  border-radius: 5px;
  background: #fff;
}

.terms-card__number {
  flex-shrink: 0;
}

.terms-card__annex {
  max-width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
  overflow-wrap: anywhere;
}

.terms-card__title {
  margin: auto 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  overflow-wrap: anywhere;
}

.terms-card__download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  min-height: 36px;
  padding-top: 14px;
  border: 0;
  border-top: 1px solid #03488c;
  color: #03488c;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  transition: color 160ms ease;
}

.terms-card__download svg {
  flex: 0 0 20px;
  transition: transform 160ms ease;
}

.terms-card__download:hover {
  color: #2372ad;
  border-color: #03488c;
}

.terms-card__download:hover svg {
  transform: translateY(2px);
}

.terms-card__download:focus-visible {
  outline: 2px solid #03488c;
  outline-offset: 5px;
  border-radius: 2px;
}

.terms-page__empty {
  margin: 0;
  padding: 24px 0;
  font-size: 18px;
}

.terms-page__admin {
  margin: 16px 0;
  font-size: 16px;
}

@media screen and (max-width: 1200px) {
  .terms-card__meta {
    gap: 8px;
    font-size: 14px;
  }

  .terms-card__annex {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media screen and (width < 1280px) {
  .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 992px) {
  .terms-page__title,
  .terms-group__title {
    font-size: 34px;
  }
}

@media screen and (max-width: 600px) {
  .terms-body .inner-page .content > .polygon-top {
    top: -50px;
    height: 420px;
  }

  .terms-page {
    padding: 100px 0 60px;
  }

  .terms-page__title,
  .terms-group__title {
    font-size: 28px;
  }

  .terms-page__title {
    margin-bottom: 34px;
  }

  .terms-group + .terms-group {
    margin-top: 40px;
  }

  .terms-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .terms-card__meta {
    font-size: 16px;
  }

  .terms-card__download {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .terms-card__download,
  .terms-card__download svg {
    transition: none;
    transform: none;
  }

  .terms-card__download:hover svg {
    transform: none;
  }
}

/* End */
/* /local/media/css/terms.css?17933817463709 */
