.main-block {
    margin: 32px 18.75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-a-news {
    color: var(--color-dark-9);
}
body.dark .nav-a-news {
    color: var(--color-light-1);
}
.main-block-first-chapter {
    width: calc(67.5% - 32px);
}
.main-block-title {
    margin: 0;
}
.main-block-text {
    margin-bottom: 32px;
}
.main-block-img {
    width: 37.5%;
    height: auto;
    background: radial-gradient(circle, var(--color-yellow-4) 0%, rgb(238, 190, 58, 0) 150%);
    border: var(--color-yellow-4) solid 2px;
}
.how-does-work-block {
    margin: 32px 18.75%;
    text-align: center;
    font-family: 'Montserrat';
}
.how-does-work-title {
    margin: 0;
    font-weight: 600;
}
.how-does-work-desc {
    margin: 16px 0;
    font-weight: 500;
}
.how-does-work-flex {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}
.how-does-work-item {
    flex: 1;
    text-align: start;
    display: flex;
    flex-direction: column;
}
.how-does-work-item-number {
    display: block;
    width: min-content;
    margin: 0;
    font-weight: 600;
}
.how-does-work-item-title {
    margin: 8px 0;
    font-weight: 600;
}
.how-does-work-item-text {
    margin: 0 0 16px 0;
    font-weight: 500;
}
.how-does-work-item-back {
    background-color: var(--color-yellow-4);
    background-size: 100%;
    aspect-ratio: 3;
    width: auto;
    border-radius: 30px;
    margin-top: auto;
}
.how-does-work-item-back-01 {
    background-image: url(../assets/index/how-does-work-item-01.webp);
}
.how-does-work-item-back-02 {
    background-image: url(../assets/index/how-does-work-item-02.webp);
}
.how-does-work-item-back-03 {
    background-image: url(../assets/index/how-does-work-item-03.webp);
}
.product-list {
    font-family: 'Montserrat';
    margin: 32px 0;
    overflow: hidden;
    width: 100%;
    text-align: center;
}
.product-list-title {
    margin: 0 0 16px 0;
    font-weight: 600;
}
.product-track {
    display: flex;
    transition: 0.4s;
    animation: scroll 30s linear infinite;
}
.product-block {
    width: calc(16% - 16px);
    margin: 0 16px;
    pointer-events: none;
    flex-shrink: 0;
    text-align: start;
}
.product-list-button {
    margin: 32px auto 0 auto;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 1200px) {
    .main-block {
        margin: calc(32px * 1200 / 1920) 18.75%;
    }
    .main-block-first-chapter {
        width: calc(67.5% - 32px * 1200 / 1920);
    }
    .main-block-text {
        margin-bottom: calc(32px * 1200 / 1920);
    }
    .main-block-img {
        border-width: calc(2px * 1200 / 1920);
    }
    .how-does-work-block {
        margin: calc(32px * 1200 / 1920) 18.75%;
    }
    .how-does-work-desc {
        margin: calc(16px * 1200 / 1920) 0;
    }
    .how-does-work-flex {
        gap: calc(32px * 1200 / 1920);
    }
    .how-does-work-item-title {
        margin: calc(8px * 1200 / 1920) 0;
        font-weight: 600;
    }
    .how-does-work-item-text {
        margin: 0 0 calc(16px * 1200 / 1920) 0;
    }
    .how-does-work-item-back {
        border-radius: calc(30px * 1200 / 1920);
    }
    .product-list {
        margin: calc(32px * 1200 / 1920) 0;
    }
    .product-list-title {
        margin: 0 0 calc(16px * 1200 / 1920) 0;
    }
    .product-block {
        width: calc(16% - 16px * 1200 / 1920);
        margin: 0 calc(16px * 1200 / 1920);
    }
    .product-list-button {
        margin: calc(32px * 1200 / 1920) auto 0 auto;
    }
}
@media screen and (max-width: 992px) {
    .main-block {
        margin: calc(32px * 992 / 1920) 18.75%;
    }
    .main-block-first-chapter {
        width: calc(67.5% - 32px * 992 / 1920);
    }
    .main-block-text {
        margin-bottom: calc(32px * 992 / 1920);
    }
    .main-block-img {
        border-width: calc(2px * 992 / 1920);
    }
    .how-does-work-block {
        margin: calc(32px * 992 / 1920) 18.75%;
    }
    .how-does-work-desc {
        margin: calc(16px * 992 / 1920) 0;
    }
    .how-does-work-flex {
        gap: calc(32px * 992 / 1920);
    }
    .how-does-work-item-title {
        margin: calc(8px * 992 / 1920) 0;
        font-weight: 600;
    }
    .how-does-work-item-text {
        margin: 0 0 calc(16px * 992 / 1920) 0;
    }
    .how-does-work-item-back {
        border-radius: calc(30px * 992 / 1920);
    }
    .product-list {
        margin: calc(32px * 992 / 1920) 0;
    }
    .product-list-title {
        margin: 0 0 calc(16px * 992 / 1920) 0;
    }
    .product-block {
        width: calc(16% - 16px * 992 / 1920);
        margin: 0 calc(16px * 992 / 1920);
    }
    .product-list-button {
        margin: calc(32px * 992 / 1920) auto 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .main-block {
        margin: calc(32px * 768 / 1920) 18.75%;
    }
    .main-block-first-chapter {
        width: calc(67.5% - 32px * 768 / 1920);
    }
    .main-block-text {
        margin-bottom: calc(32px * 768 / 1920);
    }
    .main-block-img {
        border-width: calc(2px * 768 / 1920);
    }
    .how-does-work-block {
        margin: calc(32px * 768 / 1920) 18.75%;
    }
    .how-does-work-desc {
        margin: calc(16px * 768 / 1920) 0;
    }
    .how-does-work-flex {
        gap: calc(32px * 768 / 1920);
    }
    .how-does-work-item-title {
        margin: calc(8px * 768 / 1920) 0;
        font-weight: 600;
    }
    .how-does-work-item-text {
        margin: 0 0 calc(16px * 768 / 1920) 0;
    }
    .how-does-work-item-back {
        border-radius: calc(30px * 768 / 1920);
    }
    .product-list {
        margin: calc(32px * 768 / 1920) 0;
    }
    .product-list-title {
        margin: 0 0 calc(16px * 768 / 1920) 0;
    }
    .product-block {
        width: calc(16% - 16px * 768 / 1920);
        margin: 0 calc(16px * 768 / 1920);
    }
    .product-list-button {
        margin: calc(32px * 768 / 1920) auto 0 auto;
    }
}
@media screen and (max-width: 576px) {
    .main-block {
        margin: 16px;
        flex-direction: column-reverse;
    }
    .main-block-first-chapter {
        width: 100%;
        text-align: center;
    }
    .main-block-title {
        text-align: start;
    }
    .main-block-text {
        margin-bottom: 16px;
        text-align: start;
    }
    .main-block-img {
        width: calc(62.5%);
        border-radius: 22%;
        border-width: 2px;
    }
    .main-block-first-chapter-button {
        margin: 0 auto;
    }
    .how-does-work-block {
        margin: 32px 16px;
    }
    .how-does-work-desc {
        margin: 8px 0;
    }
    .how-does-work-flex {
        display: block;
        gap: 0;
    }
    .how-does-work-item {
        flex: 0;
    }
    .how-does-work-item-title {
        margin: 4px 0;
    }
    .how-does-work-item-text {
        margin: 0 0 8px 0;
    }
    .how-does-work-item-back {
        aspect-ratio: 4;
        border-radius: 14px;
        background-position: auto auto 0 auto;
    }
    .how-does-work-item-back-01 {
        background-image: url(../assets/index/how-does-work-item-01.webp);
    }
    .how-does-work-item-back-02 {
        background-image: url(../assets/index/how-does-work-item-02.webp);
    }
    .how-does-work-item-back-03 {
        background-image: url(../assets/index/how-does-work-item-03.webp);
    }
    .how-does-work-item + .how-does-work-item {
        margin-top: 16px;
    }
    .product-list {
        margin: 16px 0;
    }
    .product-list-title {
        margin: 0 0 8px 0;
    }
    .product-track {
        animation: scroll 10s linear infinite;
    }
    .product-block {
        width: calc(50% - 16px);
        margin: 0 8px;
    }
    .product-list-button {
        margin: 16px auto 0 auto;
    }
}
@media screen and (max-width: 390px) {
    .main-block {
        margin: 12px;
    }
    .main-block-text {
        margin-bottom: 12px;
    }
    .main-block-img {
        border-width: 1px;
    }
    .how-does-work-block {
        margin: 24px 12px;
    }
    .how-does-work-desc {
        margin: 6px 0;
    }
    .how-does-work-item-title {
        margin: 3px 0;
    }
    .how-does-work-item-text {
        margin: 0 0 6px 0;
    }
    .how-does-work-item-back {
        border-radius: 11px;
    }
    .how-does-work-item + .how-does-work-item {
        margin-top: 12px;
    }
    .product-list {
        margin: 12px 0;
    }
    .product-list-title {
        margin: 0 0 6px 0;
    }
    .product-block {
        width: calc(50% - 12px);
        margin: 0 6px;
    }
    .product-list-button {
        margin: 12px auto 0 auto;
    }
}