#xtext {
    margin-bottom: 90px;
    font-size: 16px;
    line-height: 19px;
    color: #000;
    font-weight: 400;
}

#xtext h2 {
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-bottom: 10px;
    text-shadow: none;
    text-align: left;
    color: #3A3A40;
}

#xtext img {
    max-width: 490px;
    max-height: 366px;
    width: auto;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

#xtext .x-fb {
    cursor: pointer;
}

#xtext img[справа] {
    float: right;
    margin-left: 90px;
}

#xtext img[слева] {
    float: left;
    margin-right: 90px;
}

#xtext img[справа].decor-1 {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-left: 10px !important;
}

#xtext img[слева].decor-1 {
    border-radius: 50px;
    border-top-left-radius: 50px;
    margin-right: 10px !important;
}

#xtext img[слева] + img[справа],
#xtext img[справа]:has(+ img[слева]),
#xtext img[слева] ~ img[справа],
#xtext img[справа]:has(~ img[слева]) {
    margin-left: 30px;
}

#xtext img[справа] + img[слева],
#xtext img[слева]:has(+ img[справа]),
#xtext img[справа] ~ img[слева],
#xtext img[слева]:has(~ img[справа]) {
    margin-right: 30px;
}

#xtext ul {
    margin-bottom: 20px;
}

#xtext ul > li {
    position: relative;
    padding-left: 18px;
}

#xtext a {
    color: #03969D;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#xtext ul > li::before {
    content: '';
    position: absolute;
    top: 0.55em;
    left: 2px;
    width: 6px;
    height: 6px;
    background-color: #2596be;
    border-radius: 50%;
}

#xtext hr {
    width: 100%;
    height: 0;
    background: none;
    margin: 0;
    border: none;
}

/*
 * Стандартное оформление блоков #xcm
 * на остальных страницах сайта.
 */
#xcm {
    display: flex;
    flex-wrap: wrap;
    margin-top: 120px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

#xcm.v2 {
    max-width: 1160px;
    width: 100%;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}

#xcm a {
    width: 50%;
    min-height: 122px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D9D9D9;
    box-sizing: border-box;
    padding: 10px;
    color: inherit;
    text-decoration: none;
}

body[data-current_page^="/klientam/soglasie-potrebiteley-na-obrabotku-personalnykh-dannykh/"] #xcm {
    margin-bottom: 90px;
}

@media (max-width: 1400px) {
    #xtext {
        margin-bottom: 45px;
    }

    #xtext img {
        margin: 45px auto 0 !important;
        order: 2;
        width: 100%;
    }

    #xcm {
        margin-top: 40px;
    }

    #xcm a {
        min-height: 102px;
    }
}

@media (max-width: 767px) {
    #xtext img {
        margin-top: 40px !important;
    }

    #xtext img[слева].decor-1,
    #xtext img[справа].decor-1 {
        float: none;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }

    #xtext {
        margin-bottom: 40px;
        font-size: 13px;
        line-height: 16px;
    }

    #xtext ul > li {
        padding-left: 15px;
    }

    #xtext ul > li::before {
        top: 0.5em;
        left: 1px;
        width: 5px;
        height: 5px;
    }

    #xtext h2 {
        font-size: 20px;
        line-height: 24px;
        text-align: center;
    }

    #xcm {
        margin-top: 90px;
        justify-content: center;
    }

    #xcm a {
        width: 100%;
        max-width: 630px;
    }

    body[data-current_page^="/klientam/soglasie-potrebiteley-na-obrabotku-personalnykh-dannykh/"] #xcm {
        margin-bottom: 60px;
    }

    #xcm a:nth-child(2n+2) {
        background-color: #EDEDED;
    }
}

@media (max-width: 500px) {
    #xtext img {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    #xcm a:nth-child(4n+2),
    #xcm a:nth-child(4n+3) {
        background-color: #EDEDED;
    }
}

/*
 * Новое оформление навигационных кнопок
 * во всех разделах сайта.
 */
#xcm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 40px;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    text-transform: none;
}

#xcm > a {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;

    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 8px 24px;

    box-sizing: border-box;
    border: 1px solid #83749F;
    border-radius: 50px;

    background: transparent !important;
    color: #83749F;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.5s,
        color 0.5s;
}

#xcm > a:visited {
    color: #83749F;
}

#xcm > a:hover,
#xcm > a:focus-visible,
#xcm > a.cp {
    background: #83749F !important;
    color: #FFFFFF;
}

#xcm > a:focus-visible {
    outline: 2px solid #83749F;
    outline-offset: 3px;
}

/*
 * Мобильная версия новых кнопок.
 */
@media (max-width: 767px) {
    #xcm {
        margin-top: 40px;
        gap: 12px;
    }

    #xcm > a {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 50px;
        padding: 12px 20px;
    }
}
