html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  margin: 0.67em 0;
  font-size: 2em;
}

hr {
  overflow: visible;
  height: 0;
  box-sizing: content-box;
}

a {
  background-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

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

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

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.has-white-color {
  color: #fff;
}

.has-text-align-center {
  text-align: center;
}

.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table td, .wp-block-table th {
  border: 1px solid;
  padding: 0.5em;
}

.wp-block-table .has-fixed-layout {
  table-layout: fixed;
  width: 100%;
}

.wp-block-table.aligncenter, .wp-block-table.alignleft, .wp-block-table.alignright {
  display: table;
  width: auto;
}

.wp-block-video video {
  max-width: 100%;
}

@media (width <= 767px) {
  .wp-block-table .has-fixed-layout {
    table-layout: auto;
  }
}
:root {
  --width-container: 1080px;
  --offsets: 20px;
  --wrapper-margin: 20px;
  --ff-primary: -apple-system,
  blinkmacsystemfont,
  "Segoe UI",
  roboto,
  oxygen,
  ubuntu,
  cantarell,
  "Open Sans",
  "Helvetica Neue",
  sans-serif;
  --ff-secondary: -apple-system,
  blinkmacsystemfont,
  "Segoe UI",
  roboto,
  oxygen,
  ubuntu,
  cantarell,
  "Open Sans",
  "Helvetica Neue",
  sans-serif;
  --font-text: normal 400 16px/24px var(--ff-primary);
  --font-link: normal 400 16px/24px var(--ff-primary);
  --font-H1: normal 700 28px/36px var(--ff-primary);
  --font-H2: normal 700 24px/32px var(--ff-primary);
  --font-H3: normal 700 20px/26px var(--ff-primary);
  --font-H4: normal 700 20px/24px var(--ff-primary);
  --font-system-text: normal 400 14px/16px var(--ff-primary);
  --font-system-bold-text: normal 700 14px/20px var(--ff-primary);
  --font-button: normal 500 16px/18px var(--ff-primary);
  --font-menu-item: normal 700 14px/20px var(--ff-primary);
  --R: 8px;
  --R-button: 4px;
  --transition: all 0.2s ease-in-out;
/*  Font colors  */
--color-text: #000000;                 /* Чёрный текст */
--color-heading: #000000;              /* Чёрные заголовки */
--color-icon: #c0392b;                 /* Красные иконки */
--color-primary: #c0392b;              /* Основной акцент */
--color-link: #c0392b;                 /* Красные ссылки */

/* Bg colors */
--bg-body: #ffffff;                    /* Белый фон */
--bg-block: #f5f5f5;                   /* Светло-серый фон блоков */

/* mobile-button */
--bg-mobile-aside: #000000;
--color-mobile-aside-text: #ffffff;

/* Buttons */
--color-main-button: #ffffff;
--bg-main-button: #c0392b;             /* Красные кнопки */
--color-second-button: #c0392b;
--bg-second-button: #ffffff;           /* Белые кнопки */

/* table */
--bg-table: #ffffff;
--border-color-table: #e0e0e0;
--bg-table-th: #c0392b;                /* Красные заголовки */
--color-table-th: #ffffff;
--color-table-td: #000000;

/* header */
--bg-header: #ffffff;                  /* Белый хедер */
--color-header-navigation-link: #000000;
--color-header-navigation-link-hover: #c0392b;

/* footer */
--bg-footer: #ffffff;                  /* Белый футер */
--color-footer-navigation-link: #000000;
--color-footer-navigation-link-hover: #c0392b;
--color-footer-text: #333333;

/* breadcrumbs */
--bg-breadcrumbs: #ffffff;
--color-breadcrumbs-link: #c0392b;
--color-breadcrumbs-link-current: #000000;

/* toc */
--bg-toc: #c0392b;                     /* Красный фон */
--color-toc-title: #ffffff;
--color-toc-item: #ffffff;
--color-toc-item-hover: #ffcc00;       /* Жёлтый при наведении */

/* scroll-to-top */
--bg-scroll-to-top: #c0392b;
--color-arrow-scroll-to-top: #ffffff;

/* scrollbar */
--color-body-thumb: #c0392b;
--color-body-track: #f5f5f5;

/* bonus */
--color-bonus-bg: #ffeeee;
--color-bonus-accent: #c0392b;

/* lang-switch */
--color-bg-lang-switch: #c0392b;

/* divider */
--divider: #e0e0e0;
  --icon-list-marker: url("data:image/svg+xml,<svg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M9.322 5.576 2.765 1.478A.5.5 0 0 0 2 1.902v1.502a.5.5 0 0 0 .036.185l.89 2.225a.5.5 0 0 1 0 .372l-.89 2.225A.5.5 0 0 0 2 8.596v1.502a.5.5 0 0 0 .765.424l6.557-4.098a.5.5 0 0 0 0-.848Z' fill='%23FD8E20'/></svg>");
  --icon-header-arrow: url("data:image/svg+xml,<svg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect width='24' height='24' rx='5' fill='%23fff' fill-opacity='.05'/><path d='m8 10 4 6 4-6h-3l-1 1.5-1-1.5H8Z' fill='%23FD8E20'/></svg>");
  --icon-toc-arrow: url("data:image/svg+xml,<svg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'><rect width='24' height='24' rx='5' fill='%23fff' fill-opacity='.05'/><path d='m8 10 4 6 4-6h-3l-1 1.5-1-1.5H8Z' fill='%23FD8E20'/></svg>");
  --icon-toc-item: url("data:image/svg+xml,<svg width='25' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M12.5 6v10' stroke='%23FD8E20' stroke-width='2'/><path d='m12.5 18-4-6H11l1.5 2.5L14 12h2.5l-4 6Z' fill='%23FD8E20'/><path d='M20.5 4v16' stroke='%23FD8E20'/></svg>");
  --icon-faq-item: url("data:image/svg+xml,<svg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M21.657 10.343 10.343 21.657M10.343 10.343l11.314 11.314' stroke='%23FD8E20' stroke-width='2'/></svg>");
  --icon-breadcrumbs-separator: url("data:image/svg+xml,<svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M5 12L11 8L5 4L5 7L6.5 8L5 9L5 12Z' fill='%23FD8E20'/></svg>");
  /* z-index */
  --z-header: 10;
  --z-menu: 100;
  --z-languages-switcher: 110;
  --z-mobile-button: 80;
  --z-scroll-top-top: 70;
  --z-content: 5;
  --z-popup: 90;
}

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

[data-sf-a] {
  cursor: pointer;
}

html {
  font-size: 17px;
}

.page,
.post,
.category,
.error404,
.single {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  height: 100vh;
  font: var(--font-text);
  color: var(--color-text);
  background-color: var(--bg-body);
}

.page-main,
.post-main,
.page-404 {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

h1 {
  font: var(--font-H1);
  color: var(--color-heading);
}

h2 {
  font: var(--font-H2);
  color: var(--color-heading);
}

h3 {
  font: var(--font-H3);
  color: var(--color-heading);
}

h4, h5, h6 {
  font: var(--font-H4);
  color: var(--color-heading);
}

a:not([class]) {
  font: var(--font-link);
  color: var(--color-link);
  transition: var(--transition);
}

@media (hover: hover) {
  a:hover {
    text-decoration: none;
  }
}
img {
  vertical-align: middle;
  shape-margin: 1rem;
  width: 100%;
  height: auto;
  max-width: 100%;
  font-style: italic;
  background-size: cover;
  background-repeat: no-repeat;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(100%);
  overflow: hidden;
  margin: -1px;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  clip: rect(0 0 0 0);
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--offsets);
  background-image: url("../images/404.png");
  background-position: -100px;
}

.last-modified-date {
  display: inline-block;
  margin: 1rem auto;
  border-radius: 5px;
  padding: 10px 30px;
  width: 100%;
  font-weight: 700;
  text-align: center;
  background: var(--clr-bg-block);
}

.theme53-container {
  margin: 0 auto;
  padding: 0 var(--offsets);
  max-width: calc(var(--width-container) + 2 * var(--offsets));
}

* + .mt {
  margin-top: 20px;
}

._scroll-lock {
  overflow: hidden;
}

._scroll-lock.admin-bar {
  margin-top: -32px;
}

@media (width <= 767px) {
  ._scroll-lock.admin-bar {
    margin-top: -46px;
  }
}
@keyframes animation-engine {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.theme53-content-image {
  display: block;
  border-radius: var(--R);
}

@supports not selector(::-webkit-scrollbar) {
  ._has-scroll {
    overflow: auto;
    scrollbar-color: rgba(255, 255, 255, 0.0980392157) transparent;
    scrollbar-width: thin;
  }
}
._has-scroll::-webkit-scrollbar {
  width: 4px;
}

._has-scroll::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.0980392157);
}

