
@font-face {
  font-family: 'Roboto';
  src: url('/assets/uploads/fonts/RobotoRegular.woff2') format('woff2'),
       url('/assets/uploads/fonts/RobotoRegular.woff') format('woff'),
       url('/assets/uploads/fonts/RobotoRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* опция: unicode-range — можно указать диапазоны, если субсетируете */
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/uploads/fonts/RobotoMedium.woff2') format('woff2'),
       url('/assets/uploads/fonts/RobotoMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/uploads/fonts/RobotoBold.woff2') format('woff2'),
       url('/assets/uploads/fonts/RobotoBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@keyframes btnPulsate {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(1.05)
    }
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
p,
a,
em,
img,
ol,
ul,
li,
table,
tbody,
tr,
td,
footer,
header,
nav {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

footer,
header,
nav {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    color: inherit;
    list-style: none
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #f8f7fc;
    overflow: hidden;
    margin-bottom: 30px;
}

table td {
    padding: 14px 18px;
    border: none;
    text-align: left;
    font-size: 16px;
}

table tr th {
    background: #f9cc05;
    padding: 14px 18px;
    color: #fff;
    font-weight: 700;
    text-align: left;
}

table tbody tr:first-child td {
    border: none;
}

table tbody tr {
    background: #fff;
    transition: background 0.2s;
}

table tbody tr:nth-child(even):not(:first-child) {
    background: #f0f4fa;
}

table tbody tr:hover {
    background: #e6f2fd;
}

table td p {
    margin: 0;
}

.table-container {
    overflow-x: auto;
}

table td:first-child {
    border-top-left-radius: 12px;
}

table td:last-child {
    border-top-right-radius: 12px;
}

button {
    outline: none;
    font: inherit
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top
}

body {
    font-family: 'Roboto', sans-serif;
    color: #000;
    background: #fff;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0
}

body.nav-open {
    overflow-y: hidden !important;
    background: rgba(0, 0, 0, .8);
}

body.nav-open:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 10;
}

body a {
    color: #ffcc29
}

.button {
    cursor: pointer;
    font-size: 14px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    transition: 0.2s ease;
    border: none;
    border-radius: 8px;
    padding: 0 18px;
    min-width: 52px;
    min-height: 30px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    animation-name: btnPulsate;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate
}

.btn--lg {
    min-height: 50px;
    min-width: 180px;
    font-size: 16px
}

.btn--sticky {
    display: none
}

.btn__primary {
    background: #f9cc05;
    border: none;
    color: white;
}

.btn__primary:hover {
    opacity: 0.9
}

@media (max-width: 499px) {
    .button {
        padding: 5px 10px;
        font-size: 12px
    }
}

.container {
    padding: 0 15px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 1200px
}

.container:not(.container--navbar) {
    overflow: hidden
}

.container-fullwidth {
    overflow: hidden
}

.content-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px
}

@media (max-width: 991px) {
    .content-row {
        flex-wrap: wrap;
        justify-content: center
    }
}

.content-col {
    width: 100%
}

.content-text .content-col img {
    border-radius: 12px;
    border: 1px solid #2c9aef
}

img {
    max-width: 100%;
    height: auto
}

h1 {
    color: #fff
}

.site-header {
    margin-bottom: 30px
}

@media (max-width: 991px) {
    .site-header {
        display: flex;
        flex-wrap: wrap
    }
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 47px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    background: #040509;
    padding: 0 10px
}

@media (max-width: 991px) {
    .site-header__container {
        flex-wrap: wrap;
        margin-top: 0
    }
}

.site-header__inner {
    display: flex;
    align-items: center
}

@media (max-width: 1279px) {
    .site-header__inner {
        justify-content: space-between
    }
}

@media (max-width: 1279px) {
    .site-header__inner .btn--sticky {
        display: flex
    }
}

.site-header__navbar-btn.menuOpener {
    display: none
}

@media (min-width: 992px) and (max-width: 1278px) {
    .site-header__navbar-btn.menuOpener {
        display: block
    }
}

.site-header__navbar {
    display: flex;
    gap: 25px;
    margin-left: 30px
}

@media (max-width: 1279px) {
    .site-header__navbar {
        flex-direction: column;
        position: fixed;
        bottom: 64px;
        right: -300px;
        z-index: 100;
        top: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 30px;
        width: 300px;
        transition: 0.3s;
        background: #000;
        border-radius: 0
    }

    .site-header__navbar.opened {
        right: 0;
    }
}

.site-header__navbar__top {
    display: none;
    align-items: center;
    justify-content: space-between
}

@media (max-width: 1279px) {
    .site-header__navbar__top {
        display: flex
    }
}

.site-header__navbar__item {
    display: flex;
    align-items: center;
    font-weight: 500;
    line-height: 18px;
    color: #fff;
    position: relative;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    gap: 6px;
    position: relative;
    z-index: 100
}

.site-header__navbar__item:hover {
    transform: scale(1.1)
}

@media (max-width: 1279px) {
    .site-header__navbar__item:hover {
        color: #ffcc29
    }
}

.site-header__navbar__item:hover:before {
    content: "";
    width: 100%;
    height: 4px;
    background: #34a4f7;
    position: absolute;
    bottom: -8px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px
}

@media (max-width: 1279px) {
    .site-header__navbar__item:hover:before {
        display: none
    }
}

.site-header__navbar__item img {
    width: 20px
}

.site-header__btns {
    display: flex;
    align-items: center;
    gap: 5px
}

.site-header__mobile__item {
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px
}

.site-header__mobile__item img {
    height: 20px
}

.nav-toggle {
    display: none
}

@media (max-width: 1279px) {
    .nav-toggle {
        display: flex
    }
}

.brand__sticky {
    display: none;
    width: 50px;
    height: 50px
}

.brand__sticky img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.site-footer {
    background: #000;
    padding-top: 15px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column
}

@media (max-width: 1279px) {
    .site-footer {
        padding-bottom: 100px
    }
}

.site-footer__social {
    display: flex;
    gap: 15px
}

@media (max-width: 768px) {
    .site-footer__social {
        flex-wrap: wrap;
        justify-content: center
    }
}

.site-footer__icon {
    align-items: center;
    display: flex;
    height: 35px;
    justify-content: center;
    text-align: center;
    width: 35px;
    font-size: 15px;
    border-radius: 10px
}

.site-footer__icon img {
    width: 75%
}


.site-footer__text {
    text-align: center;
    margin-top: 30px;
    color: #c2c4c9;
    line-height: 1.7;
    display: flex;
    justify-content: space-between;
    align-items: center
}

@media (max-width: 991px) {
    .site-footer__text {
        flex-direction: column;
        gap: 15px
    }
}

.site-footer__text img {
    height: 40px
}

.hero-banner {
    height: 300px;
    position: relative
}

@media (max-width: 991px) {
    .hero-banner {
        height: auto
    }
}

.hero-banner img {
    width: 100%;
    filter: brightness(0.7);
}

.hero-banner__text-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    width: 50%
}

