@charset "UTF-8";
/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

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

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

html,
body {
  min-height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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

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

button {
  cursor: pointer;
  all: unset; /* Сбрасывает все стили элемента, включая наследуемые и заданные по умолчанию */
  height: auto; /* Задаём высоту автоматически, как у обычного `div` */
  background: none; /* Убираем фон */
  border: none; /* Убираем границы */
  box-shadow: none; /* Убираем любые тени */
}

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

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

@font-face {
  font-family: Century Schoolbook;
  src: url("/fonts/CenturySchoolbook/regular/C059-Roman.woff2"), url("/fonts/CenturySchoolbook/regular/C059-Roman.woff");
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
}
@font-face {
  font-family: Century Schoolbook;
  src: url("/fonts/CenturySchoolbook/bold/C059-Bold.woff2"), url("/fonts/CenturySchoolbook/bold/C059-Bold.woff");
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
}
html {
  font-size: 16px;
}
html._small-text {
  font-size: 16px;
}
html._middle-text {
  font-size: 18px;
}
html._large-text {
  font-size: 20px;
}

* {
  overflow-wrap: break-word;
}

svg {
  display: block;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  position: relative;
  font-family: "Roboto", system-ui;
  font-weight: 400;
  font-style: normal;
}
body.hidden {
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  body.hidden::before {
    position: fixed;
    z-index: 30;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(9, 8, 8, 0.5);
  }
}
@media (min-width: 1024px) {
  body.hidden {
    overflow: auto;
  }
  body.hidden::before {
    display: none;
  }
}

header {
  grid-area: header;
}

main {
  grid-area: main;
  flex: 1 1 auto;
}

footer {
  grid-area: footer;
}
@media (max-width: 1024px) {
  footer {
    padding-bottom: 68px;
  }
}

input,
textarea,
select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
    border: 2px dashed #bcbcbc;
    margin: 20px 0;
}

.logo {
  display: block;
  width: 44px;
  height: 44px;
  background-image: url("/images/icons/logo.svg");
  margin-right: 20px;
}

.logo-dark {
  display: none;
  width: 44px;
  height: 44px;
  background-image: url("/images/icons/logo-dark.svg");
  margin-right: 20px;
}

.wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .wrapper {
    position: relative;
    max-width: 864px;
  }
}

.container {
  position: relative;
  min-height: 100%;
}
@media (min-width: 558px) {
  .container {
    width: 100%;
    max-width: 598px;
    margin: 0 auto;
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: 558px 275px;
    grid-template-areas: "header aside" "main aside";
    column-gap: 30px;
    grid-template-rows: auto 1fr; /* Высота строк автоматически по содержимому для header и footer, main растягивается */
  }
}

.container-helper {
  width: 100%;
  max-width: 598px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .container-helper {
    padding: 0;
  }
}

.title-block {
  display: flex;
  align-items: start;
  margin-top: 24px;
  margin-bottom: 16px;
}
.title-block .back-link {
  margin-top: 7px;
}

.back-link {
  margin-right: 8px;
}

.fade-text {
  position: relative;
}
.fade-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 10;
  right: 0;
  height: 100%;
  width: 50px;
  background: linear-gradient(to left, white, transparent);
  pointer-events: none;
}

.head-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.head-info h3 {
  display: inline;
}
.head-info__left {
  display: flex;
  align-items: self-start; /*center;*/
  max-width: 100%;
  overflow: hidden;
  column-gap: 8px;
}
.head-info__avatar {
  flex-shrink: 0;
  max-width: 100px;
}
.head-info__content {
  overflow: hidden;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  row-gap: 4px;
}
.head-info__content_top {
  display: inline-block;
  /*display: flex;
  align-items: center;
  column-gap: 4px;*/
}
.message-button {
  display: inline-block;
  padding: 12px 32px 12px 52px;
  background-color: #714921;
  text-align: center;
  color: #fff;
  transition: 0.1s ease-in-out;
  background-image: url(/images/icons/chat/to-message.svg);
  background-size: auto;
  background-position: 30px;
  background-repeat: no-repeat;
}
.head-info__content_top h3 {
  display: inline-block;
  margin-bottom: 5px;
}
.head-info__content_bottom {
  display: flex;
  align-items: center;
  column-gap: 12px;
}
.head-info__message {
  margin-top: 7px;
}
.head-info__content_text-slice {
  display: block;
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}
.notification {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  height: 16px;
  min-width: 16px;
  border-radius: 800px;
  padding: 0 4px;
  color: white;
  background-color: #714921;
  font-size: 10px;
  line-height: 11.72px;
}

.for-chat {
  display: none;
}
@media (min-width: 1024) {
  .for-chat {
    display: block;
  }
}

.pop-up {
  position: fixed;
  z-index: 150;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-up._none {
  display: none;
}
.pop-up._with-icon .pop-up__icon {
  display: block;
}
.pop-up._with-choice .pop-up__buttons button:last-child {
  display: block;
}
.pop-up__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fff;
  max-width: 350px;
  width: 100%;
  min-height: 100px;
  padding: 40px 30px;
}
.pop-up__inner_close {
  display: block;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: 0.1s ease-in-out;
}
.pop-up__inner_close:hover {
  background-color: #ebebeb;
}
.pop-up__inner_close::before {
  cursor: pointer;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/close.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.pop-up__icon {
  display: none;
  margin-bottom: 24px;
}
.pop-up__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 108%;
  margin-bottom: 16px;
}
.pop-up__text {
  line-height: 117%;
  color: #676767;
  margin-bottom: 24px;
}
.pop-up__buttons {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.pop-up__buttons button:last-child {
  display: none;
}
.pop-up__buttons .login-button {
  cursor: pointer;
}
.pop-up__buttons .login-button a,
.pop-up__buttons .login-button span {
  display: block;
  width: 165px;
  padding: 12px 32px;
  background-color: #714921;
  text-align: center;
  color: #fff;
  transition: 0.1s ease-in-out;
}
.pop-up__buttons .login-button a:hover,
.pop-up__buttons .login-button span:hover {
  background-color: #9c6731;
}
.pop-up__buttons .login-button span {
  color: #292929;
  background-color: transparent;
}
.pop-up__buttons .login-button span:hover {
  background-color: #ebebeb;
}

body._dark-theme {
  background-color: #0d0d0d;
  color: #bbb;
}
body._dark-theme .pop-up {
  background-color: rgba(0, 0, 0, 0.3);
}
body._dark-theme .pop-up__inner {
  background-color: #1c1c1c;
}
body._dark-theme .pop-up__inner_close:hover {
  background-color: #323232;
}
body._dark-theme .pop-up__buttons .login-button {
  cursor: pointer;
}
body._dark-theme .pop-up__buttons .login-button a,
body._dark-theme .pop-up__buttons .login-button span {
  background-color: #714921;
  color: #fff;
}
body._dark-theme .pop-up__buttons .login-button a:hover,
body._dark-theme .pop-up__buttons .login-button span:hover {
  background-color: #9c6731;
}
body._dark-theme .pop-up__buttons .login-button span {
  color: #fff;
  background-color: transparent;
}
body._dark-theme .pop-up__buttons .login-button span:hover {
  background-color: #323232;
}
body._dark-theme .logo {
  display: none;
}
body._dark-theme .logo-dark {
  display: block;
}
body._dark-theme .notification {
  color: #714921;
  font-weight: 500;
  background-color: white;
}
body._dark-theme .fade-text::after {
  background: linear-gradient(to left, #0d0d0d, transparent);
}
._dark-theme img {
    filter: brightness(60%);
}

/* Article Heading */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: Roboto;
  display: block;
  margin-bottom: 0.5em;
  line-height: 117%;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  word-wrap: break-word;
  word-break: break-word;
}

h1,
.h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

h2,
.h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-size: 18px;
  line-height: 105.5%;
}

h3,
.h3 {
  font-size: 22px;
}

h4,
.h4 {
  font-size: 20px;
}

p,
table,
.main ul:not(.categorys__list) {
  font-family: Century Schoolbook, Times, serif;
  font-size: 1.125rem;
  color: inherit;
  font-weight: 400;
  line-height: 105.5%;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

/* Main Text (Inputs, Main Elements) */
input,
textarea,
select,
button {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #090808;
  line-height: 118.75%;
  letter-spacing: -2%;
}

input:not([type=checkbox]):not([type=radio]),
select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.75rem; /* 9/12 */
  background: #fff;
  border: 1px solid #e3e3e3;
  outline: none;
  letter-spacing: -0.02em;
  padding: 13px 16px;
  font-size: 16px;
  line-height: 26px;
}

input:disabled {
  background: #f8f8f8;
  color: #777777;
}

textarea {
  display: block;
  overflow-y: hidden; /* Убираем скролл */
  resize: none; /* Отключаем возможность ручного изменения размера */
  width: 100%;
  height: 114px;
  border: 1px solid #e3e3e3;
  padding: 13px 16px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
}

select {
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
  padding: 13px 40px 13px 16px; /* Делаем больший отступ справа для стрелки */
  appearance: none; /* Убираем стандартный вид select */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */
  background-color: #fff; /* Цвет фона */
  background-image: url("/images/icons/header/arrow-drop.svg"); /* Фоновое изображение */
  background-position: calc(100% - 16px) center; /* Точное позиционирование стрелки */
  background-size: 16px;
  background-repeat: no-repeat; /* Отключаем повторение изображения */
  color: rgba(117, 117, 117, 0.5019607843);
}
select._selected-color {
  color: #090808;
}
select option {
  color: #090808;
}

input[type=radio] {
  cursor: pointer;
  width: 20px;
  height: 20px;
  accent-color: #714921; /* Современный способ изменять цвет */
}

