/* ==========================================================================
   ШПАРГАЛКА ДЛЯ КОНВЕРТАЦИИ НЕ ОСНОВНЫХ РАЗМЕРОВ (ПИКСЕЛИ В REM)
   Базовый шаг: 1rem = 16px. Формула в коде: (X / @rem-unit) или (X / 16rem)
   
   Популярные значения из Figma:
   4px  = 0.25rem       22px = 1.375rem      44px = 2.75rem       72px = 4.5rem
   6px  = 0.375rem      24px = 1.5rem        48px = 3rem          80px = 5rem
   8px  = 0.5rem        26px = 1.625rem      50px = 3.125rem      90px = 5.625rem
   10px = 0.625rem      28px = 1.75rem       52px = 3.25rem       100px = 6.25rem
   12px = 0.75rem       30px = 1.875rem      54px = 3.375rem      120px = 7.5rem
   14px = 0.875rem      32px = 2rem          56px = 3.5rem        140px = 8.75rem
   15px = 0.9375rem     34px = 2.125rem      58px = 3.625rem      150px = 9.375rem
   16px = 1rem          36px = 2.25rem       60px = 3.75rem       160px = 10rem
   18px = 1.125rem      38px = 2.375rem      64px = 4rem          180px = 11.25rem
   20px = 1.25rem       42px = 2.625rem      70px = 4.375rem      200px = 12.5rem
========================================================================== */
/* fonts.less — Подключение вариативного Inter Tight из assets/fonts/ */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  /* Говорим браузеру, что этот файл содержит ВСЕ жирности */
  font-display: swap;
  src: url('../fonts/inter-tight-normal-cyr-variability.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  /* Говорим браузеру, что этот файл содержит ВСЕ жирности */
  font-display: swap;
  src: url('../fonts/inter-tight-normal-lat-variability.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: italic;
  font-weight: 100 900;
  /* Этот файл содержит все жирности для курсива */
  font-display: swap;
  src: url('../fonts/inter-tight-italic-cyr-variability.woff2') format('woff2');
}
/**
 * МЕНЮ главное
 */
body.is-menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}
body.is-menu-open::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 900 !important;
  animation: fdrkFadeIn 0.2s ease forwards;
}
@keyframes fdrkFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.main-navigation {
  display: block;
  max-width: 100%;
}
@media screen and (max-width: 1024px) {
  .main-navigation {
    position: fixed !important;
    top: 5.625rem !important;
    right: -100% !important;
    width: 18.75rem !important;
    background-color: #ffffff !important;
    padding: 0.75rem !important;
    z-index: 998 !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0.625rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.7);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 34.58rem !important;
  }
}
@media screen and (max-width: 640px) {
  .main-navigation {
    top: 5rem !important;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation.is-active {
    right: 5px !important;
  }
}
.main-navigation > ul.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.625rem;
}
@media screen and (max-width: 1212px) {
  .main-navigation > ul.nav-menu {
    gap: 0.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation > ul.nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 1024px) {
  .main-navigation > ul.nav-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.main-navigation > ul.nav-menu li:last-child a {
  border-bottom: none;
}
@media screen and (max-width: 1024px) {
  .main-navigation > ul.nav-menu li:last-child a {
    border-bottom: none !important;
  }
}
.main-navigation > ul.nav-menu li.is-tablet-open > ul.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
@media screen and (max-width: 960px) {
  .main-navigation > ul.nav-menu a {
    font-size: 1rem !important;
    color: #000000 !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 !important;
    letter-spacing: 0.03125rem;
  }
}
.main-navigation > ul.nav-menu > li {
  position: relative;
}
.main-navigation > ul.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.6875rem;
  padding: 0 1.125rem;
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.main-navigation > ul.nav-menu > li > a:hover {
  color: #2b6cb0;
}
.main-navigation li.current-menu-item > a {
  width: auto;
  background: linear-gradient(225deg, #80a8ff 0%, rgba(201, 230, 242, 0.69) 41.83%, #ffffff 100%);
  border-radius: 1.5625rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
@media screen and (max-width: 1024px) {
  .main-navigation li.current-menu-item > a {
    border: none !important;
  }
}
.main-navigation li.current-menu-item > a:hover {
  opacity: 0.9;
  color: #1a365d;
}
.main-navigation li.current-menu-item:hover > a::after {
  transform: translateY(1px) rotate(-135deg);
}
.main-navigation li.menu-item-has-children > a {
  gap: 10px;
}
.main-navigation li.menu-item-has-children > a::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.main-navigation li.menu-item-has-children:hover > a::after {
  transform: translateY(1px) rotate(-135deg);
}
.main-navigation ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17.5rem;
  max-width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #DDDDDD;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
@media screen and (max-width: 1024px) {
  .main-navigation ul.sub-menu {
    top: 3.375rem;
  }
}
.main-navigation ul.sub-menu li {
  width: 100%;
}
.main-navigation ul.sub-menu li a {
  text-decoration: none;
  padding: 8px 20px;
  font-size: 15px;
  color: #1a365d !important;
  font-weight: 400;
  display: inline-block;
  line-height: 1.3;
}
.main-navigation ul.sub-menu li a:hover {
  background-color: #f7fafc;
  color: #000000;
}
.main-navigation li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation .btn-header-start {
  display: none;
}
@media screen and (max-width: 640px) {
  .main-navigation .btn-header-start {
    display: inline-flex;
    border: 1px solid #2b6cb0;
    width: 100%;
    height: 2.75rem;
    margin-top: 0.5rem;
  }
}
@media screen and (max-width: 640px) {
  .main-navigation .btn-header-start .btn-start-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 640px) {
  .main-navigation .btn-header-start .btn-start-text {
    font-size: 1rem;
    color: #2b6cb0;
  }
}
.header-burger-spacer {
  display: none;
}
@media screen and (max-width: 1024px) {
  .header-burger-spacer {
    display: flex !important;
    width: 3rem !important;
    height: 3rem !important;
    flex-shrink: 0 !important;
    order: 3 !important;
  }
}
@media screen and (max-width: 640px) {
  .header-burger-spacer {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
}
.header-burger-btn {
  display: none;
}
@media screen and (max-width: 1024px) {
  .header-burger-btn {
    display: flex !important;
    background: linear-gradient(145deg, #14a8d8 0%, #8453cf 100%);
    border-radius: 0.375rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 999;
  }
}
@media screen and (max-width: 640px) {
  .header-burger-btn {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
}
.header-burger-btn .burger-line {
  width: 1.375rem;
  height: 0.125rem;
  background-color: #fff;
  margin-top: 0.1875rem;
  margin-bottom: 0.1875rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: left center;
}
.header-burger-btn .burger-close-svg {
  display: none;
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .header-burger-btn.is-active {
    position: fixed !important;
    z-index: 1000 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
.header-burger-btn.is-active .burger-line {
  display: none !important;
}
.header-burger-btn.is-active .burger-close-svg {
  display: block !important;
}
body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img,
abbr {
  border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}
ul li {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
legend {
  color: #000;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.container {
  max-width: 1212px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
html {
  scroll-behavior: smooth;
}
html body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  background-color: #F7F8FB;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #107198;
}
/**
 * HEADER каркас
 */
.site-header .header-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  align-items: center;
  justify-content: space-between;
  padding: 1.875rem 0;
}
@media screen and (max-width: 480px) {
  .site-header .header-row {
    padding: 1rem 0;
  }
}
.site-header .header-col-logo {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(16.666666666666668% - 12px);
}
@media screen and (max-width: 1024px) {
  .site-header .header-col-logo {
    width: calc(33.333333333333336% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .site-header .header-col-logo {
    width: calc(41.66666666666667% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .site-header .header-col-logo {
    width: calc(58.333333333333336% - 12px);
  }
}
.site-header .header-col-nav {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(58.333333333333336% - 12px);
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 1024px) {
  .site-header .header-col-nav {
    width: calc(16.666666666666668% - 12px);
  }
}
@media screen and (max-width: 1024px) {
  .site-header .header-col-nav {
    display: flex !important;
    order: 3 !important;
  }
}
.site-header .header-col-actions {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(25% - 12px);
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}
@media screen and (max-width: 1024px) {
  .site-header .header-col-actions {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .site-header .header-col-actions {
    width: calc(41.66666666666667% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .site-header .header-col-actions {
    width: calc(25% - 12px);
  }
}
@media screen and (max-width: 1024px) {
  .site-header .header-col-actions {
    order: 2 !important;
  }
}
/**
 * Логотипа регион
 */
.site-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.4375rem;
  color: #000000;
}
.site-logo .logo-icon img {
  width: 3.125rem;
  height: auto;
  display: block;
}
.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-logo .logo-line {
  display: block;
  white-space: nowrap;
  line-height: 1;
  text-transform: uppercase;
}
.site-logo .logo-line-top {
  font-size: 1.03625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.site-logo .logo-line-bottom {
  font-size: 0.505rem;
  font-weight: 500;
  margin-top: 0.25rem;
  letter-spacing: 0.06em;
  opacity: 0.5;
}
.btn-header-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 2.6875rem;
  padding: 0 1.375rem 0 0.4375rem;
  border-radius: 1.5625rem;
  background-color: #fff;
  color: #000000;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  gap: 1.375rem;
  white-space: nowrap;
}
@media screen and (max-width: 640px) {
  .btn-header-start {
    height: 2.5rem;
    width: 80%;
    font-size: 0.875rem;
    justify-content: space-between;
    display: none;
  }
}
.btn-header-start:hover {
  background-color: #f7fafc;
  border-color: #cbd5e0;
}
@media screen and (max-width: 640px) {
  .btn-header-start .btn-start-text {
    width: 63%;
  }
}
.btn-header-start .btn-start-icon {
  border-radius: 100px;
  width: 2.0625rem;
  height: 2.0625rem;
  background: linear-gradient(145deg, #14a8d8 0%, #8453cf 100%);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1212px) {
  .btn-header-start .btn-start-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }
}
.header-action-btn {
  background-color: #ffffff;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 25px;
  color: #1a365d;
  flex-shrink: 0;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.header-action-btn:hover {
  color: #2b6cb0;
  background-color: #f7fafc;
  transform: scale(1.05);
}
.header-action-btn:focus {
  outline: none;
}
/**
 * Отключаем <br> для некоторых классов начиная с MD-брейкпоинта
 */
@media screen and (max-width: 960px) {
  .hero-main-title br,
  .entry-title br {
    display: none !important;
  }
}
/**
 * ПРОМО регион (изначально присутсвует на главной странице)
 */
.hero-promo-section {
  position: relative;
  background-color: #000000;
  background-image: url('../img/promo-card-Pavel-Fedorenko.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 5.625rem 0 6.25rem 0;
  min-height: 45.25rem;
  overflow: hidden;
  width: 100%;
  max-width: 85.25rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2.5rem;
  color: #ffffff;
}
@media (max-width: 1388px) {
  .hero-promo-section {
    margin: 1rem 0.75rem !important;
    width: auto !important;
  }
}
@media screen and (max-width: 1024px) {
  .hero-promo-section {
    padding: 5rem 0;
    background-position: 65% center;
  }
}
@media screen and (max-width: 960px) {
  .hero-promo-section {
    padding: 3.125rem 0;
    min-height: auto;
    border-radius: 1.25rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-promo-section {
    padding: 1.875rem 0;
  }
}
@media screen and (max-width: 640px) {
  .hero-promo-section {
    background-image: none !important;
  }
}
@media (max-width: 1388px) {
  .hero-promo-section > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.hero-promo-section .hero-card-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  align-items: stretch;
  min-height: 33.125rem;
}
@media screen and (max-width: 1024px) {
  .hero-promo-section .hero-card-row {
    min-height: 34.375rem;
  }
}
.hero-promo-section .hero-card-content {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(58.333333333333336% - 12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-card-content {
    width: calc(1016.6666666666667% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-card-content {
    position: relative;
    z-index: 3;
  }
}
.hero-promo-section .hero-subtitle-top {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-subtitle-top {
    margin-bottom: 2.625rem;
  }
}
@media screen and (max-width: 480px) {
  .hero-promo-section .hero-subtitle-top {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
.hero-promo-section .hero-subtitle-top::before {
  content: "";
  display: block;
  width: 7.75rem;
  height: 0.75rem;
  background-image: url('../img/line-dot.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  flex-shrink: 0;
}
@media screen and (max-width: 1024px) {
  .hero-promo-section .hero-subtitle-top::before {
    width: 6.25rem;
  }
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-subtitle-top::before {
    width: 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-promo-section .hero-subtitle-top::before {
    display: none;
  }
}
.hero-promo-section .hero-subtitle-top::after {
  content: "";
  display: block;
  width: 7.75rem;
  height: 0.75rem;
  background-image: url('../img/line-dot.svg');
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  flex-shrink: 0;
  transform: scaleX(-1);
}
@media screen and (max-width: 1024px) {
  .hero-promo-section .hero-subtitle-top::after {
    width: 6.25rem;
  }
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-subtitle-top::after {
    width: 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-promo-section .hero-subtitle-top::after {
    display: none;
  }
}
.hero-promo-section .hero-main-title {
  font-size: 4.0625rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 2rem 0;
}
@media screen and (max-width: 1024px) {
  .hero-promo-section .hero-main-title {
    font-size: 3.75rem;
  }
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-main-title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-promo-section .hero-main-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-main-title {
    font-size: 1.5625rem;
    margin-bottom: 1.125rem;
  }
}
.hero-promo-section .hero-tag-scientific {
  display: inline-flex;
  align-items: center;
  gap: 1.125rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 480px) {
  .hero-promo-section .hero-tag-scientific {
    gap: 0.75rem;
    margin-bottom: 1.625rem;
  }
}
.hero-promo-section .hero-tag-scientific .tag-icon {
  border-radius: 0.3125rem;
  width: 3.125rem;
  height: 3.125rem;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-tag-scientific .tag-icon {
    width: 1.875rem;
    height: 1.875rem;
  }
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-tag-scientific .tag-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}
.hero-promo-section .hero-tag-scientific .tag-text {
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 116%;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ebe284 0%, #7ccc86 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-tag-scientific .tag-text {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 640px) {
  .hero-promo-section .hero-tag-scientific .tag-text {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 480px) {
  .hero-promo-section .hero-tag-scientific .tag-text {
    font-size: 1rem;
  }
}
.hero-promo-section .hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}
@media screen and (max-width: 960px) {
  .hero-promo-section .hero-actions-row {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .hero-promo-section .hero-actions-row {
    gap: 1rem;
  }
}
.btn {
  text-decoration: none;
  border-radius: 6.25rem;
  max-width: 100%;
  min-height: 3.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2B96D6;
  text-align: center;
  padding: 0.75rem 1.5rem;
  line-height: 1.2;
  transition: transform 0.2s ease;
}
@media screen and (max-width: 480px) {
  .btn {
    min-height: 3.375rem;
  }
}
.btn .btn-text {
  font-weight: 500;
  font-size: 1.125rem;
  color: #ffffff;
}
@media screen and (max-width: 480px) {
  .btn .btn-text {
    font-size: 1rem;
  }
}
.btn.btn-white {
  background-color: #ffffff;
}
.btn.btn-white .btn-text {
  color: #000000;
}
.btn.btn-download {
  padding: 0 2.5rem 0 0.75rem;
  width: 18.25rem;
}
@media screen and (max-width: 480px) {
  .hero-actions-row .btn.btn-download {
    width: 100%;
    padding: 0 0.75rem;
    position: relative;
  }
}
.btn.btn-download .btn-icon {
  margin-right: auto;
  width: 2.375rem;
  height: 2.375rem;
  flex-shrink: 0;
}
@media screen and (max-width: 480px) {
  .btn.btn-download .btn-icon {
    position: absolute;
    left: 0.75rem;
    width: 2.125rem;
    height: 2.125rem;
  }
}
.btn.btn-download .btn-icon svg {
  max-width: 100%;
  height: auto;
}
.btn.btn-read-blog {
  background: rgba(255, 255, 255, 0.2);
  width: 12.5625rem;
}
@media screen and (max-width: 480px) {
  .btn.btn-read-blog {
    width: 100%;
  }
}
.btn:hover {
  transform: translateY(-2px);
}
.hero-mobile-avatar {
  position: relative;
  display: none;
}
@media screen and (max-width: 640px) {
  .hero-mobile-avatar {
    display: flex !important;
    width: 100% !important;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: -30px;
  }
  .hero-mobile-avatar::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2.5rem !important;
    background: linear-gradient(to bottom, #000000 0%, rgba(11, 17, 30, 0) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }
  .hero-mobile-avatar img {
    width: 100% !important;
    height: auto !important;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
    position: relative;
    z-index: 1;
    min-width: 25.5625rem;
  }
}
@media screen and (max-width: 640px) and screen and (max-width: 480px) {
  .hero-mobile-avatar img {
    position: relative;
    right: -0.625rem;
  }
}
.hero-card-visual {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(41.66666666666667% - 12px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media screen and (max-width: 960px) {
  .hero-card-visual {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .hero-card-visual {
    margin-top: 2.125rem;
  }
}
@media screen and (max-width: 640px) {
  .hero-card-visual {
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-top: -4.375rem;
  }
}
.hero-experience-badge {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  padding: 2.5rem 2.125rem 2.5rem 2.125rem;
  width: 31.625rem;
  max-width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-top: auto;
}
@media screen and (max-width: 1212px) {
  .hero-experience-badge {
    width: 100%;
    padding: 1.375rem 1.375rem 1.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .hero-experience-badge {
    border-radius: 1.0625rem;
  }
}
@media screen and (max-width: 480px) {
  .hero-experience-badge {
    display: block;
  }
}
.hero-experience-badge .badge-num-box {
  display: flex;
  align-items: baseline;
  margin-right: 0.625rem;
  flex-shrink: 0;
}
@media screen and (max-width: 480px) {
  .hero-experience-badge .badge-num-box {
    margin-bottom: 1rem;
  }
}
.hero-experience-badge .badge-num {
  font-size: 4.943125rem;
  font-weight: 800;
  line-height: 1;
}
.hero-experience-badge .badge-unit {
  font-size: 1.90625rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  transform: rotate(-90deg);
  transform-origin: center center;
  margin-left: -0.25rem;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  top: -14px;
}
@media screen and (max-width: 480px) {
  .hero-experience-badge .badge-unit {
    transform: none !important;
    margin-left: 0.75rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
    text-align: center !important;
  }
}
.hero-experience-badge .badge-desc {
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .hero-experience-badge .badge-desc {
    font-size: 1rem;
  }
}
.entry-title,
.wp-block-post-title,
.category-section-title {
  font-size: 2.625rem;
  font-weight: 500;
  color: #3F73C2;
  line-height: 1.1;
}
@media screen and (max-width: 640px) {
  .entry-title,
  .wp-block-post-title,
  .category-section-title {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .entry-title,
  .wp-block-post-title,
  .category-section-title {
    font-size: 1.5625rem;
  }
}
.wp-block-post-title {
  margin-bottom: 2rem;
}
/**
 * "Что вас беспокоит?" секция карточек со статичной версткой (импорт)
 */
/**
 * "Что вас беспокоит?" секция карточек с версткой для блока с выводом кастомного типа записей "Беспокойства" (импорт)
 */
.worry-section {
  padding: 5rem 0;
}
@media screen and (max-width: 768px) {
  .worry-section {
    padding: 1.875rem 0;
  }
}
.worry-header {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.25rem;
}
@media screen and (max-width: 768px) {
  .worry-header {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 640px) {
  .worry-header {
    justify-content: center;
    gap: 1rem;
  }
}
.worry-title {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(50% - 12px);
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .worry-title {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .worry-title {
    width: calc(75% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .worry-title {
    width: calc(100% - 12px);
  }
}
.worry-header-right {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(50% - 12px);
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 768px) {
  .worry-header-right {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .worry-header-right {
    width: calc(75% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .worry-header-right {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .worry-header-right {
    justify-content: flex-start;
  }
}
.worry-subtitle {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.1875rem;
}
@media screen and (max-width: 640px) {
  .worry-subtitle {
    font-size: 1.125rem;
  }
}
.worry-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
@media screen and (max-width: 640px) {
  .worry-grid {
    justify-content: center;
  }
}
.worry-card {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(33.333333333333336% - 12px);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 20.6875rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media screen and (max-width: 1024px) {
  .worry-card {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .worry-card {
    width: calc(75% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .worry-card {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .worry-card {
    display: block;
    padding: 1.5rem;
  }
}
.worry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}
.worry-card--num-1 {
  background: #d7e6f9 url('../img/card-panic-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-1 .card-number {
  background-color: #406CD4;
}
.worry-card--num-2 {
  background: #E5E2FA url('../img/card-vsd-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-2 .card-number {
  background-color: #7055D4;
}
.worry-card--num-3 {
  background: #E3EDE2 url('../img/card-health-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-3 .card-number {
  background-color: #6DB23C;
}
.worry-card--num-4 {
  background: #E3EDE2 url('../img/card-ocr-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-4 .card-number {
  background-color: #6DB23C;
}
.worry-card--num-5 {
  background: #D7E6F9 url('../img/card-deperson-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-5 .card-number {
  background-color: #406CD4;
}
.worry-card--num-6 {
  background: #E5E2FA url('../img/card-deperson-bg.jpg') no-repeat center center / cover;
}
.worry-card--num-6 .card-number {
  background-color: #7055D4;
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  z-index: 2;
}
@media screen and (max-width: 480px) {
  .card-content {
    height: auto;
  }
}
.card-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
}
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.16;
  color: #ffffff;
  flex-shrink: 0;
}
.card-title {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.16;
  color: #000000;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .card-title {
    font-size: 1.125rem;
  }
}
.card-text {
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.16;
  color: #000000;
  margin: 0 0 2rem 0;
  max-width: 11.25rem;
}
@media screen and (max-width: 1212px) {
  .card-text {
    max-width: 9rem;
  }
}
@media screen and (max-width: 1024px) {
  .card-text {
    max-width: 11.25rem;
  }
}
@media screen and (max-width: 768px) {
  .card-text {
    max-width: 9rem;
  }
}
@media screen and (max-width: 480px) {
  .card-text {
    max-width: 100%;
    margin-bottom: 1.375rem;
  }
}
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  margin-top: auto;
}
@media screen and (max-width: 480px) {
  .card-link {
    margin-top: 0;
  }
}
.link-text {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.1;
  color: #000000;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
  padding-bottom: 0.375rem;
  display: inline-block;
}
.link-arrow {
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.2s ease;
}
.worry-card:hover .link-arrow {
  transform: translateX(4px);
}
.card-image {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 50%;
  height: 80%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}
@media screen and (max-width: 1212px) {
  .card-image {
    width: 48%;
  }
}
@media screen and (max-width: 960px) {
  .card-image {
    width: 44%;
  }
}
@media screen and (max-width: 768px) {
  .card-image {
    width: 8.875rem;
    height: auto;
  }
}
@media screen and (max-width: 480px) {
  .card-image {
    width: 100%;
    height: auto;
    position: relative;
    right: 0;
    bottom: -5px;
    margin-top: 0.625rem;
    justify-content: center;
  }
}
.card-image img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
/**
 * ЛИД-МАГНИТ секция
 */
.lead-magnet-section {
  background: #ffffff url('../img/magnet-bg.jpg') no-repeat center center / cover;
  border-radius: 2.5rem;
  position: relative;
  width: 85.25rem;
  max-width: 100%;
  min-height: 47.4375rem;
  margin: 3.75rem auto;
  padding: 5rem 0;
  overflow: hidden;
}
@media (max-width: 1388px) {
  .lead-magnet-section {
    margin: 1rem 0.75rem !important;
    width: auto !important;
  }
}
@media screen and (max-width: 1212px) {
  .lead-magnet-section {
    padding-top: 4rem;
    padding-bottom: 0;
    min-height: auto;
    border-radius: 1.25rem;
  }
}
@media screen and (max-width: 1024px) {
  .lead-magnet-section {
    margin: 2.5rem auto;
  }
}
@media screen and (max-width: 960px) {
  .lead-magnet-section {
    padding-top: 2rem;
    background-size: auto 80%;
    background-position: center bottom;
  }
}
@media screen and (max-width: 768px) {
  .lead-magnet-section {
    background-size: auto 65%;
  }
}
@media screen and (max-width: 640px) {
  .lead-magnet-section {
    background-size: auto 50%;
  }
}
@media screen and (max-width: 480px) {
  .lead-magnet-section {
    padding-top: 1.25rem;
    background-size: auto 40%;
  }
}
@media (max-width: 1388px) {
  .lead-magnet-section > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.magnet-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  position: relative;
}
@media screen and (max-width: 960px) {
  .magnet-row {
    justify-content: center;
  }
}
.magnet-content {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(58.333333333333336% - 12px);
  display: flex;
  flex-direction: column;
  z-index: 2;
}
@media screen and (max-width: 1212px) {
  .magnet-content {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 1024px) {
  .magnet-content {
    width: calc(58.333333333333336% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .magnet-content {
    width: calc(66.66666666666667% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .magnet-content {
    width: calc(83.33333333333334% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .magnet-content {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 1024px) {
  .magnet-content {
    padding-bottom: 4rem;
  }
}
@media screen and (max-width: 480px) {
  .magnet-content {
    padding-bottom: 2rem;
  }
}
.magnet-title {
  color: #3F73C2;
  margin: 0 0 1.5rem 0;
}
@media screen and (max-width: 1212px) {
  .magnet-title {
    font-size: 2.375rem !important;
    line-height: 1.2 !important;
  }
}
@media screen and (max-width: 640px) {
  .magnet-title {
    font-size: 1.5625rem !important;
    line-height: 1.2 !important;
  }
}
.magnet-description {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 3.75rem 0;
}
@media screen and (max-width: 960px) {
  .magnet-description {
    margin: 0 0 2rem 0;
  }
}
@media screen and (max-width: 640px) {
  .magnet-description {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 1212px) {
  .magnet-description br {
    display: none;
  }
}
.magnet-card {
  display: flex;
  justify-content: space-between;
  background: #e3ede2 url('../img/magnet-book-bg.jpg') no-repeat center center / cover;
  border-radius: 1.25rem;
  padding: 1.25rem 2rem;
  max-width: 36.8125rem;
  width: 100%;
  align-items: center;
}
@media screen and (max-width: 960px) {
  .magnet-card {
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .magnet-card {
    background-image: url('../img/magnet-book-bg-xs.jpg');
    background-position: 70% bottom;
  }
}
@media screen and (max-width: 480px) {
  .magnet-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}
.magnet-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width: 1212px) {
  .magnet-card-info {
    padding-right: 0.375rem;
  }
}
@media screen and (max-width: 640px) {
  .magnet-card-info {
    align-items: center;
  }
}
@media screen and (max-width: 480px) {
  .magnet-card-info {
    padding-right: 0;
  }
}
.magnet-card-title {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 116%;
  margin: 0 0 0.875rem 0;
}
@media screen and (max-width: 640px) {
  .magnet-card-title {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 1212px) {
  .magnet-card-title br {
    display: none;
  }
}
.magnet-card-text {
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 116%;
  margin: 0 0 3.75rem 0;
}
@media screen and (max-width: 640px) {
  .magnet-card-text {
    margin-bottom: 1.5rem;
  }
}
@media screen and (max-width: 1212px) {
  .magnet-card-text br {
    display: none;
  }
}
.btn-magnet {
  height: 3.375rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.magnet-card-cover {
  width: 11.62625rem;
  flex-shrink: 0;
}
.magnet-card-cover img {
  position: relative;
  top: 3px;
  display: block;
}
.magnet-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  z-index: 1;
}
@media screen and (max-width: 1212px) {
  .magnet-visual {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 1024px) {
  .magnet-visual {
    width: calc(41.66666666666667% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .magnet-visual {
    width: calc(66.66666666666667% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .magnet-visual {
    width: calc(83.33333333333334% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .magnet-visual {
    width: calc(91.66666666666667% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .magnet-visual {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 1212px) {
  .magnet-visual {
    position: relative;
    height: auto;
    z-index: 1;
    align-self: flex-end;
  }
}
.magnet-girl-img {
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  z-index: 4;
  vertical-align: top;
}
.circle-download {
  position: absolute;
  right: 26.25rem;
  top: 0;
  width: 7.75rem;
  height: 7.75rem;
  z-index: 2;
}
@media screen and (max-width: 1212px) {
  .circle-download {
    right: 0;
    left: 0;
  }
}
@media screen and (max-width: 1024px) {
  .circle-download {
    left: -0.625rem;
  }
}
@media screen and (max-width: 960px) {
  .circle-download {
    width: 5.625rem;
    height: 5.625rem;
  }
}
@media screen and (max-width: 480px) {
  .circle-download {
    width: 4.375rem;
    height: 4.375rem;
    top: -10px;
    left: 0.625rem;
    transform: rotate(-18deg) !important;
  }
}
.circle-download svg {
  max-width: 100%;
  height: auto;
}
.circle-book {
  position: absolute;
  right: -0.375rem;
  top: 8.75rem;
  width: 4.82625rem;
  height: 4.82625rem;
  z-index: 2;
}
@media screen and (max-width: 480px) {
  .circle-book {
    width: 4.125rem;
    height: 4.125rem;
    right: -0.625rem;
    top: 5rem;
    transform: rotate(10deg) !important;
    z-index: 4;
  }
}
.circle-book svg {
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 480px) {
  .circle-book svg g {
    transform-origin: 58px 38px !important;
    transform: scale(1.2) !important;
  }
}
@keyframes floatAnimation {
  0% {
    transform: translateY(0px) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--rot, 0deg));
  }
  100% {
    transform: translateY(0px) rotate(var(--rot, 0deg));
  }
}
.circle-download {
  animation: floatAnimation 4s ease-in-out infinite;
}
.circle-book {
  --rot: 45deg;
  animation: floatAnimation 5s ease-in-out infinite;
}
.magnet-modal-capsule {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: 31.25rem !important;
  width: 90% !important;
}
.magnet-modal-capsule::backdrop {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}
.magnet-modal-capsule .modal-inside-box {
  background-color: #ffffff !important;
  border-radius: 1.5rem !important;
  padding: 1.875rem !important;
  position: relative !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}
.magnet-modal-capsule .modal-close-trigger {
  position: absolute !important;
  top: 1rem !important;
  right: 1.25rem !important;
  background: none !important;
  border: none !important;
  font-size: 1.75rem !important;
  color: #232d5f !important;
  cursor: pointer;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}
.magnet-modal-capsule .modal-close-trigger:hover {
  transform: scale(1.1);
}
.magnet-modal-capsule .modal-title {
  font-size: 1.5rem !important;
  color: #232d5f !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0 !important;
}
.magnet-modal-capsule .modal-descr {
  font-size: 0.9375rem !important;
  color: #5d6588 !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
}
/**
 * Главное в блоге (Популярные посты)
 */
.blog-popular-section {
  padding: 3.75rem 0;
}
@media screen and (max-width: 640px) {
  .blog-popular-section {
    padding: 1.875rem 0;
  }
}
.blog-popular-header {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  margin-bottom: 3rem;
}
@media screen and (max-width: 768px) {
  .blog-popular-header {
    margin-bottom: 2rem;
  }
}
.blog-popular-title {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(100% - 12px);
}
@media screen and (max-width: 640px) {
  .blog-popular-title {
    margin-top: 0;
  }
}
.posts-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  margin-bottom: 4rem;
}
@media screen and (max-width: 640px) {
  .posts-grid {
    margin-bottom: 2rem;
  }
}
.posts-grid-item {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(33.333333333333336% - 12px);
  margin-bottom: 0.75rem;
}
@media screen and (max-width: 1024px) {
  .posts-grid-item {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .posts-grid-item {
    width: calc(100% - 12px);
  }
}
.post-card {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-color: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.post-card-thumb {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1.78899083 !important;
  overflow: hidden;
  position: relative;
  border-radius: 1.25rem 1.25rem 0 0;
}
@media screen and (max-width: 960px) {
  .post-card-thumb {
    height: auto !important;
    aspect-ratio: 1.6 !important;
  }
}
@media screen and (max-width: 768px) {
  .post-card-thumb {
    aspect-ratio: 1.77777778 !important;
  }
}
.post-thumb-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.post-card:hover .post-thumb-img {
  transform: scale(1.04);
}
.post-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem 1.25rem 0 1.25rem;
}
.post-meta-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .post-meta-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.25rem;
  }
}
.meta-date {
  font-size: 1rem;
  line-height: 1.2;
  margin-right: 0.75rem;
  color: #000000;
}
@media screen and (max-width: 768px) {
  .meta-date {
    display: block;
  }
}
.meta-category {
  font-size: 1rem;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.5);
}
.post-card-title {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #107198;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .post-card-title {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
  }
}
.post-card-title a {
  text-decoration: none;
}
.post-card-title a:hover {
  text-decoration: underline;
}
.post-meta-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-bottom: 1.5rem;
}
.meta-icon-block {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.meta-icon {
  font-size: 1rem;
  line-height: 1;
}
.meta-count {
  font-size: 1rem;
  line-height: 1;
  color: #000000;
}
@media screen and (max-width: 640px) {
  .blog-action-row {
    text-align: center;
  }
}
.btn-blog-more {
  width: 24.4375rem;
  max-width: 100%;
  height: 4.375rem;
  border-radius: 6.25rem;
  background: linear-gradient(139deg, #14a8d8 0%, #8453cf 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  font-weight: 500;
  font-size: 1.125rem;
}
@media screen and (max-width: 480px) {
  .btn-blog-more {
    font-size: 1.125rem;
    width: 18.75rem;
    height: 3.75rem;
  }
}
@media screen and (max-width: 360px) {
  .btn-blog-more {
    font-size: 1rem;
  }
}
.btn-blog-more.btn-blog-small {
  height: 3.125rem;
}
.btn-blog-more.btn-blog-small .btn-text {
  font-weight: 400;
  font-size: 1rem;
}
.btn-blog-more:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-blog-more:active {
  transform: translateY(0);
}
.btn-blog-more .btn-text {
  color: #ffffff;
}
.reviews-section {
  padding-bottom: 4rem;
}
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  margin-bottom: 3rem;
}
@media screen and (max-width: 960px) {
  .reviews-header {
    margin-bottom: 1.5rem;
  }
}
.reviews-title {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(100% - 12px);
}
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  margin-bottom: 3rem;
}
.reviews-grid-item {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(33.333333333333336% - 12px);
  margin-bottom: 0.75rem;
}
@media screen and (max-width: 960px) {
  .reviews-grid-item {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .reviews-grid-item {
    width: calc(100% - 12px);
  }
}
.review-video-card {
  position: relative;
  display: block;
  width: 100%;
  height: 13.75rem;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: #edf4ea;
}
@media screen and (max-width: 1212px) {
  .review-video-card {
    height: auto;
  }
}
.review-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 113, 152, 0.15);
}
.review-video-card:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.08);
}
.review-video-card:hover .video-play-button circle {
  fill-opacity: 1;
}
.review-card-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}
.review-thumb-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  z-index: 2;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.video-bypass-cover {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.video-bypass-cover .video-bypass-title {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #0b111e !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  text-align: center !important;
  padding: 0 0.625rem 0 0.625rem !important;
  box-sizing: border-box !important;
  z-index: 3 !important;
}
@media screen and (max-width: 768px) {
  .video-bypass-cover .video-bypass-title {
    font-size: 0.9375rem !important;
    padding-bottom: 1rem !important;
  }
}
@media screen and (max-width: 640px) {
  .reviews-action-row {
    text-align: center;
  }
}
/**
 * Footer (footer.php)
 */
.site-footer {
  position: relative;
  background: #040404 url('../img/footer-bg.jpg') no-repeat center center / cover;
  border-radius: 1.875rem;
  width: 85.25rem;
  max-width: 100%;
  margin: 5rem auto 2.5rem auto;
  padding: 3.75rem 0.75rem;
  overflow: hidden;
}
@media (max-width: 1388px) {
  .site-footer {
    width: 100%;
    margin: 5rem 1rem 2.5rem;
    width: auto !important;
  }
}
@media screen and (max-width: 960px) {
  .site-footer {
    background-image: url('../img/footer-bg-md.jpg');
    border-radius: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 480px) {
  .site-footer {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
}
@media (max-width: 1388px) {
  .site-footer > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.site-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.site-info ul,
.site-info .wp-block-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-info ul li,
.site-info .wp-block-list li {
  font-size: 1rem;
  line-height: 1.2;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-info ul li a,
.site-info .wp-block-list li a {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.site-info ul li a:hover,
.site-info .wp-block-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-info ul li + li::before,
.site-info .wp-block-list li + li::before {
  content: "|";
  position: absolute;
  left: -0.875rem;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 768px) {
  .site-info ul li + li::before,
  .site-info .wp-block-list li + li::before {
    display: none;
  }
}
.site-info p,
.site-info .wp-block-paragraph {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
}
.site-info p br,
.site-info .wp-block-paragraph br {
  display: none;
}
@media screen and (max-width: 960px) {
  .site-info p br,
  .site-info .wp-block-paragraph br {
    display: block;
  }
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin-bottom: 1rem;
}
.footer-link {
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: none;
}
.footer-link:hover {
  text-decoration: underline;
}
.sep {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.footer-text {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
/**
 * Single (single.php)
 */
.article-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  justify-content: space-between;
}
.article-content-col {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(67.75000000000001% - 12px);
}
@media screen and (max-width: 1212px) {
  .article-content-col {
    width: calc(66.66666666666667% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .article-content-col {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .article-content-col {
    margin-bottom: 2rem;
  }
}
.article-sidebar-col {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(28.583333333333336% - 12px);
}
@media screen and (max-width: 1212px) {
  .article-sidebar-col {
    width: calc(33.333333333333336% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .article-sidebar-col {
    width: calc(100% - 12px);
  }
}
.article-sidebar-col #secondary {
  position: sticky;
  top: 2.5rem;
  width: 100%;
  background: #107198 linear-gradient(145deg, #e3ede2 0%, #bfead6 100%);
  border-radius: 1.6875rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 15px 35px rgba(16, 113, 152, 0.04);
}
@media screen and (max-width: 960px) {
  .article-sidebar-col #secondary {
    flex-direction: row;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }
}
.article-sidebar-col .widget,
.article-sidebar-col .widget_block {
  width: 100%;
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.article-sidebar-col .widget:has(.widget-promo),
.article-sidebar-col .widget_block:has(.widget-promo) {
  padding: 0;
}
@media screen and (max-width: 960px) {
  .article-sidebar-col .widget,
  .article-sidebar-col .widget_block {
    width: calc(50% - 0.63rem) !important;
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media screen and (max-width: 640px) {
  .article-sidebar-col .widget,
  .article-sidebar-col .widget_block {
    width: 100% !important;
    margin-bottom: 1.25rem !important;
  }
}
.article-sidebar-col .widget_media_image,
.article-sidebar-col .widget_media_gallery {
  padding: 0;
  background-color: transparent;
}
.article-sidebar-col .widget_media_image figure:last-child,
.article-sidebar-col .widget_media_gallery figure:last-child {
  margin-bottom: 0;
}
.article-sidebar-col .widget_media_image img,
.article-sidebar-col .widget_media_gallery img {
  border-radius: 1.25rem;
}
.article-sidebar-col .wp-block-heading,
.article-sidebar-col .widget-title {
  font-weight: 500;
  font-size: 1.375rem;
  color: #000000;
  margin: 0 0 1.25rem 0;
  line-height: 1.2;
}
.article-sidebar-col .wp-block-categories,
.article-sidebar-col .widget_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-sidebar-col .wp-block-categories li,
.article-sidebar-col .widget_categories ul li {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
}
.article-sidebar-col .wp-block-categories li:last-child,
.article-sidebar-col .widget_categories ul li:last-child {
  margin-bottom: 0;
}
.article-sidebar-col .wp-block-categories li a,
.article-sidebar-col .widget_categories ul li a {
  color: #107198;
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-sidebar-col .wp-block-categories li a:hover,
.article-sidebar-col .widget_categories ul li a:hover {
  color: #0c5674;
  text-decoration: underline;
}
.article-sidebar-col .wp-block-categories li .count,
.article-sidebar-col .widget_categories ul li .count,
.article-sidebar-col .wp-block-categories li,
.article-sidebar-col .widget_categories ul li {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}
.widget-thumb {
  text-align: center;
  padding-top: 1.75rem;
  padding-bottom: 1rem;
  background-color: #D7E6F9;
  border-radius: 1.25rem 1.25rem 0 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0;
  min-height: 12.125rem;
}
.widget-content {
  padding: 1.75rem 1.25rem 1.5rem 1.25rem;
}
.widget-h4 {
  font-size: 1.125rem;
  color: #107198;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.widget-h4.widget-h4-new-entry {
  margin-bottom: 0.5rem;
}
.widget-h4 a {
  color: #107198;
  text-decoration: none;
}
.widget-h4 a:hover {
  text-decoration: underline;
}
.widget_categories {
  border-radius: 1.25rem;
  background-color: #fff;
  padding: 0.875rem;
}
.widget_categories .widget-title {
  font-weight: 500;
  font-size: 1.5rem;
  color: #000000;
  margin: 0 0 1.5rem 0;
}
.widget_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget_categories ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.875rem;
}
.widget_categories ul li:last-child {
  margin-bottom: 0;
}
.widget_categories ul li a {
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
}
.widget_categories ul li a:hover {
  color: #107198;
}
.widget_categories ul li .count,
.widget_categories ul li {
  color: rgba(0, 0, 0, 0.6);
}
.entry-header {
  margin-bottom: 3.625rem;
}
.entry-header .entry-title {
  max-width: 87%;
}
@media screen and (max-width: 960px) {
  .entry-header .entry-title {
    max-width: 100%;
  }
}
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 1.125rem;
  padding-top: 1.25rem;
  margin-bottom: 3.625rem;
}
@media screen and (max-width: 768px) {
  .article-breadcrumbs {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-top: 0.75rem;
  }
}
@media screen and (max-width: 480px) {
  .article-breadcrumbs {
    font-size: 0.875rem;
  }
}
.article-breadcrumbs .breadcrumb-arrow {
  display: flex;
  align-items: center;
}
.article-breadcrumbs .breadcrumb-link {
  color: #000000;
  text-decoration: none;
}
.article-breadcrumbs .breadcrumb-link:hover {
  text-decoration: underline;
}
.article-meta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 640px) {
  .article-meta-panel {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
@media screen and (max-width: 480px) {
  .article-meta-panel {
    flex-direction: row !important;
  }
}
@media screen and (max-width: 360px) {
  .article-meta-panel {
    flex-direction: column !important;
  }
}
.article-meta-panel .post-meta-bottom {
  margin-top: 0;
  padding-bottom: 0;
}
@media screen and (max-width: 640px) {
  .article-meta-panel .post-meta-bottom {
    align-self: flex-end;
  }
}
@media screen and (max-width: 480px) {
  .article-meta-panel .post-meta-bottom {
    align-self: flex-start;
  }
}
.meta-panel-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media screen and (max-width: 960px) {
  .meta-panel-left {
    flex-wrap: wrap !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 640px) {
  .meta-panel-left {
    justify-content: space-between;
  }
}
@media screen and (max-width: 480px) {
  .meta-panel-left {
    width: auto !important;
  }
}
.meta-badge-pub {
  display: inline-flex;
  align-items: center;
  background-color: #107198;
  color: #ffffff;
  font-size: 1.125rem;
  height: 2rem;
  padding: 0 1rem;
  border-radius: 6.25rem;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  width: -moz-max-content !important;
  width: max-content !important;
}
@media screen and (max-width: 640px) {
  .meta-badge-pub {
    padding: 0 0.75rem;
    font-size: 1rem;
  }
}
.meta-date-mod {
  font-size: 0.875rem;
  color: #AAAAAA;
}
h2,
h3,
h4,
h5 {
  font-weight: 500;
  line-height: 1.3;
  margin: 2.5rem 0 1rem 0;
}
h2 {
  font-size: 1.625rem;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
strong,
b {
  font-weight: 700;
}
em,
i {
  font-style: italic;
  font-weight: 300;
}
.entry-content p,
.wp-block-post-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 1.5rem 0;
}
.entry-content ul,
.wp-block-post-content ul,
.entry-content ol,
.wp-block-post-content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
}
.entry-content ul li,
.wp-block-post-content ul li,
.entry-content ol li,
.wp-block-post-content ol li {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #000000;
  margin-bottom: 0.5rem;
}
.entry-content img,
.wp-block-post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  margin: 2rem auto;
}
.entry-content ul,
.wp-block-post-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.entry-content ul li,
.wp-block-post-content ul li {
  position: relative;
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 0.75rem;
}
.entry-content ul li::before,
.wp-block-post-content ul li::before {
  content: "";
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #107198;
  border-radius: 50%;
  margin-right: 1rem;
  margin-top: 0.625rem;
  flex-shrink: 0;
}
.entry-content ol,
.wp-block-post-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  counter-reset: fdrk-counter;
}
.entry-content ol li,
.wp-block-post-content ol li {
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 0.75rem;
  counter-increment: fdrk-counter;
}
.entry-content ol li::before,
.wp-block-post-content ol li::before {
  content: counter(fdrk-counter) ".";
  display: inline-block;
  font-weight: 700;
  color: #107198;
  margin-right: 0.75rem;
  flex-shrink: 0;
  min-width: 1.5rem;
}
.entry-content .wp-block-embed,
.wp-block-post-content .wp-block-embed,
.entry-content .wp-block-embed-youtube,
.wp-block-post-content .wp-block-embed-youtube,
.entry-content .video-wrapper,
.wp-block-post-content .video-wrapper {
  margin: 2.5rem 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}
.entry-content .wp-block-embed iframe,
.wp-block-post-content .wp-block-embed iframe,
.entry-content .wp-block-embed-youtube iframe,
.wp-block-post-content .wp-block-embed-youtube iframe,
.entry-content .video-wrapper iframe,
.wp-block-post-content .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.post-thumbnail {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}
.post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  -o-object-fit: cover;
     object-fit: cover;
}
/**
 * Комментрии и форма комментариев
 */
/**
 * Верстка вывода комментариев
 */
.comments-area {
  margin-top: 3.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.comments-title {
  font-weight: 500;
  font-size: 1.5625rem;
  color: #107198;
  margin: 0 0 2rem 0;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 2rem;
}
@media screen and (max-width: 480px) {
  .comment-list .children .comment-respond {
    margin-left: -2rem;
  }
}
.comment-list .children .comment-body {
  position: relative;
}
.comment-list .children .comment-body::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: -0.75rem;
  width: 0.75rem;
  height: 1.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.comment-item-row {
  margin-bottom: 2rem;
}
.comment-item-row.children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
}
.comment-body {
  display: flex;
  flex-direction: column;
}
.comment-author-name {
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
}
.comment-date-time {
  font-size: 1rem;
  color: #7F7F7F;
}
.comment-text-content p {
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
}
.comment-reply-link-box a {
  font-size: 0.875rem;
  background-color: #5974D2;
  color: #fff;
  border-radius: 0.375rem;
  text-decoration: none;
  width: 5.25rem;
  max-width: 100%;
  height: 2.125rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.comment-reply-link-box a:hover {
  background-color: #6681e3;
}
.comment-meta-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
@media screen and (max-width: 480px) {
  .comment-meta-top {
    flex-direction: column;
    gap: 0.875rem;
  }
}
.comment-actions-panel {
  display: flex;
  gap: 0.5rem;
}
.comment-actions-panel .comment-action-btn {
  cursor: pointer;
}
.comment-actions-panel .comment-action-btn a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.625rem;
  max-width: 100%;
  height: 2.125rem;
  border-radius: 0.4375rem;
}
@media screen and (max-width: 480px) {
  .comment-actions-panel .comment-action-btn a {
    width: 2.5rem;
  }
}
.comment-actions-panel .comment-action-btn a:hover {
  opacity: 0.8;
}
.comment-actions-panel .comment-action-btn.edit-btn a {
  color: #ffffff;
  background-color: #3093D6;
}
.comment-actions-panel .comment-action-btn.delete-btn a {
  color: #ffffff;
  background-color: #F34F4F;
}
/**
 * Форма комментариев
 */
.comment-respond {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
@media screen and (max-width: 1024px) {
  .comment-respond {
    padding: 1.5rem 1.125rem;
  }
}
.comment-respond a {
  text-decoration: none;
}
.comment-respond a:hover {
  text-decoration: underline;
}
.comment-respond .comment-reply-title {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.comment-respond .comment-reply-title small {
  font-size: 1rem;
}
.comment-respond .comment-notes,
.comment-respond .logged-in-as {
  font-size: 1.125rem;
  color: #2F3034;
  margin: 0 0 2rem 0;
}
@media screen and (max-width: 1024px) {
  .comment-respond .comment-notes,
  .comment-respond .logged-in-as {
    font-size: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .comment-respond .comment-notes,
  .comment-respond .logged-in-as {
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
  }
}
.comment-respond .comment-form-group {
  width: 100%;
  margin-bottom: 1rem;
}
.comment-respond .comment-form-group textarea {
  width: 100%;
  min-height: 8.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  padding: 1rem;
  font-size: 1rem;
  color: #000000;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}
@media screen and (max-width: 1024px) {
  .comment-respond .comment-form-group textarea {
    min-height: 5.625rem;
  }
}
.comment-respond .comment-form-group textarea:focus {
  border-color: #107198;
}
.comment-respond .comment-form-input-item {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
}
.comment-respond .comment-form-input-item + .comment-form-input-item {
  margin-bottom: 1.5rem;
}
.comment-respond .comment-form-input-item input {
  width: 100%;
  height: 4.125rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
@media screen and (max-width: 1024px) {
  .comment-respond .comment-form-input-item input {
    height: 3.125rem;
  }
}
.comment-respond .comment-form-input-item input:focus {
  border-color: #107198;
}
@media (min-width: 992px) {
  .comment-respond .comment-form-input-item {
    display: inline-flex;
    width: calc(50% - 6px);
    float: left;
    margin-right: 12px;
  }
  .comment-respond .comment-form-input-item + .comment-form-input-item {
    margin-right: 0;
  }
}
.comment-respond .comment-form-cookies-consent {
  clear: both;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 480px) {
  .comment-respond .comment-form-cookies-consent {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
}
.comment-respond .comment-form-cookies-consent input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0.3125rem 0 0 0;
}
.comment-respond .comment-form-cookies-consent label {
  font-size: 1rem;
  line-height: 1.4;
  color: #2F3034;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 480px) {
  .comment-respond .comment-form-cookies-consent label {
    font-size: 0.875rem;
  }
}
.comment-respond .comment-form-cookies-consent label:hover {
  opacity: 0.8;
}
.comment-respond .form-submit {
  margin: 0;
  display: flex;
  justify-content: flex-start;
}
.comment-respond .form-submit .btn {
  border: none;
  color: #ffffff;
  box-shadow: none;
  outline: none;
  font-weight: 500;
  max-width: 100%;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .comment-respond .form-submit .btn {
    width: 100%;
  }
}
.comment-respond .form-submit .btn:hover {
  background-color: #1d94d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 113, 152, 0.15);
}
.comment-respond .form-submit .btn:active {
  transform: translateY(0);
}
.comment-respond .logged-in-as .required-field-message {
  font-weight: 500;
}
.comment-respond .logged-in-as a {
  background-color: #F7F8FB;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1.5625rem;
}
@media screen and (max-width: 480px) {
  .comment-respond #cancel-comment-reply-link {
    display: none !important;
  }
}
.comment-respond .comment-mobile-cancel-wrap {
  display: none;
}
@media screen and (max-width: 480px) {
  .comment-respond .comment-mobile-cancel-wrap {
    display: block !important;
    width: 100% !important;
    margin-top: 1rem !important;
    text-align: center !important;
  }
}
@media screen and (max-width: 480px) {
  .comment-respond .comment-mobile-cancel-wrap .mobile-cancel-btn {
    display: inline-flex !important;
    background-color: #e0e6ed !important;
    color: #4a5568 !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 0.625rem 0 !important;
    border-radius: 1.5625rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }
}
.bypostauthor .comment-respond {
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.bypostauthor .form-submit .btn {
  font-size: 1rem;
  height: 3.75rem;
  width: 16.75rem;
  background: #2B96D6;
}
@media screen and (max-width: 480px) {
  .bypostauthor .form-submit .btn {
    width: 100%;
  }
}
.comments-show-more-box {
  display: flex;
  margin: 1.5rem 0 6.25rem 0;
}
@media screen and (max-width: 480px) {
  .comments-show-more-box {
    margin-bottom: 4rem;
  }
}
.comments-show-more-box .btn-show-comments {
  color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .comments-show-more-box .btn-show-comments {
    width: 100%;
  }
}
.comments-show-more-box .btn-show-comments:hover {
  background-color: #4f46e5;
  transform: translateY(-1px);
}
/**
 * Сетка блока "Что еще почитать" ниже статьи
 */
.recent-reads-section {
  width: 100%;
  padding: 5rem 0 1.25rem 0;
  background-color: #f8fafc;
}
.recent-reads-title {
  font-weight: 500;
  font-size: 1.75rem;
  color: #107198;
  margin: 0 0 2rem 0;
}
.recent-reads-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
/**
 * Страницы архива и категории
 */
.category-page {
  padding: 0 0 3rem 0;
}
.category-lead-capsule {
  width: 100%;
  min-height: 21.6875rem;
  background-color: #040404;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  border-radius: 1.875rem;
  padding: 1.25rem 1.25rem 1.25rem 3.125rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 4.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 960px) {
  .category-lead-capsule {
    min-height: auto;
    padding: 1.875rem;
    border-radius: 1.25rem;
    margin-bottom: 4rem;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .category-lead-capsule {
    padding: 1.25rem;
  }
}
.category-lead-capsule:not(.blog-main-lead) {
  padding-left: 2.5rem;
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) {
    padding-left: 1.875rem;
    background-size: auto;
    display: grid !important;
    grid-template-columns: 1fr 11.25rem !important;
    gap: 1.25rem !important;
  }
}
@media screen and (max-width: 768px) {
  .category-lead-capsule:not(.blog-main-lead) {
    padding-left: 1.25rem;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) {
    background-position: center;
    display: flex !important;
    flex-direction: column;
  }
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-content {
    display: contents !important;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-content {
    display: block !important;
    margin-right: 0;
  }
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) .category-main-title {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    align-self: center !important;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-main-title {
    align-self: flex-start !important;
  }
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) .category-description-text {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    margin-top: 0.625rem !important;
  }
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-decor {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-decor {
    width: 308px !important;
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 960px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-decor img {
    aspect-ratio: 1 !important;
    border-radius: 0.75rem !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-decor img {
    aspect-ratio: auto !important;
    height: auto;
  }
}
.category-lead-capsule:not(.blog-main-lead) .category-lead-decor {
  transition: opacity 0.25s ease, visibility 0.25s ease, height 0.3s ease !important;
  position: relative;
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-decor {
    opacity: 1;
    visibility: visible;
    display: block;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-content {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
  }
}
.category-lead-capsule:not(.blog-main-lead) .category-lead-content .category-lead-spoiler-btn {
  display: none !important;
}
.category-lead-capsule:not(.blog-main-lead) .category-lead-spoiler-btn {
  display: none;
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-lead-spoiler-btn {
    display: inline-flex !important;
    position: absolute !important;
    right: 1rem !important;
    top: 1rem !important;
    z-index: 10 !important;
    border-radius: 100px !important;
    width: 2rem !important;
    height: 2rem !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1;
    background-color: #107198 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
  }
}
.category-lead-capsule:not(.blog-main-lead) .category-description-text {
  transition: max-height 0.35s ease-in-out, opacity 0.25s ease !important;
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead) .category-description-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead).is-spoiler-open .category-lead-decor {
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead).is-spoiler-open .category-lead-content {
    position: static !important;
  }
}
.category-lead-capsule:not(.blog-main-lead).is-spoiler-open .category-lead-content .category-lead-spoiler-btn {
  display: inline-flex !important;
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead).is-spoiler-open .category-description-text {
    display: block;
    opacity: 1 !important;
    margin-top: 0.875rem !important;
    margin-bottom: 0.875rem !important;
    color: #ffffff !important;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-capsule:not(.blog-main-lead).is-spoiler-open .category-lead-spoiler-btn {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    top: auto !important;
    border-radius: 0 0 1.25rem 0 !important;
    transform: rotate(180deg) !important;
    z-index: 15 !important;
  }
}
body.category .category-lead-capsule,
body.archive .category-lead-capsule,
body.page-template-template-reviews .category-lead-capsule {
  background-image: url('../img/category-bg.png');
}
.category-lead-content {
  max-width: 45rem;
  width: 100%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
  margin-right: 1rem;
}
@media screen and (max-width: 960px) {
  .category-lead-content {
    padding-top: 0;
    padding-bottom: 0;
  }
}
.category-lead-content .category-main-title {
  font-weight: 800;
  font-size: 2.75rem;
  text-transform: uppercase;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}
@media screen and (max-width: 960px) {
  .category-lead-content .category-main-title {
    font-size: 2rem;
    line-height: 1.3;
  }
}
@media screen and (max-width: 640px) {
  .category-lead-content .category-main-title {
    font-size: 1.625rem;
  }
}
@media screen and (max-width: 480px) {
  .category-lead-content .category-main-title {
    font-size: 1.375rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }
}
.category-description-text {
  font-size: 1.125rem;
  line-height: 1.5;
}
@media screen and (max-width: 480px) {
  .category-description-text {
    font-size: 1rem;
  }
}
.category-lead-decor {
  width: 19.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}
.category-lead-decor img {
  border-radius: 1.25rem;
  vertical-align: top;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.category-posts-section {
  width: 100%;
}
.category-section-title {
  margin: 0 0 2.625rem 0;
}
@media screen and (max-width: 640px) {
  .category-section-title {
    margin: 0 0 2rem 0;
  }
}
.category-posts-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
.category-pagination-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 3rem;
}
@media screen and (max-width: 480px) {
  .category-pagination-panel {
    flex-direction: column;
    gap: 2rem;
  }
}
.posts-per-page-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.posts-per-page-filter .filter-label {
  font-size: 0.9375rem;
}
.posts-per-page-filter .filter-select {
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #107198;
  cursor: pointer;
  outline: none;
  padding-right: 0.75rem;
}
.category-custom-pagination {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.category-custom-pagination .pagination-info-text {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.category-custom-pagination .pagination-arrows-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.category-custom-pagination .pagination-arrows-box a {
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}
.category-custom-pagination .pagination-arrows-box a:hover {
  color: #107198;
}
/**
 * Страница Статьи
 */
.blog-main-lead {
  background-image: url(../img/articles-bg-bottom-position.png);
  background-position: right bottom;
}
@media screen and (max-width: 640px) {
  .blog-main-lead {
    padding-bottom: 180px;
    background-size: auto 90%;
  }
}
@media screen and (max-width: 480px) {
  .blog-main-lead {
    background-size: auto 85%;
  }
}
@media screen and (max-width: 360px) {
  .blog-main-lead {
    padding-bottom: 170px;
    background-size: auto 76%;
  }
}
.blog-main-lead .category-lead-content {
  max-width: 34.375rem;
  margin-right: 0;
}
@media screen and (max-width: 1212px) {
  .blog-main-lead .category-lead-content {
    max-width: 33.125rem;
  }
}
@media screen and (max-width: 1024px) {
  .blog-main-lead .category-lead-content {
    max-width: 28.125rem;
  }
}
@media screen and (max-width: 960px) {
  .blog-main-lead .category-lead-content {
    max-width: 25.3125rem;
  }
}
@media screen and (max-width: 768px) {
  .blog-main-lead .category-lead-content {
    max-width: 19.6875rem;
  }
}
@media screen and (max-width: 640px) {
  .blog-main-lead .category-lead-content {
    max-width: 100%;
  }
}
.blog-main-lead .category-main-title {
  font-size: 4.0625rem;
}
@media screen and (max-width: 960px) {
  .blog-main-lead .category-main-title {
    font-size: 2.6875rem;
  }
}
@media screen and (max-width: 480px) {
  .blog-main-lead .category-main-title {
    font-size: 1.875rem;
  }
}
@media screen and (max-width: 640px) {
  .site-main {
    overflow: hidden !important;
  }
}
.hub-categories-section {
  width: 100%;
  margin-bottom: 3.75rem;
}
.hub-categories-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
@media screen and (max-width: 640px) {
  .hub-categories-grid {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0.75rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    width: calc(100% + 2rem) !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .hub-categories-grid {
    scrollbar-width: thin !important;
  }
  .hub-categories-grid::-webkit-scrollbar {
    display: block !important;
    height: 0.3125rem !important;
  }
  .hub-categories-grid::-webkit-scrollbar-track {
    background: #f7f9fb !important;
    border-radius: 4px !important;
  }
  .hub-categories-grid::-webkit-scrollbar-thumb {
    background: rgba(35, 45, 95, 0.2) !important;
    border-radius: 4px !important;
    -webkit-transition: background-color 0.2s ease !important;
    transition: background-color 0.2s ease !important;
  }
  .hub-categories-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 45, 95, 0.4) !important;
  }
}
.hub-categories-grid .hub-cat-card {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(20% - 12px);
  margin-bottom: 0.875rem;
  height: 10.5625rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #bbb;
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
@media screen and (max-width: 1024px) {
  .hub-categories-grid .hub-cat-card {
    width: calc(25% - 12px);
  }
}
@media screen and (max-width: 960px) {
  .hub-categories-grid .hub-cat-card {
    width: calc(33.333333333333336% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .hub-categories-grid .hub-cat-card {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 480px) {
  .hub-categories-grid .hub-cat-card {
    width: calc(100% - 12px);
  }
}
@media screen and (max-width: 640px) {
  .hub-categories-grid .hub-cat-card {
    flex-shrink: 0 !important;
    width: 14.5rem !important;
    margin-left: 0;
    margin-right: 0.625rem;
  }
}
.hub-categories-grid .hub-cat-card:hover {
  transform: translateY(-2px);
}
@media screen and (max-width: 640px) {
  .hub-categories-grid .hub-cat-card:hover {
    transform: translateY(0px);
    opacity: 0.9;
  }
}
@media screen and (max-width: 640px) {
  .hub-categories-grid .hub-cat-card:last-child {
    margin-right: 0 !important;
  }
}
.hub-categories-grid .hub-cat-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  transition: opacity 0.25s ease;
  background: rgba(0, 0, 0, 0.3);
}
.hub-cat-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  align-items: flex-start;
}
.hub-cat-card-name {
  font-weight: 500;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  width: 100%;
  display: block;
  align-self: flex-start;
  margin-top: 1.25rem;
}
@media screen and (max-width: 640px) {
  .hub-cat-card-name {
    font-size: 1.125rem;
    line-height: 1.32;
  }
}
.hub-cat-card-count {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  background-color: #ffffff;
  border-radius: 6.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0.1875rem 0.5rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.hub-section-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 480px) {
  .hub-section-header-flex {
    display: block;
  }
}
.hub-section-header-flex .category-section-title {
  margin-bottom: 0;
}
@media screen and (max-width: 480px) {
  .hub-section-header-flex .category-section-title {
    margin-bottom: 1.25rem;
  }
}
.posts-sort-by-filter {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
@media screen and (max-width: 480px) {
  .posts-sort-by-filter {
    justify-content: flex-end;
  }
}
.posts-sort-by-filter .sort-label {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.4);
}
.posts-sort-by-filter .filter-select {
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: #107198;
  cursor: pointer;
  outline: none;
  padding-right: 0.25rem;
  transition: color 0.2s ease;
}
.posts-sort-by-filter .filter-select:hover {
  color: #0c5674;
}
/**
 * Страница Отзывы
 */
.video-reviews-section {
  margin-bottom: 7.5rem;
}
@media screen and (max-width: 1024px) {
  .video-reviews-section {
    margin-bottom: 3.75rem;
  }
}
.video-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
.video-reviews-grid .video-review-item {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(33.333333333333336% - 12px);
  margin-bottom: 0.75rem;
}
@media screen and (max-width: 1024px) {
  .video-reviews-grid .video-review-item {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .video-reviews-grid .video-review-item {
    width: calc(100% - 12px);
  }
}
.video-review-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  width: 100%;
  background-color: #edf4ea;
  border-radius: 1.25rem;
}
.video-review-thumb {
  position: relative;
  width: 100%;
  height: 13.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
}
@media screen and (max-width: 1212px) {
  .video-review-thumb {
    height: auto;
  }
}
.video-review-thumb .video-thumb-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.video-review-thumb .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-review-thumb:hover .video-thumb-img {
  transform: scale(1.03);
}
.video-review-thumb:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 0.8;
}
.video-review-title {
  font-weight: 500;
  font-size: 1.125rem;
  color: #000000;
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s ease;
}
.video-review-title:hover {
  color: #107198;
}
/**
 * Витрина Книг
 */
.books-catalog-page {
  padding: 3.75rem 0 6.25rem 0;
}
@media screen and (max-width: 960px) {
  .books-catalog-page {
    padding: 3.75rem 0 2.5rem 0;
  }
}
.books-catalog-title {
  margin: 0 0 3.625rem 0;
  color: #107198;
}
@media screen and (max-width: 960px) {
  .books-catalog-title {
    margin-bottom: 2rem;
  }
}
.books-catalog-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
}
.books-catalog-grid .book-catalog-item {
  box-sizing: border-box;
  word-wrap: break-word;
  margin-left: 6px;
  margin-right: 6px;
  width: calc(33.333333333333336% - 12px);
  margin-bottom: 0.75rem;
}
@media screen and (max-width: 1024px) {
  .books-catalog-grid .book-catalog-item {
    width: calc(50% - 12px);
  }
}
@media screen and (max-width: 768px) {
  .books-catalog-grid .book-catalog-item {
    width: calc(100% - 12px);
  }
}
.book-catalog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.book-card-thumb-box {
  width: 100%;
  height: 27rem;
  border-radius: 0.75rem 0.75rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.875rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.book-card-thumb-box .book-catalog-img {
  max-height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}
.book-card-thumb-box:hover .book-catalog-img {
  transform: scale(1.03) translateY(-4px);
}
.book-card-info {
  padding: 1.5rem 0.75rem 2rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 0 0 0.75rem 0.75rem;
}
.book-card-name-title {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  width: 100%;
  min-height: 3.5rem;
}
.book-card-name-title a {
  color: #107198;
  text-decoration: none;
}
.book-card-name-title a:hover {
  text-decoration: underline;
}
.book-card-action-btn {
  width: 100%;
  max-width: 13.75rem;
}
.book-card-action-btn .btn-book-more {
  display: flex;
  width: 100%;
  height: 3.125rem;
  text-align: center;
  background: linear-gradient(139deg, #14a8d8 0%, #8453cf 100%);
  color: #ffffff;
  border-radius: 6.25rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(16, 113, 152, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.book-card-action-btn .btn-book-more:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
/**
 * Витрина Услуг
 */
.services-catalog-page {
  padding: 3.75rem 0 3.75rem 0;
}
@media screen and (max-width: 960px) {
  .services-catalog-page {
    padding: 2.5rem 0 2.5rem 0;
  }
}
@media screen and (max-width: 640px) {
  .services-catalog-page {
    padding: 1.25rem 0 1.25rem 0;
  }
}
.services-terms-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  width: 100%;
}
.service-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.25rem;
  color: #A0A0A0;
  font-weight: 500;
  transition: color 0.2s ease;
}
.service-filter-tab .tab-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background-color: #A0A0A0;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0 0.25rem;
}
.service-filter-tab:hover {
  color: #107198;
}
.service-filter-tab.is-active {
  color: #107198;
  font-weight: 500;
}
.service-filter-tab.is-active .tab-count-badge {
  background-color: #107198;
  color: #ffffff;
}
.service-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  color: #ef4444;
  text-decoration: none;
  margin-left: 1.5rem;
}
.service-filter-reset span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid;
  font-size: 0.625rem;
  font-weight: 700;
}
.service-filter-reset:hover {
  text-decoration: underline;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  grid-auto-rows: max-content max-content max-content auto;
}
@media screen and (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.posts-grid .posts-grid-item {
  display: contents;
}
.posts-grid .service-card {
  grid-column: span 1;
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  background-color: #ffffff;
  height: 100%;
  margin-bottom: 0;
}
.posts-grid .service-card .post-card-thumb {
  grid-row: span 1;
}
.posts-grid .service-card .post-card-body {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  padding: 1.5rem 1.25rem 1.625rem 1.25rem;
  width: 100%;
}
.posts-grid .service-card .service-meta-sub {
  grid-row: span 1;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.875rem;
  text-transform: none;
  margin: 0;
}
.posts-grid .service-card .service-card-title {
  grid-row: span 1;
  margin: 0;
  width: 100%;
}
.posts-grid .service-card .service-card-title a {
  display: block;
  color: #107198;
  text-decoration: none;
}
.posts-grid .service-card .service-card-action {
  grid-row: span 1;
  width: 100%;
  margin-top: 1rem;
}
.posts-grid .service-card .service-card-action .btn-service-action {
  width: 13.8125rem;
  height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(139deg, #14a8d8 0%, #8453cf 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6.25rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.posts-grid .service-card .service-card-action .btn-service-action:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
}
/**
 * Универсальные стили для page
 */
.generic-page-layout {
  padding: 3.75rem 0 3.75rem 0;
}
@media screen and (max-width: 960px) {
  .generic-page-layout {
    padding: 1.875rem 0 1.875rem 0;
  }
}
.generic-page-article {
  width: 100%;
}
.generic-page-header {
  margin-bottom: 2.5rem;
  width: 100%;
}
@media screen and (max-width: 960px) {
  .generic-page-header {
    margin-bottom: 1.875rem;
  }
}
.generic-page-main-title {
  font-weight: 500;
  font-size: 2.25rem;
  color: #107198;
  margin: 0;
  line-height: 1.2;
}
.generic-page-content-body {
  width: 100%;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #000000;
}
.generic-page-content-body p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.generic-page-content-body p:last-child {
  margin-bottom: 0;
}
.generic-page-content-body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}
/**
 * Стилизация нативных блоков Gutenberg под журнальный лонгрид
 */
@media (min-width: 782px) and (max-width: 960px) {
  .wp-block-columns.is-style-stack-on-md {
    flex-wrap: wrap !important;
    flex-direction: column !important;
    gap: 1.5rem 0 !important;
  }
  .wp-block-columns.is-style-stack-on-md > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media (max-width: 960px) {
  .wp-block-media-text.is-style-stack-on-md {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 100% !important;
    gap: 1.5rem 0 !important;
  }
  .wp-block-media-text.is-style-stack-on-md .wp-block-media-text__media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .wp-block-media-text.is-style-stack-on-md .wp-block-media-text__media img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .wp-block-media-text.is-style-stack-on-md .wp-block-media-text__content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
}
.generic-page-content-body .wp-block-heading {
  font-weight: 500;
  font-size: 2rem;
  color: #107198;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}
.generic-page-content-body .wp-block-media-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.75rem;
  width: 100%;
}
.generic-page-content-body .wp-block-media-text .wp-block-media-text__media {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.generic-page-content-body .wp-block-media-text .wp-block-media-text__media img,
.generic-page-content-body .wp-block-media-text .wp-block-media-text__media picture img {
  max-width: 100% !important;
  height: auto !important;
  align-self: flex-start !important;
  border-radius: 1.6875rem !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  margin: 0 !important;
  padding: 0 !important;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-media-text .wp-block-media-text__media img,
  .generic-page-content-body .wp-block-media-text .wp-block-media-text__media picture img {
    contain-intrinsic-size: 575px auto !important;
    height: auto;
  }
}
.generic-page-content-body .wp-block-media-text .wp-block-media-text__content {
  flex: 1;
  padding: 0;
}
.generic-page-content-body .wp-block-media-text.is-image-fill-right {
  flex-direction: row-reverse;
}
.generic-page-content-body .wp-block-columns.js-about-hero-block,
.generic-page-content-body .wp-block-columns-js-about-hero-block {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2.5rem !important;
  margin-bottom: 3.75rem !important;
  width: 100% !important;
}
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column {
  flex: 1 !important;
  flex-basis: 50% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child {
  align-items: flex-start !important;
}
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image,
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image {
  height: 25.75rem !important;
  background-color: #040404 !important;
  border-radius: 1.6875rem !important;
  overflow: hidden !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image img,
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image img,
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image picture img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image picture img,
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image picture img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image picture img {
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image img,
  .generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image img,
  .generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image img,
  .generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image img,
  .generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image picture img,
  .generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image picture img,
  .generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image picture img,
  .generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image picture img {
    contain-intrinsic-size: 575px auto !important;
  }
}
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child figure.wp-block-image:hover img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child figure.wp-block-image:hover img,
.generic-page-content-body .wp-block-columns.js-about-hero-block .wp-block-column:first-child .wp-block-image:hover img,
.generic-page-content-body .wp-block-columns-js-about-hero-block .wp-block-column:first-child .wp-block-image:hover img {
  transform: scale(1.02) !important;
}
.generic-page-content-body .wp-block-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.75rem;
  width: 100%;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-columns {
    margin-bottom: 2rem;
  }
}
.generic-page-content-body .wp-block-columns .wp-block-column {
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.generic-page-content-body .wp-block-columns .wp-block-column > .wp-block-image {
  width: 100%;
  height: auto;
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
  display: block;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-columns .wp-block-column > .wp-block-image {
    width: auto;
  }
}
.generic-page-content-body .wp-block-columns .wp-block-column > .wp-block-image:last-child {
  margin-bottom: 0 !important;
}
.generic-page-content-body .wp-block-columns .wp-block-column > .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  align-self: center !important;
  justify-content: center;
  border-radius: 1.6875rem !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  margin: 0 auto !important;
  padding: 0 !important;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-columns .wp-block-column > .wp-block-image img {
    contain-intrinsic-size: 575px auto !important;
    height: auto;
  }
}
.generic-page-content-body .wp-block-columns .wp-block-group {
  background-color: #ffffff;
  border-radius: 1.6875rem;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  width: 100%;
  display: grid !important;
  grid-template-rows: max-content 21.25rem;
  gap: 1.5rem;
  height: -moz-max-content !important;
  height: max-content !important;
}
.generic-page-content-body .wp-block-columns .wp-block-group .wp-block-group__inner-container,
.generic-page-content-body .wp-block-columns .wp-block-group > div:not([class]) {
  display: contents !important;
}
.generic-page-content-body .wp-block-columns .wp-block-group p {
  grid-row: 1;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #000000;
  margin: 0 !important;
  padding: 0 !important;
}
.generic-page-content-body .wp-block-columns .wp-block-group .wp-block-image {
  grid-row: 2;
  width: 100%;
  height: 100% !important;
  background-color: #f3f4f6;
  border-radius: 1.25rem;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.generic-page-content-body .wp-block-columns .wp-block-group .wp-block-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}
@media screen and (max-width: 960px) {
  .generic-page-content-body .wp-block-columns .wp-block-group .wp-block-image img {
    contain-intrinsic-size: 575px auto !important;
  }
}
.generic-page-content-body .wp-block-gallery,
.generic-page-content-body ul.wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem !important;
  margin-top: 2.5rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}
.generic-page-content-body .wp-block-gallery figure.wp-block-image,
.generic-page-content-body ul.wp-block-gallery.has-nested-images figure.wp-block-image,
.generic-page-content-body .wp-block-gallery .wp-block-image,
.generic-page-content-body ul.wp-block-gallery.has-nested-images .wp-block-image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #f3f4f6 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.generic-page-content-body .wp-block-gallery figure.wp-block-image a,
.generic-page-content-body ul.wp-block-gallery.has-nested-images figure.wp-block-image a,
.generic-page-content-body .wp-block-gallery .wp-block-image a,
.generic-page-content-body ul.wp-block-gallery.has-nested-images .wp-block-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.generic-page-content-body .wp-block-gallery figure.wp-block-image img,
.generic-page-content-body ul.wp-block-gallery.has-nested-images figure.wp-block-image img,
.generic-page-content-body .wp-block-gallery .wp-block-image img,
.generic-page-content-body ul.wp-block-gallery.has-nested-images .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.3s ease !important;
}
.generic-page-content-body .wp-block-gallery figure.wp-block-image:hover img,
.generic-page-content-body ul.wp-block-gallery.has-nested-images figure.wp-block-image:hover img,
.generic-page-content-body .wp-block-gallery .wp-block-image:hover img,
.generic-page-content-body ul.wp-block-gallery.has-nested-images .wp-block-image:hover img {
  transform: scale(1.03) !important;
}
.generic-page-content-body blockquote,
.generic-page-content-body .wp-block-quote {
  margin: 0 0 3rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid #107198;
  border-right: none;
  border-top: none;
  border-bottom: none;
  width: 100%;
  max-width: calc((100% - (12 / 16rem)) / 2);
}
.generic-page-content-body blockquote p,
.generic-page-content-body .wp-block-quote p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #000000;
  font-style: normal;
  margin: 0 !important;
  padding: 0 !important;
}
.generic-page-content-body blockquote cite,
.generic-page-content-body .wp-block-quote cite,
.generic-page-content-body blockquote .wp-block-quote__citation,
.generic-page-content-body .wp-block-quote .wp-block-quote__citation {
  display: none !important;
}
/**
 * ГЛОБАЛЬНАЯ ПОИСКОВАЯ СТРОКА СВЕРХУ С РАСШИРЕНИЕМ ПОЛЯ
 */
.header-search-capsule-box {
  position: relative;
  margin-left: 1rem;
  margin-right: 0.5rem;
  width: 3rem;
  height: 3rem;
  z-index: 100;
}
@media screen and (max-width: 1024px) {
  .header-search-capsule-box {
    margin-left: 0.5rem;
  }
}
@media screen and (max-width: 640px) {
  .header-search-capsule-box {
    margin-left: 0;
    width: 2.5rem;
    height: 2.5rem;
  }
}
.header-search-capsule-box .search-capsule-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  background-color: #ffffff;
  border-radius: 62.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}
@media screen and (max-width: 640px) {
  .header-search-capsule-box .search-capsule-form {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.header-search-capsule-box .search-capsule-input {
  width: 0;
  height: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0;
  font-size: 0.9375rem !important;
  font-weight: 400;
  color: #000000;
  opacity: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
       appearance: textfield !important;
}
.header-search-capsule-box .search-capsule-input::-moz-placeholder {
  color: rgba(0, 0, 0, 0.25);
}
.header-search-capsule-box .search-capsule-input::placeholder {
  color: rgba(0, 0, 0, 0.25);
}
.header-search-capsule-box .search-capsule-input::-webkit-search-decoration,
.header-search-capsule-box .search-capsule-input::-webkit-search-cancel-button,
.header-search-capsule-box .search-capsule-input::-webkit-search-results-button,
.header-search-capsule-box .search-capsule-input::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.header-search-capsule-box .btn-search-capsule {
  position: absolute;
  right: 0.8125rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  z-index: 5;
}
@media screen and (max-width: 640px) {
  .header-search-capsule-box .btn-search-capsule {
    right: 0.5625rem;
    top: 52%;
    transform: translateY(-52%);
  }
}
.header-search-capsule-box .search-capsule-close-x {
  position: absolute;
  right: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: none;
  z-index: 5;
  line-height: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.header-search-capsule-box .search-capsule-close-x:hover {
  color: #ef4444;
}
.header-search-capsule-box.is-open .search-capsule-form {
  width: 20rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
@media screen and (max-width: 960px) {
  .header-search-capsule-box.is-open .search-capsule-form {
    width: 3rem !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }
}
.header-search-capsule-box.is-open .search-capsule-input {
  width: 100%;
  opacity: 1;
  padding: 0 4rem 0 1.25rem;
}
@media screen and (max-width: 960px) {
  .header-search-capsule-box.is-open .search-capsule-input {
    display: none !important;
    width: 0 !important;
    opacity: 0 !important;
  }
}
.header-search-capsule-box.is-open .search-capsule-close-x {
  display: block;
}
body.is-search-overlay-active {
  overflow: hidden !important;
}
body.is-search-overlay-active::before {
  content: "" !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 90 !important;
  animation: fdrkSearchFadeIn 0.25s ease forwards;
}
@keyframes fdrkSearchFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#js-search-capsule-trigger svg {
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out !important;
}
#js-search-capsule-trigger.is-close-state {
  right: 0.7rem;
  width: 1.5rem;
  height: 1.5rem;
}
#js-search-capsule-trigger.is-close-state:hover svg {
  transform: rotate(170deg) scale(1) !important;
}
#js-search-capsule-trigger.is-close-state:hover svg path {
  stroke: #2d8cf2;
  position: relative;
}
#js-search-capsule-trigger.is-close-state svg {
  transform: rotate(180deg) scale(0.9) !important;
}
#js-search-capsule-trigger.is-close-state svg path {
  stroke: #2b6cb0;
}
/**
 * Стилизация страницы поиска (search.php)
 */
.search-hub-page {
  padding: 3.125rem 0 3.75rem 0;
}
@media screen and (max-width: 640px) {
  .search-hub-page {
    padding: 1.875rem 0 2.5rem 0;
  }
}
.search-hub-form-box {
  width: 100%;
  max-width: 63.75rem;
  margin: 0 auto 2rem auto;
  background-color: #ffffff;
  border-radius: 62.5rem;
  padding: 3.125rem;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1024px) {
  .search-hub-form-box {
    max-width: 100% !important;
  }
}
@media screen and (max-width: 960px) {
  .search-hub-form-box {
    padding: 1.875rem !important;
  }
}
@media screen and (max-width: 640px) {
  .search-hub-form-box {
    padding: 1.875rem 1.25rem !important;
    border-radius: 1.875rem;
    margin-bottom: 2.75rem;
  }
}
.search-hub-form-box .search-hub-form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1.125rem;
}
@media screen and (max-width: 640px) {
  .search-hub-form-box .search-hub-form {
    gap: 0.75rem !important;
    flex-direction: column;
  }
}
.search-hub-form-box .search-input-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
}
.search-hub-form-box .search-hub-field {
  width: 100%;
  height: 3.375rem;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 62.5rem;
  padding: 0 3.375rem 0 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #777;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-hub-form-box .search-hub-field::-webkit-search-decoration,
.search-hub-form-box .search-hub-field::-webkit-search-cancel-button,
.search-hub-form-box .search-hub-field::-webkit-search-results-button,
.search-hub-form-box .search-hub-field::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}
@media screen and (max-width: 480px) {
  .search-hub-form-box .search-hub-field {
    height: 2.875rem !important;
    padding: 0 2.75rem 0 1.25rem !important;
    font-size: 0.9375rem !important;
  }
}
.search-hub-form-box .search-hub-field::-moz-placeholder {
  color: rgba(0, 0, 0, 0.3);
}
.search-hub-form-box .search-hub-field::placeholder {
  color: rgba(0, 0, 0, 0.3);
}
.search-hub-form-box .search-hub-field:focus {
  border-color: #107198;
  box-shadow: 0 0 0 3px rgba(16, 113, 152, 0.08);
}
.search-hub-form-box .search-hub-submit-icon-btn {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}
@media screen and (max-width: 960px) {
  .search-hub-form-box .search-hub-submit-icon-btn {
    right: 1rem !important;
  }
}
.search-hub-form-box .search-hub-submit-icon-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05) !important;
}
.search-hub-form-box .search-hub-submit-icon-btn:active {
  opacity: 0.8;
  transform: translateY(-50%) scale(0.95) !important;
}
.search-hub-form-box .search-hub-submit-icon-btn svg,
.search-hub-form-box .search-hub-submit-icon-btn img {
  width: 100%;
  height: 100%;
  display: block;
}
.search-hub-form-box .btn-search-reset {
  width: 10.4375rem;
  max-width: 100%;
  height: 3.375rem;
  padding: 0 2.25rem;
  border: none;
  background: linear-gradient(145deg, #14a8d8 0%, #8453cf 100%);
  color: #fff !important;
  font-size: 1.125rem;
  border-radius: 6.25rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
@media screen and (max-width: 960px) {
  .search-hub-form-box .btn-search-reset {
    padding: 0 1.25rem !important;
    font-size: 0.875rem !important;
  }
}
@media screen and (max-width: 640px) {
  .search-hub-form-box .btn-search-reset {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .search-hub-form-box .btn-search-reset {
    height: 2.875rem !important;
  }
}
.search-hub-form-box .btn-search-reset:hover {
  background: linear-gradient(145deg, #159ecc 0%, #7647bc 100%);
  transform: translateX(-1px);
}
.search-hub-form-box .btn-search-reset:active {
  transform: translateX(0);
}
.search-hub-form-box .btn-search-reset.is-reset-state {
  color: #000 !important;
  background: #E9E9E9;
}
.search-hub-form-box .btn-search-reset.is-reset-state:hover {
  background: #e5e5e5;
}
.search-hub-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 640px) {
  .search-hub-header {
    text-align: left;
  }
}
body.search-no-results .search-hub-header {
  margin-bottom: 1rem;
  width: 20rem;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 640px) {
  body.search-no-results .search-hub-header {
    width: auto;
  }
}
.search-hub-header .search-hub-result-title {
  font-size: 1.75rem;
  font-weight: 500;
  color: #107198;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .search-hub-header .search-hub-result-title {
    font-size: 1.5625rem;
  }
}
.search-hub-header .search-hub-result-title .search-hub-total-counter {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  margin-left: 0.5rem;
}
@media screen and (max-width: 640px) {
  .search-hub-header .search-hub-result-title .search-hub-total-counter {
    font-size: 1rem;
  }
}
.search-hub-header .search-hub-query-string {
  font-size: 1.125rem;
  color: #000000;
  font-weight: 400;
}
@media screen and (max-width: 640px) {
  .search-hub-header .search-hub-query-string {
    font-size: 1rem;
  }
}
body.search-no-results .search-results-grid {
  margin-left: 0;
  margin-right: 0;
}
.search-no-results-txt {
  width: 20rem;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 640px) {
  .search-no-results-txt {
    width: auto;
  }
}
@media screen and (max-width: 480px) {
  .search-no-results-txt {
    font-size: 1rem;
  }
}
.search-hub-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .search-hub-tabs-bar {
    white-space: wrap !important;
    padding-bottom: 1.25rem !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 1.125rem;
    border-bottom: none;
    margin-bottom: 1.875rem;
  }
}
.search-hub-tabs-bar::-webkit-scrollbar {
  display: none !important;
}
.search-hub-tabs-bar .search-tab-link {
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding-bottom: 1rem;
  margin-bottom: -1.0625rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
  flex-shrink: 0 !important;
}
@media screen and (max-width: 640px) {
  .search-hub-tabs-bar .search-tab-link {
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-right: 0.75rem;
  }
}
.search-hub-tabs-bar .search-tab-link .tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 1.25rem;
  background-color: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem;
}
.search-hub-tabs-bar .search-tab-link:hover {
  color: #107198;
}
.search-hub-tabs-bar .search-tab-link.is-active {
  color: #107198;
  font-weight: 500;
  border-bottom-color: #107198;
}
.search-hub-tabs-bar .search-tab-link.is-active .tab-badge {
  background-color: #107198;
  color: #ffffff;
}
.search-popular-categories-section {
  width: 100%;
  margin-top: 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 3.75rem;
}
body.search-no-results .search-popular-categories-section {
  margin-top: 0;
  padding-top: 2rem;
  border-top: none;
}
.popular-cats-main-title {
  font-size: 2rem;
  font-weight: 500;
  color: #107198;
  text-align: center;
  margin-bottom: 4rem;
}
@media screen and (max-width: 640px) {
  .popular-cats-main-title {
    font-size: 1.5625rem;
    text-align: left;
    margin-bottom: 2rem;
  }
}
.magnet-modal-capsule .modal-form-placeholder {
  margin-top: 1.5rem !important;
}
.wpcf7-form p {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
}
.wpcf7-form p:last-of-type {
  margin-bottom: 0 !important;
}
label {
  display: block !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.75rem !important;
  text-align: left !important;
}
label > br {
  display: block !important;
}
label .wpcf7-form-control-wrap {
  margin-top: 0.75rem !important;
  display: block;
}
.wpcf7-text {
  width: 100% !important;
  height: 3rem !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(35, 45, 95, 0.1) !important;
  border-radius: 1.5rem !important;
  padding: 0 1rem !important;
  font-size: 0.9375rem !important;
  color: #232d5f !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}
.wpcf7-text:focus {
  outline: none !important;
  background-color: #f4f9fe !important;
  border-color: #232d5f !important;
  box-shadow: 0 4px 12px rgba(35, 45, 95, 0.05) !important;
}
.wpcf7-text::-moz-placeholder {
  color: #a0a5ba !important;
}
.wpcf7-text::placeholder {
  color: #a0a5ba !important;
}
.wpcf7-textarea {
  width: 100% !important;
  height: 7.5rem !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(35, 45, 95, 0.1) !important;
  border-radius: 0.875rem !important;
  padding: 0.875rem 1rem !important;
  font-size: 0.9375rem !important;
  color: #232d5f !important;
  box-sizing: border-box !important;
  resize: vertical !important;
  transition: all 0.25s ease !important;
}
.wpcf7-textarea:focus {
  outline: none !important;
  background-color: #f4f9fe !important;
  border-color: #232d5f !important;
  box-shadow: 0 4px 12px rgba(35, 45, 95, 0.05) !important;
}
.wpcf7-textarea::-moz-placeholder {
  color: #a0a5ba !important;
}
.wpcf7-textarea::placeholder {
  color: #a0a5ba !important;
}
.wpcf7-submit {
  width: 100% !important;
  min-height: 3.25rem !important;
  background: linear-gradient(139deg, #14a8d8 0%, #8453cf 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border: none !important;
  border-radius: 1.5rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  margin-top: 0.5rem !important;
  box-shadow: 0 8px 24px rgba(35, 45, 95, 0.15) !important;
  white-space: break-spaces;
  word-wrap: break-word;
  padding: 12px 16px !important;
}
.wpcf7-submit:hover {
  background-color: #2a3672 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 28px rgba(35, 45, 95, 0.2) !important;
}
.wpcf7-submit:active {
  transform: translateY(1px) !important;
}
.wpcf7-response-output {
  margin: 1rem 0 0 0 !important;
  padding: 0.75rem !important;
  border-radius: 0.625rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  border: none !important;
  background-color: #f4f5f7 !important;
  color: #232d5f !important;
}
.wpcf7-form.sent .wpcf7-response-output {
  background-color: #e3ede2 !important;
  color: #1e4620 !important;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  background-color: #fde8e8 !important;
  color: #9b1c1c !important;
}
.wpcf7-not-valid-tip {
  color: #da2c2c !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  margin-top: 0.25rem !important;
  display: block !important;
  text-align: left !important;
}
.wpcf7-spinner {
  display: block;
  margin: 5px auto 0;
}