._has-scroll::-webkit-scrollbar-track {
  border-radius: 9px;
  background: 0 0;
}

.theme53-breadcrumbs {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 4px 0;
  background: var(--bg-breadcrumbs);
}

.theme53-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: calc(var(--width-container) + 2 * var(--offsets));
  gap: 8px;
}

.theme53-breadcrumbs__link {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font: var(--font-system-text);
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-breadcrumbs-link);
  gap: 8px;
}

.theme53-breadcrumbs__link--no-active {
  color: var(--color-breadcrumbs-link-current);
}

.theme53-breadcrumbs__separator {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.theme53-breadcrumbs__separator::after {
  content: var(--icon-breadcrumbs-separator);
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
}

@media (hover: hover) {
  a.theme53-breadcrumbs__link:hover {
    color: var(--color-breadcrumbs-link-current);
  }
}
._button {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border: none;
  border-radius: var(--R-button);
  padding: 16px 32px;
  font: var(--font-button);
  text-align: center;
  text-decoration: none;
  transform-origin: center;
  transition: var(--transition);
  will-change: transform;
  gap: 8px;
}

._button:has(svg) {
  padding-block: 8px;
}

._button svg {
  flex-shrink: 0;
  fill: currentcolor;
}

._button--main {
  color: var(--color-main-button);
  background: var(--bg-main-button);
}

._button--second {
  color: var(--color-second-button);
  background: var(--bg-second-button);
}

._button:active {
  scale: 0.98;
}

@media (hover: hover) {
  ._button:hover {
    cursor: pointer;
    scale: 0.98;
  }
}
._button[disabled],
._button.disabled {
  filter: grayscale(1) brightness(1.5);
  pointer-events: none;
}

.theme53-content-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.theme53-content-buttons.align-center {
  justify-content: center;
}

.theme53-content-buttons__button {
  width: 100%;
  max-width: 240px;
}

.theme53-external-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.theme53-external-links__link {
  display: flex;
  justify-content: center;
}

.theme53-external-links__image {
  width: auto;
  max-height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

@media (hover: hover) {
  .theme53-external-links__link:hover .theme53-external-links__image {
    scale: 1.1;
  }
}
.theme53-payments-gallery {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.theme53-payments-gallery__image {
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.theme53-scroll-to-top {
  position: fixed;
  right: var(--offsets);
  bottom: 78px;
  z-index: var(--z-scroll-top-top);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.theme53-scroll-to-top._show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.theme53-scroll-to-top__button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border: none;
  border-radius: calc(var(--R) / 2);
  padding: 0 0 6px;
  width: 40px;
  height: 40px;
  font-size: 36px;
  line-height: 36px;
  color: var(--color-arrow-scroll-to-top);
  background-color: var(--bg-scroll-to-top);
  transition: var(--transition);
  cursor: pointer;
}

@media (hover: hover) {
  .theme53-scroll-to-top__button:hover {
    translate: 0 -5px;
  }
}
.theme53-social {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.theme53-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme53-social__link img,
.theme53-social__link svg {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

@media (hover: hover) {
  .theme53-social__link:hover img,
  .theme53-social__link:hover svg {
    transform: scale(1.2);
  }
}
.theme53-languages-switcher {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 16px;
  border-radius: var(--R);
  width: 100%;
  color: var(--color-heading);
  background-color: var(--color-bg-lang-switch);
}

.theme53-languages-switcher > svg {
  position: absolute;
  right: 8px;
  top: 8px;
  transition: var(--transition);
  pointer-events: none;
}

.theme53-languages-switcher__list-wrapper {
  display: none;
}

.theme53-languages-switcher__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.theme53-languages-switcher__item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px;
  width: 100%;
  height: 40px;
  font: var(--font-system-bold-text);
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
  gap: 4px;
}

@media (hover: hover) {
  .theme53-languages-switcher__item:hover {
    background: rgba(255, 255, 255, 0.1019607843);
  }
}
.theme53-languages-switcher__lang {
  display: flex;
  align-items: center;
  gap: 5px;
}

.theme53-languages-switcher__lang img {
  width: 20px;
  height: 20px;
}

.theme53-languages-switcher__lang::after {
  content: "";
  position: absolute;
  inset: 0;
}

.theme53-languages-switcher._show .theme53-languages-switcher__list-wrapper {
  display: block;
}

.theme53-languages-switcher._show > svg {
  rotate: 180deg;
}

.theme53-mobile-button {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile-button);
  display: flex;
  align-items: center;
  padding: 12px var(--offsets);
  background-color: var(--bg-body);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  gap: 8px;
}

.theme53-mobile-button__image {
  max-width: 70px;
  max-height: 40px;
}

.theme53-mobile-button__text {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}

.theme53-mobile-button._show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.theme53-mobile-button__link {
  flex-grow: 1;
  align-self: stretch;
  padding: 8px 12px;
}

@media (width >= 767px) {
  .theme53-mobile-button {
    display: none;
  }
}
.wp-block-heading:not(.has-text-color) {
  color: var(--color-heading);
}

.wp-block-heading span {
  color: var(--primary-accent);
}

* + .wp-block-table {
  margin-top: 1rem;
}

.wp-block-table {
  overflow: auto;
}

.wp-block-table table {
  overflow: hidden;
  outline: 1px solid var(--border-color-table);
  border: none;
  border-collapse: collapse;
  border-radius: var(--R);
  width: 100%;
  background: var(--bg-table);
}

.wp-block-table thead {
  border: none;
}

.wp-block-table td, .wp-block-table th {
  border: 1px solid var(--border-color-table);
  padding: 12px;
}

.wp-block-table th {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--color-table-th);
  background-color: var(--bg-table-th);
}

.wp-block-table td {
  color: var(--color-table-td);
}

.wp-block-image img {
  border-radius: var(--R-image);
}

ol.wp-block-list,
ul.wp-block-list {
  counter-reset: myCounter;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  gap: 8px;
}

* + ol.wp-block-list,
* + ul.wp-block-list {
  margin-top: 1rem;
}

ol.wp-block-list li::before {
  counter-increment: myCounter;
  content: counter(myCounter) ".";
  display: inline-block;
  padding: 0 4px 0 0;
  width: auto;
  height: auto;
  font-family: var(--ff-secondary);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--color-icon);
}

ul.wp-block-list li::before {
  content: var(--icon-list-marker);
  display: inline-block;
  padding: 0 0.5rem 0 0;
  width: auto;
  height: auto;
  text-align: center;
}

* + .wp-block-image {
  margin-top: 1rem;
}

.wp-block-image img {
  border-radius: var(--R);
}

.theme53-wrapper > * {
  margin-right: auto;
  margin-left: auto;
  max-width: var(--width-container);
}

.theme53-wrapper > *:first-child {
  margin-top: 0;
}

.theme53-wrapper {
  padding-top: 20px;
  padding-bottom: 20px;
}

main > .theme53-wrapper:not(:last-child) {
  border-bottom: 1px solid var(--divider);
}

@media (width <= 1120px) {
  .theme53-wrapper > * {
    margin-right: var(--offsets);
    margin-left: var(--offsets);
    max-width: calc(100% - var(--offsets) * 2);
  }
}
.theme53-page-header {
  position: sticky;
  z-index: var(--z-header);
  padding: 16px 0;
  background: var(--bg-header);
}

.theme53-page-header__container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.theme53-page-header__wrapper {
  position: absolute;
  left: 0;
  top: calc(var(--height) - 16px);
  display: none;
  overflow: hidden;
  padding: 20px 8px;
  width: 328px;
  height: calc(100svh - var(--height));
  background: var(--bg-header);
}

.theme53-page-header__wrapper._active {
  display: block;
}

.theme53-page-header__wrapper::before {
  content: "";
  position: fixed;
  inset: var(--height) 0 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.768627451);
}

.theme53-header__logo-image {
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.theme53-page-header__burger {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  order: -10;
  margin-left: -6px;
  border: none;
  width: 36px;
  height: 36px;
  background: none;
  gap: 4px;
}

.theme53-page-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-header-navigation-link);
  pointer-events: none;
}

