@charset "UTF-8";
/*
Theme Name: Hypnosis 2
Details URI: https://update.goodwinpress.ru/themes/hypnosis2-changelog.html
Theme URI: https://goodwinpress.ru/wp-tema-hypnosis-2
Author: GoodwinPress
Author URI: https://goodwinpress.ru/
Description: Адаптивная быстрая тема под контентные сайты с размещением партнерок и рекламы, работающие на редакторе "гутенберг". Сетка постов, избранные записи и список категорий на Главной. Карточки для размещения организаций и промокодов, реклама внутри записей - на основе блоков. Чистый оптимизированный код, хлебные крошки, микроразметка schema.org и open graph, готовый темный режим, три шрифта на выбор, передача целей в Яндекс Метрику. Содержит встроенный блок для содержания записи.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: hypnosis-2
Domain Path: /languages
Tags: theme-options, custom-colors, custom-menu, custom-logo, editor-style, featured-images, blog, translation-ready
*/

/*
===============================
= Содержание файла стилей =
============================================

01 Переменные
02 Очистка
03 Глобальные стили
04 Базовые контейнеры
05 Базовые заголовки
06 Кнопки сайта
07 Шапка сайта
08 Главное меню
09 Поиск по сайту
10 Кнопки соц сетей в шапке
11 Мобильное меню
12 Главная страница - список рубрик
13 Избранные записи на Главной
14 Главная страница - список записей 
15 Навигация на главной и в архивах
16 Навигация внутри записей
17 Шаблон записи
18 Хлебные крошки
19 Карточки в записях
20 Списки сайта
21 Таблицы
22 Компоненты записи, блоки, галереи
23 Метки в записях 
24 Информация о записи
25 Кнопки Поделиться
26 Содержание записиа
27 Подвал сайта
28 Список комментариев
29 Форма отправки комментариев
30 Результаты поиска
31 Разные полезные мелочи
32 Cookies



*/



/*
===============================
= 01 Переменные 
============================================
*/

:root {
  --semiBold: 500;
  --bold: 600;
  --wight: #ffffff;
  --placeholder: #999999;
  --bradius: 6px;
}



/*
 ===============================
 = 02 Очистка
 ============================================
 */

* {
  vertical-align: baseline;
  margin: 0;
  border: 0;
  padding: 0;
  font: inherit
}

body {
  line-height: 1
}

main {
  display: block
}

strong {
  font-weight: var(--bold)
}

em,
i {
  font-family: Georgia, serif;
  font-style: italic
}

ol,
ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote::after,
blockquote::before,
q::after,
q::before {
  content: ""
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

iframe {
  max-width: 100%
}

embed,
img,
object,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0
}

embed,
iframe,
object {
  margin-bottom: 1.5rem
}

figure {
  margin: 0 0 1.3rem;
  max-width: 100%;
}

figure>a {
  display: block
}

.aligncenter {
  margin: 0 auto 1.2rem
}

.alignleft {
  float: left
}

.alignright {
  float: right
}

big {
  font-size: 131.25%
}

ins {
  text-decoration: none
}

a {
  background-color: transparent
}

abbr[title] {
  border-bottom: 0;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted
}

small {
  font-size: 80%
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

input,
textarea {
  vertical-align: middle;
  background: var(--wight);
}

pre {
  font-family: monospace;
  font-size: 1em;
  overflow-y: auto;
}

[hidden] {
  display: none
}


/*
 ===============================
 = 03 Глобальные стили
 ============================================
 */

.lazy-hidden {
  opacity: 0
}

.lazy-loaded {
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -ms-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
  opacity: 1
}

.wp-block-separator,
hr {
  display: block;
  clear: both;
  margin: 2em auto;
  border-top: 0;
  border-bottom: 1px solid var(--borderColor);
  width: 100%;
  height: 1px
}

:focus,
:focus:not(:focus-visible) {
  outline: none;
}


:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4);
}

input::-moz-placeholder,
select::-moz-placeholder {
  color: var(--placeholder)
}

input:-ms-input-placeholder,
select:-ms-input-placeholder {
  color: var(--placeholder)
}

input:-moz-placeholder-shown {
  color: var(--placeholder)
}

input:-ms-input-placeholder {
  color: var(--placeholder)
}

input::placeholder,
input:placeholder-shown,
select::placeholder {
  color: var(--placeholder)
}

::-moz-selection {
  color: var(--wight);
  background-color: var(--btnBgHover);
}

::selection {
  color: var(--wight);
  background-color: var(--btnBgHover);
}

legend {
  display: table;
  padding: 0;
  max-width: 100%;
  white-space: normal;
  color: inherit
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type=checkbox],
[type=radio] {
  padding: 0;
  box-sizing: border-box
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none
}

p {
  margin-bottom: 1.5rem
}

p:last-child {
  margin-bottom: 0
}

button {
  font-family: var(--primeFont);
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  background: 0 0;
  cursor: pointer
}

.gallery-caption,
.wp-caption,
.wp-caption-text {
  font-size: 15px;
  color: var(--greyColor)
}

.wp-caption.alignleft {
  margin-right: 1.2rem;
}

.wp-caption.alignright {
  margin-left: 1.2rem;
}

img.alignright {
  float: right;
  margin-left: 1.2rem;
}

img.alignleft {
  float: left;
  margin-right: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--bold)
}

.disable-scroll {
  overflow: hidden;
  width: 100%;
}

a {
  color: var(--mainColor);
  text-decoration: underline;
  transition: color 0.3s ease-in-out
}

a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
  transition: color 0.3s ease-in-out
}

.sticky,
.bypostauthor {
  background-color: initial
}

p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto
}

.required {
  color: red
}

label {
  margin-bottom: 0.5rem;
  font-family: var(--primeFont);
  font-size: 0.9rem;
  color: var(--mainColor);
  font-weight: var(--bold);
  display: block;
}

fieldset {
  margin-bottom: 1.5rem;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea {
  padding: 0.6rem 1rem;
  display: block;
  width: 100%;
  min-height: 2rem;
  -webkit-transition: border-color .15s ease-in-out;
  transition: border-color .15s ease-in-out;
  color: var(--mainColor);
  border: 1px solid #c9c5db;
  border-radius: var(--bradius);
  outline: none;
  background-color: var(--wight);
  -webkit-box-shadow: none;
  box-shadow: none;
  font-family: var(--primeFont);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  -webkit-backface-visibility: hidden;
  appearance: none;
  backface-visibility: hidden;
}

select {
  padding: 0 0.6rem;
  width: 100%;
  height: 2rem;
  color: var(--mainColor);
  border: 1px solid #c9c5db;
  border-radius: var(--bradius);
  outline: none;
  background: var(--wight);
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--primeFont);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

html[data-theme="dark"] input[type='text'],
html[data-theme="dark"] input[type='email'],
html[data-theme="dark"] input[type='url'],
html[data-theme="dark"] input[type='password'],
html[data-theme="dark"] input[type='search'],
html[data-theme="dark"] input[type='number'],
html[data-theme="dark"] input[type='tel'],
html[data-theme="dark"] input[type='range'],
html[data-theme="dark"] input[type='date'],
html[data-theme="dark"] input[type='month'],
html[data-theme="dark"] input[type='week'],
html[data-theme="dark"] input[type='time'],
html[data-theme="dark"] input[type='datetime'],
html[data-theme="dark"] input[type='datetime-local'],
html[data-theme="dark"] input[type='color'],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  border: 1px solid #3e3c4a;
  background-color: #1f1b2d;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
select:focus,
textarea:focus {
  border-color: #5a7ee8 !important;
  outline: none;
}

input[type='search']::-webkit-search-decoration {
  display: none;
}

textarea {
  max-width: 100%;
  height: 150px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  resize: vertical;
}



/*
	===============================
	=  04 Базовые контейнеры
	============================================
	*/

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

html {
  box-sizing: border-box;
  font-size: 17px;
  height: 100%;
}

@media (max-width: 1540px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 376px) {
  html {
    font-size: 13px;
  }
}

body {
  font-family: var(--primeFont);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.65;
  word-wrap: break-word;
  color: var(--mainColor);
  background-color: var(--siteBg);
  scroll-behavior: smooth;
}

.site-wrapper {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 2560px;
  height: 100%;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background-color: var(--wight);
}

@media (max-width: 801px) {
  .site-wrapper {
    padding-top: 7rem;
  }
}

html[data-theme="dark"] .site-wrapper {
  background-color: var(--siteBg);
}

.home .site-wrapper,
.archive .site-wrapper,
.error404 .site-wrapper,
.search-results .site-wrapper {
  background-color: var(--siteBg);
}

.main {
  flex: 1;
  position: relative;
}

.container {
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 800px) {
  .container {
    padding: 0 1.6rem;
  }
}

@media (max-width: 680px) {
  .container {
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: 550px;
  }
}

@media (max-width: 415px) {
  .container {
    padding: 0 1rem;
  }
}

.container--single-post,
.container--single-page {
  padding: 0;
}

@media (max-width: 680px) {

  .container--single-post,
  .container--single-page {
    max-width: 100%;
  }
}



/*
	===============================
	= 05 Базовые заголовки
	============================================
	*/

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.custom-section h1,
.custom-section h2,
.custom-section h3,
.custom-section h4,
.custom-section h5,
.custom-section h6 {
  margin-bottom: 1.2rem;
}

.post-content h1 {
  font-size: 1.64rem
}

.post-content h2 {
  font-size: 1.41rem
}

.post-content h3 {
  font-size: 1.29rem
}

.post-content h4 {
  font-size: 1.17rem
}

.post-content h5 {
  font-size: 1.05rem
}

.post-content h6 {
  font-size: 1rem
}

.visually-hidden,
.screen-reader-text {
  position: absolute;
  margin: -1px;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}


/*
	===============================
	= 06 Кнопки сайта
	============================================
	*/

.btn,
.wpcf7-submit,
.comment-form .submit,
.search-submit,
.error404-btn,
.wpcf7-submit,
.wp-block-search__button {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 1.25rem 1.75rem;
  font-family: var(--primeFont);
  font-weight: var(--bold);
  font-size: 1rem;
  line-height: 1;
  border: none;
  border-radius: var(--bradius);
  background-color: var(--btnBg);
  color: var(--btnColor);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease-in-out;
}

.btn:hover,
.wpcf7-submit:hover,
.comment-form .submit:hover,
.error404-btn:hover,
.search-submit:hover,
.wpcf7-submit:hover,
.wp-block-search__button:hover {
  color: var(--btnColor);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.btn::before,
.wpcf7-submit::before,
.comment-form .submit::before,
.search-submit::before,
.error404-btn::before,
.wpcf7-submit::before,
.wp-block-search__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: var(--bradius);
  background-color: var(--btnBgHover);
  transform: translate(-101%, 0);
  transition: transform 0.3s ease-in-out;
}

.btn:hover::before,
.wpcf7-submit:hover::before,
.comment-form .submit:hover::before,
.search-submit:hover::before,
.error404-btn:hover::before,
.wpcf7-submit:hover::before,
.wp-block-search__button:hover::before {
  transform: translate(0, 0);
  transition: transform 0.3s ease-in-out;
}


/*
===============================
= 07 Шапка сайта
============================================
*/

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-bottom: 2rem;
  background-color: var(--headerBg);
}

