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-H1: italic 900 28px/32px var(--ff-primary);
    --font-H2: italic 900 24px/32px var(--ff-primary);
    --font-H3: italic 900 18px/20px var(--ff-primary);
    --font-H4: italic 700 16px/20px var(--ff-primary);
    --font-system-text: normal 400 14px/20px var(--ff-primary);
    --font-system-bold-text: normal 700 14px/20px var(--ff-primary);
    --font-button: italic 700 15px/20px var(--ff-primary);
    --font-menu-item: normal 700 14px/20px var(--ff-primary);
    --R: 10px;
    --R-button: 5px;
    --transition: all 0.2s ease-in-out;
    /*  Font colors  */
    --color-text: #535353;
    --color-heading: #46413F;
    --color-icon: #2577F1;
    --color-primary: #2577F1;
    --color-link: #2577F1;
    /* Bg colors */
    --bg-body: #F6F6F6;
    --bg-block: #fff;
    /* mobile-button */
    --bg-mobile-aside: #fff;
    /* Buttons */
    --color-main-button: #fff;
    --bg-main-button: #2577F1;
    --color-second-button: #fff;
    --bg-second-button: #446999;
    /* table */
    --bg-table: #0000000d;
    --border-color-table: transparent;
    --bg-table-th: #2577F1;
    --color-table-th: #fff;
    --color-table-td: #535353;
    /* header */
    --bg-header: #F6F6F6;
    --color-header-navigation-link: #46413F;
    --color-header-navigation-link-hover: #2577F1;
    /* footer */
    --bg-footer: #fff;
    --color-footer-navigation-link: #446999;
    --color-footer-navigation-link-hover: #2577F1;
    --color-footer-text: #535353;
    /* breadcrumbs */
    --bg-breadcrumbs: #F6F6F6;
    --color-breadcrumbs-link: #446999;
    --color-breadcrumbs-link-current: #535353;
    /* toc */
    --bg-toc: #fff;
    --color-toc-title: #46413F;
    --color-toc-item: #446999;
    --color-toc-item-hover: #2577F1;
    /* scroll-to-top */
    --bg-scroll-to-top: #2577F1;
    --color-arrow-scroll-to-top: #fff;
    /* scroll-to-top */
    --color-body-thumb: #2577F1;
    --color-body-track: #F6F6F6;
    --color-mobile-aside-bg: #fff;
    --color-bonus-bg: #2b0135;
    --color-bonus-accent: #c302ff;
    --color-bg-lang-switch: #0000000d;
    --divider: #0000001a;
    --icon-list-marker: url("data:image/svg+xml,<svg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM5.579 8a2.421 2.421 0 1 0 4.842 0A2.421 2.421 0 0 0 5.58 8Z' fill='%232577F1'/></svg>");
    --icon-header-arrow: url("data:image/svg+xml,<svg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10.354 12.646 3.792-3.792A.5.5 0 0 0 13.793 8H6.207a.5.5 0 0 0-.353.854l3.792 3.792a.5.5 0 0 0 .708 0Z' fill='%23446999'/></svg>");
    --icon-toc-arrow: url("data:image/svg+xml,<svg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10.354 12.646 3.792-3.792A.5.5 0 0 0 13.793 8H6.207a.5.5 0 0 0-.353.854l3.792 3.792a.5.5 0 0 0 .708 0Z' fill='%23446999'/></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='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10.354 12.646 3.792-3.792A.5.5 0 0 0 13.793 8H6.207a.5.5 0 0 0-.353.854l3.792 3.792a.5.5 0 0 0 .708 0Z' fill='%23446999'/></svg>");
    --icon-wrapper: url("data:image/svg+xml,<svg width='48' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill='%23F6F6F6' d='M0 0h16v16H0z'/><path d='M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM5.579 8a2.421 2.421 0 1 0 4.842 0A2.421 2.421 0 0 0 5.58 8Z' fill='%23446999'/><path fill='%23F6F6F6' d='M16 0h16v16H16z'/><path d='M28 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-6.421 0a2.421 2.421 0 1 0 4.842 0 2.421 2.421 0 0 0-4.842 0Z' fill='%23446999'/><path fill='%23F6F6F6' d='M32 0h16v16H32z'/><path d='M44 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-6.421 0a2.421 2.421 0 1 0 4.842 0 2.421 2.421 0 0 0-4.842 0Z' fill='%23446999'/></svg>");
    --icon-breadcrumbs: url("data:image/svg+xml,<svg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M12.646 9.646 8.854 5.854A.5.5 0 0 0 8 6.207v7.586a.5.5 0 0 0 .854.353l3.792-3.792a.5.5 0 0 0 0-.708Z' fill='%23446999'/></svg>");
    --icon-languages-switcher: url("data:image/svg+xml,<svg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='m10.354 12.646 3.792-3.792A.5.5 0 0 0 13.793 8H6.207a.5.5 0 0 0-.353.854l3.792 3.792a.5.5 0 0 0 .708 0Z' fill='%23446999'/></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,
.page-single {
    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);
}