.theme53-page-header__buttons {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 4px;
}

.theme53-page-header__button {
  padding: 8px 16px;
}

@media (width <= 1023px) {
  .theme53-page-header__burger {
    margin-left: -12px;
  }
}
.theme53-main-nav {
  position: relative;
  overflow: hidden auto;
  height: calc(100% - 44px);
  background: var(--bg-header);
}

.theme53-page-header__languages-switcher._show + .theme53-main-nav {
  height: calc(100% - 44px);
}

.theme53-main-nav__list {
  display: flex;
  flex-direction: column;
  background: var(--bg-header);
  gap: 8px;
}

@supports not selector(::-webkit-scrollbar) {
  .theme53-main-nav {
    scrollbar-color: rgba(208, 216, 232, 0.31) transparent;
    scrollbar-width: thin;
  }
}
.theme53-main-nav::-webkit-scrollbar {
  width: 4px;
  scrollbar-color: rgba(208, 216, 232, 0.31) transparent;
  scrollbar-width: thin;
}

.theme53-main-nav::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 9px;
  background: rgba(208, 216, 232, 0.31);
}

.theme53-main-nav::-webkit-scrollbar-track {
  border-radius: 9px;
  background: 0 0;
}

.theme53-main-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}

.theme53-main-nav__item--has-children {
  flex-wrap: wrap;
}

