.balance {
    /*noinspection CssInvalidPropertyValue*/
    text-wrap: balance;
    text-wrap-style: balance;
}

.order {
    color: var(--white);
    font-family: var(--inter);
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    background: var(--main);
    max-width: 770px;
    margin: 20px auto 80px;
    padding: 15px;
    border-radius: 40px;
}

.comments {
    margin: 65px 0 90px;
}

.post__comments {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--light);
    max-width: 890px;
    margin: 30px auto;
    padding: 30px 0;
}

.post__comments:before,
.post__comments:after {
    content: '';
    position: absolute;
    top: 50%;
    display: block;
    background: url("../img/quote.svg") no-repeat center / contain;
    width: 58px;
    aspect-ratio: 1 / 1;
}

.post__comments:before {
    left: -4px;
    transform: translate3d(-50%, -50%, 0);
}

.post__comments:after {
    right: -4px;
    transform: translate3d(50%, -50%, 0) rotate(180deg);
}

.post__comments-name {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.post__comments-text {
    color: var(--dark);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    max-width: 664px;
}

.quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    background: var(--quote);
    margin-bottom: 45px;
    padding: 110px 15px;
    border-radius: 15px;
}

.quote__text {
    font-weight: 600;
    font-style: italic;
    max-width: 890px;
    margin: 0;
}

.post__row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
}

.post__row_2 {
    justify-content: space-between;
    margin-bottom: 65px;
}

.post__product {
    position: relative;
}

.post__product_1 {
    max-width: 529px;
}

.post__product_2 {
    max-width: 321px;
}

.post__product_3 {
    max-width: 231px;
}

.post__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 530px;
}

.post__list-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.post__list-icon {
    max-width: 56px;
}

.post__list-text {
    font-size: 1.5rem;
}

.post__list-text b {
    font-weight: 900;
}

.post__desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 662px;
}

.post__desc-name {
    font-family: var(--inter);
    font-size: 1.375rem;
    font-weight: 900;
}

.post__desc-text {
    font-size: 1.375rem;
    margin: 10px 0;
}

.news {
    padding: 80px 0 60px;
}

.news__title {
    color: var(--black);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.news__row {
    display: flex;
    gap: 20px;
}

.news__card {
    max-width: 775px;
    min-height: 479px;
    margin: 0;
    padding: 30px 40px;
}

.news__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
    max-width: 320px;
}

.news__item-left {
    max-width: 94px;
}

.news__item {
    display: flex;
    gap: 20px;
}

.news__item-right {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.news__tag {
    color: var(--white);
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    background: var(--main);
    max-width: 208px;
    padding: 5px;
    border-radius: 5px;
}

.news__item-text {
    color: var(--black);
    font-family: var(--myriadPro);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer {
    color: var(--white);
    align-self: flex-end;
    background: var(--black);
    padding: 50px 0;
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer__left {
    max-width: 480px;
}

.footer__logo {
    margin-bottom: 80px;
}

.footer__list {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    max-width: 300px;
}

.footer__list-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 45%;
}

.footer__list-item {
    color: var(--footer);
    font-family: var(--myriadPro);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: .9;
    text-transform: uppercase;
}

.footer__soc {
    align-self: flex-end;
}

.footer__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 343px;
    margin-left: auto;
}

.footer__search {
    margin-bottom: 25px;
}

.footer__meta {
    max-width: 343px;
}

.footer__meta-text {
    color: var(--footer);
    font-size: 1rem;
    font-weight: 900;
    line-height: 117%;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer__border {
    max-width: 343px;
    margin-bottom: 8px;
    padding: 10px 20px;
    border-radius: 35px;
}

.footer__input {
    color: var(--white);
    font-size: 1.175rem;
    background: none;
    min-height: 39px;
    border: 1px solid var(--white);
}

.footer__input::placeholder {
    color: var(--white);
}

.footer__btn {
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    background: var(--footer);
    border: 1px solid var(--footer);
}

.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 2px;
    border: 1px solid var(--main);
    border-radius: 50%;
}

.slick-dots li.slick-active {
    background: var(--main);
}

.slick-dots li button:before {
    content: none;
}

@media screen and (max-width: 1024px) {

    .post__row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .post__row_2 {
        gap: 40px;
        margin-bottom: 10px;
    }

    .post__list {
        gap: 10px;
    }

    .post__list-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .post__list-text {
        font-size: 1.25rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .post__desc-name {
        text-align: center;
        line-height: 1.2;
    }

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

    .post__comments {
        margin-bottom: 40px;
        padding: 60px 20px;
    }

    .post__comments:before {
        top: 0;
        left: 36px;

    }

    .post__comments:after {
        top: auto;
        right: 15px;
        bottom: 0;
        transform: translateY(50%) rotate(180deg);
    }

    .news {
        padding: 30px 0;
    }

    .news__title {
        text-align: center;
        margin-bottom: 15px;
    }

    .news__card {
        padding: 30px 20px;
    }

    .news__card-bg {
        object-position: 35% 50%;
    }

    .news__row {
        gap: 10px;
    }

    .news__item {
        gap: 10px;
    }

    .news__item-text {
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .footer__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .footer__logo {
        margin-bottom: 35px;
    }

    .footer__list {
        margin: 0 auto;
    }

    .footer__soc {
        align-self: center;
    }

    .footer__right {
        margin: 0;
    }
}


@media screen and (max-width: 576px) {

    .post__desc-text,
    .post__desc-name {
        font-size: 1.065rem;
    }

    .news__row {
        display: block;
    }

    .post__comments-name {
        font-size: 1.25rem;
    }

    .post__comments-text {
        font-size: 1rem;
    }

    .post__comments:before, .post__comments:after {
        width: 43px;
    }

    .news__card {
        margin-bottom: 30px;
    }

    .news__title {
        font-size: 1.6rem;
    }

    .news__card-bg {
        object-position: 17% 50%;
    }

    .news__list {
        flex-direction: column;
        gap: 10px;
        max-width: 775px;
    }

    .news__item-text {
        line-height: 1.2;
    }

    .quote {
        position: relative;
        left: 50%;
        width: calc(100% + 30px);
        margin-bottom: 30px;
        padding: 40px 15px;
        transform: translateX(-50%);
    }

    .footer__left {
        max-width: 343px;
    }

    .footer__list {
        gap: 30px;
        max-width: 100%;
    }

    .footer__list-col {
        width: auto;
    }
}