@media (max-width: 599px) {
    .hero-banner__text-container {
        left: 20px;
        width: calc(100% - 40px)
    }

    .hero-banner__text-container .button {
        display: none
    }
}

.hero-banner__text {
    font-size: 3rem;
    font-weight: 900;
    line-height: 3.3rem;
    color: #fff
}

@media (max-width: 768px) {
    .hero-banner__text {
        font-size: 2rem;
        line-height: 2.3rem
    }
}

@media (max-width: 768px) {
    .hero-banner__text {
        font-size: 1.5rem;
        line-height: 1.6rem
    }
}

@media (max-width: 399px) {
    .hero-banner__text {
        font-size: 1rem;
        line-height: 1.6rem
    }
}

.content-text {
    color: #000;
    line-height: 1.7;
    font-size: 18px
}

.content-text h1,
.content-text h2,
.content-text h3,
.content-text h4 {
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 15px
}

.content-text h1 {
    font-size: 32px
}

.content-text h2 {
    font-size: 28px;
    position: relative
}

.content-text h3 {
    font-size: 24px
}

.content-text h4 {
    font-size: 20px
}

.content-text p,
.content-text li {
    color: #000
}

.content-text p {
    margin-bottom: 15px
}

.content-text table {
    width: 100%;
    max-width: 100%;
    border-radius: 4px
}

.content-text table td {
    border: 1px solid rgba(255, 255, 255, .15);
    vertical-align: middle
}

.content-text table td p {
    margin: 2px
}

.content-text table tr {
    background: #f8f7fc
}

.content-text table tr:nth-child(even) {
    background: #979a9f
}

.content-text td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .15)
}

.content-text ol {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 40px
}

.content-text ol li {
    margin: 0 0 0.5rem 0;
    counter-increment: list-counter;
    position: relative
}

.content-text ol li:before {
    content: counter(list-counter);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 1px;
    background: #ffbf00;
    border-radius: 50%;
    text-align: center;
    width: 20px;
    height: 20px;
    line-height: 21px;
    left: -30px
}

.content-text ul {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 40px
}

.content-text ul li {
    position: relative
}

.content-text ul li:before {
    content: '';
    display: block;
    margin-right: 7px;
    position: absolute;
    left: 0
}