.theme53-main-nav__item--has-children > .theme53-main-nav__link {
  width: fit-content;
}

.theme53-main-nav__link {
  display: inline-block;
  padding: 10px 0 10px 8px;
  width: 100%;
  font: var(--font-system-bold-text);
  text-decoration: none;
  color: var(--color-header-navigation-link);
  transition: var(--transition);
}

.theme53-main-nav__link--current {
  color: var(--color-header-navigation-link-hover);
}

.sub-menu-arrow {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px 0 0;
  height: 40px;
}

.theme53-main-nav__item--has-children._active .theme53-sub-menu {
  display: flex;
}

.theme53-main-nav__item--has-children._active .sub-menu-arrow svg {
  rotate: 180deg;
}

.sub-menu-arrow svg {
  transition: var(--transition);
  pointer-events: none;
}

.theme53-sub-menu {
  display: none;
  flex-direction: column;
  padding: 8px;
  width: 100%;
  gap: 4px;
}

.theme53-sub-menu__link {
  font-weight: 500;
  color: var(--color-text);
}

.sub-menu__link--current {
  color: var(--color-header-navigation-link-hover);
}

@media (hover: hover) {
  a.theme53-main-nav__link:hover {
    color: var(--color-header-navigation-link-hover);
  }
}
.theme53-page-footer {
  padding: 20px 0;
  background: var(--bg-footer);
}