.home .site-header {
  margin-bottom: 3rem;
}

@media (max-width: 1200px) {
  .home .site-header {
    margin-bottom: 2rem;
  }
}


@media (max-width: 801px) {
  .site-header {
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    z-index: 200;
    margin: 0;
    box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .1); 
  }

  .home .site-header {
    margin-bottom: 0;
  }
}

.site-header__wrap {
  display: flex;
  align-items: center;
  padding: 0.9rem 2rem;
}


@media (max-width: 801px) {
  .site-header__wrap {
    padding: 0.5rem 1rem;
  }
}

.site-header__branding {
  max-width: 300px;
}

@media (max-width: 1200px) {
  .site-header__branding {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .site-header__branding {
    max-width: 260px;
  }
}

.site-title h1,
.site-title span {
  display: block;
  padding: 0.7rem 0;
  font-weight: var(--bold);
  font-size: 1.2rem;
  color: var(--headerColor);
}

.site-title__link {
  text-decoration: none;
}

.site-title__link:hover {
  text-decoration: none;
}

.site-header__nav {
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .site-header__nav {
    display: none;
  }
}

.theme-switch {
  margin-left: 1.5rem;
  width: 30px;
  height: 30px;
  color: var(--mainColor);
  background-image: url("assets/img/moon.svg");
  background-repeat: no-repeat;
  background-size: 26px 26px;
  background-position: center center;
}

@media (max-width: 1200px) {
  .theme-switch {
    margin-left: 0;
  }
}

.switch {
  margin: 0;
  display: inline-block;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

html[data-theme="dark"] .theme-switch {
  background-size: 28px 28px;
  background-image: url("assets/img/sun.svg");
}


/*
===============================
= 08 Главное меню
============================================
*/

.main-menu {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.main-menu__item {
  position: relative;
  font-size: 1rem;
  font-weight: var(--semiBold);
}

.main-menu__item:not(:last-child) {
  margin-right: 1.8rem;
}

@media (max-width: 1360px) {
  .main-menu__item:not(:last-child) {
    margin-right: 1.3rem;
  }
}

.main-menu__item a {
  display: inline-block;
  text-decoration: none;
  color: var(--headerColor);
}

.main-menu__item a:hover {
  text-decoration: none;
  color: var(--hoverColor);
}

.main-menu li.menu-item-has-children {
  margin-right: 2.5rem !important;
}

@media (max-width: 1360px) {
  .main-menu li.menu-item-has-children {
    margin-right: 2.2rem !important;
  }
}

.main-menu .current-menu-item a {
  color: var(--hoverColor);
}

.main-menu .cycle li > a {
  z-index: 4000;
}

.main-menu .menu-item-has-children::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  width: 18px;
  height: 18px;
  background-image: url("assets/img/arrow-down.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate(1.2rem, 7px);
}

html[data-theme="dark"] .main-menu .menu-item-has-children::before {
  background-image: url("assets/img/arrow-down-alt.svg");
}

@media (max-width: 1540px) {
  .main-menu .menu-item-has-children::before {
    transform: translate(1.2rem, 5px);
  }
}

.main-menu .sub-menu {
  margin-top: 5px;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
  width: 260px;
  background-color: var(--headerDropBg);
  border-bottom-left-radius: var(--bradius);
  border-bottom-right-radius: var(--bradius);
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  box-shadow: 0 22px 30px 0 rgba(15, 8, 49, .2);
  transform: translate(-1.3rem, 1.8rem);
  transition: transform 0.4s, opacity.1s;
}

.main-menu li:hover>.sub-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translate(-1.3rem, 13px);
  transition: transform 0.4s, opacity.1s;
}

.main-menu .sub-menu .main-menu__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.96rem;
  font-weight: var(--semiBold);
  background-color: transparent;
  line-height: 140%;
  z-index: 98;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-menu .sub-menu .main-menu__item a {
  padding: 0.8rem 1.5rem;
  padding-right: 2rem;
  display: block;
  color: var(--headerDropColor);
}

.main-menu .sub-menu .main-menu__item:hover a {
  color: var(--wight);
  transition: color 0.3s ease;
}

.main-menu .sub-menu .sub-menu .main-menu__item a:not(:hover) {
  color: var(--headerDropColor);
  transition: color 0.3s ease;
}

.main-menu .sub-menu .main-menu__item:hover {
  background-color: var(--hoverColor);
  transition: background-color 0.3s ease;
}

.main-menu .sub-menu .main-menu__item>.sub-menu {
  left: 50%;
  top: 0;
  transform: translate(51%, 0);
  z-index: 99;
}

.main-menu .sub-menu li:hover>.sub-menu {
  transform: translate(51%, -5px);
}

.main-menu .sub-menu .main-menu__item:last-child {
  border-bottom-left-radius: var(--bradius);
  border-bottom-right-radius: var(--bradius);
}

.main-menu .sub-menu li.menu-item-has-children {
  margin-right: 0;
}

.main-menu .sub-menu li.menu-item-has-children::before {
  right: 1rem;
  top: 0.95rem;
  z-index: 1;
  width: 18px;
  height: 18px;
  background-image: url("assets/img/arrow-down.svg");
  transform: rotate(-90deg);
}

html[data-theme="dark"] .main-menu .sub-menu li.menu-item-has-children::before {
  background-image: url("assets/img/arrow-down-alt.svg");
}

.main-menu .sub-menu li.menu-item-has-children:hover::before {
  background-image: url("assets/img/arrow-down-alt.svg");
}

.main-menu .sub-menu::after {
  content: "";
  height: 50px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  transform: translateY(-62%);
}

.main-menu .sub-menu .main-menu__item>.sub-menu::after {
  content: "";
  height: 100%;
  width: 40px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  transform: translateX(-50%);
}


.main-menu .hot::after,
.main-menu .new::after {
  content: "";
  position: absolute;
  right:0;
  top: 0;
  width: 8px;
  height: 8px;
  color: var(--wight);
  border-radius: 50%;
  transform: translate(0.7rem, 0);
}

.main-menu .new::after {
  --new: var(--newbg);
  background-color: var(--new);
  animation: pulse1 1800ms infinite;
}

@keyframes pulse1 {
  0% {
    box-shadow:  var(--new) 0 0 0 0;
  }

  50% {
    box-shadow: var(--headerBg) 0 0 0 8px;
  }
}

.main-menu .hot::after {
  --hot: var(--hotbg);
  background-color: var(--hot);
  animation: pulse2 2200ms infinite;
}

@keyframes pulse2 {
  0% {
    box-shadow: var(--hot) 0 0 0 0;
  }

  50% {
    box-shadow: var(--headerBg) 0 0 0 8px;
  }
}


/*
===============================
= 09 Поиск по сайту
============================================
*/

.site-search {
  width: 30px;
  height: 30px;
  margin-left: 1.7rem;
}

@media (max-width: 1200px) {
  .site-search {
    display: none;
  }
}

.site-search__btn {
  width: 30px;
  height: 30px;
  color: var(--headerDropColor);
}

.site-search__btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  transition: stroke 0.3s;
}


.site-search__form {
  position: relative;
  width: 100%;
}

.search-form__input {
  height: 50px;
}

.site-search__input {
  margin: 0;
  padding-right: 4rem !important;
  height: 40px;
  border-color: #b8b8ba !important;
}

.site-search__input:focus {
  border-color: #5a7ee8 !important;
}

.site-search__submit {
  position: absolute;
  right: 7px;
  top: 2px;
  z-index: 10;
  border: 0;
  width: 40px;
  height: 37px;
  background-image: url("assets/img/search.svg");
  background-position: center;
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-color: var(--wight);
  cursor: pointer;
}

.wp-block-search__inside-wrapper {
  position: relative;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 200;
  background-color: rgba(28, 30, 46, 0.945);
  transform: translateY(-100%);
  transition: height 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.search-overlay.is-shown {
  height: 100%;
  transform: translateY(0);
  transition: height 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.search-panel {
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.8s ease-in-out, transform 0.5s ease-in-out;
}

.mob-socials-panel {
  padding: 0 1rem;
}

.search-panel.is-open {
  z-index: 999;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.search-panel .search-form {
  position: relative;
}

.search-panel input[type="search"] {
  padding: 1.3rem 2rem;
  padding-right: 6rem;
  font-family: var(--primeFont);
  display: block;
  width: 100%;
  color: var(--wight);
  font-size: 1.4rem;
  background-color: transparent;
  border: 1px solid var(--wight);
  border-radius: var(--bradius);
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.search-panel input[type="search"]:focus {
  border-color: #5a7ee8;
  outline: none
}

.search-panel .search-submit {
  position: absolute;
  top: 50%;
  right: 0;
  overflow: hidden;
  width: 4rem;
  height: 4rem;
  padding: 0;
  color: var(--wight);
  border: 0;
  background-color: transparent;
  cursor: pointer;
  background-image: url("assets/img/search.svg");
  background-position: center;
  background-size: 2rem 2rem;
  background-repeat: no-repeat;
  text-indent: -9999px;
  transform: translate(-1rem, -50%);
}

.search-panel__text {
  margin-top: 1rem;
  display: block;
  font-size: 0.9rem;
  color: var(--wight);
}

.search-panel__hint {
  margin-left: 10px;
  border-bottom: 1px dotted var(--wight);
  cursor: pointer;
}

.search-panel__close {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  background-image: url("assets/img/close-alt.svg");
  background-position: center;
  background-size: 3rem 3rem;
  background-repeat: no-repeat;
  transform: translate(-0.7rem, -3rem);
}

@media (max-width: 700px) {
  .search-panel__close {
    transform: translate(-2.1rem, -3rem);
  }
}



/*
===============================
= 10 Кнопки соц сетей в шапке
============================================
*/

@media (max-width: 1200px) {
  .site-header__socials {
    display: none;
  }
}

.social-btns {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.social-btns__item {
  display: flex;
  align-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 700px) {
  .social-btns__item {
    width: 1.8rem;
    height: 1.8rem;
  }
}

.social-btns__item:not(:last-child) {
  margin-right: 0.7rem;
}

.social-btns__link {
  display: block;
  color: var(--wight);
}

.social-btns__item:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-btns__link svg {
  width: 1.6rem;
  height: 1.6rem;
}

@media (max-width: 700px) {
  .social-btns__link svg {
    width: 1.8rem;
    height: 1.8rem;
  }
}

.rutube-item {
  background-color: #100943;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rutube-item svg {
  width: 1.3rem;
  height: 1.3rem;
}

.tw-item {
  background-color: #111;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav-panel__social {
  display: none;
  margin: 3rem 0;
}

@media (max-width: 1200px) {
  .mobile-nav-panel__social {
    display: block
  }
}

.mobile-nav-panel__social .social-btns {
  padding: 1.2rem 0 0 1.5rem;
}

.mobile-nav-panel__search {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.mobile-nav-panel__search .search-form {
  position: relative;
  margin: 1.5rem 1.8rem 0 1.5rem;
}

.mobile-nav-panel__search .searchfield {
  padding-right: 50px;
}

.mobile-nav-panel__search .searchsubmit {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
  background-color: transparent;
  background-image: url("assets/img/search-alt.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

html[data-theme="dark"] .mobile-nav-panel__search .searchsubmit {
  background-image: url("assets/img/search.svg");
}



/*
 ===============================
 = 11 Мобильное меню
 ============================================
 */

.site-header__mob {
  display: none;
}

@media (max-width: 1200px) {
  .site-header__mob {
    display: block;
  }
}

.mobile-menu-btn {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  color: var(--headerColor);
  overflow: hidden;
}

.mobile-menu-btn__line {
  margin: 0 auto;
  position: relative;
  display: block;
  border-radius: 2px;
  width: 80%;
  height: 2px;
  background-color: var(--headerColor);
}

.mobile-menu-btn__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  z-index: 1;
  border-radius: 2px;
  width: 100%;
  height: 2px;
  background-color: var(--headerColor);
}

.mobile-menu-btn__line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  z-index: 1;
  border-radius: 2px;
  width: 100%;
  height: 2px;
  background-color: var(--headerColor);
}

.is-active .mobile-menu-btn__line::before {
  top: 0;
  width: 26px;
  transform: rotate(45deg);
  background-color: var(--wight);
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.is-active .mobile-menu-btn__line::after {
  bottom: 0;
  width: 26px;
  transform: rotate(-45deg);
  background-color: var(--wight);
  transition: bototm 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.is-active .mobile-menu-btn__line {
  background-color: transparent;
  transition: background-color 0.02s ease-in-out;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  z-index: 200;
  background-color: rgba(28, 30, 46, 0.945);
  transition: width 0.3s, transform 0.3s;
}

.mobile-overlay.is-open {
  width: 100%;
  transition: width 0.3s, transform 0.3s;
}

.mobile-nav-panel {
  padding: 2rem 0 3rem;
  background: var(--mobBg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
}

.mobile-nav-panel.is-open {
  z-index: 998;
  opacity: 1;
  transform: translateX(0);
  transition: opacity .6s, visibility .6s, transform .6s;
}

.mobile-nav-panel__title {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  padding-left: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--borderColor);
}

.mobile-nav-panel__title span {
  color: var(--greyColor);
  font-size: 0.94rem;
  font-weight: 400;
}

.mobile-nav-panel__close {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.8rem;
  background-color: transparent;
  cursor: pointer;
  background-image: url("assets/img/close.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

html[data-theme="dark"] .mobile-nav-panel__close {
  background-image: url("assets/img/close-alt.svg");
}

.mobile-nav {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav li {
  padding: 0;
  font-size: 1rem;
  font-weight: var(--semiBold);
}

.mobile-nav .main-menu__item:not(:last-child) {
  margin-right: 0 !important;
}

.mobile-nav li a {
  margin-right: 1rem;
  padding: 0.7rem 1rem 0.7rem 1.5rem;
  display: inline-block;
  text-decoration: none;
  color: var(--mobColor);
}

.mobile-nav .current-menu-item a {
  color: var(--mobColor);
}

.mobile-nav .current-menu-item a:hover {
  color: var(--hoverColor);
}

.mobile-nav .menu-item-has-children {
  cursor: pointer;
}

.mobile-nav .sub-menu {
  margin: 0.5rem 0;
  padding: 1rem 0 0.5rem;
  position: relative;
  display: none;
  border-top: 1px solid var(--borderColor);
  border-bottom: 1px solid var(--borderColor);
}

.mobile-nav .sub-menu li a {
  margin-right: 1rem;
  padding: 0.5rem 1rem 0.5rem 2.3rem;
}

.mobile-nav .menu-item-has-children::before,
.mobile-nav .reverse::before {
  content: "";
  position: absolute;
  right: 1rem;
  top: 0.6rem;
  z-index: 1;
  width: 24px;
  height: 24px;
  padding: 5px;
  background-image: url(assets/img/arrow-down.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 4px;
  transition: background-color 0.3s;
}

html[data-theme="dark"] .mobile-nav .menu-item-has-children::before,
html[data-theme="dark"] .mobile-nav .reverse::before {
  background-image: url(assets/img/arrow-down-alt.svg);
}

.mobile-nav .reverse::before {
  transform: rotate(180deg);
  transition: background-color 0.3s;
}




/*
===============================
= 12 Главная страница - список рубрик
============================================
*/

.home-сat-list {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .home-сat-list {
    display: none
  }

  .home-сat-list.is-shown {
    margin-bottom: 1rem;
    display: flex;
    animation: scale-display .3s
  }
}

@media (max-width: 600px) {
  .home-сat-list {
    flex-direction: column;
  }
}

@keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0)
  }

  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1)
  }
}

.home-сat-list__item,
.home-сat-toggle {
  position: relative;
  display: flex;
  margin-bottom: 1.4rem;
  font-size: 0.94rem;
  line-height: 1;
  background-color: var(--itemsBg);
  border-radius: var(--bradius);
  transition: background-color 0.4s, color 0.4s;
}

@media (max-width: 600px) {
  .home-сat-list__item {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
}

.home-сat-toggle {
  display: none;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}

@media (max-width: 1200px) {
  .home-сat-toggle {
    display: flex;
  }
}

.home-сat-toggle::before {
  content: "";
  width: 26px;
  height: 26px;
  margin-right: 0.5rem;
  background-image: url(assets/img/cats.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-theme="dark"] .home-сat-toggle::before {
  background-image: url(assets/img/cats-alt.svg);
}

.home-сat-toggle.is-open::before {
  content: "";
  width: 26px;
  height: 26px;
  margin-right: 0.5rem;
  background-image: url(assets/img/close.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-theme="dark"] .home-сat-toggle.is-open::before {
  background-image: url(assets/img/close-alt.svg);
}

.home-сat-toggle:hover {
  background-color: var(--greyBg);
  box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, 0);
  transition: background-color 0.4s, box-shadow 0.4s;
}

html[data-theme="dark"] .home-сat-toggle:hover {
  box-shadow: none;
}

.home-сat-list__item:hover {
  background-color: var(--featCatBgHover);
  transition: background-color 0.4s;
}

.home-сat-list__item:hover .home-сat-list__link {
  color: var(--wight);
  transition: color 0.4s;
}

.home-сat-list__item:not(:last-child) {
  margin-right: 1rem;
}

.home-сat-list__link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 2.2rem 0.65rem 1.2rem;
  text-decoration: none;
  transition: color 0.4s;
}

.home-сat-list__link:hover {
  color: var(--wight);
  text-decoration: none;
  transition: color 0.4s;
}

.home-сat-list__icon {
  max-width: 30px;
  margin-right: 0.8rem;
}

.home-сat-list__count {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 9px;
  font-size: 13px;
  line-height: 1;
  border-radius: 50%;
  color: var(--greyColor);
  transform: translate(-8px, 2px);
  transition: background-color 0.4s, color 0.4s;
}

@media (max-width: 600px) {
  .home-сat-list__count {
    position: relative;
    top: initial;
    right: initial;
    margin-right: 1rem;
    transform: none;
  }
}

.home-сat-list__item:hover .home-сat-list__count {
  color: var(--wight);
  background-color: red;
  transition: background-color 0.4s, color 0.4s;
}



/*
===============================
= 13 Избранные записи на Главной
============================================
*/

.featured-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-bottom: 3rem;
}

@media (max-width: 1280px) {
  .featured-list {
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .featured-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .featured-list {
    display: block
  }
}

.featured-post__item {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  position: relative;
  padding: 1.2rem 1.3rem;
  background-color: var(--itemsBg);
  border-radius: var(--bradius);
  /* box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .1); */
  transition: box-shadow 0.4s;
}

@media (max-width: 1700px) {
  .featured-post__item {
    padding: 1rem 1.2rem;
  }
}

@media (max-width: 1480px) {
  .featured-post__item {
    flex-flow: column wrap;
    align-items: baseline;
  }
}

@media (max-width: 680px) {
  .featured-post__item {
    display: block;
  }
}

@media (max-width: 480px) {
  .featured-post__item {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.featured-post__item:hover {
  box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .2);
}

html[data-theme="dark"] .featured-post__item:hover {
  box-shadow: none;
}

.featured-post {
  position: relative;
  display: flex;
}

@media (max-width: 480px) {
  .featured-post:not(:last-child) {
    margin-bottom: 2rem;
  }
}

.featured-post__img {
  margin-right: 1.2rem;
  flex: 1;
}

@media (max-width: 1480px) {
  .featured-post__img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 500px) {
  .featured-post__img {
    max-height: 225px;
  }
}

.featured-post__img img {
  border-radius: var(--bradius);
}

.featured-post__content {
  flex: 2;
}

@media (max-width: 1700px) {
  .featured-post__content {
    flex: 1;
  }
}

@media (max-width: 1480px) {
  .featured-post__content {
    flex: 1;
  }
}

.featured-post__link {
  position: absolute;
  inset: 0;
  cursor: pointer
}

.featured-post__icon {
  position: absolute;
  top: -1rem;
  right: 2rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.6rem;
  object-fit: cover;
  background-color: var(--siteBg);
  border-radius: 50%;
  transform: rotate(-5deg);
  transition: transform 1s;
}

@media (max-width: 1700px) {
  .featured-post__icon {
    top: -1rem;
  }
}

.featured-post:hover .featured-post__icon {
  transform: rotate(360deg);
  transition: transform 1s;
}

.featured-post__title {
  display: block;
  font-size: 1rem;
  font-weight: var(--bold);
  line-height: 140%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--mainColor);
  transition: color 0.3s;
}

.featured-post:hover .featured-post__title {
  color: var(--hoverColor);
  transition: color 0.3s;
}

@media (max-width: 1900px) {
  .featured-post__title {
    font-size: 0.96rem;
  }
}

@media (max-width: 1700px) {
  .featured-post__title {
    font-size: 0.92rem;
  }
}

@media (max-width: 1480px) {
  .featured-post__title {
    font-size: 1rem;
  }
}

@media (max-width: 800px) {
  .featured-post__title {
    font-size: 1.11rem;
  }
}

@media (max-width: 500px) {
  .featured-post__title {
    display: block;
    font-size: 1.2rem;
    overflow: visible;
    text-overflow: initial;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
  }
}



/*
===============================
= 14 Главная страница - список записей
============================================
*/

.post-list {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  margin-bottom: 3rem;
}

@media (max-width: 1600px) {
  .post-list {
    gap: 3rem;
  }
}

@media (max-width: 1440px) {
  .post-list {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))
  }
}

@media (max-width: 740px) {
  .post-list {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr))
  }
}

.post-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--itemsBg);
  overflow: hidden;
  border-radius: var(--bradius);
  /* box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .1); */
  transition: box-shadow 0.4s;
}

.post-list__item:hover {
  box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .25);
}

html[data-theme="dark"] .post-list__item:hover {
  box-shadow: none;
}

.post-item__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer
}

.post-item__header {
  margin-bottom: 0.8rem;
  padding: 0 1.8rem;
}

.post-item__content {
  margin-bottom: 2rem;
  padding: 0 1.8rem;
  font-size: 1rem;
}

@media (max-width: 600px) {

  .post-item__header,
  .post-item__content {
    padding: 0 1.5rem;
  }
}

.post-item__title {
  display: block;
  font-size: 1.2rem;
  font-weight: var(--bold);
  line-height: 140%;
  transition: color 0.3s;
}

.post-list__item:hover .post-item__title {
  color: var(--hoverColor);
  transition: color 0.3s;
}

.post-item__content p {
  font-size: 0.96rem;
}

.post-item__footer {
  margin-top: auto;
  padding: 0 2rem 1em;
  position: relative;
}

@media (max-width: 600px) {
  .post-item__footer {
    padding: 0 1.5rem 1rem;
  }
}

.post-item__info {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  background-color: var(--promoBg);
  color: var(--promoColor);
  border-radius: var(--bradius);
}

.post-item__more {
  display: block;
  padding-bottom: 0.5rem;
  font-size: 0.76rem;
  font-weight: var(--semiBold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-item__img {
  position: relative;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

@media (max-width: 500px) {
  .post-item__img {
    max-height: 218px;
  }
}

.attachment-post-item-thumb {
  transition: transform 0.4s;
}


.post-item__icon {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  padding: 0.4rem;
  font-size: 1.2rem;
  font-weight: var(--bold);
  border-radius: 50%;
  background-color: var(--greyBg);
  color: #777a7f;
  width: 2rem;
  height: 2rem;
  stroke: #777a7f;
  transform: rotate(45deg);
  transition: transform .3s, stroke 0.3s
}

.post-item__btn:hover {
  background-color: var(--hoverColor);
}

.post-item:hover .post-item__icon {
  transform: rotate(135deg);
  transition: transform .3s;
}

.post-item__btn:hover .post-item__icon {
  stroke: var(--wight);
  transition: stroke 0.3s;
}

.post-item__date {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding-bottom: 0.5rem;
  font-size: 0.92rem;
}

.post-item__date svg {
  width: 18px;
  height: 18px;
  margin-right: 0.6rem;
  stroke: var(--mainColor);
  opacity: 0.5;
}

.date-mod {
  stroke: none !important;
}

html[data-theme="dark"] .date-mod {
  fill: var(--mainColor);
}



.post-item__category {
  position: relative;
  z-index: 100;
  max-width: 225px;
  padding-right: 4rem;
  font-size: 0.86rem;
}

@media(max-width: 500px) {
  .post-item__category {
    font-size: 14px;
  }
}

.post-item__category a {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: var(--mainColor);
  text-decoration: none;
}

@media(max-width: 500px) {
  .post-item__category a {
    padding: 4px 0;
  }
}

.post-item__category a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}

.post-item__author {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  padding-right: 3rem;
  padding-bottom: 0.5rem;
  font-size: 0.92rem;
}

.post-item__author a {
  text-decoration: none;
}

.post-item__author a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}

.post-item__author .post-info__img {
  width: 26px;
  height: 26px;
}



/*
===============================
= 15 Навигация на главной и в архивах
============================================
*/

.site-navigation {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.site-navigation>.pagination {
  max-width: 500px;
  margin: 1rem 0;
}

.pagination .nav-links {
  display: flex;
  flex-flow: row wrap;
}

@media(max-width: 600px) {
  .pagination .nav-links {
    justify-content: center;
  }
}

.pagination .nav-links>* {
  margin-right: 0.9rem;
  padding: 0.65rem 0.9rem;
  display: inline-flex;
  font-size: 1rem;
  line-height: 1;
  border-radius: 4px;
  background-color: var(--itemsBg);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.pagination .page-numbers {
  text-decoration: none;
  color: var(--mainColor);
}

.pagination .page-numbers.current {
  background-color: var(--btnBg);
  color: var(--btnColor);
}

.pagination .page-numbers:hover {
  background-color: var(--btnBgHover);
  color: var(--btnColor);
}

.pagination .dots:hover {
  background-color: var(--greyBg);
  color: var(--mainColor);
}

@media (max-width: 1100px) {
  .pagination .page-numbers {
    display: none;
  }

  .pagination .current,
  .pagination .prev,
  .pagination .next {
    display: inline-flex;
  }
}



/*
===============================
= 16 Навигация внутри записей
============================================
*/

@media (max-width: 1150px) {
  .post-navigation {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

.post-navigation .nav-links {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.post-navigation .nav-links>* {
  padding: 1rem 2rem;
  border-radius: var(--bradius);
  background-color: var(--greyBg);
}

.post-navigation .nav-links>* a {
  background-color: transparent;
  text-decoration: none;
}

.post-navigation .nav-links>*:hover {
  text-decoration: none;
}

.post-navigation .nav-links .nav-next {
  padding-left: 1rem;
  text-align: right;
}

@media(max-width: 600px) {
  .post-navigation .nav-links .nav-next {
    padding-left: 2rem;
    text-align: left;
  }
}

.post-navigation .nav-links .nav-prev {
  padding-right: 1rem;
}

.post-navigation .nav-links__label {
  margin-bottom: 1.2rem;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--greyColor)
}

.post-navigation .nav-links__title {
  font-weight: var(--semiBold);
  font-size: 1rem;
  line-height: 135%;
  word-break: keep-all;
}

.post-navigation .nav-links__title:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}



/*
===============================
= 17 Шаблон записи
============================================
*/


.single-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  z-index: 1;
}

.single-entry::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--siteBg) 5%, rgba(255, 255, 255, 1) 10%);
  transform: translateY(-2.5rem);
}

html[data-theme="dark"] .single-entry::after {
  background: var(--siteBg);
}

.single-entry__header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
  max-width: 900px;
}

