
.wiki__items {
  width: 100%;
}
.wide-container {
  background: linear-gradient(98.43deg, #F8F8FA 6.77%, #EDF1F3 95.07%);
}

.wiki {
  padding-top: 40px;
  color: #070707;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.wiki .container {
  max-width: 1190px;
  margin-bottom: 48px;
}

.wiki__title {
  max-width: 460px;
  margin-bottom: 0;
  padding: 18px 0 30px 0;
}



.wiki__description {
  max-width: 400px;
  margin-top: -2px;
  margin-bottom: 67px;
}

.wiki__bottom {
  padding-top: 38px;
  background: #FFFFFF;
  border-radius: 60px 60px 0px 0px;
}

.wiki__search {
  width: 100%;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
/*  */
  display: none; /* comment*/
}

.wiki__search-wrapper {
  max-width: 100%;
  width: 100%;
  height: 48px;
  background: #F8F8F8;
  border: 1px solid #E1E3E6;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.wiki__label {
  display: flex;
  align-items: center;
  width: calc(100% - 48px);
  height: 48px;
  padding: 10px 14px 10px 46px;
  background-image: url(/img/wiki/wiki-search.svg);
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 24px;
  margin-bottom: 0;
}

.wiki__label--active + .wiki__search-reset {
  opacity: 1;
}

.wiki__label--active ~ .wiki__search-list {
  padding: 10px 12px;
  height: 350px;
  opacity: 1;
  width: 100%;
  /* overflow: scroll; */
  border: 1px solid #d2d2d2;
  box-shadow: 4px 4px 12px 0px rgba(54, 54, 54, 0.08);
}

.wiki__search-list {
  height: 0;
  overflow: hidden;
  padding: 0 12px;
  list-style: none;
  width: 100%;
  background-color: #fff;
  position: absolute;
  left: 0;
  z-index: 5;
  top: 100%;
  border-radius: 13px;
  border-color: transparent;
  transition: box-shadow 0.4s linear, border 0.4s linear, height 0.4s linear, opacity 0.4s linear;
}

.wiki__search-item:not(:last-child) {
  margin-bottom: 12px;
  position: relative;
}

.wiki__search-item:not(:last-child)::before {
  content: "";
  width: calc(100% + 24px);
  height: 1px;
  background-color: #b5b5b5;
  position: absolute;
  left: -14px;
  top: calc(100% + 4px);
  filter: blur(2px);
}

.wiki__search-link {
  display: block;
  padding: 3px;
  font-size: 16px;
  font-weight: 400;
  color: #070707;
  transition: color 0.3s linear;
}

.wiki__search-link:hover {
  color: #297C3B;
}

.wiki__input {
  width: 100%;
  border: 0;
  padding: 0;
  background-color: transparent;
  outline: transparent;
}

.wiki__input::placeholder {
  color: #AAAEB3;
}

.wiki__search-reset {
  opacity: 0;
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 0;
  cursor: pointer;
  transition: opacity 0.3s linear;
}

.wiki__search-reset input {
  font-size: 0;
  background-color: transparent;
  border: 0;
  outline: transparent;
}

.wiki__search-reset::before,
.wiki__search-reset::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 20px;
  height: 2px;
  background-color: #9696A2;
  border-radius: 2px;
}

.wiki__search-reset::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wiki__input::placeholder {
  color: #AAAEB3;
}

.admin-settings {
  width: 64px;
  height: 48px;
  background-color: #46A758;
  border-radius: 8px;
  border: 0;
  outline: transparent;
  margin-left: 18px;
  transition: all 0.3s linear;
}

.admin-settings--active {
  padding-left: 20px;
  justify-content: start;
  color: #297C3B;
  width: 169px;
}

.admin-settings svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.admin-settings--active svg {
  margin-left: 0;
}

.admin-settings__list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  z-index: 5;
  padding: 16px 8px 20px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #EAEAEC;
  background: #FFF;
  box-shadow: 4px 4px 12px 0px rgba(54, 54, 54, 0.08);
}