.theme53-page-footer--enable-mobile-button {
  padding-bottom: 80px;
}

.theme53-page-footer__container {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
}

.theme53-page-footer__left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.theme53-page-footer__left::before {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--divider);
}

.theme53-page-footer__logo {
  display: block;
  margin: 0 auto 0 0;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.theme53-page-footer__dmca {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmca-badge__image {
  width: auto;
}

.theme53-page-footer__right {
  position: relative;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
}

.theme53-page-footer__footer-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.theme53-page-footer__footer-buttons button {
  flex-grow: 1;
  max-width: 220px;
  padding-inline: 12px;
}

.theme53-page-footer__footer-buttons button:nth-child(2) {
  color: var(--color-second-button);
  background: var(--bg-second-button);
}

.theme53-page-footer__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.theme53-page-footer__info::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--divider);
}

.theme53-page-footer__information_text {
  margin: 0;
}

.theme53-page-footer__copyright {
  position: relative;
  grid-column: 1/-1;
  margin: 0;
  text-align: center;
  color: var(--color-footer-text);
}

.theme53-page-footer__copyright::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 1px;
  background: var(--divider);
}

@media (width <= 1023px) {
  .theme53-page-footer__container {
    grid-template-columns: 120px 1fr;
  }
  .theme53-page-footer__right {
    display: contents;
  }
  .theme53-page-footer__info {
    grid-column: 1/-1;
  }
  .theme53-page-footer__info::before {
    content: "";
    position: absolute;
    inset: -20px 0 auto;
    width: 100%;
    height: 1px;
    background: var(--divider);
  }
}
@media (width <= 767px) {
  .theme53-page-footer__container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .theme53-page-footer__left {
    flex-direction: row;
    order: -10;
    gap: 10px;
  }
  .theme53-page-footer__payments-gallery,
  .theme53-page-footer__social,
  .theme53-page-footer__external-links {
    justify-content: center;
  }
  .theme53-page-footer__right,
  .theme53-page-footer__info {
    display: contents;
  }
  .theme53-page-footer__footer-buttons {
    justify-content: center;
    order: -6;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    padding-block: 20px;
  }
  .theme53-page-footer__footer-buttons button {
    max-width: 100%;
  }
  .theme53-page-footer__information_text {
    order: -8;
  }
  .theme53-page-footer__copyright::before {
    display: none;
  }
}
.theme53-footer-nav {
  position: relative;
}