@media (max-width: 680px) {
  .single-entry__header {
    padding: 0 1.5rem;
  }
}

.single-header__content {
  width: 100%;
}

.single-entry__title {
  font-size: 2rem;
  line-height: 130%;
}

@media (max-width: 1680px) {
  .single-entry__title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .single-entry__title {
    font-size: 1.5rem;
  }
}

.single-entry__excerpt {
  margin-top: 1.5rem;
}

.single-header__img {
  margin-top: 1.5rem;
}

.single-header__img img {
  border-radius: var(--bradius);
}

.single-entry__content a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}

.single-entry__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 0 3rem;
}

@media (max-width: 680px) {
  .single-entry__content {
    padding: 0 1.5rem;
  }
}

.single-entry__post>*:not(.post-content):not(.single-entry__wrap), 
.single .post-content>*:not(.wp-block-lazyblock-gp-promo-card):not(.wp-block-lazyblock-gp-args-card):not(.wp-block-lazyblock-gp-plus-min-card):not(.wp-block-lazyblock-gp-plus-min-card),
.page .post-content>* {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.single-entry__wrap {
  display: flex;
  flex-direction: column-reverse;
}


/*
===============================
= 18 Хлебные крошки
============================================
*/

.breadcrumbs {
  width: 100%;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--borderColor);
}