.content-text ul:not([class^="marker-"]) li {
    align-items: flex-start
}

.content-text ul:not([class^="marker-"]) li:before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url('/assets/uploads/dollar.svg');
    border-radius: 50%;
    flex-shrink: 0;
    background-size: contain;
    margin-top: 4px;
    left: -30px
}

@media (max-width: 768px) {
    .content-text h1 {
        font-size: 25px;
        line-height: 35px
    }

    .content-text h2 {
        font-size: 22px;
        line-height: 24px
    }

    .content-text h3 {
        font-size: 20px;
        line-height: 22px
    }

    .content-text p {
        display: inline-block
    }
}

.toc_container {
    margin: 15px auto 15px 0;
    background-color: #f8f7fc;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
    border: 1px solid transparent
}

.toc_list {
    list-style: none;
    padding-left: 0
}

.toc_list li {
    cursor: pointer;
    margin-bottom: 10px
}

.toc_list li:hover {
    color: #00cfa6
}

.toc_title {
    cursor: pointer;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 15px
}

.toc_title img {
    width: 30px
}

.slot-params.content-row {
    align-items: unset
}

.slot-params__block {
    background: #f8f7fc;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between */
}

.slot-params__block:last-of-type img{
    padding: 0
}

.accordion-block {
    min-height: 20px;
    background: #f8f7fc;
    border: 1px solid transparent;
    border-radius: 5px;
    margin: 10px 0;
    transition: all 0.3s ease-out
}

.accordion-block.open {
    color: #fff;
    background: #f8f7fc;
}

.accordion-block.open .accordion-block-site-header:after {
    border-top-color: #189c39;
    transform: rotate(134deg)
}

.accordion-block.open .accordion-block-site-header h3 {
    color: #000
}

.accordion-block.open .accordion-block-content {
    display: block
}

.accordion-block .accordion-block-site-header {
    position: relative;
    padding: 15px 40px 15px 25px;
    cursor: pointer;
    font-weight: 700
}

.accordion-block .accordion-block-site-header {
    position: relative;
    padding: 15px 40px 15px 25px;
    cursor: pointer;
    font-weight: 700
}

.accordion-block .accordion-block-site-header h3 {
    font-size: inherit;
    margin: 0;
    color: #000
}

.accordion-block .accordion-block-site-header:after {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    display: block;
    background: url('/assets/uploads/plus.svg') no-repeat center;
    background-size: contain;
    width: 25px;
    height: 25px;
    transition: all 0.6s ease-out
}

.accordion-block .accordion-block-content {
    display: none;
    padding: 0 30px 15px;
    margin: 0
}

.accordion-block .accordion-block-content p:last-of-type {
    margin-bottom: 0
}

.sticky-reg {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #000;
    transition: all 0.5s ease 0s
}
.sticky-reg.sticky {
    bottom: 0;
}

.sticky-reg-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px
}

.sticky-reg-left {
    display: flex;
    align-items: center
}

.sticky-reg-left__image {
    height: 60px;
    margin-right: 20px
}

.sticky-reg-left__image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.sticky-reg-rating__rate {
    display: flex;
    align-items: center
}

.sticky-reg-rating__name {
    margin-bottom: 10px
}

.sticky-reg-rating__name span {
    font-size: 24px;
    color: #fff
}

.sticky-reg-rating__stars {
    display: flex;
    align-items: center;
    margin-right: 10px
}

.sticky-reg-rating__stars svg {
    width: 25px;
    height: 25px;
    margin-right: 5px
}

.sticky-reg-rating__stars svg:last-child {
    margin-right: 0
}

.sticky-reg-rating__count span {
    font-size: 18px
}

@media (max-width: 540px) {
    .sticky-reg-container {
        flex-direction: column;
        align-items: flex-start
    }

    .sticky-reg-left {
        margin-bottom: 20px
    }

    .sticky-reg-right {
        width: 100%
    }
}

:root {
    --swiper-theme-color: #007aff
}

:root {
    --swiper-navigation-size: 44px
}

.img-right {
    float: right;
    margin: 10px 0 10px 20px;
    border-radius: 12px;
    max-width: 50%;
    height: auto;
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column-reverse;
    }

    .img-right {
        float: none;
        margin: 10px auto;
        max-width: 100%;
    }
    .site-header__btns {
        display: none;
    }
}
@media (min-width: 768px) { 
    .header__menu__top {
        display: none;
    }
}

/* Author Info */
.author-info {
    background-color: #f8f7fc;
    border: 1px solid #faca16;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    color: #000;
    margin-bottom: 5px;
}

.author-details p {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.author-details p.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}