.theme52-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;
}

@keyframes animation-engine {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.theme52-content-image {
    display: block;
    border-radius: var(--R);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar:horizontal {
    height: 4px;
}

::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background-color: var(--color-link);
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

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

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

.theme52-breadcrumbs__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.theme52-breadcrumbs__item:not(:last-child)::after {
    content: var(--icon-breadcrumbs);
    display: inherit;
    width: 20px;
    height: 20px;
}

.theme52-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;
}

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

@media (hover: hover) {
    a.theme52-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: 12px;
    font: var(--font-button);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform-origin: center;
    transition: var(--transition);
    will-change: transform;
    gap: 8px;
}

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

._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;
}

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

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

.theme52-content-buttons__button {
    width: 100%;
    max-width: 220px;
}

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

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

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

@media (hover: hover) {
    .theme52-external-links__link:hover .theme52-external-links__image {
        scale: 1.1;
    }
}

.theme52-payments-gallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

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

.theme52-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;
}

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

.theme52-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) {
    .theme52-scroll-to-top__button:hover {
        translate: 0 -5px;
    }
}

.theme52-social {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

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

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

@media (hover: hover) {
    .theme52-social__link:hover img,
    .theme52-social__link:hover svg {
        transform: scale(1.2);
    }
}

.theme52-languages-switcher {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column-reverse;
    order: 6;
    border-radius: var(--R);
    width: fit-content;
    color: var(--color-heading);
    background-color: var(--color-bg-lang-switch);
}

.theme52-languages-switcher::after {
    content: var(--icon-languages-switcher);
    position: absolute;
    right: 12px;
    top: 8px;
    width: 20px;
    height: 20px;
    transition: var(--transition);
    pointer-events: none;
}

.theme52-languages-switcher__list-wrapper {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    overflow: hidden auto;
    border-radius: calc(var(--R) / 2);
    width: 205px;
    max-height: 300px;
    background: var(--bg-block);
}

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

.theme52-languages-switcher__item {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    width: 100%;
    font: var(--font-system-bold-text);
    white-space: nowrap;
    gap: 8px;
}

.theme52-languages-switcher__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -4px;
    height: 1px;
    background: var(--divider);
}

.theme52-languages-switcher__item[data-lg-switcher-action] {
    position: sticky;
    padding-right: 36px;
}

.theme52-languages-switcher__lang {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    gap: 8px;
    padding-block: 8px;
}

.theme52-languages-switcher__lang img {
    width: 24px;
    height: 24px;
}

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

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

.theme52-languages-switcher._show::after {
    rotate: 180deg;
}

@media (hover: hover) {
    .theme52-languages-switcher__item:hover {
        color: var(--color-primary);
    }
}

@media (width <= 1280px) {
    .theme52-languages-switcher {
        order: 0;
    }

    .theme52-languages-switcher__list-wrapper {
        left: 0;
        width: 100%;
        max-width: 100%;
    }
}

.theme52-mobile-button {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-mobile-button);
    padding: 4px calc(var(--offsets) / 2);
    background-color: var(--bg-body);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.theme52-mobile-button__link {
    width: 100%;
}

@media (width >= 767px) {
    .theme52-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;
    border: none;
    border-collapse: separate;
    border-radius: var(--R);
    border-spacing: 2px;
    width: 100%;
}

.wp-block-table table:has(tr td:nth-child(3)) {
    min-width: 600px;
}

.wp-block-table table:has(tr td:nth-child(4)) {
    min-width: 800px;
}

.wp-block-table table:has(tr td:nth-child(5)) {
    min-width: 800px;
}

.wp-block-table table:has(tr td:nth-child(6)) {
    min-width: 1000px;
}

.wp-block-table table:has(tr td:nth-child(7)) {
    min-width: 1200px;
}

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

.wp-block-table td,
.wp-block-table th {
    border: 1px solid var(--border-color-table);
    border-radius: calc(var(--R) / 2);
    padding: 8px;
    background: var(--bg-table);
}