.archive .breadcrumbs {
  padding: 0;
  border: 0
}

.breadcrumbs__item {
  display: inline-block;
  position: relative;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--greyColor);
}

.breadcrumbs__item::before {
  content: "\00B7";
  padding-right: 0.5rem;
  color: var(--greyColor);
}

@media (max-width:600px) {

  .breadcrumbs__item::before {
    top: 0.65rem;
  }
}

.breadcrumbs__item:not(:last-child) {
  margin-right: 0.5rem;
}

.breadcrumbs__item:first-child::before {
  display: none;
}

.breadcrumbs__link {
  text-decoration: none;
  color: var(--greyColor);
}

.breadcrumbs__link:not(a[href]):hover {
  text-decoration: none;
  color: var(--greyColor);
}

.breadcrumbs__link:hover {
  text-decoration: underline;
  color: var(--hoverColor);
}

.breadcrumbs__item:last-child span {
  display: inline-block;
  max-width: 327px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

@media (max-width: 800px) {
  .breadcrumbs__item:last-child span {
    max-width: 290px;
  }
}

@media (max-width: 700px) {
  .breadcrumbs__item:last-child span {
    max-width: 200px;
  }
}

@media (max-width: 500px) {
  .breadcrumbs__item:last-child span {
    max-width: 50px;
  }
}

 

/*
===============================
= 19 Карточки в записях
============================================
*/

.wp-block-lazyblock-gp-promo-card,
.wp-block-lazyblock-gp-args-card,
.wp-block-lazyblock-gp-plus-min-card {
  display: flex;
  margin: 3rem auto;
}

@media (max-width: 600px) {

  .wp-block-lazyblock-gp-promo-card,
  .wp-block-lazyblock-gp-args-card,
  .wp-block-lazyblock-gp-plus-min-card {
    margin-bottom: 2rem;
  }
}

.post-target {
  position: relative;
  margin: 2rem auto;
  padding: 2.5rem 0;
  width: 100%;
  background-color: var(--wight);
  border: 1px solid var(--borderColor);
  border-radius: var(--bradius);
}

html[data-theme="dark"] .post-target {
  background-color: transparent;
}

@media (max-width: 600px) {
  .post-target {
    padding: 0;
    padding-bottom: 2rem;
    border: 0;
    border-top: 1px solid var(--borderColor);
    border-radius: 0;
  }
}

.post-target>*:not(.post-target__wrap):not(.promo-block):not(.post-target__footer):not(.args-block__list)  {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .post-target>*:not(.post-target__wrap):not(.promo-block):not(.post-target__footer):not(.post-target__rate):not(.args-block__list)  {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 600px) {
  .post-target>*:not(.post-target__wrap):not(.promo-block):not(.post-target__footer):not(.post-target__rate) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .post-target>*:not(.post-target__wrap):not(.promo-block):not(.post-target__footer) {
    width: 100%;
  }
}

.post-target__wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
}

.post-target__wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 1;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .25) 100%);
  transform: skewX(-24deg);
  transition: all .5s ease-out
}