.admin-settings__item {
  margin-bottom: 0;
}

.admin-settings__item:not(:last-child) {
  margin-bottom: 5px;
}

.admin-settings__link {
  padding: 4px 10px 4px 14px;
  display: flex;
  align-items: center;
  color: #070707;
}

.admin-settings__item svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  stroke: #070707;
}

.wiki__items {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 54px;
  padding-inline-start: 0;
}

.wiki__item {
  max-width: 373px;
  width: 100%;
  min-height: 191px;
  margin-bottom: 48px;
  background: #F3F3F3;
  border-top: 3px solid;
  border-radius: 16px;
  overflow: hidden;
  flex-basis: calc(33.26% - 13px);
}

.wiki__item:not(:nth-child(3n + 3), :last-child) {
  margin-right: 20px;
}

.wiki__item-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 17px 20px;
  transition: background-color 0.3s linear;
}

.wiki__item:not(.wiki__item--disabled) .wiki__item-link:hover {
  background-color: #EAEAEC;
}

.wiki__item:not(.wiki__item--disabled) .wiki__item-link:hover .wiki__item-more {
  color: #297C3B;
}

.wiki__item:not(.wiki__item--disabled) .wiki__item-link:hover .wiki__item-more::before {
  background-color: #297C3B;
}

.wiki__item-title {
  max-width: 220px;
  height: 60px;
  margin: 0 0 18px;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: #070707;
}

.wiki__item-more {
  position: relative;
  color: #070707;
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.3s linear;
}

.wiki__item-more::before {
  content: "";
  position: absolute;
  width: 100%;
  bottom: -2px;
  height: 1px;
  background-color: #070707;
  transition: background-color 0.3s linear;
}

.wiki__item-img {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 200px;
  height: auto;
}

.wiki__item-circle {
  display: block;
  z-index: 1;
  width: 159px;
  height: 93px;
  opacity: 0.55;
  filter: blur(45px);
  transform: matrix(0.97, -0.23, 0.24, 0.97, 0, 0);
  position: absolute;
  right: 7px;
  bottom: -20px;
}

.wiki__item--disabled {
  position: relative;
  padding: 17px 20px;
}

.wiki__item--disabled:hover {
  cursor: default;
}

.wiki__item--disabled::before {
  content: "";
  width: calc(100% +4px);
  height: calc(100% +4px);
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 10;
  background-color: transparent;
}

.wiki__item--disabled .wiki__item-lock {
  display: block;
}

.wiki__item--disabled .wiki__item-title,
.wiki__item--disabled .wiki__item-more {
  color: #C0C0C7;
}

.wiki__item--disabled .wiki__item-more::before {
  background-color: #C0C0C7;
}

.wiki__item--disabled .wiki__item-img {
  opacity: 0.6;
  filter: grayscale(5%)
}

.wiki__item-lock {
  display: none;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

@media (max-width: 1200px) {
  .wiki__search-wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 1030px) {
  .wiki__items {
    /* justify-content: space-around; */
  }

  .wiki__item:not(:nth-child(3n + 3), :last-child) {
    margin-right: 10px;
  }

  .wiki__item {
    margin: 0 10px 30px;
    max-width: 460px;
    flex-grow: 1;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .wiki__bottom {
    padding-top: 30px;
    border-radius: 35px 35px 0 0;
  }

  .wiki__items {
    justify-content: space-between;
  }

  .wiki__item {
    flex-basis: 266px;
    margin: 0 0 20px;
  }

  .wiki__item:not(:nth-child(2n + 2), :last-child) {
    margin-right: 15px;
  }

  .wiki__item:last-child {
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 630px) {
  .wiki__search-wrapper {
    padding: 0;
  }

  .wiki__item {
    flex-basis: 300px;
    max-width: 100%;
    margin: 0 0 15px;
  }

  .wiki__item:not(:nth-child(2n + 2), :last-child) {
    margin-right: 0;
  }

  .wiki__item:last-child {
    max-width: 100%;
  }
}