.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-table td:has(img) {
    min-width: 160px;
    white-space: nowrap;
}

.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);
}

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

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

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

.theme52-wrapper {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
}

.theme52-wrapper::before {
    content: var(--icon-wrapper);
    position: absolute;
    left: 50%;
    bottom: -9px;
    z-index: var(--z-content);
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 16px;
    translate: -50% 0;
}

.theme52-wrapper::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: calc(var(--z-content) - 1);
    display: none;
    width: 100%;
    height: 2px;
    max-width: var(--width-container);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    translate: -50% 0;
}

main > .theme52-wrapper:not(:last-of-type)::before,
main > .theme52-wrapper:not(:last-of-type)::after {
    display: flex;
}

.theme52-wrapper:has(.theme52-toc) {
    padding-block: 20px;
}

@media (width <= 1120px) {
    .theme52-wrapper > * {
        margin-right: var(--offsets);
        margin-left: var(--offsets);
        max-width: calc(100% - var(--offsets) * 2);
    }

    .theme52-wrapper > .theme52-wrapper {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
    }

    .theme52-wrapper > .theme52-wrapper + .theme52-wrapper {
        padding-top: 0;
    }
}

.theme52-page-header {
    position: sticky;
    z-index: var(--z-header);
    padding: 12px 0;
    background: var(--bg-header);
}

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

.theme52-page-header__wrapper {
    display: contents;
}

.theme52-page-header__logo img {
    width: auto;
    max-height: 44px;
    object-fit: contain;
}

.theme52-page-header__burger {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 4;
    border: none;
    width: 40px;
    height: 40px;
    background: none;
    gap: 4px;
}

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

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

.theme52-page-header__button {
    padding: 6px 12px;
}

@media (width <= 1280px) {
    .theme52-page-header__burger {
        display: flex;
    }

    .theme52-page-header__wrapper {
        position: fixed;
        inset: var(--height) 0 0 0;
        z-index: var(--z-menu);
        display: none;
        flex-direction: column;
        width: 100dvw;
        height: calc(100dvh - var(--height));
        background: var(--bg-header);
        gap: 12px;
    }

    .theme52-page-header__wrapper > * {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        max-width: var(--width-container);
    }

    .theme52-page-header__wrapper._active {
        display: flex;
    }
}

@media (width <= 1120px) {
    .theme52-page-header__wrapper > * {
        margin-right: var(--offsets);
        margin-left: var(--offsets);
        max-width: calc(100% - var(--offsets) * 2);
    }
}

@media (width <= 767px) {
    .theme52-page-header__container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .theme52-page-header__buttons {
        flex-basis: 100%;
        order: 8;
        margin: 0;
    }

    .theme52-page-header__button {
        flex-grow: 1;
        font-size: 14px;
    }
}

.theme52-main-nav__list {
    display: flex;
    gap: 12px;
}

.theme52-main-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme52-main-nav__link {
    display: inline-block;
    padding: 0;
    font: var(--font-system-bold-text);
    text-decoration: none;
    color: var(--color-header-navigation-link);
}

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

.sub-menu-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.sub-menu-arrow::after {
    content: var(--icon-header-arrow);
    inset: 0;
    display: inherit;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

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

.theme52-sub-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 18px);
    display: none;
    flex-direction: column;
    border: 1px solid var(--divider);
    border-radius: calc(var(--R) / 2);
    width: 180px;
    background: var(--bg-block);
    translate: -50% 0;
}

.theme52-sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 20px;
}

.theme52-sub-menu__link {
    padding: 8px 16px;
    width: 100%;
    font: var(--font-system-text);
    color: var(--color-header-navigation-link);
}

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

@media (hover: hover) and (width >= 1280px) {
    a.theme52-main-nav__link:hover {
        color: var(--color-header-navigation-link-hover);
    }

    .theme52-main-nav__item--has-children:hover .theme52-sub-menu {
        display: flex;
    }

    .theme52-main-nav__item--has-children:hover .sub-menu-arrow {
        rotate: 180deg;
    }

    .theme52-main-nav__item--has-children:hover > .theme52-main-nav__link {
        color: var(--color-header-navigation-link-hover);
    }
}