.post-target__wrap:hover::after {
  left: 125%
}

.post-target__img {
  position: relative;
  margin-bottom: 2rem;
}

.post-target__header {
  display: flex;
  align-items: end;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .post-target__header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.6rem;
  }
}

.post-target__title {
  margin-bottom: 0.5rem !important;
  max-width: 470px;
  font-size: 1.8rem !important;
  line-height: 130%;
  color: var(--btnBg);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.4s;
}

@media (max-width: 600px) {
  .post-target__title {
    margin-top: 2.6rem;
  }
}

.post-target__link {
  color: var(--hoverColor);
  text-decoration: underline;
}

.post-target__link:hover {
  color: var(--btnBgHover) !important;
  text-decoration: underline;
}

.post-target__rate {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  width: 3rem !important;
  height: 3rem;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: var(--bold);
  border-radius: 50%;
  background-color: var(--blockNumBg);
  color: var(--wight);
  transform: translate(-1.5rem, -1.5rem);
}

@media (max-width: 600px) {
  .post-target__rate {
    top: 0;
    left: 1.5rem;
    width: 2.4rem !important;
    height: 2.4rem;
    font-size: 1.2rem;
  }
}

.post-target__subtitle {
  display: block;
  padding: 1.5rem 0 !important;
  font-size: 1.4rem;
  font-weight: var(--bold);
  border-top: 1px solid var(--borderColor);
}

@media (max-width: 1024px) {
  .post-target__subtitle {
    padding: 1.3rem 2rem !important;
  }
}

@media (max-width: 700px) {
  .post-target__subtitle {
    font-size: 1.3rem;
  }
}

.attrs {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}

@media (max-width: 600px) {
  .attrs {
    margin-left: 0;
    margin-top: 1.6rem;
  }
}

.attrs__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: .9rem;
  font-weight: var(--bold);
}

.attrs__label--rating {
  margin-top: 5px;
  padding: 0.3rem 0.5rem;
  font-size: .84rem;
  background-color: #556caf;
  color: var(--wight);
  border-radius: 4px;
}

.attrs__label--approval {
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  background-color: var(--greyBg);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .attrs__label--approval {
    margin-left: 1rem;
  }
}

.attrs__label--choice,
.attrs__label--choice2 {
  max-width: 173px;
  padding: 0.5rem;
  padding-left: 2rem;
  background-color: rgba(185, 181, 203, 0.13);
  border-radius: var(--bradius);
  text-align: left;
  font-size: .85rem;
  letter-spacing: 0.5px;
  line-height: 130%;
}

.attrs__label--leader {
  max-width: 130px;
  padding: 0.4rem;
  padding-left: 2rem;
  background-color: rgba(185, 181, 203, 0.13);
  border-radius: var(--bradius);
  text-align: left;
  font-size: .75rem;
  letter-spacing: 0.5px;
  line-height: 130%;
  font-weight: var(--bold);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .attrs__label--leader {
    margin-left: 1rem;
  }
}

.attrs__label--choice:before {
  content: "";
  width: 4rem;
  height: 4rem;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-48%);
  background-image: url('assets/img/gold-medal.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 3.4rem 3.4rem;
}

.attrs__label--choice2:before {
  content: "";
  width: 4rem;
  height: 4rem;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-48%);
  background-image: url('assets/img/silver-medal.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 3.4rem 3.4rem;
}

