@charset "UTF-8";

/*--------- RESET START -----------*/

* {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited,
a:active,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
  max-width: 100%;
}

a {
  transition: all 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------- RESET END -----------*/

img:not([src]):not([srcset]) {
  visibility: hidden;
  display: block;
}

@-webkit-keyframes splide-loading {
  0% {
    transform: rotateZ(0);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes splide-loading {
  0% {
    transform: rotateZ(0);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}

.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.splide--rtl {
  direction: rtl;
}

.splide__track--ttb > .splide__list {
  display: block;
}

.splide__container {
  box-sizing: border-box;
  position: relative;
}

.splide__list {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}

.splide__pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}

.splide:not(.is-overflow) .splide__pagination {
  display: none;
}

.splide__progress__bar {
  width: 0;
}

.splide {
  position: relative;
  visibility: hidden;
}

.splide.is-initialized,
.splide.is-rendered {
  visibility: visible;
}

.splide__slide {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}

.splide__slide img {
  vertical-align: bottom;
}

.splide__spinner {
  -webkit-animation: splide-loading 1s infinite linear;
          animation: splide-loading 1s infinite linear;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}

.splide__sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.splide__toggle__pause {
  display: none;
}

.splide__toggle.is-active .splide__toggle__play {
  display: none;
}

.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}

.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

body {
  background: #f9fafb;
}

.container {
  max-width: 1202px;
  padding: 0 16px;
  margin: auto;
}

.breadcrumbs {
  padding: 40px 0 20px;
}

.breadcrumbs-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15.18px;
}

.breadcrumbs-wrapper span,
.breadcrumbs-wrapper a {
  display: flex;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
}

.breadcrumbs-wrapper a {
  color: #637381;
  transition: all 0.3s;
}

.breadcrumbs-wrapper a:hover {
  color: #111928;
}

.breadcrumbs-wrapper span.last {
  color: #111928;
}

.breadcrumbs-wrapper span img {
  width: 18px;
  height: 18px;
}

.page-title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: 0px;
  color: #111928;
}

h2 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0px;
  color: #111928;
}

h3 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0px;
  color: #111928;
}

h4,
strong {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #111928;
}

p {
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #111928;
}

ul {
  margin-bottom: 20px;
}

ul li {
  position: relative;
  margin-bottom: 10px;
  padding: 0 0 0 18px;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #111928;
}

ul li::after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3758f9;
}

ol {
  counter-reset: list-counter;
  margin-bottom: 20px;
}

ol li {
  list-style: none;
  position: relative;
  margin-bottom: 12px;
  padding: 0 0 0 36px;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #111928;
}

ol li::after {
  counter-increment: list-counter;
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: center;
  background: #3758f9;
  border-radius: 50%;
  color: #fff;
}

.cat-posts {
  margin-bottom: 120px;
}

.cat-posts__search {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-posts__search-wrapper {
  margin-bottom: 30px;
}

.cat-posts__search .form-field {
  width: 100%;
  max-width: 676px;
}

.cat-posts__search .form-field input {
  width: 100%;
  padding: 12px 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #637381;
  background: #fff url("../img/search-alt-grey.svg") calc(100% - 20px) center/16px 16px no-repeat;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  cursor: pointer;
}

.cat-posts__search .form-field input:focus {
  background: #fff;
}

.cat-posts__search .form-sort {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #dfe4ea;
}

.cat-posts__search .form-sort label {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}

.filter-btn, .cat-posts__close {
  display: none;
}

.cat-posts__search .form-sort label.active {
  background: #3758f9;
}

.cat-posts__search .form-sort label.active svg g path {
  fill: #fff;
}

.cat-posts__search .form-sort label svg g path {
  fill: #111928;
  transition: all 0.3s;
}

.cat-posts__items {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.cat-posts__wrapper {
  width: 100%;
  max-width: 770px;
}

.cat-posts__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.cat-posts__tags {
  max-width: 370px;
}

.cat-post {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  padding: 30px;
  box-shadow: 0px 1px 3px 0px rgba(166, 175, 195, 0.4);
  background: #f3f4f6;
  border-radius: 10px;
  max-width: 370px;
  width: 100%;
}

.cat-post--list {
  max-width: 100%;
  padding: 20px 30px;
}

.cat-post--list .cat-post__title {
  margin-bottom: 15px;
}

.cat-post--list .cat-post__text {
  margin-bottom: 15px;
}

.cat-post--list .cat-post__text p {
  margin-bottom: 0;
}

.cat-post__title {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  color: #111928;
}

.cat-post__text {
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0px;
  color: #111928;
}

.cat-post__text a {
  text-decoration: none;
  color: #3758f9;
}

.cat-post__main {
  width: 100%;
}

.cat-post__tags {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cat-post__tags > * {
  padding: 2px 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0px;
  color: #111928;
  border-radius: 6px;
}

.cat-post__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-post__tags-list label {
  padding: 2px 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0px;
  color: #111928;
  border-radius: 6px;
  cursor: pointer;
}

.cat-tags {
  margin-bottom: 30px;
}

.cat-tags:last-child {
  margin-bottom: 0;
}

.cat-tags__desc {
  display: flex;
  align-items: flex-start;
  -moz-column-gap: 5px;
       column-gap: 5px;
}

.cat-tags__desc svg {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.cat-tags__desc span {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #637381;
  max-width: 349px;
}

.use-tag {
  background: #e1e8ff;
}

.use-tag.active {
  background: #4974ff;
  color: #fff;
}

.use-db {
  background: #fdd8d8;
}

.use-db.active {
  background: #ff0000;
  color: #fff;
}

.use-vd {
  background: #daf8e6;
}

.use-vd.active {
  background: #1a8245;
  color: #fff;
}

/* Стиль для кнопки очистки в поле поиска */

input[type=search]::-webkit-search-cancel-button {
  cursor: pointer;
}

/* Для Firefox */

input[type=search]::-moz-search-clear {
  cursor: pointer;
}

/* Для остальных браузеров, если нужно */

input[type=search]::-ms-clear {
  cursor: pointer;
}