@media (width <= 1280px) {
    .theme52-main-nav {
        overflow: hidden auto;
    }

    .theme52-main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .theme52-main-nav__item {
        width: 100%;
    }

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

    .theme52-main-nav__item--has-children > .theme52-main-nav__link {
        flex-grow: 0.5;
        width: fit-content;
    }

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

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

    .theme52-main-nav__link {
        padding: 16px 0;
        width: 100%;
    }

    .sub-menu-arrow {
        flex-grow: 1;
        justify-content: flex-end;
        height: 52px;
    }

    .theme52-sub-menu {
        position: static;
        flex-basis: 100%;
        border: none;
        border-radius: 0;
        background: none;
        translate: none;
    }

    .theme52-sub-menu__link {
        padding: 8px 16px;
    }
}

.theme52-page-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding-block: 20px;
}

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

.theme52-page-footer__container {
    display: grid;
    grid-template-columns: 100px 1fr;
    border-radius: var(--R);
    padding: 20px;
    background: var(--bg-footer);
    gap: 64px 40px;
}

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

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

.theme52-page-footer__logo {
    display: block;
    margin: 0 auto 0 0;
    width: auto;
    max-width: 100px;
}

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

.dmca-badge__image {
    width: auto;
}

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

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

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

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

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

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

.theme52-page-footer__information_text {
    position: relative;
    grid-column: 1/-1;
    margin: 0;
}

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

.theme52-page-footer__copyright {
    margin: 0;
    max-width: var(--width-container);
    text-align: center;
    color: var(--color-footer-text);
    padding-inline: var(--offsets);
}

@media (width <= 1023px) {
    .theme52-page-footer__container {
        grid-template-columns: 100px 1fr;
        gap: 40px;
    }

    .theme52-page-footer__right {
        display: contents;
    }

    .theme52-page-footer__info {
        grid-column: 1/-1;
    }

    .theme52-page-footer__info::before {
        content: "";
        position: absolute;
        inset: -20px 0 auto;
        width: 100%;
        height: 1px;
        background: var(--divider);
    }


    .theme52-page-footer__information_text::before {
        top: -20px;
    }
}

@media (width <= 767px) {
    .theme52-page-footer__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .theme52-page-footer__left {
        flex-direction: row;
        order: -10;
        gap: 10px;
    }

    .theme52-page-footer__left::before {
        inset: auto 0 -20px;
        width: 100%;
        height: 1px;
    }

    .theme52-page-footer__footer-nav {
        order: -8;
    }

    .theme52-page-footer__payments-gallery,
    .theme52-page-footer__social,
    .theme52-page-footer__external-links {
        justify-content: flex-start;
    }

    .theme52-page-footer__right,
    .theme52-page-footer__info {
        display: contents;
    }

    .theme52-page-footer__footer-buttons {
        justify-content: center;
        order: -4;
        border-top: 1px solid var(--divider);
        border-bottom: 1px solid var(--divider);
        padding-block: 20px;
    }

    .theme52-page-footer__footer-buttons button {
        max-width: 100%;
    }

    .theme52-page-footer__information_text {
        order: -6;
        margin-top: 10px;
    }

    .theme52-page-footer__copyright::before {
        display: none;
    }
}

.theme52-footer-nav {
    position: relative;
}

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

.theme52-footer-nav__list:not(:has(.theme52-footer-nav__item:nth-child(5))) {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

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

.theme52-footer-nav__list:has(> *:nth-child(10)) {
    height: 264px;
}

.theme52-footer-nav__link {
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    color: var(--color-footer-navigation-link);
    transition: var(--transition);
    text-underline-offset: 3px;
}

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

@media (hover: hover) {
    a.theme52-footer-nav__link:hover {
        color: var(--color-footer-navigation-link-hover);
    }
}

@media (width <= 767px) {
    .theme52-footer-nav__list {
        display: flex;
        flex-direction: column;
        margin-top: -8px;
        height: auto;
        max-width: 100%;
    }

    .theme52-footer-nav__item {
        margin: 0;
    }
}

.theme52-toc {
    border: 1px solid var(--divider);
    border-radius: var(--R);
    background: var(--bg-toc);
}

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

.theme52-toc__title::after {
    content: var(--icon-toc-arrow);
    position: absolute;
    right: 20px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: var(--transition);
    translate: 0 -50%;
}

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

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

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

.theme52-toc--auto ol,
.theme52-toc--auto ul {
    grid-template-columns: 1fr;
}

.theme52-toc li {
    position: relative;
    margin: 0;
    border-radius: calc(var(--R) / 2);
}

.theme52-toc li::before {
    counter-increment: myCounter;
    content: counter(myCounter) ".";
    position: absolute;
    left: 7px;
    top: 14px;
    width: auto;
    height: auto;
    font: var(--font-system-bold-text);
    text-align: center;
    color: var(--color-toc-item);
    background: transparent;
}

.theme52-toc a {
    display: block;
    padding: 10px 10px 10px 32px;
    width: 100%;
    font-style: normal;
    text-decoration: underline;
    color: var(--color-toc-item);
    text-underline-offset: 3px;
}

@media (hover: hover) {
    .theme52-toc a:hover {
        color: var(--color-toc-item-hover);
    }
}

.theme52-text-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    gap: 16px 32px;
}