.attrs__label--approval:before {
  content: "";
  width: 3rem;
  height: 3rem;
  position: absolute;
  left: -2.2rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(255, 138, 24);
  background-image: url('assets/img/like.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.4rem 1.4rem;
  border-radius: 50%;
}

.attrs__label--leader:before {
  content: "";
  width: 3.6rem;
  height: 3.6rem;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  background-image: url('assets/img/gem.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 3.6rem 3.6rem;
}

.attrs__stars {
  position: relative;
  z-index: 2;
  --percent: calc(var(--rating)/5*100%);
  display: inline-block;
  font-size: 1.3rem;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 125%
}

.attrs__stars::before {
  position: relative;
  z-index: 2;
  content: '★★★★★';
  letter-spacing: 3px;
  background: linear-gradient(90deg, #fb8022 var(--percent), #cbd1da var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.promo-block {
  margin: 2rem 0;
  padding: 2rem 0;
  position: relative;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--borderColor);
  border-bottom: 1px solid var(--borderColor);
  background-color: var(--greyBg);
}

.promo-block:hover {
  box-shadow: 0 10px 25px -10px rgba(21, 30, 92, 0.05);
  transition: box-shadow 0.4s;
}

.promo-block__subtitle {
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  font-size: 0.96rem;
  font-weight: var(--bold);
  text-align: center;
}

.promo-block__box {
  padding: 0rem 2rem;
  text-align: center;
}

@media(max-width: 600px) {
  .promo-block__box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .promo-block__box>*:not(:last-child) {
    margin-bottom: 1.2rem;
  }
}

.promo-block__code {
  margin-right: 1rem;
  padding: 0.75rem 1.4rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: var(--bold);
  background-color: var(--wight);
  color: #333;
  border-bottom: 1px solid #edeff2;
  border-radius: 4px;
}

@media(max-width: 600px) {
  .promo-block__code {
    margin-right: 0;
  }
}

.promo-block__subject {
  margin-right: 1rem;
  font-size: 0.9rem;
}

@media(max-width: 600px) {
  .promo-block__subject {
    margin-right: 0;
  }
}

.promo-block__btn {
  position: relative;
  padding: 0.75rem 0;
  width: 160px;
  font-size: 1rem;
  background-color: var(--promoBg);
  color: var(--promoColor);
  border-radius: var(--bradius);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.promo-block__btn:hover {
  background-color: var(--btnBgHover);
  color: var(--wight);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.has-clicked,
.has-clicked:active,
.has-clicked:hover {
  background-color: var(--btnBgHover);
  color: var(--wight);
}

.has-clicked::after {
  --out: var(--btnBgHover);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  border-radius: 2rem;
  animation: out 0.6s;
}

@keyframes out {
  0% {
    box-shadow: 0 0 0 var(--out);
    opacity: 1;
  }


  100% {
    box-shadow: 0 0 180px var(--out);
    opacity: 0;
  }
}

.post-target__content {
  margin-bottom: 2rem;
}


.post-target__footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  padding: 0 1.5rem;
  transform: translate(-50%, 48%);
}

@media (max-width: 600px) {
  .post-target__footer {
    position: relative;
    bottom: initial;
    left: initial;
    margin: 0 auto;
    transform: none;
  }
}

.post-target__btn {
  text-align: center;
  text-decoration: none !important;
  color: var(--btnColor) !important;
  line-height: 135%;
}

.args-block__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem !important;
  padding: 3rem 3rem !important;
  background-color: var(--greyBg);
}

@media (max-width:700px) {
  .args-block__list {
    padding: 2rem 1rem !important;
  }
}


html[data-theme="dark"] .args-block__list {
  background-color: var(--siteBg);
}

.args-block__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-left: 0;
}


@media (max-width:700px) {
  .args-block__item {
    justify-content: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .args-block__item:nth-of-type(odd) {
    background-color: var(--greyBg);
  }

  .args-block__item:nth-of-type(even) {
    background-color: var(--wight);
  }

  html[data-theme="dark"] .args-block__item:nth-of-type(even) {
    background-color: var(--siteBg);
  }
}

.args-block__item:not(:last-child) {
  margin-bottom: 1.2rem !important;
}

@media (max-width:700px) {
  .args-block__item:not(:last-child) {
    margin-bottom: 0.5rem !important;
  }
}

.args-item__text {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

@media (max-width:700px) {
  .args-item__text {
    margin-bottom: 0.5rem;
  }
}

.args-item__text:after {
  content: "..........................................................................................................................................................................................................................................";
  position: absolute;
  color: #cdd5e2;
}

html[data-theme="dark"] .args-item__text:after {
  color: #3e3f4a;
}

@media (max-width:700px) {
  .args-item__text:after {
    content: "";
  }
}

.args-item__descr {
  font-weight: var(--semiBold);
  text-align: right;
}

.args-item__descr p {
  max-width: 350px;
}

@media (max-width:700px) {
  .args-item__descr {
    text-align: left;
  }

  .args-item__descr p {
    max-width: 100%;
  }
}


.post-target__criteria {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width:800px) {
  .post-target__criteria {
    display: block;
  }
}

 
.target-plus__list {
  margin: 0 0 2.4rem 0 !important;
  padding: 2rem 1.5rem;
  background-color: #e8f8ef;
  border-radius: var(--bradius);
}

html[data-theme="dark"] .target-plus__list {
  background-color: #16544b;
}

@media (max-width:800px) {
  .target-plus__list {
    margin: 0 0 1.6rem 0 !important;
  }
}


.target-plus__item {
  position: relative;
  list-style: none !important;
  padding-left: 2rem;
  font-size: 1rem;
}

.plus-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 1.4rem;
  height: 1.4rem;
  background-image: url(assets/img/check.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateY(0.2rem);
}

@media (max-width:500px) {
  .plus-item::before {
    transform: translateY(0.1rem);
  }
}

.target-min__list {
  margin: 0 0 2.4rem 0 !important;
  padding: 2rem 1.5rem;
  background-color: #fbecf3;
  border-radius: var(--bradius);
}

html[data-theme="dark"] .target-min__list {
  background-color: #460101;
}

@media (max-width:800px) {
  .target-min__list {
    margin: 0 0 1.6rem 0 !important;
  }
}


.min-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url(assets/img/minus.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateY(0.2rem);
}




/*
===============================
= 20 Списки сайта
============================================
*/

.post-content ul:not(:last-child),
.widget ul:not(:last-child) {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.post-content ul {
  padding-left: 1.2rem;
}

.post-content ul li,
.widget ul li {
  list-style-position: inside;
  list-style-type: square;
}

.post-content ul li:not(:last-child),
.widget ul li:not(:last-child) {
  margin-bottom: 0.6rem;
}

.post-content ul li,
.widget ul li {
  list-style-position: inside;
  list-style-type: square;
}

.post-content ul li ul,
.widget ul li ul {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
}

.post-content ol:not(:last-child) {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.post-content ol {
  padding-left: 1.2rem;
  list-style: decimal;
  list-style-position: inside;
}

.post-content ol li {
  padding: 0
}

.post-content ol li:not(:last-child) {
  margin-bottom: 0.6rem;
}

.post-content ol ol {
  list-style: upper-alpha
}

.post-content ol ol ol {
  list-style: lower-roman
}

.post-content ol ol ol ol {
  list-style: lower-alpha
}




/*
===============================
= 21 Таблицы
============================================
*/


table,
.wp-block-table {
  margin: 0 0 1.2rem;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table th {
  padding: 0.5rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: var(--bold);
  border: 1px solid var(--borderColor);
  background-color: #f6f7fb;
  word-break: normal
}

table td {
  padding: 0.5rem 1rem;
  font-size: 0.94rem;
  line-height: 1.5;
  border: 1px solid var(--borderColor);
  vertical-align: top;
  word-break: normal;
}

.wp-block-table td,
.wp-block-table th {
  font-size: 0.94rem;
  line-height: 1.5;
  border: 1px solid var(--borderColor);
  padding: 0.5rem 1rem;
}

table tr:nth-of-type(odd) {
  background-color: var(--greyBg)
}

table tr:nth-of-type(even) {
  background-color: var(--wight);
}

html[data-theme="dark"] table tr:nth-of-type(even) {
  background-color: var(--siteBg);
}

table,
.wp-block-table {
  border-collapse: collapse
}

.wp-block-table {
  border-collapse: collapse
}

dt,
dd {
  margin-bottom: 1rem;
}



/*
===============================
= 22 Компоненты записи, блоки, галереи
============================================
*/


blockquote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 1.5rem 0;
  padding: 2rem;
  background-color: var(--greyBg);
  border-radius: var(--bradius);
}

blockquote p {
  margin: 0
}

blockquote cite {
  display: inline-block;
  text-align: right;
  font-weight: var(--bold);
}

blockquote cite::before {
  content: "—";
  padding-right: 8px;
}

.wp-block-cover {
  margin-bottom: 1.2rem;
}


figcaption {
  color: var(--greyColor);
  font-size: 0.9rem;
}

.wp-block-table figcaption {
  margin-top: -5px;
  padding-bottom: 15px;
}

.blocks-gallery-grid,
.wp-block-gallery {
  margin: 0 auto
}

.wp-block-gallery,
.post-content .gallery {
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .wp-block-gallery {
    display: block !important;
  }

  .wp-block-image {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
}

.wp-block-gallery.is-cropped .blocks-gallery-item img {
  height: 100%;
  flex: 1;
  object-fit: cover;
}

.blocks-gallery-grid li {
  padding-left: 0 !important;
}

.blocks-gallery-grid li::before {
  display: none;
}

.wp-block-image .alignleft {
  margin: 0 2rem 1rem 0;
}

img.alignleft {
  float: left;
  margin: 0 2rem 1rem 0;
}

.wp-block-image .alignright {
  margin: 0 0 1rem 2rem;
}

img .alignright {
  float: right;
  margin: 0 0 1rem 2rem;
}

@media (max-width: 900px) {

  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    margin: 0 auto 1rem;
    float: none;
    display: table
  }
}

.gallery {
  margin: 1rem auto 0;
  display: inline-block;
}

.gallery .gallery-item {
  margin: 0;
  padding: 0;
}

.gallery .gallery-item img {
  border-radius: 6px;
}

.gallery-columns-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width:600px) {
  .gallery-columns-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-columns-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width:600px) {
  .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wp-block-buttons {
  margin-bottom: 1.2rem
}

.wp-block-code {
  margin-bottom: 1.2rem;
  padding: 1.5rem;
  padding-left: 2rem;
  max-width: 100%;
  overflow: auto;
  white-space: pre;
  color: var(--wight);
  border: 0;
  background-color: var(--mainColor);
  font-family: monospace;
}

.wp-block-code code {
  padding: 0;
  background-color: transparent;
  font-size: 0.88rem;
}

code {
  margin: 1rem 0;
  padding: 1rem;
  display: block;
  background-color: var(--mainColor);
  color: var(--wight);
}

.wp-block-verse {
  white-space: pre-wrap;
}

.wp-block-embed__wrapper>* {
  margin-right: auto;
  margin-left: auto;
}

.wp-block-latest-posts.is-grid li {
  padding: 1rem;
  border: 1px solid var(--borderColor);
  font-size: 0.9rem;
  font-weight: var(--bold);
  line-height: 125%;
  border-radius: 6px;
}

.wp-block-latest-posts.is-grid li a {
  text-decoration: none;
}

.wp-block-latest-posts.is-grid li a:hover {
  text-decoration: underline;
  color: var(--hoverColor);
}

.wp-block-latest-posts__featured-image {
  margin-bottom: 0.6rem;
}

.wp-block-latest-posts__featured-image img {
  border-radius: 4px;
}

.wp-block-columns {
  font-size: 0.96rem;
}

.wp-block-columns p:not(:last-child) {
  margin-bottom: 0.5rem;
}

.wp-block-columns img {
  border-radius: 6px;
}



/*
===============================
= 23 Метки в записях
============================================
*/

.single-post__tags {
  display: flex;
  flex-flow: row wrap;
}

.single-post__tags a {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.single-post__tags a:not(:last-child) {
  margin-right: 1.2rem;
}

.single-post__tags a {
  position: relative;
  display: inline-flex;
  padding-left: 1.3rem;
  text-decoration: none !important;
}

.single-post__tags a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 0.85rem;
  height: 0.85rem;
  background-image: url("assets/img/tag.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.single-post__tags a:hover {
  color: var(--hoverColor) !important;
  text-decoration: underline !important;
}


/*
===============================
= 24 Информация о записи
============================================
*/

.post-info {
  display: flex;
  flex-flow: row wrap;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}

.post-info__item {
  display: flex;
  flex-flow: row wrap;
}

@media (max-width: 680px) {
  .post-info__item {
    margin-bottom: 1.2rem;
  }
}

.post-info__item:not(:last-child) {
  margin-right: 2.2rem;
}

@media (max-width: 500px) {
  .post-info__item:not(:last-child) {
    margin-right: 1.5rem;
  }
}

@media (max-width: 600px) {
  .post-info__item:not(:last-child) {
    margin-right: 1.7rem;
  }
}

.post-info__wrap {
  display: flex;
  flex-direction: column;
}

.post-info__text {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
}

.post-info__val {
  display: block;
  font-size: 0.8rem;
}

.post-info__val a {
  text-decoration: none;
  color: var(--hoverColor);
}

.post-info__img {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
  border-radius: 6px;
}

.post-info__item--date svg {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
  stroke: var(--mainColor);
  opacity: 0.5;
}

.post-info__item--modif svg {
  width: 40px;
  height: 40px;
  margin-right: 0.75rem;
  fill: var(--mainColor);
  opacity: 0.5;
}

@media (max-width: 600px) {

  .post-info__img,
  .post-info__item--date svg,
  .post-info__item--modif svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 600px) {

  .post-info__item--date svg,
  .post-info__item--modif svg {
    display: none;
  }
}

.comment-icon,
.move-to-bottom-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-left: auto;
  background-color: var(--greyBg);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.comment-icon {
  margin-left: 1rem;
}

@media (max-width: 360px) {
  .comment-icon {
    margin-left: 0.5rem;
  }
}

.comment-icon svg,
.move-to-bottom-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.move-to-bottom-icon svg {
  stroke: var(--mainColor);
  transform: rotate(180deg);
  transition: stroke 0.3s;
}

.comment-icon svg {
  fill: var(--mainColor);
  transition: fill 0.3s;
}

.comment-icon:hover,
.move-to-bottom-icon:hover {
  background-color: var(--btnBgHover);
}

.comment-icon:hover svg {
  fill: var(--wight);
  transition: fill 0.3s;
}

.move-to-bottom-icon:hover svg {
  stroke: var(--wight);
  transition: stroke 0.3s;
}


/*
===============================
= 25 Кнопки Поделиться
============================================
*/

.single-header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.share-btns {
  margin-top: 1.5rem;
}


.share-btns__list {
  display: flex;
  flex-flow: row wrap;
  align-items: start;
}

.share-btns__title {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--greyColor);
}

.share-btns__item {
  padding-left: 0 !important;
  opacity: 0.8;
  transition: opacity 0.3s;
  list-style: none !important;
}

.share-btns__item:not(:last-child) {
  margin-right: 0.4rem;
}

.share-btns__link {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--mainColor);
}

.share-btns__item::before {
  display: none !important;
}

.share-btns__item:hover {
  opacity: 1;
  transition: opacity 0.3s;
}

.share-btns__link svg {
  border-radius: 4px;
  width: 1.8rem;
  height: 1.8rem;
}

.share-btns__link--viber {
  background-color: #573eb9;
}

.share-btns__link--viber svg {
  width: 1.5rem;
  height: 1.5rem;
}

.share-btns__link--twitter {
  background-color: #2d2e36;
}

.share-btns__link--twitter svg {
  width: 1.42rem;
  height: 1.4rem;
}


/*
===============================
= 26 Содержание записи
============================================
*/


.single-entry__table {
  /* order: 1;   */
  width: 100%;
  max-width: 800px;
  margin-bottom: 1.6rem;
  margin-left: auto;
  margin-right: auto;
}

.table-content {
  padding: 1.6rem 2rem;
  background-color: var(--greyBg);
  border-radius: var(--bradius);
}

.table-content__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: var(--bold);
  color: var(--mainColor);
  cursor: pointer
}

.table-content__header svg {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: cover;
  fill: currentColor;
  transform: rotate(-180deg)
}

.table-content__header.is-up svg {
  transform: rotate(0)
}

.table-content__list,
.table-content__numlist {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 1.5rem 0 0;
}

.table-content__item {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1rem;
  list-style: none;
}

.table-content__numlist .table-content__item {
  padding-left: 0;
}

.table-content__item:not(:last-child) {
  margin-bottom: 0.75rem;
}

.table-content__list .table-content__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--hoverColor);
  border-radius: 50%;
  transform: translateY(11px);
}

@media (max-width: 1540px) {
  .table-content__list .table-content__item::before {
    transform: translateY(9px);
  }
}

@media (max-width: 1024px) {
  .table-content__list .table-content__item::before {
    transform: translateY(8px);
  }
}

.table-content__link {
  text-decoration: none;
}

.table-content__numlist {
  list-style: none;
  counter-reset: item;
}

.table-content__numlist .table-content__item {
  counter-increment: item;
}

.table-content__numlist .table-content__item::before {
  content: counter(item) ". ";
  padding-right: 5px;
  color: var(--hoverColor);
  font-weight: var(--bold)
}

.table-content__numlist .table-content__item li::before {
  content: counters(item, ".") " ";
}

.table-content__list .table-level-h3,
.table-content__list .table-level-h4,
.table-content__list .table-level-h5,
.table-content__list .table-level-h6 {
  margin-left: 1rem
}



/*
===============================
= 27 Подвал сайта
============================================
*/

.footer {
  margin: 2rem 0;
}

.footer-menu {
  display: flex;
  flex-flow: row wrap;
}

.footer-menu li {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-menu li:not(:last-child) {
  margin-right: 1rem;
}

@media (max-width: 600px) {
  .footer-menu li:not(:last-child) {
    margin-bottom: 0.4rem;
  }
}

.footer-menu li:not(:last-child)::after {
  content: "·";
}

@media (max-width: 600px) {
  .footer-menu li:not(:last-child)::after {
    content: "";
  }
}

.footer-menu li:not(:last-child) a {
  margin-right: 1rem;
}

.footer-menu li a {
  text-decoration: none;
}

.footer-menu li a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}

.footer__stat {
  margin-top: 1.5rem;
  opacity: 0.2;
  transition: opacity 0.3s;
}

.footer__stat:hover {
  opacity: 1;
}

.footer__wrapper {
  padding-top: 1.5rem;
  border-top: 1px solid var(--borderColor);
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: end;
}

.footer__branding {
  display: flex;
  flex-direction: column;
}

.footer__content {
  margin: 1rem 0 2rem;
  font-size: 1rem;
}


.footer__content p {
  hyphens: none;
}

.footer__credits {
  display: flex;
  font-weight: 400;
  color: var(--greyColor);
}

@media (max-width: 600px) {
  .footer__credits {
    flex-direction: column;
    margin-bottom: 0.2rem;
  }
}

.credits__link {
  color: var(--greyColor);
  text-decoration: none;
}

.credits__link:hover {
  text-decoration: underline;
}

.credits__copy,
.credits__site-descr {
  margin: 3px 0;
  font-size: 0.9rem;
}

.credits__site-descr::before {
  content: "·";
  margin-left: 0.8rem;
  padding-right: 0.8rem;
}

@media (max-width: 600px) {
  .credits__site-descr::before {
    content: "";
    margin-left: 0;
    padding-right: 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 3.5rem;
  right: 2.8rem;
  z-index: 999;
  display: flex;
  justify-content: center;
  width: 2.23rem;
  height: 2.23rem;
  color: var(--wight);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 1.8rem;
    right: 1.8rem;
  }
}

.back-to-top.is-active {
  background-color: var(--btnBg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s, background-color 0.4s;
}

.back-to-top:hover {
  background-color: var(--btnBgHover);
  color: var(--btnColor);
  transition: background-color 0.4s;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  align-self: center;
  stroke: currentColor;
}


/*
===============================
= 28 Список комментариев
============================================
*/

.comments {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid var(--borderColor);
  border-bottom: 1px solid var(--borderColor);
}

.comments__content {
  display: none
}

.comments__content.is-opened {
  display: flex;
  animation: scale-display .3s
}

.commnts__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-weight: var(--bold);
  cursor: pointer;
}

.commnts__header svg {
  width: 2rem;
  height: 2rem;
  padding: 5px;
  border-radius: 4px;
  background-color: var(--greyBg);
  object-fit: cover;
  fill: currentColor;
  transform: rotate(-180deg);
  transition: background-color 0.3s, fill 0.3s;
}

.commnts__header:hover svg {
  background-color: var(--btnBgHover);
  fill: var(--wight);
  transition: background-color 0.3s, fill 0.3s;
}

.commnts__header.is-opened svg {
  transform: rotate(0);
  background-color: var(--btnBgHover);
  fill: var(--wight);
}

.comments__list {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-bottom: 3rem;
  width: 100%;
}

.comments__title {
  display: block;
  font-weight: var(--bold);
  font-size: 1.2rem;
}

.comments__title:hover::before {
  background-color: var(--btnBgHover);
  color: var(--wight);
  transition: background-color 0.3s, color 0.3s;
}

#respond .comments__title {
  margin-bottom: 1rem;
  border: 0;
}