.theme53-footer-nav__list {
  column-count: 2;
  column-fill: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 200px;
  max-width: 400px;
}

.theme53-footer-nav__item {
  margin-left: 8px;
}

.theme53-footer-nav__list:has(> *:nth-child(11)) {
  height: 260px;
}

.theme53-footer-nav__link {
  display: inline-block;
  padding: 8px 0;
  width: 100%;
  text-decoration: none;
  color: var(--color-header-navigation-link);
  transition: var(--transition);
}

.theme53-footer-nav__link--current {
  color: var(--color-footer-navigation-link-hover);
}

@media (hover: hover) {
  a.theme53-footer-nav__link:hover {
    color: var(--color-footer-navigation-link-hover);
  }
}
@media (width <= 767px) {
  .theme53-footer-nav__list {
    display: flex;
    flex-direction: column;
    margin-top: -8px;
    height: auto;
    max-width: 100%;
  }
  .theme53-footer-nav__item {
    margin: 0;
  }
}
.theme53-toc {
  border-radius: var(--R);
  background: var(--bg-toc);
}

.theme53-toc__title {
  position: relative;
  display: flex;
  align-self: center;
  justify-content: space-between;
  margin: 0;
  padding: 20px;
  font: var(--font-system-bold-text);
  color: var(--color-toc-title);
  user-select: none;
  gap: 1rem;
}

.theme53-toc__title::after {
  content: var(--icon-toc-arrow);
  position: absolute;
  right: 20px;
  top: 50%;
  display: block;
  width: 24px;
  height: 24px;
  transition: var(--transition);
  translate: 0 -50%;
}

.theme53-toc._active .theme53-toc__title::after {
  rotate: 180deg;
}

.theme53-toc ol,
.theme53-toc ul {
  position: relative;
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0 20px 20px;
  gap: 8px;
}

.theme53-toc._active ol,
.theme53-toc._active ul {
  display: grid;
}

.theme53-toc--auto ol,
.theme53-toc--auto ul {
  counter-reset: myCounter;
  grid-template-columns: 1fr;
}

.theme53-toc li {
  margin: 0;
  border: 1px solid var(--divider);
  border-radius: calc(var(--R) / 2);
  color: var(--color-toc-item);
}

.theme53-toc a {
  position: relative;
  display: block;
  padding: 8px 36px 8px 24px;
  width: 100%;
  font-style: normal;
  text-decoration: none;
  color: var(--color-toc-item);
}

.theme53-toc a::after {
  content: var(--icon-toc-item);
  position: absolute;
  right: 8px;
  top: 50%;
  display: flex;
  width: 24px;
  height: 24px;
  translate: 0 -50%;
}

.theme53-toc a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  display: block;
  border-radius: 2px;
  width: 4px;
  height: 4px;
  background: var(--color-icon);
  translate: 0 -50%;
}

.theme53-toc--auto a::before {
  counter-increment: myCounter;
  content: counter(myCounter) ".";
  width: auto;
  height: auto;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--color-icon);
  background: transparent;
}

.theme53-toc--auto a {
  padding-left: 32px;
}

@media (hover: hover) {
  .theme53-toc a:hover {
    color: var(--color-toc-item-hover);
  }
}
.theme53-bonus {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--R);
  padding: 20px;
  gap: 4px;
}

.theme53-bonus__background-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.theme53-bonus__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--color-heading);
}

.theme53-bonus__bonus-text {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: var(--color-primary);
}

.theme53-bonus__button {
  margin-top: 16px;
}

.theme53-bonus__description {
  margin: 0;
  font: var(--font-system-text);
  text-align: center;
}

@media (width <= 575px) {
  .theme53-bonus__button {
    width: 100%;
  }
}
.theme53-text-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.theme53-text-image__content {
  overflow: hidden;
}
.theme53-text-image__content > *:first-child {
  margin-top: 0;
}
.theme53-text-image__content > *:last-child {
  margin-bottom: 0;
}