.custom-radio {
  padding: 2px;
}
.custom-radio label {
  cursor: pointer;
}
.custom-radio label input {
  display: none;
}
.custom-radio label span {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #714921;
  vertical-align: sub;
  margin-right: 8px;
}
.custom-radio label span::before {
  content: "";
  display: none;
  width: 14px;
  height: 14px;
  background-image: url("/images/icons/profile-page/checkbox.svg");
  block-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.custom-radio label input:checked ~ span {
  background-color: #714921;
}
.custom-radio label input:checked ~ span::before {
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
}

table,
td,
th {
  padding: 10px;
  border: 1px solid #e3e3e3;
}

blockquote {
  border-left: 4px solid #ccc;
  margin-bottom: 5px;
  margin-top: 5px;
  padding-left: 16px;
}

ul:not([class]),
ol:not([class]) {
  margin: 0;
  padding-left: 20px; /* Отступ слева для маркеров */
}
ul:not([class]) li:not([class]),
ol:not([class]) li:not([class]) {
  position: relative;
  padding-left: 20px;
}
ul:not([class]) li:not([class]):not(:last-child),
ol:not([class]) li:not([class]):not(:last-child) {
  margin-bottom: 12px; /* Отступ между элементами списка */
}
ul:not([class]) li:not([class])::before,
ol:not([class]) li:not([class])::before {
  position: absolute;
  left: 0;
  top: 8px;
  transform: translateY(-50%);
  content: "•"; /* Кастомный маркер (можно использовать любой символ) */
  color: #714921; /* Цвет маркера */
  font-size: 25px; /* Размер маркера */
}

body._dark-theme input,
body._dark-theme textarea,
body._dark-theme input:not([type=checkbox]):not([type=radio]) {
  border: 1px solid #bbb;
  background-color: #0d0d0d;
  color: #bbb;
}
body._dark-theme select {
  color: #bbb;
  background-color: #0d0d0d; /* Цвет фона */
  background-image: url("/images/icons/header/arrow-drop-dark.svg"); /* Фоновое изображение */
  background-position: calc(100% - 16px) center; /* Точное позиционирование стрелки */
  background-size: 16px;
  background-repeat: no-repeat; /* Отключаем повторение изображения */
  color: rgba(117, 117, 117, 0.5019607843);
}
body._dark-theme select._selected-color {
  color: #bbb;
}
body._dark-theme select option {
  color: #bbb;
}
body._dark-theme input[type=radio] {
  background-color: #0d0d0d;
  accent-color: #714921; /* Современный способ изменять цвет */
}
body._dark-theme .custom-radio {
  padding: 2px;
}
body._dark-theme .custom-radio label span {
  background-color: #0d0d0d;
}
body._dark-theme .custom-radio label input:checked ~ span {
  background-color: #714921;
}
body._dark-theme .custom-radio label input:checked ~ span::before {
  display: block;
}
body._dark-theme li:not([class])::before {
  color: #bbb; /* Цвет маркера */
}

.arrow-drop-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/header/arrow-drop.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.triangle-icon {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/header/triangle.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.viewed-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/viewed.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.comment-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/comments.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.like-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/like.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.like-icon._hiden {
  display: none;
}

.like-active-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/like-active.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.like-active-icon._hiden {
  display: none;
}

.arrow-left {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/post-page/arrow-left.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.arrow-left-dark {
  display: none;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/post-page/arrow-left-dark.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.sort-icon {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/post-page/sort.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.unsort-icon {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/post-page/unsort.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.add-file-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/post-page/add-file.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.send-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/post-page/send.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.replay-icon {
  width: 14px;
  height: 14px;
  background-image: url("/images/icons/post-page/replay.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.verified-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url("/images/icons/user/verified.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 5px;
  vertical-align: top;
}

.stable-link {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/link.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 5px;
  vertical-align: top;
}

.gender-male-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url("/images/icons/user/male.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.gender-female-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url("/images/icons/user/female.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.gender-nomale-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url("/images/icons/user/nomale.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.crown-icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-image: url("/images/icons/user/crown.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 5px;
  vertical-align: top;
}

.home-icon {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/home.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.home-icon__active {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/home-active.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.heart-icon-nav {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/heart.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.heart-icon-nav__active {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/heart-active.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.add-icon-nav {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/add.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.bell-icon-nav {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/bell.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.bell-icon-nav__active {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/bell-active.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.chat-icon-nav {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/chat.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.chat-icon-nav__active {
  width: 52px;
  height: 52px;
  background-image: url("/images/icons/footer/chat-active.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-export-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/profile-page/gallery-export.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-export-icon-grey {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/profile-page/gallery-export-grey.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.add-to-friends-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/profile-page/add-to-friends.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.messages-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/profile-page/messages.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.edit-profile-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/edit-profile/edit.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.google-icon {
  width: 32px;
  height: 32px;
  background-image: url("/images/icons/social/google.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.yandex-icon {
  width: 32px;
  height: 32px;
  background-image: url("/images/icons/social/yandex.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.telegram-icon {
  width: 32px;
  height: 32px;
  background-image: url("/images/icons/social/telegram.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.vk-icon {
  width: 32px;
  height: 20px;
  background-image: url("/images/icons/social/vk.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.mail-icon {
  width: 26px;
  height: 26px;
  background-image: url("/images/icons/social/mail.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.add-chat-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/chat/add-chat.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.read-message-icon {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/chat/read-message.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.send-message-icon {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/chat/send-message.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.send-chat-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/chat/send.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.editor-add-photo {
  width: 24px;
  height: 24px;
  background-image: url("/images/icons/profile-page/gallery-export-white.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-bold-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text-bold.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-italic-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text-italic.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-qyote-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/quote-up.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-link-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/link.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-uppercase-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.text-lowercase-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/smallcaps.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.pop-up-icon {
  width: 60px;
  height: 60px;
  background-image: url("/images/icons/popup-icon.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

body._dark-theme .pop-up-icon {
  background-image: url("/images/icons/popup-icon-dark.svg");
}
body._dark-theme .arrow-left {
  display: none;
}
body._dark-theme .arrow-left-dark {
  display: block;
}
body._dark-theme .arrow-drop-icon {
  background-image: url("/images/icons/header/arrow-drop-dark.svg");
}
body._dark-theme .triangle-icon {
  background-image: url("/images/icons/header/triangle-dark.svg");
}
body._dark-theme .editor-add-photo {
  background-image: url("/images/icons/profile-page/gallery-export.svg");
}

.conteiner-for-header {
  position: relative;
  width: 100%;
  max-width: 558px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #fff;
}
@media (max-width: 1024px) {
  .conteiner-for-header.scrolled {
    position: fixed; /* Фиксированное положение */
    top: 0; /* Прилепить к верху страницы */
    z-index: 30;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 4px 10px 7px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .conteiner-for-header.scrolled._active {
    background-color: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }
  .conteiner-for-header.scrolled._active::before {
    content: "";
    position: absolute;
    z-index: 36;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    background-color: rgba(9, 8, 8, 0.5);
  }
  .nomobile {
    display: none;
  }
}
@media (min-width: 1024px) {
  .conteiner-for-header {
    display: contents;
  }
}

.header {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header__left {
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .header {
    height: 76px;
  }
}

.add-morda {
  display: flex;
  align-items: center;
}
.add-morda__btn {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  background-color: #e4fcff;
  transition: 0.2s ease-in-out;
}
.add-morda__btn:hover {
  background-color: #bdd7da;
}
.add-morda__btn::before, .add-morda__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background-color: #080808;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}
.add-morda__btn::before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.add-morda__text {
  display: none;
  font-family: Roboto;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 118%;
  margin-left: 8px;
}
.add-morda__text._visible {
  display: block;
}

.select-morda {
  display: flex;
  align-items: center;
}
.select-morda__list {
  display: flex;
}
.select-morda__list-item {
  display: block;
  position: relative;
  list-style: none;
}
.select-morda__list-item .notification {
  z-index: 10;
  left: 34px;
  top: -4px;
}
.select-morda__list-item._none {
  display: none;
}
.select-morda__link {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  opacity: 35%;
  filter: grayscale(90%);
}
.select-morda__link.index-select {
  opacity: 100%;
  filter: none;
}
.select-morda__link img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.select-morda__add-new {
  display: flex;
}
.select-morda__add-new.hidden {
  display: none;
}

.drop-down {
  display: none;
  position: relative;
  z-index: 5;
}
.drop-down button {
  height: 44px;
}
.drop-down.visible {
  display: block;
}
.drop-down__icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #e4fcff;
}
.drop-down__icon .arrow-drop-icon {
  transition: all 0.1s ease-in-out;
}
.drop-down._active .drop-down__icon .arrow-drop-icon {
  transform: rotateX(180deg);
}
.drop-down._active .drop-down__help-wrap {
  display: block;
}
.drop-down__help-wrap {
  display: none;
  position: absolute;
  right: -12px;
}
.drop-down__list {
  position: relative;
  display: flex;
  margin-top: 30px;
  padding: 8px 12px;
  background-color: #e4fcff;
}
.drop-down__list_icon {
  position: absolute;
  z-index: -1;
  top: -10px;
  right: 22px;
}
.drop-down__body {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
  background-color: #e4fcff;
  margin-right: 8px;
}
.drop-down__link {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  opacity: 25%;
  filter: grayscale(100%);
}
.drop-down__link.index-select {
  opacity: 100%;
  filter: none;
}
.drop-down__link img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.burger {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
}
@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}
.burger span {
  display: block;
  width: 21px;
  height: 1.5px;
  background-color: #080808;
  border-radius: 1px;
  transition: all 0.1s ease-in-out;
}
.burger::before, .burger::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 1.5px;
  background-color: #080808;
  border-radius: 1px;
  transition: all 0.1s ease-in-out;
}
.burger::before {
  top: 6px;
}
.burger::after {
  bottom: 6px;
}

.header-nav {
  display: none;
  overflow-y: auto;
  position: absolute;
  z-index: 40;
  width: 100%;
  height: 100vh;
  right: 0;
  top: 0;
  background-color: #fff;
  color: #000;
}
.header-nav._active {
  display: block;
}
@media (min-width: 768px) {
  .header-nav {
    max-width: 414px;
  }
}
@media (min-width: 1024px) {
  .header-nav {
    display: block;
    overflow-y: visible;
    position: relative;
    grid-area: aside;
    height: 100%;
    max-width: 275px;
    padding-top: 16px;
  }
}
.header-nav__inner {
  position: relative;
  padding: 0 20px 83px;
  max-width: 598px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .header-nav__inner {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0;
    max-width: 275px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 0px 10px 30px;
    background-color: #fff;
    /* Стилизация самого скроллбара */
    /* Стилизация трека (фона) скроллбара */
    /* Стилизация ползунка скроллбара */
    /* Стилизация ползунка при наведении */
  }
  .header-nav__inner::-webkit-scrollbar {
    width: 5px;
  }
  .header-nav__inner::-webkit-scrollbar-track {
    background-color: #ffffff;
    border-radius: 10px;
  }
  .header-nav__inner::-webkit-scrollbar-thumb {
    background-color: #9c9c9c;
    border-radius: 10px;
  }
  .header-nav__inner::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }
}
.header-nav__header {
  position: sticky;
  z-index: 30;
  top: 0;
  padding: 11px 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-nav__header .logo,
.header-nav__header .logo-dark {
  margin-top: 1px;
}
@media (min-width: 1024px) {
  .header-nav__header {
    display: none;
  }
}
.header-nav__close-btn {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
}
.header-nav__close-btn::before, .header-nav__close-btn::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 1.5px;
  background-color: #080808;
  border-radius: 1px;
  transition: all 0.1s ease-in-out;
}
.header-nav__close-btn::before {
  transform: rotate(-45deg);
  transform-origin: center;
}
.header-nav__close-btn::after {
  transform: rotate(45deg);
  transform-origin: center;
}

.authorization-block {
  width: 100%;
  background-color: #f8f8f8;
  margin: 24px 0 20px;
  padding: 24px 0;
}
@media (min-width: 1024px) {
  .authorization-block {
    margin: 0 0 40px;
  }
}

.login-button {
  display: flex;
  justify-content: center;
  width: 100%;
}
.login-button a,
.login-button span {
  display: inline-block;
  padding: 12px 32px;
  background-color: #714921;
  text-align: center;
  color: #fff;
  transition: 0.1s ease-in-out;
}
.login-button a:hover,
.login-button span:hover {
  background-color: #9c6731;
}

.profile-actions {
  text-align: left;
  width: 100%;
  padding: 14px 28px 4px; /*24px 28px 12px;*/
}
.profile-actions__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
}
.profile-actions__link span {
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
  margin-left: 8px;
}
.profile-actions__link span#brown {
  color: #714921;
}
.profile-actions__icon {
  width: 20px;
}
.profile-actions__custom-img {
  position: relative;
  width: 20px;
  height: 20px;
}
.profile-actions__custom-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-with-icon:not(:last-child) {
  margin-bottom: 14px; /*24*/
}
.menu-item-with-icon__link {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.menu-item-with-icon__link .notification {
  margin-left: 15px;
  margin-top: -30px;
}
.menu-item-with-icon__text {
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
  margin-left: 8px;
  transition: all 0.1s ease-in-out;
}
.menu-item-with-icon__text#brown {
  color: #714921;
}
.menu-item-with-icon__link:hover .menu-item-with-icon__text {
  font-weight: 500;
  color: #bababa;
}
.menu-item-with-icon__link:hover .menu-item-with-icon__text#brown {
  color: #9c6731;
}
.menu-item-with-icon__add-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/add-square.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__heart {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/heart.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__bell-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/bell.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__message-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/letter.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__log-out-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/log-out.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__setting-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/setting.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__info-circle-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/info-circle.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__document-text-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/document-text.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__call-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/header/call.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.menu-item-with-icon__custom--img {
  position: relative;
  width: 20px;
  height: 20px;
}
.menu-item-with-icon__custom--img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item-with-icon__icon {
  width: 20px;
}

.search-block {
  position: relative;
  margin-bottom: 20px;
}
.search-block input:not([type=checkbox]):not([type=radio]) {
  padding: 12px 12px 12px 48px;
}
.search-block__input {
  width: 100%;
  padding: 12px 12px 12px 48px;
  border: 1px solid #d2d2d2;
}
.search-block__white-icon {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background-image: url("/images/icons/header/search.svg");
}
.search-block__dark-icon {
  display: none;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background-image: url("/images/icons/header/search-dark.svg");
}

.header-section {
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .header-section {
    padding-left: 24px;
  }
}

.header-settings {
  padding-top: 28px;
  border-top: 1px solid #d9d9d9;
}
@media (min-width: 1024px) {
  .header-settings {
    padding-left: 24px;
    border-top: none;
  }
}

.settings-list {
  margin-bottom: 24px;
}
.settings-list__item:not(:last-child) {
  margin-bottom: 16px;
}
.settings-list__link {
  display: inline-flex;
  align-items: center;
}
.settings-list__link span {
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
  margin-left: 8px;
}

.themes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 350px;
  margin: 0 auto;
}
.themes__sun-icon {
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/header/sun.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.themes__sun-icon-for-dark {
  display: none;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/header/sun-dark.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.themes__dark-icon {
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/header/moon.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 1024px) {
  .themes {
    display: block;
  }
}
.button-switch {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  max-width: 163px;
  width: 100%;
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
}
.button-switch:hover {
  transition: all 0.1s ease-in-out;
  background-color: rgb(250, 250, 250);
}
.button-switch._active {
  background-color: #f1f1f1;
  color: #090808;
}
.button-switch#js-white {
  background-color: #f1f1f1;
  color: #090808;
}
.button-switch#js-white svg path {
  stroke: #090808;
}
@media (min-width: 1024px) {
  .button-switch#js-handle-left, .button-switch#js-handle-right {
    max-width: 100px;
  }
}
.button-switch span {
  color: inherit;
  margin-left: 8px;
}

.hand-mode-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 350px;
  margin: 16px auto 0;
}
@media (min-width: 1024px) {
  .hand-mode-switcher {
    max-width: 275px;
  }
}

.text-size-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 350px;
  margin: 16px auto 0;
}
.text-size-switcher .button-switch {
  max-width: 100%;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
}
.text-size-switcher .button-switch:hover {
  transition: all 0.1s ease-in-out;
  background-color: rgb(250, 250, 250);
}
.text-size-switcher .button-switch._active {
  background-color: #f1f1f1;
  color: #090808;
}
.text-size-switcher .button-switch#js-white {
  background-color: #f1f1f1;
  color: #090808;
}
.text-size-switcher .button-switch#js-white svg path {
  stroke: #090808;
}
@media (min-width: 1024px) {
  .text-size-switcher .button-switch#js-handle-left, .text-size-switcher .button-switch#js-handle-right {
    max-width: 100px;
  }
}
.text-size-switcher .button-switch span {
  color: inherit;
  margin-left: 8px;
}

.download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
  gap: 10px;
}
.download__link-googleplay {
  display: block;
  width: 170px;
  height: 50px;
  background-image: url("/images/icons/header/googleplay.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.download__link-appstore {
  display: block;
  width: 170px;
  height: 50px;
  background-image: url("/images/icons/header/appstore.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 1024px) {
  .download {
    display: none;
  }
}

body._dark-theme .conteiner-for-header {
  background-color: #0d0d0d;
}
body._dark-theme .conteiner-for-header.scrolled {
  background-color: rgba(13, 13, 13, 0.4);
  box-shadow: 0px 4px 10px 7px rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body._dark-theme .add-morda__btn {
  background-color: #1c1c1c;
  transition: 0.2s ease-in-out;
}
body._dark-theme .add-morda__btn:hover {
  background-color: #323232;
}
body._dark-theme .add-morda__btn::before, body._dark-theme .add-morda__btn::after {
  background-color: #fff;
}
body._dark-theme .drop-down__icon {
  background-color: #1c1c1c;
}
body._dark-theme .drop-down__list {
  background-color: #1c1c1c;
}
body._dark-theme .drop-down__body {
  background-color: #1c1c1c;
}
body._dark-theme .burger span {
  background-color: #fff;
}
body._dark-theme .burger::before, body._dark-theme .burger::after {
  background-color: #fff;
}
body._dark-theme .header-nav {
  background-color: #0d0d0d;
  color: #fff;
}
body._dark-theme .header-nav__close-btn::before, body._dark-theme .header-nav__close-btn::after {
  background-color: #fff;
}
@media (min-width: 1024px) {
  body._dark-theme .header-nav__inner {
    background-color: #0d0d0d;
    /* Стилизация трека (фона) скроллбара */
    /* Стилизация ползунка скроллбара */
    /* Стилизация ползунка при наведении */
  }
  body._dark-theme .header-nav__inner::-webkit-scrollbar-track {
    background-color: #0d0d0d;
    border-radius: 10px;
  }
  body._dark-theme .header-nav__inner::-webkit-scrollbar-thumb {
    background-color: #686868;
    border-radius: 10px;
  }
  body._dark-theme .header-nav__inner::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }
}
body._dark-theme .header-nav__header {
  background-color: #0d0d0d;
}
body._dark-theme .authorization-block {
  background-color: #1c1c1c;
}
body._dark-theme .search-block__input {
  color: #fff;
  border: 1px solid #1c1c1c;
  background-color: #0d0d0d;
}
body._dark-theme .search-block__white-icon {
  display: none;
}
body._dark-theme .search-block__dark-icon {
  display: block;
}
body._dark-theme .header-section__item._active a {
  color: #fff;
}
body._dark-theme .header-settings {
  border-top: 1px solid #1c1c1c;
}
body._dark-theme .themes__sun-icon {
  display: none;
}
body._dark-theme .themes__sun-icon-for-dark {
  display: block;
}
body._dark-theme .button-switch {
  color: #676767;
}
body._dark-theme .button-switch:first-child {
  margin-right: 16px;
}
body._dark-theme .button-switch:hover {
  transition: all 0.1s ease-in-out;
  background-color: #131313;
}
body._dark-theme .button-switch._active {
  background-color: #1c1c1c;
  color: #676767;
}
body._dark-theme .button-switch#js-white {
  background-color: transparent;
  color: #676767;
}
body._dark-theme .button-switch#js-white:hover {
  transition: all 0.1s ease-in-out;
  background-color: #131313;
}
body._dark-theme .button-switch#js-white svg path {
  stroke: #676767;
}
body._dark-theme .button-switch#js-dark {
  background-color: #1c1c1c;
}

.main__title {
  font-family: Inter;
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
  margin-top: 24px;
  margin-bottom: 32px;
}

.categorys {
  display: flex;
  align-items: start;
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
}
.categorys__btn-add {
  cursor: pointer;
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin-right: 28px;
  transition: 0.2s ease-in-out;
}
.categorys__btn-add:hover {
  background-color: #dadada;
}
.categorys__btn-add::before, .categorys__btn-add::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background-color: #676767;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}
.categorys__btn-add::before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.categorys__list {
  display: flex;
  align-items: center;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 6px;
  padding-bottom: 11px;
  /* Стилизация самого скроллбара */
  /* Стилизация трека (фона) скроллбара */
  /* Стилизация ползунка скроллбара */
  /* Стилизация ползунка при наведении */
}
.categorys__list::-webkit-scrollbar {
  height: 0;
}
.categorys__list::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 10px;
}
.categorys__list::-webkit-scrollbar-thumb {
  background-color: #9c9c9c;
  border-radius: 10px;
}
.categorys__list::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.categorys__link {
  position: relative;
  font-family: Roboto;
  line-height: 117%;
  color: #757575;
  white-space: nowrap;
  margin-right: 28px;
  transition: all 0.1s ease-in-out;
}
.categorys__link:hover {
  color: #000000;
}
.categorys__link._selected {
  color: #080808;
}
.categorys__link._selected::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background-color: #080808;
}

.categorys__operand {
	margin: 20px 0 10px 0;
}
.categorys__select {
  display: inline-block;
  background-color: #f3f3f3;
  padding: 2px 18px 2px 8px;
  width: initial;
  border: initial;
  margin-right: 10px;
  max-width: 32%;
}
.categorys__sort {
  float: right;
}

.feed {
  margin-top: 32px;
}

.post-type {
  display: flex;
}
.post-type-col {
  flex: 1 1 calc(50% - 12px);
  max-width: calc(50% - 12px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  font-size: 20px;
  color: #4e2301;
  padding: 15px 0;
}
.post-type-col a {
  color: #676767;
}
.post-type-col.active {
  border-bottom: 3px solid #4e2301;
}
body._dark-theme .post-type-col.active {
  border-bottom: 3px solid #714921;
}
.post-type-col span {
  background-size: 20px 20px;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin: 0 10px;
}
body._dark-theme .post-type-col {
  color: #714921;
} 
.post-type-fast span {
  background-image: url(../images/icons/profile-page/gallery-export-grey.svg);
}
.post-type-editor span {
  background-image: url(../images/icons/edit-profile/edit.svg);
}
.post:not(:last-child) {
  margin-bottom: 32px;
}
.post__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fastpost {
  padding: 30px 0;
}
.main .fastpost input {
  border: 0;
  font-size: 26px;
}
.fastpost textarea {
  border: 0;
  font-size: 20px;
}
.fastpost .attachments-list {
  grid-template-columns: repeat(auto-fit, 100%);
}
.fastpost .attachment  {
  width: 100%;
  height: 25rem;
}
.post-head {
  display: flex;
}
.post-head__avatar {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 12px;
}
.post-head__avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-head__name {
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #919191;
  font-size: 125%;
  display: inline-block;
}
.post-head__info {
  display: flex;
  color: #757575;
}
.post-head__category {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #757575;
}
.post-head__post-added {
  position: relative;
  padding-left: 12px;
  margin-left: 8px;
  white-space: nowrap;
}
.post-head__post-added::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateY(-50%);
  background-color: #757575;
}

.post-settings {
  position: relative;
  display: inline-block;
}
.post-settings__icon {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.1s ease-in-out;
}
.post-settings__icon:hover {
  background-color: rgb(237, 237, 237);
}
.post-settings__item {
  width: 4px;
  height: 4px;
  border: 1px solid #757575;
}
.post-settings__item:not(:last-child) {
  margin-bottom: 2px;
}
.post-settings__kebab {
  display: none;
  position: absolute;
  z-index: 12;
  right: 10px;
  top: calc(100% + 8px);
  width: 166px;
  background-color: #e4fcff;
  padding: 20px 0;
  -webkit-box-shadow: 5px 30px 55px -3px rgba(0, 0, 0, 0.18);
  -moz-box-shadow: 5px 30px 55px -3px rgba(0, 0, 0, 0.18);
  box-shadow: 5px 30px 55px -3px rgba(0, 0, 0, 0.18);
}
.post-settings__kebab._active {
  display: block;
}
.post-settings__kebab_item {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 117%;
  color: #757575;
  padding: 8px 20px;
  width: 100%;
  transition: all 0.1s ease-in-out;
}
.post-settings__kebab_item:hover {
  background-color: #b5f4fc;
  cursor: pointer;
}
.post-settings__danger-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/danger.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}
.post-settings__forward-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/forward.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}
.post-settings__code-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/code.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}
.post-settings__edit-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/editm.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}
.post-settings__deact-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/deact.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}
.post-settings__delete-icon {
  width: 20px;
  height: 20px;
  background-image: url("/images/icons/post/delete.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.post-body__title {
  display: block;
  font-size: 24px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #090808;
  margin-top: 12px;
}
.post-body__text-wrapper {
  position: relative;
}
.post-body__text-wrapper._text-slice {
  max-height: 440px;
  overflow: hidden;
}
.post-body__text-wrapper._text-slice::before {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 10;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, white, transparent);
  pointer-events: none;
}
.post-body__text-wrapper._text-slice + .post-body__to-full-text {
  display: block;
}
.post-body__text {
  position: relative;
  font-family: Century Schoolbook, Times, serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.02em;
  padding: 12px 0;
  color: #2f2f2f;
}
@media (min-width: 1024px) {
  .post-body__text {
    padding: 12px 0;
  }
}
.post-body__to-full-text {
  cursor: pointer;
  display: none;
  font-family: Roboto;
  line-height: 117%;
  margin-top: 20px;
  margin-bottom: 24px;
  transition: 0.1s ease-in-out;
  color: #675cff;
  border-radius: 8px;
  padding: 5px 10px;
}
.post-body__to-full-text:hover {
  background-color: rgb(237, 237, 237);
  color: #3025ff;
}
.post-body__img {
  margin-top: 12px;
  position: relative;
  max-width: 100%;
  aspect-ratio: 16/9;
}
.post-body__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 558px) {
  .post-img-container {
    max-width: 598px;
    margin: 0 auto;
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .post-img-container {
    padding: 0;
  }
}

.activity-panel {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
}
.activity-panel__left {
  display: flex;
}
.activity-panel._for-left-handers .activity-panel__left {
  order: 2;
}
.activity-panel._for-left-handers .activity-panel__right {
  order: 1;
}


.comment-component .activity-panel {
  margin-top: 8px;
}
.comment-component .activity-panel__left {
  height: 23px;
}

.comment-component .comment-component__reply-count {
  padding: 4px 8px;
  border-radius: 6px;
}

.comment-component .comment-component__reply-count .interact__count {
  font-size: 12px;
  color: #757575;
}

.comment-component .comment-component__reply {
  padding: 4px 8px;
}

.comment-component .comment-component__reply .replay-icon {
  width: 12px;
  height: 12px;
}

.comment-component .comment-component__reply .interact__count {
  font-size: 12px;
  color: #757575;
}

.comment-component .activity-panel__right .interact {
  padding: 2px 8px;
}

.comment-component .activity-panel__right .like-icon, .comment-component .activity-panel__right .like-active-icon {
  width: 16px;
  height: 16px;
}

.comment-component .activity-panel__right .interact__count {
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
}

.interact {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: #f1f1f1;
  transition: all 0.1s;
}
.interact:hover {
  background-color: #dedede;
}
.interact__count {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.03em;
  margin: 0;
  margin-left: 4px;
  color: #676767;
}
.interact__icon._hiden {
  display: none;
}

.viewed {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  margin-right: 8px;
}
.viewed__icon {
  margin-right: 2px;
}
.viewed__count {
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.03em;
  margin: 0;
  margin-left: 4px;
  color: #676767;
}

.fixed-nav {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 21px 48px;
  height: 68px;
  border-top: 1px solid #e6e6e6;
  background-color: #fff;
}
@media (min-width: 1024px) {
  .fixed-nav {
    display: none;
  }
}
.fixed-nav__item {
  position: relative;
  height: 52px;
  width: 52px;
}
.fixed-nav__item .notification {
  left: 33px;
  top: 8px;
}
.fixed-nav__item._new::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #676767;
  transform: translateX(-50%);
}
.fixed-nav__item._active::before {
  background-color: #714921;
}
.fixed-nav__item._active svg path {
  stroke: #714921;
}

body._dark-theme .categorys {
  border-bottom: 1px solid #676767;
}
body._dark-theme .categorys__btn-add:hover {
  background-color: #323232;
}
body._dark-theme .categorys__link {
  color: #676767;
}
body._dark-theme .categorys__link:hover {
  color: #bababa;
}
body._dark-theme .categorys__link._selected {
  color: #fff;
}
body._dark-theme .categorys__link._selected::before {
  background-color: #fff;
}
body._dark-theme .post-head__name {
  color: #bbb;
}
body._dark-theme .post-settings__icon:hover {
  background-color: #131313;
}
body._dark-theme .post-settings__kebab {
  background-color: #1c1c1c;
}
body._dark-theme .post-settings__kebab_item:hover {
  background-color: #323232;
}
body._dark-theme .post-body__title {
  color: #bbb;
}
body._dark-theme .post-body__text-wrapper._text-slice::before {
  background: linear-gradient(to top, #0d0d0d, transparent);
}
body._dark-theme .post-body__to-full-text:hover {
  background-color: #131313;
  color: #847cf4;
}
body._dark-theme .post-body__text {
  /*color: #676767;*/
  color: #b4b4b4;
}
body._dark-theme .post-body__img img {
  opacity: 0.8;
}
body._dark-theme .interact {
  background-color: #1c1c1c;
}
body._dark-theme .interact:hover {
  background-color: #2c2c2c;
}
body._dark-theme .fixed-nav {
  border-top: 1px solid #1c1c1c;
  background-color: #0d0d0d;
}

.container-footer {
  width: 100%;
  max-width: 598px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .container-footer {
    max-width: 864px;
    padding: 0;
  }
}

.footer {
  background-color: #f0f0f0;
  width: 100%;
  margin-top: 32px;
}

.footer-inner {
  padding-top: 40px;
  padding-bottom: 52px;
}
.footer-inner__top {
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .footer-inner__top {
    margin-bottom: 40px;
  }
}
@media (min-width: 1024px) {
  .footer-inner__top {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
  }
}
.footer-inner__logo {
  margin-bottom: 32px;
}
.footer-inner__list:not(:last-child) {
  margin-bottom: 16px;
}
.footer-inner__bottom {
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
}
@media (min-width: 1024px) {
  .footer-inner__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-inner__download {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-inner__download {
    justify-content: start;
  }
}
@media (min-width: 1024px) {
  .footer-inner__download {
    order: 2;
  }
}
.footer-inner__download a {
  margin-right: 10px;
}
.footer-inner__copy {
  line-height: 16.41px;
  letter-spacing: -0.02em;
  color: #676767;
  margin-top: 28px;
}
@media (min-width: 1024px) {
  .footer-inner__copy {
    order: 1;
    margin-top: 0;
  }
}

.menu-item-not-icon:not(:last-child) {
  margin-bottom: 20px;
}
.menu-item-not-icon a {
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #373737;
  transition: 0.1s ease-in-out;
  font-size: 120%;
}
body._dark-theme .menu-item-not-icon a {
  filter: brightness(60%);
  color: #a2a2a2;
}
.menu-item-not-icon a:hover {
  color: #bababa;
}
.menu-item-not-icon._active a {
  color: #090808;
  font-weight: 500;
}

body._dark-theme .footer {
  background-color: #1c1c1c;
}
body._dark-theme .footer-inner__bottom {
  border-top: none;
}
body._dark-theme .menu-item-not-icon._active a {
  color: #bbb;
}

._text {
  hyphens: auto;
  overflow-wrap: break-word;
  color: #2f2f2f;
  /* Article Heading */
  /* Article Body */
  /* Main Text (Inputs, Main Elements) */
  /* Support Text */
}
._text a:hover,
._text a:focus,
._text a:active {
  text-decoration: underline;
}
._text h1,
._text h2 {
  font-family: Roboto;
  font-size: 28px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
._text h3,
._text h4,
._text h5,
._text h6 {
  font-family: Century Schoolbook, Times, serif;
  font-weight: bold;
  font-size: 18px;
  color: inherit;
  line-height: 105.5%;
  letter-spacing: -2%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
._text h3 {
  font-size: 22px;
}
._text h4 {
  font-size: 20px;
}
._text p,
._text ol,
._text ul,
._text pre,
._text table {
  font-family: Century Schoolbook, Times, serif;
  font-size: 1.125rem;
  color: inherit;
  font-weight: 400;
  line-height: 150%;
  margin-top: 0.5em;
  margin-bottom: 1em;
}
._text input,
._text textarea,
._text select,
._text button {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #090808;
  line-height: 118.75%;
  letter-spacing: -2%;
}
._text small,
._text sub,
._text sup,
._text kbd,
._text samp,
._text code {
  font-family: "Roboto", sans-serif;
  font-weight: regular;
  font-size: 1rem;
  color: inherit;
  line-height: 118.75%;
  letter-spacing: -2%;
}
._text ol,
._text ul {
  padding-left: 1em;
  list-style-position: outside;
}
._text ol {
  list-style-type: decimal;
}
._text ul {
  list-style-type: disc;
}
._text ol li,
._text ul li {
  margin-bottom: 0.5em;
  list-style: inherit;
}
._text table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
}
._text hr {
  box-sizing: border-box;
  height: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
  color: var(--color-gray-dark);
  background: currentColor;
  border: 0;
  overflow: visible;
}
._text img {
  width: calc(100% + 40px);
  max-width: none;
  margin-left: -20px;
  vertical-align: baseline;
}
@media (min-width: 558px) {
  ._text img {
    padding: 0 20px;
  }
}
._text b,
._text strong {
  font-weight: bold;
}
._text em {
  font-style: italic;
}
._text pre,
._text code,
._text kbd,
._text samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1rem;
}

.subscribe {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 144px;
  padding: 8.5px 12px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.subscribe:hover {
  background-color: rgb(237, 237, 237);
}
.subscribe input {
  display: none;
}
.subscribe input:checked ~ .subscribe__no-subscribe {
  display: none;
}
.subscribe input:checked ~ .subscribe__is-subscribed {
  display: block;
}
.subscribe__no-subscribe {
  display: flex;
  align-items: center;
}
.subscribe__is-subscribed {
  display: none;
  font-size: 16px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
}
.subscribe__text {
  font-size: 16px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #714921;
  margin-right: 4px;
}
.subscribe__icon {
  position: relative;
  width: 10px;
  height: 10px;
}
.subscribe__icon::before, .subscribe__icon::after {
  content: "";
  position: absolute;
  background-color: #714921; /* Цвет линий */
}
.subscribe__icon::before {
  width: 10px;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.subscribe__icon::after {
  width: 1px;
  height: 10px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.post-page {
  margin: 0 0 0px 0;
  padding: 10px 5px;
}
.morda-list:hover {
  background-color: #ededed;
}
body._dark-theme .morda-list:hover {
  background-color: #1c1c1c;
}
.morda-list .head-info__right_hover {
  visibility: hidden;
  /*display: none;*/
}
.morda-list:hover .head-info__right_hover {
  visibility: visible;
  /*display: block;*/
}
.morda-list .head-info__right_hover .subscribe__is-subscribed {
  visibility: visible;
}
.morda-list .head-info__content_top {
  display: flex;
  gap: 7px;
}
.morda-list .comment-component__avatar
{
  width: 100px;
  height: 100px;
}
.morda-list .post-head__category {
  margin-left: 10px;
}
.morda-list .post-head__name {
  color: #000;
  font-weight: 600;
  font-size: 140%;
  display: inline-block;
}
.morda-list .verified-icon, .morda-list .crown-icon {
  margin: 0;
}
.morda-list .accaunt-info {
  padding: 12px 0px;
}
.morda-list .accaunt-info__text {
  font-size: 13px;
}
.morda-list .post-page__content {
  margin: 0;
}
.morda-list .post-page__content p {
  margin: 0;
  font-size: 110%;
}
@media (max-width: 558px) {
.morda-list .head-info {
  align-items: flex-start;
  flex-direction: column;
}
.morda-list .head-info__right {
  margin-left: 94px;
}
}
.post-page__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
}
.post-page__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.post-page__about-post {
  display: flex;
  align-items: center;
  font-weight: 400;
  line-height: 117%;
  color: #757575;
}
/*
.post-page__about-post_added {
  position: relative;
  padding-right: 10px;
  margin-right: 8px;
}
.post-page__about-post_added::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  right: 0;
  top: 50%;
  background-color: #757575;
  transform: translateY(-50%);
  border-radius: 50%;
}*/
.post-page__about-post_reading-time {
  position: relative;
  padding-left: 10px;
  margin-left: 8px;
}
.post-page__about-post_reading-time::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  left: 0;
  top: 50%;
  background-color: #757575;
  transform: translateY(-50%);
  border-radius: 50%;
}
.post-page__danger {
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.post-page__danger:hover {
  background-color: rgb(237, 237, 237);
}
.post-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 16px;
}
.post-page__content {
  margin-top: 16px;
}
.post-page__categorys {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 16px;
}

.ctegory-compomponent {
  padding: 10px 16px;
  background-color: #e4fcff;
  color: #292929;
}

.ctegory-town {
  background-color: #ece4ff;
}

.comments-section {
  padding-top: 24px;
}
.replays .comments-section {
  padding-top: 8px;
}
.comments-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.comments-section__head_count-comment {
  font-size: 20px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
}
.comments-section__head_sort {
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.comments-section__head_sort:hover {
  background-color: rgb(237, 237, 237);
}

.added-comment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 20px;
}
.added-comment__inputs-wrapper {
  width: 100%;
}
.added-comment__add-file {
  display: inline-block;
  margin-right: 10px;
  align-self: flex-end;
  background-color: #f4f1f1;
}
.added-comment__add-file label {
  cursor: pointer;
  display: block;
  padding: 6px;
}
.added-comment textarea {
  border: none;
  padding: 0;
  overflow-y: hidden; /* Убираем скролл */
  resize: none; /* Отключаем возможность ручного изменения размера */
  width: 90%;
  height: 28px;
}
.added-comment__icon {
  cursor: pointer;
  align-self: flex-end;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.added-comment__icon:hover {
  background-color: rgb(237, 237, 237);
}
.added-comment__replay {
  display: none;
  margin-top: 20px;
}
.added-comment__replay._active {
  display: flex;
}

.nested-comment {
	/*перенес в .replays */
  /*padding: 8px 0 8px 12px;
  border-left: 2px dashed #e7e7ed;*/
  /*margin-top: 12px;*/
}
/*и отступы слева теперь формируются вложениями в .replays */
/*
.nested-comment__1 {
  margin-left: 12px;
}
@media (max-width: 375px) {
  .nested-comment__1 {
    margin-left: 9px;
  }
}
.nested-comment__2 {
  margin-left: 24px;
}
@media (max-width: 375px) {
  .nested-comment__2 {
    margin-left: 18px;
  }
}
.nested-comment__3 {
  margin-left: 36px;
}
@media (max-width: 375px) {
  .nested-comment__3 {
    margin-left: 27px;
  }
}
.nested-comment__4 {
  margin-left: 48px;
}
@media (max-width: 375px) {
  .nested-comment__4 {
    margin-left: 36px;
  }
}
.nested-comment__5 {
  margin-left: 60px;
}
@media (max-width: 375px) {
  .nested-comment__5 {
    margin-left: 45px;
  }
}*/
.nested-comment__5 .comment-component__name-user.text-slice-right {
  width: 120px;
}
.nested-comment__5 .comment-component__reply-count {
  margin-right: 8px;
}

.comments-block:not(:last-child) {
  margin-bottom: 32px;
}

.comment-component__avatar {
  flex-shrink: 0;
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
}
.comments-block .comment-component__avatar {
  width: 30px;
  height: 30px;
}
.comments-block .post-head__name {
  font-size: 90%;
  line-height: 90%;
  font-weight: 400;
  color: #5a5a5a;
}
.comments-block .head-info__content_bottom {
  font-size: 90%;
  line-height: 90%;
}
.comment-component__avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comment-component__avtor {
  line-height: 117%;
  color: #00d73c;
}
.comment-component__time-added {
  line-height: 117%;
  color: #a4a0a0;
  white-space: nowrap;
}
.comment-component__text {
  font-size: 16px;
  line-height: 140%;
  margin: 8px 0 8px;
}
.comment-component__activity {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comment-component__reply-count {
  white-space: nowrap;
  cursor: pointer;
  margin-right: 12px;
}
.comment-component__reply-count._reply-me .interact__count {
  color: #675cff;
}
.comment-component__reply-count._no-replay {
  display: none;
}
@media (max-width: 375px) {
  .comment-component__reply-count {
    font-size: 12px;
  }
}
.comment-component__reply {
  white-space: nowrap;
  cursor: pointer;
}
.comment-component__reply .interact__icon {
  margin-right: 4px;
}
@media (max-width: 375px) {
  .comment-component__reply {
    font-size: 12px;
  }
}

.replays {
  display: none;
  padding: 8px 0 8px 12px;
  border-left: 2px dashed #e7e7ed;
  margin-top: 12px;
}
.replays._visible {
  display: block;
}

.replays-close-btn {
  display: none;
  cursor: pointer;
  padding: 8px 32px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 117%;
  color: #675cff;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.replays-close-btn._active {
  display: block;
}
.replays-close-btn:hover {
  background-color: rgb(237, 237, 237);
}

.no-comments {
  text-align: center;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
  padding: 32px 0;
  margin-top: 28px;
  margin-bottom: 28px;
}

body._dark-theme ._text {
  /*color: #676767;*/
  color: #b4b4b4;
}
body._dark-theme .back-link svg path {
  stroke: #c4c4c4;
}
body._dark-theme .subscribe:hover {
  background-color: #131313;
}
body._dark-theme .subscribe__text {
  color: #bbb;
}
body._dark-theme .subscribe__icon {
  position: relative;
  width: 10px;
  height: 10px;
}
body._dark-theme .subscribe__icon::before, body._dark-theme .subscribe__icon::after {
  background-color: #bbb; /* Цвет линий */
}
body._dark-theme .post-page__danger:hover {
  background-color: #131313;
}
body._dark-theme .ctegory-compomponent {
  background-color: #1c1c1c;
  color: #bbb;
}
body._dark-theme .comments-section__head_sort:hover {
  background-color: #131313;
}
body._dark-theme .added-comment {
  border-bottom: 1px solid #1c1c1c;
}
body._dark-theme .added-comment__add-file {
  background-color: #1c1c1c;
}
body._dark-theme .added-comment textarea {
  border: none;
  padding: 0;
  background-color: #0d0d0d;
  color: #bbb;
}
body._dark-theme .added-comment__icon:hover {
  background-color: #131313;
}
body._dark-theme .replays-close-btn:hover {
  background-color: #131313;
}
body._dark-theme .nested-comment {
  border-left: 2px dashed #1c1c1c;
}

.profile {
  width: 100%;
}

.profile-bg {
  position: relative;
  aspect-ratio: 16/7; /* Добавляем аспектное соотношение для поддержки */
  overflow: hidden; /* Прячем выступающие части */
  background-color: #f0f0f0;
}
.profile-bg img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.7; */
  /* filter: brightness(50%); */
}
.profile-bg__add-file {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 0;
  display: inline-block;
  background-color: #e4fcff;
}
._dark-theme .profile-bg__add-file {
  background-color: #78989c;
}
.profile-bg__add-file label {
  cursor: pointer;
  display: block;
  padding: 14px;
}
.section-d_userpage_home .post-body {
  margin: 23px 0;
}
.avatar-d_userpage {
  max-width: 100px;
}
.avatar-login {
  width: 20px;
  height: 20px;
}
.no-mord {
  background-image: url(/images/icons/profile-page/no-mord.svg);
  background-repeat: no-repeat;
  padding: 10px 0px;
  background-position: center;
  text-align: center;
  display: block;
  margin: 60px 0 20px 0;
  height: 27px
}
.profile-content {
  margin-top: 20px;
}
.profile-content__kebab {
  display: flex;
  justify-content: end;
}
.profile-content__avatar {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: hidden; /* Прячем выступающие части */
  background-color: #c2c2c2;
  border: 5px solid #ffffff;
  margin-top: -45%;
  margin-left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
._dark-theme .profile-content__avatar {
  border-color: #bbb;
}
.profile-content__avatar img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-content__age {
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #757575;
}
.profile-content__user {
  display: flex;
  align-items: start;
  justify-content: center;
  column-gap: 8px;
  padding: 0 5%;
  margin-top: 12px;
}
.profile-content__user .verified-icon,
.profile-content__user .crown-icon {
  flex-shrink: 0;
}
.profile-content__user .verified-icon, .profile-content__user .crown-icon, .profile-content__user .gender-male-icon, .profile-content__user .gender-female-icon, .profile-content__user .gender-nomale-icon {
  width: 24px;
  height: 24px;
}
.profile-content__user_name {
  font-size: 2rem;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-align: center;
  color: #4e2301;
}
._dark-theme .profile-content__user_name {
  color: #9c6731;
}
.balance {
  display: block;
  text-align: center;
}
.accaunt-info {
  display: flex;
  flex-wrap: wrap; /* Разрешаем перенос элементов на новые строки */
  justify-content: center; /* Центрируем элементы в строках */
  gap: 12px; /* Промежуток между элементами */
  padding: 16px 13px;
}
.accaunt-info__item {
  flex: 1 1 calc(33.33% - 12px); /* Ширина каждого элемента с учетом промежутка */
  max-width: calc(33.33% - 12px); /* Ограничение ширины для 3 элементов в строке */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.accaunt-info__count {
  font-size: 20px;
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #00d73c;
}
.accaunt-info__text {
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #292929;
}

.about-pet {
  text-align: center;
  padding: 12px 0;
}
.about-pet__text {
  position: relative;
  font-size: 16px;
  line-height: 117%;
  color: #757575;
}
.about-pet__text._text-slice {
  max-height: 100px;
  overflow: hidden;
}
.about-pet__text._text-slice::before {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 10;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, white, transparent);
  pointer-events: none;
}
.about-pet__text._text-slice + .about-pet__to-full-text {
  display: block;
}
.about-pet__to-full-text {
  cursor: pointer;
  display: none;
  font-family: Roboto;
  line-height: 117%;
  margin-top: 20px;
  margin-bottom: 24px;
  transition: 0.1s ease-in-out;
  color: #675cff;
  border-radius: 8px;
  padding: 5px 10px;
  margin: 0 auto;
}
.about-pet__to-full-text:hover {
  background-color: rgb(237, 237, 237);
  color: #3025ff;
}

.profile-categorys {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}

.profile-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  column-gap: 12px;
  margin-top: 20px;
}
.profile-controls__subscribe {
  max-width: 244px;
  width: 100%;
  height: 43px;
}
.profile-controls__subscribe input {
  display: none;
}
.profile-controls__subscribe input:checked ~ .profile-controls__subscribe-inner {
  background-color: transparent;
  border: 1px solid #f1f1f1;
}
.profile-controls__subscribe input:checked ~ .profile-controls__subscribe-inner .profile-controls__no-subscribe {
  display: none;
}
.profile-controls__subscribe input:checked ~ .profile-controls__subscribe-inner .profile-controls__is-subscribed {
  display: block;
}
.profile-controls__subscribe-inner {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: all 0.1s ease-in-out;
  background-color: #714921;
  color: #ffffff;
  transition: 0.1s ease-in-out;
}
.profile-controls__subscribe-inner:hover {
  background-color: #9c6731;
}
.profile-controls__no-subscribe {
  display: flex;
  align-items: center;
}
.profile-controls__is-subscribed {
  display: none;
  font-size: 16px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
}
.profile-controls__add {
  display: inline-block;
  padding: 11.5px;
  background-color: #f1f1f1;
  transition: 0.1s ease-in-out;
}
.profile-controls__add:hover {
  background-color: #dedede;
}
.profile-controls__messages {
  display: inline-block;
  padding: 11.5px;
  background-color: #f1f1f1;
  transition: 0.1s ease-in-out;
}
.profile-controls__messages:hover {
  background-color: #dedede;
}

.edit-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
.edit-profile__link {
  text-align: center;
  max-width: 350px;
  width: 100%;
  padding: 12px 10px;
  background-color: #f1f1f1;
  font-size: 16px;
  font-weight: 500;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
  transition: 0.1s ease-in-out;
}
.edit-profile__link:hover {
  background-color: #dedede;
}

.profile-posts {
  margin-top: 64px;
}
.profile-posts__title {
  font-family: Inter;
  font-size: 20px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.no-publication {
  font-size: 14px;
  line-height: 117%;
  letter-spacing: -0.02em;
  padding: 32px;
  text-align: center;
  color: #676767;
}

.see-all-posts {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.see-all-posts button {
  cursor: pointer;
  font-size: 16px;
  line-height: 117%;
  text-decoration: underline;
  color: #676767;
  padding: 8px 32px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.see-all-posts button:hover {
  background-color: rgb(237, 237, 237);
}

body._dark-theme .accaunt-info__text {
  color: #676767;
}
body._dark-theme .about-pet__text._text-slice::before {
  background: linear-gradient(to top, #0d0d0d, transparent);
}
body._dark-theme .about-pet__to-full-text:hover {
  color: #847cf4;
  background-color: #131313;
}
body._dark-theme .profile-controls__subscribe input:checked ~ .profile-controls__subscribe-inner {
  background-color: #1c1c1c;
  border: none;
}
body._dark-theme .profile-controls__add {
  background-color: #1c1c1c;
}
body._dark-theme .profile-controls__add:hover {
  background-color: #2c2c2c;
}
body._dark-theme .profile-controls__messages {
  background-color: #1c1c1c;
}
body._dark-theme .profile-controls__messages:hover {
  background-color: #2c2c2c;
}
body._dark-theme .edit-profile__link {
  background-color: #1c1c1c;
}
body._dark-theme .edit-profile__link:hover {
  background-color: #2c2c2c;
}
body._dark-theme .see-all-posts button:hover {
  background-color: #131313;
}

.profile-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  row-gap: 36px;
}
.profile-form__sub-title {
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.profile-form__text {
  font-size: 16px;
  line-height: 117%;
  color: #757575;
}

.profile-add-photo__edit-photo {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: hidden; /* Прячем выступающие части */
  background-color: #f0f0f0;
  margin: 0 auto;
}
.profile-add-photo__edit-photo._error .profile-form__sub-title {
  color: #ff0000;
}
.profile-add-photo__edit-photo img {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-add-photo__add-file {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  display: inline-block;
  background-color: #e4fcff;
}
.profile-add-photo__add-file label {
  cursor: pointer;
  display: block;
  padding: 14px;
}
.profile-add-photo__new {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden; /* Прячем выступающие части */
  background-color: #f0f0f0;
  margin: 0 auto;
}
.profile-add-photo__new .profile-add-photo__add-file {
  position: relative;
  width: 100%;
  height: 100%;
}
.profile-add-photo__new .profile-add-photo__add-file_inner {
  width: 88px;
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 8px;
}
.profile-add-photo__new .profile-add-photo__add-file_text {
  text-align: center;
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: #757575;
}
.profile-add-photo__new .profile-add-photo__add-file label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-profile-categorys__inner {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 8px;
}
.edit-profile-categorys__item {
  display: inline-block;
}
.edit-profile-categorys__item label .ctegory-compomponent {
  cursor: pointer;
}
.edit-profile-categorys__item input:checked + label .ctegory-compomponent {
  transition: all 0.1 ease-in-out;
  background-color: #714921;
  color: #fff;
}

.errors, .error_message {
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 5px;
  padding: 10px;
  background-color: #fdd4d4;
  color: #bf0000;
}

.profile-input input.input_error,
.profile-input textarea.input_error,
.profile-input select.input_error {
  border: 1px solid #ff0000;
}
.profile-input input.input_error ~ .error_message,
.profile-input textarea.input_error ~ .error_message,
.profile-input select.input_error ~ .error_message {
  display: block;
}
.profile-input .error_message {
  display: none;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 5px;
  padding: 10px;
  background-color: #fdd4d4;
  color: #bf0000;
}
.container .profile-form .usersettings_message {
  background-color: #f8f8f8;
  color: #714921;
  height: 90px;
  background-image: url(/images/icons/popup-icon.svg);
  background-repeat: no-repeat;
  padding: 10px 0px;
  background-position-y: 25px;
  background-position-x: center;
  text-align: center;
}
.profile-input input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e3e3e3;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
}
.profile-input textarea {
  overflow-y: hidden; /* Убираем скролл */
  resize: none; /* Отключаем возможность ручного изменения размера */
  width: 100%;
  height: 114px;
  padding: 13px 16px;
  border: 1px solid #e3e3e3;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
}
.profile-input select {
  cursor: pointer;
  width: 100%;
  border: 1px solid #e3e3e3;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.02em;
  padding: 13px 40px 13px 16px; /* Делаем больший отступ справа для стрелки */
  appearance: none; /* Убираем стандартный вид select */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */
  background-color: #fff; /* Цвет фона */
  background-image: url("/images/icons/header/arrow-drop.svg"); /* Фоновое изображение */
  background-position: calc(100% - 16px) center; /* Точное позиционирование стрелки */
  background-size: 16px;
  background-repeat: no-repeat; /* Отключаем повторение изображения */
  color: rgba(117, 117, 117, 0.5019607843);
}
.profile-input select.inline-data {
  display: inline-block;
  width: 30%;
  margin-right: 5px;
} 
.profile-input select._selected-color {
  color: #090808;
}
.profile-input select option {
  color: #090808;
}

.profile-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin: 34px 0;
}
.section-d_userpage_home.profile-buttons {
  margin: 34px 0;
}
.profile-buttons__skip {
  cursor: pointer;
  padding: 12px 0;
  text-align: center;
  flex-basis: 50%;
  transition: all 0.1s ease-in-out;
  color: #292929;
}
.profile-buttons__skip:hover {
  background-color: rgb(237, 237, 237);
}

.profile-button-brown {
  cursor: pointer;
  text-align: center;
  flex-basis: 50%;
  font-size: 16px;
  line-height: 117%;
  padding: 12px 32px;
  background-color: #714921;
  color: #fff;
  transition: all 0.1s ease-in-out;
}
.profile-button-brown:hover {
  background-color: #9c6731;
}

body._dark-theme .profile-form__text {
  color: #676767;
}
body._dark-theme .profile-input input.input_error,
body._dark-theme .profile-input textarea.input_error,
body._dark-theme .profile-input select.input_error {
  border: 1px solid #ff0000;
}
body._dark-theme .profile-input input.input_error ~ .error_message,
body._dark-theme .profile-input textarea.input_error ~ .error_message,
body._dark-theme .profile-input select.input_error ~ .error_message {
  display: block;
}
body._dark-theme .profile-input input,
body._dark-theme .profile-input textarea {
  border: 1px solid #bbb;
  background-color: #0d0d0d;
  color: #bbb;
}
body._dark-theme .profile-input select {
  color: #bbb;
  background-color: #0d0d0d; /* Цвет фона */
  background-image: url("/images/icons/header/arrow-drop-dark.svg"); /* Фоновое изображение */
  background-position: calc(100% - 16px) center; /* Точное позиционирование стрелки */
  background-size: 16px;
  background-repeat: no-repeat; /* Отключаем повторение изображения */
  color: rgba(117, 117, 117, 0.5019607843);
}
body._dark-theme .profile-input select._selected-color {
  color: #bbb;
}
body._dark-theme .profile-input select option {
  color: #bbb;
}
body._dark-theme .profile-buttons__skip {
  color: #bbb;
}
body._dark-theme .profile-buttons__skip:hover {
  background-color: #131313;
}
body._dark-theme .profile-button-brown {
  background-color: #714921;
  color: #fff;
  transition: all 0.1s ease-in-out;
}
body._dark-theme .profile-button-brown:hover {
  background-color: #9c6731;
}

.categories-page {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 8px;
}

.social-block, .auth-block {
  display: flex;
  flex-wrap: wrap; /* Разрешаем перенос элементов на новые строки */
  justify-content: center; /* Центрируем элементы в строках */
  gap: 12px; /* Промежуток между элементами */
  margin-bottom: 24px;
}
.social-block__item, .auth-block__item {
  cursor: pointer;
  flex: 1 1 calc(33.33% - 12px); /* Ширина каждого элемента с учетом промежутка */
  max-width: calc(90% - 12px); /* Ограничение ширины для 3 элементов в строке */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
  height: 60px;
  transition: all 0.1s ease-in-out;
  color: #71727d;
}
.social-block__item:hover, .auth-block__item:hover {
  background-color: rgb(237, 237, 237);
}

.profile-form .login-button a {
  padding: 16px 20px;
}

.custom-checkbox {
  padding: 2px;
}
.custom-checkbox label {
  cursor: pointer;
}
.custom-checkbox label input {
  display: none;
}
.custom-checkbox label span {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #714921;
  vertical-align: sub;
  margin-right: 8px;
}
.custom-checkbox label span::before {
  content: "";
  display: none;
  width: 14px;
  height: 14px;
  background-image: url("/images/icons/profile-page/checkbox.svg");
  block-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.custom-checkbox label input:checked ~ span {
  background-color: #714921;
}
.custom-checkbox label input:checked ~ span::before {
  display: block;
}

.account-notice {
  text-align: center;
  font-size: 14px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #71727d;
  margin-top: 24px;
}
.account-notice a {
  color: #080808;
}
.account-notice a:hover {
  text-decoration: underline;
}

.agreement {
  margin: 60px auto 0;
  max-width: 263px;
}

body._dark-theme .social-block__item, body._dark-theme .auth-block__item {
  background-color: #1c1c1c;
}
body._dark-theme .social-block__item:hover, body._dark-theme .auth-block__item:hover {
  background-color: #323232;
}
body._dark-theme .custom-checkbox label span {
  background-color: #0d0d0d;
  border: 1px solid #714921;
  vertical-align: sub;
  margin-right: 8px;
}
body._dark-theme .custom-checkbox label input:checked ~ span {
  background-color: #714921;
}
body._dark-theme .account-notice {
  text-align: center;
  font-size: 14px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #71727d;
  margin-top: 24px;
}
body._dark-theme .account-notice a {
  color: #bbb;
}

.chats-search {
  margin-top: 32px;
}

.chats {
  padding-bottom: 98px;
}
.chats__item-message {
  font-size: 14px;
  font-weight: 500;
  line-height: 142%;
  letter-spacing: -0.02em;
  color: #87878d;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 90%;
}
.chats__item-date {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  line-height: 165%;
  color: #87878d;
}
.chats__button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 36px;
  padding: 12px 12px;
  border: 1px solid #dbdfea;
  transition: all 0.1s ease-in-out;
}
.chats__button:hover {
  background-color: #ededed;
}
.chats__button span {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.02em;
  color: #87878d;
  margin-left: 8px;
}

.list-with-time__item {
  display: block;
  position: relative;
  cursor: pointer;
  padding: 16px 12px;
}
.list-with-time__item:hover {
  background-color: #ededed;
}
.list-with-time__item:hover .fade-text::after {
  background: linear-gradient(to left, #ededed, transparent);
}
.list-with-time__item._new-message::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 46px;
  right: 22px;
  border-radius: 50%;
  background-color: #0d6efd;
}
.list-with-time__item._online {
  position: relative;
}
.list-with-time__item._online::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 46px;
  top: 50px;
  width: 11px;
  height: 11px;
  background-color: #fdc007;
  border: 1.8px solid #fff;
  border-radius: 50%;
}
.list-with-time__item .head-info {
  align-items: start;
}
.list-with-time__item .head-info__content_top {
  max-width: 90%;
}

.single-chat {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}
@media (min-width: 1024px) {
  .single-chat {
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
  }
}
.single-chat__header-wrapper {
  display: flex;
  align-items: center;
}
.single-chat__header {
  position: relative;
  padding: 16px 0;
  width: 100%;
}
.single-chat__header._online::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 34px;
  top: 50px;
  width: 11px;
  height: 11px;
  background-color: #fdc007;
  border: 1.8px solid #fff;
  border-radius: 50%;
}
.single-chat__user-status {
  font-size: 14px;
  font-weight: 400;
  line-height: 142%;
  letter-spacing: -0.02em;
  color: #d29e00;
}
.chat-body {
  flex: 1 1 auto;
  width: calc(100% + 40px);
  margin-left: -20px;
  padding: 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #f0f0f0;
  /* Стилизация самого скроллбара */
  /* Стилизация трека (фона) скроллбара */
  /* Стилизация ползунка скроллбара */
  /* Стилизация ползунка при наведении */
}
.chat-body::-webkit-scrollbar {
  width: 5px;
}
.chat-body::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 10px;
}
.chat-body::-webkit-scrollbar-thumb {
  background-color: #9c9c9c;
  border-radius: 10px;
}
.chat-body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
@media (min-width: 558px) {
  .chat-body {
    width: 100%;
    margin-left: 0;
  }
}
.chat-body__inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Этот блок растянется */
  justify-content: flex-end; /* Сообщения внизу */
}

.no-messages {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 117%;
  letter-spacing: -0.02em;
  color: #676767;
}
.no-messages._hidden {
  display: none;
}

.day-chat__date {
  display: flex;
  align-items: center;
  padding: 16px 0;
}
.day-chat__date span {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 142%;
  color: #676767;
}
.day-chat__date span:nth-child(2) {
  flex: 1 1 30%; /* Ширина каждого элемента с учетом промежутка */
  max-width: 30%; /* Ограничение ширины для 3 элементов в строке */
}
.day-chat__date span:nth-child(1), .day-chat__date span:nth-child(3) {
  flex: 1 1 35%; /* Ширина каждого элемента с учетом промежутка */
  max-width: 35%; /* Ограничение ширины для 3 элементов в строке */
  width: 100%;
  height: 1px;
  background-color: #dbdfea;
}

.message-icons._send .send-message-icon {
  display: block;
}
.message-icons._send .read-message-icon {
  display: none;
}
.message-icons._read .send-message-icon {
  display: none;
}
.message-icons._read .read-message-icon {
  display: block;
}

.message-block {
  display: flex;
  align-items: end;
  padding-bottom: 8px;
}
.message-block.send {
  justify-content: end;
}
.message-block.send .message-block__content {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.message-block.send .message-block__content img {
  width: 100%;
}
.message-block.send .message-block__one-message {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.message-block.received .message-block__content {
  width: 90%;
}
.message-block.received .message-block__text {
  width: 90%;
}
.message-block__avatar {
  flex-shrink: 0;
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  margin-bottom: 29px;
}
.message-block__avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message-block__content {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  width: 90%;
}
.message-block__content img {
  max-width: 90%;
}
.message-block__one-message {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  width: 100%;
}
.message-block__one-message img {
  width: 100%;
}
.message-block__text p {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  padding: 8px 16px;
  background-color: #fff;
  margin: 0px;
}
.message-block__time {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 165%;
  color: #676767;
  margin-top: 5px;
}
.message-block__time .read-message-icon {
  margin-left: 4px;
}
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background-color: #fff;
}
@media (min-width: 1024px) {
  .chat-input {
    position: static;
  }
}
.chat-input__add-file {
  display: inline-block;
  margin-right: 10px;
  align-self: flex-end;
  background-color: #f4f1f1;
}
.chat-input__add-file label {
  cursor: pointer;
  display: block;
  padding: 6px;
}
.chat-input textarea {
  border: none;
  padding: 0;
  overflow-y: auto; /* Убираем скролл */
  max-height: 100px;
  resize: none; /* Отключаем возможность ручного изменения размера */
  width: 80%;
  height: 28px;
  /* Стилизация самого скроллбара */
  /* Стилизация трека (фона) скроллбара */
  /* Стилизация ползунка скроллбара */
  /* Стилизация ползунка при наведении */
}
.chat-input textarea::-webkit-scrollbar {
  width: 5px;
}
.chat-input textarea::-webkit-scrollbar-track {
  background-color: #ffffff;
  border-radius: 10px;
}
.chat-input textarea::-webkit-scrollbar-thumb {
  background-color: #9c9c9c;
  border-radius: 10px;
}
.chat-input textarea::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.chat-input__icon {
  cursor: pointer;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: all 0.1s ease-in-out;
  background-color: #676767;
}
.chat-input__icon:hover {
  background-color: #0d0d0d;
}

.more-messages {
  cursor: pointer;
  display: block;
  font-family: Roboto;
  line-height: 117%;
  margin-top: 20px;
  margin-bottom: 24px;
  transition: 0.1s ease-in-out;
  color: #675cff;
  border-radius: 8px;
  padding: 5px 10px;
  margin: 0 auto;
}
.more-messages:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #3025ff;
}

body._dark-theme .chats__button {
  border: 1px solid #1c1c1c;
  transition: all 0.1s ease-in-out;
}
body._dark-theme .chats__button:hover {
  background-color: #1c1c1c;
}
body._dark-theme .list-with-time__item:hover {
  background-color: #1c1c1c;
}
body._dark-theme .list-with-time__item:hover .fade-text::after {
  background: linear-gradient(to left, #1c1c1c, transparent);
}
body._dark-theme .chat-body {
  background-color: #151515;
  /* Стилизация трека (фона) скроллбара */
  /* Стилизация ползунка скроллбара */
  /* Стилизация ползунка при наведении */
}
body._dark-theme .chat-body::-webkit-scrollbar-track {
  background-color: #0d0d0d;
  border-radius: 10px;
}
body._dark-theme .chat-body::-webkit-scrollbar-thumb {
  background-color: #686868;
  border-radius: 10px;
}
body._dark-theme .chat-body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
body._dark-theme .message-block__text p {
  background-color: #1c1c1c;
}
body._dark-theme .more-messages:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
body._dark-theme .chat-input {
  background-color: #0d0d0d;
}
body._dark-theme .chat-input__add-file {
  background-color: #1c1c1c;
}
body._dark-theme .chat-input textarea {
  border: none;
  padding: 0;
  background-color: #0d0d0d;
  color: #bbb;
  /* Стилизация трека (фона) скроллбара */
  /* Стилизация ползунка скроллбара */
  /* Стилизация ползунка при наведении */
}
body._dark-theme .chat-input textarea::-webkit-scrollbar-track {
  background-color: #0d0d0d;
  border-radius: 10px;
}
body._dark-theme .chat-input textarea::-webkit-scrollbar-thumb {
  background-color: #686868;
  border-radius: 10px;
}
body._dark-theme .chat-input textarea::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
body._dark-theme .chat-input__icon {
  background-color: #676767;
}
body._dark-theme .chat-input__icon:hover {
  background-color: #323232;
}

.editor-wrapper {
  position: relative;
}

.ql-container.ql-snow {
  border: none;
}

.editor-container {
  cursor: text;
  margin-top: 23px;
}
.editor-container h1 {
  cursor: text;
}
.editor-container p::selection {
  background-color: rgba(67, 165, 255, 0.25);
  border-radius: 8px;
}
.editor-container img._selected {
  border: 2px solid rgb(113, 113, 113);
  background-color: #f0f0f0;
}

.add-photo-block {
  cursor: pointer;
  display: none;
  position: absolute;
  z-index: 5;
  left: -45px;
  top: 0;
  transform: translateY(-50%);
}
.add-photo-block._show {
  display: inline-block;
}
@media (max-width: 768px) {
  .add-photo-block {
    left: auto;
    right: 20px;
  }
}
.add-photo-block label {
  cursor: pointer;
  display: block;
  background-color: #1c1c1c;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.1s ease-in-out;
}
.add-photo-block label:hover {
  background-color: #323232;
}
.add-photo-block label .editor-add-photo {
  pointer-events: none;
}

.toolbar {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #383838;
}
.toolbar .toolbar__item {
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: 0.1s ease-in-out;
}
.toolbar .toolbar__item:not(:last-child) {
  margin-right: 16px;
}
.toolbar .toolbar__item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.toolbar .toolbar__item._active {
  background-color: #fff;
}
.toolbar .toolbar__item._active .text-bold-icon {
  background-image: url("/images/icons/editor/text-bold-dark.svg");
}
.toolbar .toolbar__item._active .text-italic-icon {
  background-image: url("/images/icons/editor/text-italic-dark.svg");
}
.toolbar .toolbar__item._active .text-qyote-icon {
  background-image: url("/images/icons/editor/quote-up-dark.svg");
}
.toolbar .toolbar__item._active .text-link-icon {
  background-image: url("/images/icons/editor/link-dark.svg");
}
.toolbar .toolbar__item._active .text-uppercase-icon {
  background-image: url("/images/icons/editor/text-dark.svg");
}
.toolbar .toolbar__item._active .text-lowercase-icon {
  background-image: url("/images/icons/editor/smallcaps-dark.svg");
}

body._dark-theme .editor img._selected {
  border: 2px solid #bbb;
  background-color: #1a1a1a;
}
body._dark-theme .add-photo-block label {
  background-color: #bbb;
}
body._dark-theme .add-photo-block label:hover {
  background-color: #e4fcff;
}

.pet-added {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  row-gap: 16px;
}
.pet-added__img {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: hidden;
}
.pet-added__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}
.pet-added__title {
  font-family: Inter;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #090808;
}
.pet-added__text {
  font-family: Roboto;
  font-size: 16px;
  line-height: 117%;
  color: #757575;
}
.pet-added__buttons {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.pet-added__buttons .login-button {
  cursor: pointer;
}
.pet-added__buttons .login-button a,
.pet-added__buttons .login-button span {
  display: block;
  width: 211px;
  padding: 12px 32px;
  background-color: #714921;
  text-align: center;
  color: #fff;
  transition: 0.1s ease-in-out;
}
.pet-added__buttons .login-button a:hover,
.pet-added__buttons .login-button span:hover {
  background-color: #9c6731;
}
.pet-added__buttons .login-button span {
  color: #292929;
  background-color: transparent;
}
.pet-added__buttons .login-button span:hover {
  background-color: #ebebeb;
}

body._dark-theme .pet-added__title {
  color: #bbb;
}
body._dark-theme .pet-added__buttons .login-button {
  cursor: pointer;
}
body._dark-theme .pet-added__buttons .login-button a,
body._dark-theme .pet-added__buttons .login-button span {
  background-color: #714921;
  color: #fff;
}
body._dark-theme .pet-added__buttons .login-button a:hover,
body._dark-theme .pet-added__buttons .login-button span:hover {
  background-color: #9c6731;
}
body._dark-theme .pet-added__buttons .login-button span {
  color: #fff;
  background-color: transparent;
}
body._dark-theme .pet-added__buttons .login-button span:hover {
  background-color: #323232;
}

.ql-toolbar {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 70px;
}
.ql-toolbar.ql-toolbar.ql-snow {
  display: inline-flex;
  border: none; /* убираем границу у панели инструментов */
  background-color: #383838;
  width: 262px;
  padding: 8px 12px;
}
.ql-toolbar.ql-toolbar.ql-snow button {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 4px;
  transition: 0.1s ease-in-out;
  /* Выровняем иконки по центру */
  display: flex;
  align-items: center;
  justify-content: center;
}
.ql-toolbar.ql-toolbar.ql-snow button:not(:last-child) {
  margin-right: 16px;
}
.ql-toolbar.ql-toolbar.ql-snow button:hover {
  background-color: rgba(255, 255, 255, 0.25); /* Исправлен синтаксис rgba */
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active {
  background-color: #fff;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-bold-icon::before {
  background-image: url("/images/icons/editor/text-bold-dark.svg");
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-italic-icon {
  position: relative;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-italic-icon::before {
  background-image: url("/images/icons/editor/text-italic-dark.svg");
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-blockquote-icon {
  position: relative;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-blockquote-icon::before {
  background-image: url("/images/icons/editor/quote-up-dark.svg");
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-link-icon {
  position: relative;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-link-icon::before {
  background-image: url("/images/icons/editor/link-dark.svg");
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-title-icon {
  position: relative;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-title-icon::before {
  background-image: url("/images/icons/editor/text-dark.svg");
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-subtitle-icon {
  position: relative;
}
.ql-toolbar.ql-toolbar.ql-snow button.ql-active .custom-subtitle-icon::before {
  background-image: url("/images/icons/editor/smallcaps-dark.svg");
}

.editor-wrapper {
  margin-top: 23px;
  position: relative;
}

.ql-snow .ql-editor h3,
.ql-snow .ql-editor h4,
.ql-snow .ql-editor h5,
.ql-snow .ql-editor h6 {
  font-family: Century Schoolbook, Times, serif;
  font-weight: bold;
  font-size: 1.125rem;
  color: inherit;
  line-height: 105.5%;
  letter-spacing: -2%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.ql-snow .ql-editor h3 {
  font-size: 1.5rem;
}
.ql-snow .ql-editor h4 {
  font-size: 1.25rem;
}

.ql-toolbar.ql-toolbar.ql-snow {
  display: none;
}

.ql-snow .ql-editor img {
  position: relative;
  z-index: 2;
  width: calc(100% + 40px);
  max-width: none;
  vertical-align: baseline;
}
.ql-snow .ql-editor img._selected {
  border: 2px solid rgb(143, 143, 143);
  background-color: #f0f0f0;
}
@media (min-width: 558px) {
  .ql-snow .ql-editor img {
    padding: 0 20px;
  }
}

.ql-editor {
  padding: 0;
  overflow: visible;
}
.ql-editor p {
  height: 100%;
  width: 100%;
}

.ql-snow .ql-editor h2 {
  font-family: Roboto;
  font-size: 28px;
  font-weight: 600;
  line-height: 117%;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.custom-bold-icon {
  position: relative;
}
.custom-bold-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text-bold.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-italic-icon {
  position: relative;
}
.custom-italic-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text-italic.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-blockquote-icon {
  position: relative;
}
.custom-blockquote-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/quote-up.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-link-icon {
  position: relative;
}
.custom-link-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/link.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-title-icon {
  position: relative;
}
.custom-title-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/text.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-subtitle-icon {
  position: relative;
}
.custom-subtitle-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("/images/icons/editor/smallcaps.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Центрирование псевдоэлемента */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ql-snow .ql-tooltip {
  background-color: #383838;
  border: none;
  box-shadow: none;
  color: #444;
  padding: 5px 12px;
  white-space: nowrap;
}

.ql-snow .ql-tooltip::before {
  color: #fff;
}

.ql-snow .ql-tooltip input[type=text] {
  background-color: #383838;
  border: none;
  color: #fff;
}

.ql-snow .ql-tooltip a.ql-remove::before {
  padding: 5px;
  content: "Удалить";
  margin-left: 8px;
  transition: all 0.1s ease-in-out;
  color: #fff;
}
.ql-snow .ql-tooltip a.ql-remove::before:hover {
  background-color: #131313;
}

.ql-snow .ql-tooltip[data-mode=link]::before {
  content: "Введите ссылку:";
}

.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  border-right: 0px;
  content: "Сохранить";
  padding-right: 0px;
}

.ql-snow .ql-tooltip::before {
  content: "Посетить сайт:";
  line-height: 26px;
  margin-right: 8px;
}

.ql-snow .ql-tooltip a.ql-remove:hover {
  color: #fff;
}

.ql-snow .ql-tooltip a.ql-action:hover {
  color: #fff;
}

.ql-snow .ql-tooltip a.ql-action::after {
  padding: 5px 8px 5px 5px;
  border-right: 1px solid #ccc;
  content: "Изменить";
  margin-left: 16px;
  transition: all 0.1s ease-in-out;
  color: #fff;
}
.ql-snow .ql-tooltip a.ql-action::after:hover {
  background-color: #131313;
}

._placeholder-title {
  position: relative;
  height: 33px;
}
._placeholder-title::before {
  content: "Заголовок";
  position: absolute;
  font-size: 28px;
  font-weight: 500;
  line-height: 32.81px;
  letter-spacing: -0.02em;
  color: #676767;
}

._placeholder-text {
  position: relative;
  height: 18px;
  font-family: Century Schoolbook, Times, serif;
  font-size: 1.125rem;
  color: inherit;
  font-weight: 400;
  line-height: 105.5%;
  letter-spacing: -0.02em;
}
._placeholder-text::before {
  content: "Текст публикации...";
  position: absolute;
  z-index: 1;
}

.editor-container {
  cursor: text;
  margin-top: 23px;
}
.editor-container h1 {
  min-height: 33px;
}
.editor-container p::selection {
  border-radius: 8px;
}

.publication-btn {
  margin-top: 30px;
  color: #ffffff;
}