.comment {
  display: flex;
  flex-flow: column nowrap;
  padding: 1rem 1.4rem;
  font-size: 1rem;
  border: 1px solid var(--borderColor);
  border-radius: var(--bradius);
}

@media (max-width: 500px) {
  .comment {
    padding: 1rem 0.9rem 0.6rem;
  }
}

.comment:not(:last-child) {
  margin-bottom: 2rem;
}

.comment .children {
  margin: 0.5rem 0;
  padding: 1rem 0 0 1rem;
}

@media (max-width: 500px) {
  .comment .children {
    padding-left: 0.8rem;
  }
}

.comment__wrapper {
  display: flex;
  flex-direction: column;
}

.comment__header {
  padding-bottom: 0.5rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--borderColor);
}

.comment-author-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.comment-edit-link {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: var(--greyColor);
  text-decoration: none;
}

@media (max-width: 500px) {
  .comment-edit-link {
    display: none;
  }
}

.comment-edit-link:hover {
  text-decoration: underline;
  color: var(--hoverColor);
}

.comment__text {
  padding: 1rem 0 0.5rem;
  font-size: 1rem;
  line-height: 165%;
}

@media (max-width: 700px) {
  .comment__text {
    font-size: 1rem;
  }
}

.comment__author {
  font-weight: var(--bold);
  font-size: 1rem;
  line-height: 130%;
}

.comment__author .url {
  text-decoration: none;
}

.comment__author .url:hover {
  text-decoration: underline;
}

.comment-author-info__label {
  position: relative;
}

.comment-author-info__label::after {
  content: "Автор";
  margin-left: 14px;
  padding: 5px 8px;
  display: inline-flex;
  background-color: var(--btnBg);
  color: var(--wight);
  font-size: 13px;
  line-height: 1;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .comment-author-info__label::after {
    content: " ";
    margin-left: 8px;
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-10px)
  }
}

.comment__meta {
  margin-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--greyColor);
}

@media (max-width: 500px) {
  .comment__meta {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: var(--greyColor);
  }
}

.comment__meta a {
  text-decoration: none;
  color: var(--greyColor);
}

.children .comment {
  padding: 0;
  border: none;
}

.children .comment:not(:last-child) {
  margin-bottom: 1rem;
}

.comment-awaiting-moderation {
  display: block;
  margin-bottom: 1.5rem;
  font-style: normal;
  font-size: 1rem;
  color: #219951;
}


/*
===============================
= 29 Форма отправки комментариев
============================================
*/

.comments__form {
  margin-top: 3rem;
}

.comment-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.comment-form .comment-notes,
.logged-in-as {
  display: block;
  flex-basis: 100%;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--greyColor);
}

@media (max-width:600px) {
  .required-field-message {
    display: block;
  }
}

.comment-form .comment-notes input {
  margin-right: 1rem;
}

.comment-form .comment-notes a,
.logged-in-as a,
.comment-form__agreement a {
  color: var(--greyColor);
}

.comment-form .comment-notes a:hover,
.logged-in-as a:hover,
.comment-form__agreement a:hover {
  color: var(--hoverColor);
}

#comments-checkbox {
  margin-right: 10px;
}

.comment-form-cookies-consent {
  flex-basis: 100%;
  margin-bottom: 0.6rem;
  display: none;
}

.comment-form-cookies-consent input {
  margin-right: 1rem;
}

.comment-form-author {
  flex: 1;
  margin-right: 1rem;
}

@media (max-width: 600px) {
  .comment-form-author {
    flex-basis: 100%;
    margin-right: 0;
  }
}

.comment-form-email {
  flex: 1;
  margin-left: 1rem;
}

@media (max-width: 600px) {
  .comment-form-email {
    flex-basis: 100%;
    margin-left: 0;
  }
}

.comment-form-comment {
  flex-basis: 100%;
  margin-bottom: 1rem;
}

.comment-form .submit {
  margin: 0;
  margin-top: 0.8rem;
}

.comment-form .submit:disabled,
.wpcf7-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transition: opacity 0.3s ease-in-out;
}

.comment-form .submit:hover,
.error404-btn:hover,
.wpcf7-submit:hover {
  text-decoration: none;
  color: var(--wight);
  transition: background-color 0.3s ease-in-out;
}

.comment__reply {
  color: var(--greyColor);
  cursor: pointer;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .comment__reply {
    font-size: 0.8rem;
  }
}

.comment__reply:hover {
  text-decoration: underline;
  color: var(--hoverColor);
}

a#cancel-comment-reply-link {
  display: inline-block;
  padding-left: 10px;
  text-decoration: none;
  overflow: hidden;
  width: 32px;
  height: 32px
}