.theme53-text-image.reversed .theme53-text-image__content {
  order: 2;
}

.theme53-text-image__image {
  border-radius: var(--R);
  width: 100%;
  height: fit-content;
  object-fit: contain;
}

@media (width <= 1023px) {
  .theme53-text-image:has(.theme53-bonus) .theme53-text-image__content {
    display: contents;
  }
  .theme53-text-image:has(.theme53-bonus) .theme53-text-image__content > * {
    margin-top: 0;
    margin-bottom: 0;
  }
  .theme53-text-image:has(.theme53-bonus) .wp-block-heading {
    order: -4;
  }
  .theme53-text-image:has(.theme53-bonus) .theme53-bonus {
    order: -3;
  }
  .theme53-text-image {
    grid-template-columns: 1fr;
  }
  .theme53-text-image.reversed .theme53-text-image__content {
    order: 0;
  }
}
.theme53-faq {
  border-bottom: 1px solid var(--divider);
  padding-top: 12px;
  padding-bottom: 12px;
}

.theme53-faq._active .theme53-faq__answer {
  display: none;
}

.theme53-faq._active .theme53-faq__title::after {
  rotate: 225deg;
}

.theme53-faq__title {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  width: calc(100% - 36px);
  cursor: pointer;
  gap: 4px;
}

.theme53-faq__title::after {
  content: var(--icon-faq-item);
  position: absolute;
  right: -32px;
  top: 50%;
  display: block;
  width: 32px;
  height: 32px;
  transition: var(--transition);
  translate: 0 -50%;
}

.theme53-faq__title::before {
  content: "";
  position: absolute;
  right: -32px;
  top: 50%;
  display: block;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  background: var(--divider);
  translate: 0 -50%;
}

.theme53-faq__answer {
  margin-top: 10px;
}

.theme53-faq__answer > *:first-child {
  margin-top: 0;
}

.theme53-faq__answer > *:last-child {
  margin-bottom: 0;
}

.theme53-screenshot-gallery {
  overflow: auto;
}

.theme53-screenshot-gallery__list {
  display: flex;
  gap: 10px;
}

@media (width <= 1023px) {
  .theme53-screenshot-gallery__list {
    min-width: 900px;
  }
}
.theme53-how-to__item:has(img) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.theme53-how-to__item:not(:last-child) {
  margin-bottom: 1rem;
}

.theme53-how-to__content {
  margin: auto 0;
}

.theme53-how-to__content > *:last-child {
  margin-bottom: 0;
}

.theme53-how-to__counter {
  font: var(--font-H3);
  color: var(--color-link);
}

.theme53-how-to__image {
  border-radius: var(--R);
}

@media (width <= 1023px) {
  .theme53-how-to__item:has(img) {
    grid-template-columns: 1fr;
  }
}
.theme53-plus-minus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.theme53-plus-minus__element {
  overflow: hidden;
  border-radius: var(--R);
}

.theme53-plus-minus__element--plus {
  background: rgba(0, 255, 0, 0.1019607843);
}

.theme53-plus-minus__element--minus {
  background: rgba(255, 0, 0, 0.2);
}

.theme53-plus-minus__element--plus .theme53-plus-minus__title {
  background: #008000;
}

.theme53-plus-minus__element--minus .theme53-plus-minus__title {
  background: #b80303;
}

.theme53-plus-minus__title {
  margin: 0;
  padding: 10px 20px;
  font: var(--font-H3);
  color: #fff;
}

#ff0000 .theme53-plus-minus__list {
  padding: 10px 20px;
}

/* category */
.theme53-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  border-radius: var(--R);
  padding: 24px;
  width: 100%;
  background: var(--bg-toc);
  gap: 1rem;
}

.theme53-categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--R);
  transition: var(--transition);
  gap: 8px;
}

.theme53-categories__item > * {
  pointer-events: none;
}

.theme53-categories__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 16px;
  width: 96px;
  height: 96px;
  background: var(--bg-body);
}

.theme53-categories__text {
  text-align: center;
  color: var(--color-heading);
}

@media (hover: hover) {
  .theme53-categories__item[data-sf-a]:hover {
    background: var(--bg-body);
  }
}
@media (width <= 767px) {
  .theme53-categories {
    padding: 16px;
  }
}
/* category */