.vacform__confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpcf7-acceptance,
.wpcf7-list-item {
    margin: 0;
}

/* убираем мусор CF7 */
.vacform__confirm-label p,
.vacform__confirm-label span {
    margin: 0;
    padding: 0;
}

/* визуально как label */
.vacform__confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

/* чекбокс */
.vacform__confirm-label input[type="checkbox"] {
    margin-top: 4px;
}

/* neutralize CF7 wrappers */
.wpcf7 p,
.wpcf7 span {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

/* делаем span "прозрачными" для layout */
.wpcf7 span {
    display: contents;
}

.sub-menu li.current-menu-item a {
    color: rgb(0, 92, 169);
}

@media (max-width: 1199px) {
    .parent>.sub-menu {
        box-shadow: none;
    }
}

/*стили для окна Спасибо START*/
body.no-scroll {
    overflow: hidden;
}

.form-thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s linear;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
}

.form-thanks .form-thanks__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    color: #fff;
    text-align: center;
}

.form-thanks .form-thanks__title {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1em;
}

@media (max-width: 499px) {
    .form-thanks .form-thanks__title {
        font-size: 32px;
    }
}

.form-thanks .form-thanks__text {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5em;
}

.form-thanks .form-thanks__btn {
    margin-top: 8px;
    justify-content: space-between;
    min-width: 260px;
}

.form-thanks.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 499px) {
    .form-thanks .form-thanks__btn {
        min-width: 100%;
        width: 100%;
    }
}

/*стили для окна Спасибо END*/

/* ширина выпадающего меню */
.head__mnu>ul>li ul {
    width: 310px !important;
}

/* Cookie START */
.cookie {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    bottom: 10px;
    right: 20px;
    padding: 20px;
    width: 100%;
    max-width: 360px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px inset;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
    z-index: 10;
}

.cookie.active {
    position: fixed;
    opacity: 1;
    visibility: visible;
}

.cookie .cookie__title {
    font-size: 14px;
    margin: 0px 0px 10px;
    font-weight: bold;
    padding: 0px;
    color: rgb(0, 0, 0);
}

.cookie .cookie__text {
    line-height: 1.5;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    color: rgb(68, 68, 68);
}

.cookie .cookie__text a {
    color: rgb(153, 153, 153);
    text-decoration: none;
}

.cookie .cookie__btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
}

.cookie .cookie__btn {
    appearance: none;
    width: 100%;
    height: auto;
    border: none;
    padding: 10px;
    border-radius: 8px;
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    font-weight: unset;
}

/* Cookie END */

/* Mobile QA fixes — 2026-08-06 */
@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    main p,
    main li,
    main td,
    main th,
    .single__content,
    .service__content,
    .news__content {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .s-qulist {
        height: auto !important;
        padding-bottom: 80px;
    }

    .s-qulist__contain,
    .s-qulist__body {
        height: auto !important;
        min-height: 0 !important;
    }

    .s-qulist__body {
        display: flex !important;
        flex-direction: column !important;
    }

    .qulist-block__wrap {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 28px !important;
    }

    .qulist-block {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 88px !important;
    }

    .s-tbanner__content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .s-tbanner__btn {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        white-space: normal !important;
        text-align: center;
    }

    .header__col.open {
        box-sizing: border-box !important;
        padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important;
        overscroll-behavior: contain;
    }

    .header__col.open .head__r {
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .s-news__item {
        height: auto !important;
        overflow: hidden !important;
    }

    .s-news__img-w {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 872 / 480;
        overflow: hidden !important;
    }

    .s-news__img-w img {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .s-news__bottom {
        position: relative !important;
        z-index: 1;
    }

    .s-other-serv .solut__item img {
        display: block;
        width: 100%;
        height: auto !important;
        aspect-ratio: 872 / 480;
        object-fit: cover;
    }
}


/* Keep the Liyu Power payoff banner inside the mobile viewport. */
@media (max-width: 767px) {
    .s-tbanner > .contain {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .s-tbanner__content,
    .s-tbanner__btn {
        min-width: 0 !important;
    }
}