a#cancel-comment-reply-link:before {
  content: "\00D7";
  font-size: 30px;
  color: red;
  width: 36px;
  height: 36px
}

.form-checkbox {
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  font-weight: 400;
}

.form-checkbox__input {
  position: absolute;
  opacity: 0;
}

.form-checkbox__text {
  margin-left: 1.8rem;
  font-size: 0.92rem;
  line-height: 140%;
  flex: 0 100%;
  color: var(--greyColor);
}

@media (max-width:800px) {
  .form-checkbox__text {
    line-height: 20px
  }
}

@media (max-width:500px) {
  .form-checkbox__text {
    font-size: 13px;
  }
}

.form-submit {
  margin-bottom: 0 !important;
}

@media (max-width:600px) {
  .form-submit {
    width: 100%;
  }
}

.form-checkbox__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 1rem;
  height: 1rem;
  background-color: transparent;
  border: 1px solid #c9c5db;
  border-radius: 4px;
}

@media (max-width:500px) {
  .form-checkbox__text::before {
    top: 4px;
  }
}

.form-checkbox__input:checked+.form-checkbox__text::before {
  background-image: url("assets/img/checked.svg");
  background-position: center;
  background-size: 1.1rem;
  background-repeat: no-repeat;
  border-color: transparent;
  background-color: var(--btnBg);
}

.form-checkbox__text a {
  color: var(--btnBg);
  text-decoration: none;
}

.form-checkbox__text a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
}

.comment-navigation {
  margin: 0 0 3rem !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .comment-navigation {
    flex-direction: column;
  }
}

.comment-navigation a {
  padding: 1rem;
  display: block;
  font-size: 0.86rem;
  border: 1px solid var(--borderColor);
  border-radius: 6px;
  font-weight: var(--bold);
  color: var(--greyColor);
  text-decoration: none;
  margin: 0.5rem 0;
  text-align: center;
}

.comment .comment-respond {
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.comment .comments__title {
  margin-bottom: 0.5rem;
}



/*
===============================
= 30 Результаты поиска
============================================
*/

.search-results-page {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.results-page__title {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 130%;
}

@media (max-width: 680px) {
  .results-page__title {
    font-size: 1.6rem;
  }
}

.results-page__count {
  display: block;
  margin-bottom: 2rem;
  font-size: 0.94rem;
}

.search-list {
  display: flex;
  flex-direction: column;
}

.search-list__item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem 1.5rem;
  background-color: var(--itemsBg);
  border-radius: var(--bradius);
  box-shadow: 5px 10px 35px -10px rgba(41, 64, 211, .1);
}

.search-item {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

@media (max-width: 680px) {
  .search-item {
    display: flex;
    flex-direction: column;
    gap: initial;
    align-items: start;
  }
}

.search-item__img {
  grid-column: span 5;
  margin: 0 !important;
  opacity: 1;
  transition: opacity 0.3s;
}

@media (max-width: 680px) {
  .search-item__img {
    margin-bottom: 1rem !important;
  }
}

.search-item__img:hover {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.search-item__img img {
  border-radius: var(--bradius);
}

.search-list__content {
  grid-column: span 7;
}

.search-item__title {
  display: block;
  font-size: 1.15rem;
  font-weight: var(--bold);
  line-height: 140%;
}

.search-item__link {
  color: var(--mainColor);
  text-decoration: none;
}

.search-item__link:hover {
  color: var(--hoverColor);
  text-decoration: none;
}

.search-list__text {
  margin-top: 1rem;
  font-size: 1rem
}



/*
===============================
= 31 Разные полезные мелочи
============================================
*/

.archive__header {
  margin-bottom: 2rem;
  width: 100%;
}

.archive__footer {
  margin-top: 2rem;
  width: 100%;
}

.archive__wrap {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

.archive__icon {
  width: 30px;
  height: 30px;
  margin-right: 1rem;
}

.archive__title {
  font-size: 1.7rem;
  line-height: 130%;
}

.related-posts {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 3rem 0;
}

@media (max-width: 1150px) {
  .related-posts {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .related-posts {
    display: block;
    max-width: 420px;
  }

  .related-posts .post-item:not(:last-child) {
    margin-bottom: 3rem;
  }
}

html[data-theme="dark"] .related-posts .post-list__item:hover {
  box-shadow: none
}


.error-section {
  margin: 2rem auto 0;
  text-align: center;
}

.error-section__title {
  margin-bottom: 2rem;
  font-size: 4rem;
  font-weight: var(--bold);
}

.error-section__text {
  margin: 0 auto 2rem;
  max-width: 800px;
}

.error404-btn {
  margin: 0 auto;
}

.sidebar {
  margin: 2rem auto;
  padding: 1.5rem;
  width: 100%;
  background-color: var(--greyBg);
  border-radius: var(--bradius);
  font-size: 1rem;
}

@media (max-width: 680px) {
  .sidebar {
    padding: 1.2rem;
  }
}

.widget .post-content ul {
  padding-left: 0
}


.widget:not(:last-child) {
  margin-bottom: 3rem;
}

.widget-title,
.widget .wp-block-heading {
  display: block;
  margin-bottom: 1.4rem;
  font-size: 1.1rem !important;
  font-weight: var(--semiBold);
}

.single-page {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.page .single-entry__title {
  margin-bottom: 0;
}

.page .single-entry__header {
  margin-bottom: 1.5rem;
}

.page .comments {
  border-bottom: 0;
}


.wp-block-search__button {
  width: 150px;
}


.gp-banner-block {
  margin: 2rem 0;
}

.gp-banner-block--top {
  margin-top: 0;
}

.gp-banner-block--home {
  margin-bottom: 3rem;
}

.gp-banner-block--home-bottom {
  margin-bottom: 1rem;
}

.gp-banner-block--archive-top {
  margin-bottom: 3rem;
}

.gp-banner-block--archive-bottom {
  margin-bottom: 1rem;
}

.gp-banner-block--single-bottom {
  margin-bottom: 1rem;
}

.single-entry__wrap > .gp-banner-block--top {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.custom-banner {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  background-color: var(--wight);
  border: 1px solid var(--borderColor);
  border-radius: var(--bradius);
}

html[data-theme="dark"] .custom-banner {
  background-color: var(--greyBg);
  color:#d440e8;
}

.custom-banner p {
  padding: 0 1.5rem;
  text-align: center;
}


/*
===============================
= 32 Cookies
============================================
*/

.cookies-box {
  padding: 1.3rem;
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 200;
  max-width: 400px;
  background-color: #2b3249;
  border-radius: var(--bradius);
  box-shadow: -5px 10px 35px -10px rgba(34, 43, 101, 0.25);
  transform: translate(2rem, -3rem);
}

html[data-theme="dark"] .cookies-box {
  box-shadow: none;
}

@media (max-width:600px) {
  .cookies-box {
    max-width: 320px;
  }
}

@media (max-width:376px) {
  .cookies-box {
    max-width: 300px;
  }
}

.cookies-box__descr {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--wight);
  font-weight: 400;
}

.cookies-box__descr a {
  color: var(--wight)
}

.cookies-box__descr a:hover {
  color: #ae9bfc
}

.cookies-box__btn {
  width: 100%;
  height: 52px;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--wight);
  background-color: transparent;
  border: 1px solid var(--wight);
  border-radius: var(--bradius);
  text-align: center;
  transition: color 0.3s, background-color 0.3s;
}

.cookies-box__btn:hover {
  color: var(--mainColor);
  background-color: var(--wight);
  transition: color 0.3s, background-color 0.3s;
}

html[data-theme="dark"] .cookies-box__btn {
  border-color: var(--borderColor);
  background-color: var(--greyBg);
}

html[data-theme="dark"] .cookies-box__btn:hover {
  background-color: var(--siteBg);
}

.cookies-box__icon {
  width: 56px;
  height: 56px;
  float: left;
  margin-right: 15px;
  margin-top: 1rem;
}

.cookies-box__icon svg {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
}

@media (max-width:600px) {
  .cookies-box__icon {
    display: none;
  }
}

.gp-banner-block {
  max-width: 1024px;
  margin-inline: auto;
}

/* --- Custom Content Block for Main Page --- */
.custom-text {
    font-size: 17px;
    line-height: 1.65;
    color: #1d2023;
    margin: 20px auto; /* Отступ сверху и снизу */
    padding: 0 50px; /* Отступы по бокам */
    max-width: 100%; /* Максимальная ширина */
    width: 100%; /* Ширина блока */
    box-sizing: border-box; /* Учитывает отступы в общей ширине */
}

.custom-text h2,
.custom-text h3,
.custom-text h4 {
    color: var(--primary);
    font-weight: 600;
    margin-top: 1.5rem; /* Отступ сверху для заголовка */
    margin-bottom: 1rem; /* Отступ снизу от заголовка */
    font-size: 2rem; /* Увеличение размера заголовка */
}

.custom-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.custom-text strong {
    font-weight: 600;
}

.custom-text em {
    font-style: italic;
}

/* --- Custom Lists with Dot Style --- */
.custom-text ul {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 1rem;
    list-style-type: disc; /* Standard bullets */
}

.custom-text ul li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.custom-text ul li::marker {
    color: var(--primary); /* Custom bullet color */
}

/* --- Custom Lists --- */
.custom-text .mobile-features,
.custom-text .bonus-red-flags {
    padding-left: 20px;
    list-style-type: disc;
    margin-top: 0;
    margin-bottom: 1rem;
}

.custom-text .mobile-features li,
.custom-text .bonus-red-flags li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.custom-text .mobile-features li::marker,
.custom-text .bonus-red-flags li::marker {
    color: var(--primary);
}

/* --- Special styling for links --- */
.custom-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.custom-text a:hover {
    text-decoration: underline;
}

/* --- Styling for Blockquote --- */
.custom-text blockquote {
    background-color: #f1f3f5;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
    font-style: italic;
}

.custom-text blockquote p {
    margin: 0;
    font-size: 1.2rem;
    color: #6c757d;
}

.centered-figure {
  text-align: center; /* Центрирует изображение в блоке */
  margin: 20px auto; /* Добавляет отступы сверху и снизу, а также по центру */
  max-width: 100%; /* Устанавливает максимальную ширину для изображения */
}

.centered-figure img {
  display: inline-block; /* Сохраняет изображение как блочный элемент */
  max-width: 100%; /* Ограничивает ширину изображения в пределах родительского элемента */
  height: auto; /* Сохраняет пропорции изображения */
}
