html {
  scroll-behavior: smooth;
}

.base-category-page {
  padding: 0 0 40px;
  background: rgba(19, 19, 19, 1);
}

.breadcrumbs-wrapper {
  margin-bottom: 40px;
}

.category-title {
  margin-bottom: 64px;
}

.category-subpage-content {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: row-reverse;
  gap: 11.5%;
}

.anchor-menu-wrapper {
  max-width: 380px;
  width: 100%;
  margin-bottom: 16px;
}

.info-block-wrapper {
  max-width: 715px;
  margin-bottom: 88px;
}

.related-links-wrapper {
  margin-bottom: 64px;
}

@media screen and (max-width: 1240px) {
  .base-category-page {
    padding-bottom: 22px;
  }

  .category-title {
    font-size: 40px;
    line-height: 64px;
    margin-bottom: 50px;
  }

  .related-links-wrapper {
    margin-bottom: 35px;
  }

  .info-block-wrapper {
    margin-bottom: 47px;
  }
}

@media screen and (max-width: 1000px) {
  .category-subpage-content {
    gap: 0;
    flex-direction: column;
  }

  .anchor-menu-wrapper {
    max-width: 600px;
  }

  .info-block-wrapper {
    max-width: none;
  }

  .anchor-menu-wrapper,
  .links-menu-wrapper {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .base-category-page {
    padding: 0;
  }

  .breadcrumbs-wrapper {
    margin-bottom: 30px;
  }

  .related-links-wrapper {
    margin-bottom: 0;
    padding-bottom: 16px;
  }

  .info-block-wrapper {
    margin-bottom: 23px;
  }
}

@media screen and (max-width: 460px) {
  .base-category-page {
    padding: 16px 0 0;
  }

  .category-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }
}
