.elementor-kit-52{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#FFFFFF;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1350px;}.e-con{--container-max-width:1350px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-kit-52 e-page-transition{background-color:#FFBC7D;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Общий контейнер форума */
#bbpress-forums {
  width: 100%;
  max-width: 100%;
  padding: 40px 60px;
  background-color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  color: #1F4177;
  box-sizing: border-box;
}

/* Скрыть заголовок страницы <h1 class="entry-title">Форумы */
h1.entry-title {
  display: none;
}

/* Заголовки внутри форума */
#bbpress-forums h1, 
#bbpress-forums h2, 
#bbpress-forums h3 {
  color: #1F4177;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 28px;
}

/* Поисковая форма */
#bbp-search-form {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#bbp_search {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #BDD8F1;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #1F4177;
  background-color: #F7FAFC;
  transition: all 0.3s ease;
}

#bbp_search:focus {
  outline: none;
  border-color: #1F4177;
  background-color: #ffffff;
}

#bbp_search_submit {
  background-color: #1F4177;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#bbp_search_submit:hover {
  background-color: #375F9A;
}

/* Шапка таблицы форума */
#bbpress-forums .bbp-header {
  background-color: #BDD8F1;
  padding: 16px 24px;
  font-weight: 600;
  color: #1F4177;
}

#bbpress-forums .bbp-header div {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

/* Контейнер с темами и форумами */
#bbpress-forums .bbp-body {
  border: 1px solid #BDD8F1;
  border-top: none;
}

/* Список форумов / тем */
.bbp-body ul.forum,
.bbp-body ul.topic {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Элемент форума или темы */
.bbp-body ul.forum > li,
.bbp-body ul.topic > li {
  border-bottom: 1px solid #E2EDF8;
  padding: 25px;
  display: flex;
  flex-direction: column;
  background-color: #F7FAFC;
  margin: 0;
}

/* Убираем границу у последнего элемента */
.bbp-body ul.forum > li:last-child,
.bbp-body ul.topic > li:last-child {
  border-bottom: none;
}

/* Названия форумов */
.bbp-forum-title {
  font-size: 20px;
  font-weight: 600;
  color: #1F4177;
  transition: color 0.3s ease;
}

.bbp-forum-title:hover {
  color: #BDD8F1;
  text-decoration: underline;
}

/* Описание форума */
.bbp-forum-content {
  font-size: 15px;
  color: #1F4177;
  margin-top: 6px;
}

/* Статистика */
.bbp-forum-topic-count,
.bbp-forum-reply-count {
  font-size: 14px;
  color: #6C7AA3;
  margin-top: 6px;
}

/* Аватарки */
.bbp-author-avatar img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 50%;
}

/* Ссылки */
#bbpress-forums a {
  color: #1F4177;
  text-decoration: none;
  transition: all 0.3s ease;
}

#bbpress-forums a:hover {
  color: #375F9A;
}

/* Кнопки отправки */
.bbp-submit-wrapper button,
.bbp-submit-wrapper input[type="submit"] {
  background-color: #1F4177;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bbp-submit-wrapper button:hover,
.bbp-submit-wrapper input[type="submit"]:hover {
  background-color: #375F9A;
}
/* Контейнер списка тем */
#bbpress-forums .bbp-topics {
  margin-top: 30px;
  border: 1px solid #BDD8F1;
}

/* Шапка таблицы тем */
#bbpress-forums .bbp-topics .bbp-header {
  background-color: #BDD8F1;
  padding: 16px 24px;
  font-weight: 600;
  color: #1F4177;
  display: flex;
}

#bbpress-forums .bbp-topics .bbp-header div {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  flex: 1;
}

/* Тело тем */
#bbpress-forums .bbp-topics .bbp-body {
  background-color: #F7FAFC;
}

/* Каждая тема */
#bbpress-forums .bbp-topics .bbp-topic {
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #E2EDF8;
}

#bbpress-forums .bbp-topics .bbp-topic:last-child {
  border-bottom: none;
}

/* Название темы */
.bbp-topic-title {
  flex: 2;
  font-weight: 600;
  font-size: 17px;
}

.bbp-topic-title a {
  color: #1F4177;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bbp-topic-title a:hover {
  color: #375F9A;
  text-decoration: underline;
}

/* Автор и дата */
.bbp-topic-voice-count,
.bbp-topic-reply-count,
.bbp-topic-freshness {
  flex: 1;
  font-size: 14px;
  color: #6C7AA3;
}

/* Аватар в последней записи */
.bbp-topic-freshness-author img.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* Имя автора */
.bbp-topic-freshness-author {
  font-size: 14px;
  color: #1F4177;
}

/* Ссылки на последнюю активность */
.bbp-topic-freshness a {
  color: #1F4177;
  text-decoration: none;
}

.bbp-topic-freshness a:hover {
  text-decoration: underline;
}
/* Скрываем обёртку заголовка темы */
.entry-header.alignwide {
  display: none;
}

/* Общий блок уведомления */
#bbpress-forums .bbp-template-notice {
  background-color: #F7FAFC;
  border: 1px solid #BDD8F1;
  color: #1F4177;
  padding: 20px 24px;
  margin-top: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  box-sizing: border-box;
}

/* Ссылки внутри блока */
#bbpress-forums .bbp-template-notice a {
  color: #1F4177;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#bbpress-forums .bbp-template-notice a:hover {
  color: #375F9A;
}

/* Убираем системные отступы, делаем аккуратный блочный стиль */
#bbpress-forums .bbp-template-notice p {
  margin: 0;
}

/* Можно добавить иконку (например, в виде emoji или через before) */
#bbpress-forums .bbp-template-notice::before {
  content: "🔒 ";
  font-size: 18px;
  margin-right: 6px;
}

/* РЕГИСТРАЦИЯ */
#bbpress-forums fieldset.bbp-form {
  background-color: #F7FAFC;
  border: 1px solid #BDD8F1;
  padding: 40px;
  max-width: 600px;
  margin: 40px auto;
  font-family: 'Montserrat', sans-serif;
  color: #1F4177;
  box-sizing: border-box;
}

/* Заголовок формы */
#bbpress-forums fieldset legend {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1F4177;
}

/* Метки (имя пользователя, email и т.д.) */
#bbpress-forums fieldset label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #1F4177;
}

/* Поля ввода */
#bbpress-forums fieldset input[type="text"],
#bbpress-forums fieldset input[type="email"],
#bbpress-forums fieldset input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #BDD8F1;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #1F4177;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#bbpress-forums fieldset input:focus {
  outline: none;
  border-color: #1F4177;
}

/* Кнопка отправки */
#bbpress-forums fieldset input[type="submit"] {
  background-color: #1F4177;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#bbpress-forums fieldset input[type="submit"]:hover {
  background-color: #375F9A;
}

/* Сообщения об ошибках / успехе */
#bbpress-forums .bbp-template-notice,
#bbpress-forums .bbp-template-notice.info {
  background-color: #F7FAFC;
  border: 1px solid #BDD8F1;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #1F4177;
}/* End custom CSS */