.wp-block-heading + .theme52-text-image {
    margin-top: 1rem;
}

.theme52-text-image.reversed {
    grid-template-columns: 1fr 1fr;
}

.theme52-text-image--first-screen {
    border: 1px solid var(--divider);
    border-radius: var(--R);
    background: var(--bg-block);
}

.theme52-text-image--first-screen .theme52-simple-bonus {
    display: none;
}

.theme52-text-image__content {
    overflow: hidden;
}

.theme52-text-image__content > *:first-child {
    margin-top: 0;
}

.theme52-text-image__content > *:last-child {
    margin-bottom: 0;
}

.theme52-text-image--first-screen .theme52-text-image__content {
    margin-right: -32px;
    padding: 32px;
}

.theme52-text-image--first-screen .theme52-text-image__image {
    border-radius: 0 var(--R) var(--R) 0;
    height: 100%;
    object-fit: cover;
}

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

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

@media (width <= 1023px) {
    .theme52-text-image,
    .theme52-text-image.reversed {
        grid-template-columns: 1fr;
    }

    .theme52-text-image--first-screen .theme52-text-image__content {
        margin-right: 0;
        padding: 20px;
    }

    .theme52-text-image--first-screen .theme52-text-image__image {
        border-radius: 0 0 var(--R) var(--R);
        height: 100%;
        object-fit: cover;
    }

    .theme52-text-image.reversed .theme52-text-image__content {
        order: 0;
    }

    .theme52-text-image--first-screen .theme52-simple-bonus {
        display: flex;
    }
}

.theme52-faq {
    border: 1px solid var(--divider);
    border-radius: var(--R);
    background: var(--bg-block);
}

.theme52-faq:not(:last-child) {
    margin-bottom: 20px;
}

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

.theme52-faq._active .theme52-faq__title::after {
    rotate: 540deg;
}

.theme52-faq__title {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 20px 48px 20px 20px;
    font: var(--font-H3);
    cursor: pointer;
    gap: 4px;
}

.theme52-faq__title::after {
    content: var(--icon-faq-item);
    position: absolute;
    right: 20px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: var(--transition);
    translate: 0 -50%;
}

.theme52-faq__answer {
    padding: 0 20px 20px;
}

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

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

.theme52-simple-bonus {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    border: 1px solid var(--divider);
    border-radius: var(--R);
    padding: 20px;
    max-width: 500px;
    background: var(--bg-block);
    gap: 10px;
}

.theme52-simple-bonus__button {
    width: 100%;
    max-width: 220px;
}

.theme52-simple-bonus__bonus-text {
    margin: 0;
    font: var(--font-system-bold-text);
    text-align: center;
}

.theme52-how-to {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.theme52-how-to__item {
    border: 1px solid var(--divider);
    border-radius: var(--R);
    background: var(--bg-toc);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.theme52-how-to__item img {
    border-radius: var(--R);
}

.theme52-how-to__content p {
    margin: 0;
}

.theme52-how-to__counter {
    font: var(--font-H3);
    color: var(--color-toc-title);
}

.theme52-how-to__button:not(:first-child) {
    margin-top: 20px;
}

@media (width <= 767px) {
    .theme52-how-to {
        grid-template-columns: 1fr;
    }
}


.screenshot-gallery__list {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
}

.screenshot-gallery__list img {
    width: 100%;
}

.screenshot-gallery__wrapper {
    position: relative;
    max-width: 100%;
    margin-top: 16px
}

.glightbox img {
    width: 100%;
    height: auto;
    min-width: 100%
}

@media (max-width: 1000px) {
    .glightbox img {
        min-width: 192px
    }

    .screenshot-gallery {
        overflow: scroll;
        width: 100%;
    }

    .screenshot-gallery__list img {
        width: 100%;
        min-width: 230px;
    }
}

@media (min-width: 1000px) {
    .screenshot-gallery__list {
        scrollbar-width: none
    }

}

@media (max-width: 767px) {
    .theme52-page-footer__social {
        padding-top: 20px;
    }
}