
/* ==========================================
   System-Host — единые стили инструкций
   RDP / Forex MT4-MT5 / FAQ
   ========================================== */

/* Основной блок */
.sh-rdp-guide {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 40px;
    box-sizing: border-box;
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
}

.sh-rdp-guide *,
.sh-rdp-guide *::before,
.sh-rdp-guide *::after {
    box-sizing: border-box;
}

/* Единый шрифт для содержимого */
.sh-rdp-guide p,
.sh-rdp-guide li,
.sh-rdp-guide strong,
.sh-rdp-guide a,
.sh-rdp-guide .rdp-card,
.sh-rdp-guide .rdp-notice,
.sh-rdp-guide .rdp-support {
    font-family: "IBM Plex Sans", Arial, sans-serif;
}

/* Заголовки */
.sh-rdp-guide h1 {
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 22px;
}

.sh-rdp-guide h2 {
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    color: #14213d;
    margin: 35px 0 18px;
}

/* На случай заголовков H3 */
.sh-rdp-guide h3 {
    font-family: "IBM Plex Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #14213d;
    margin: 0 0 12px;
}

/* Основной текст */
.sh-rdp-guide p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
    margin: 0 0 14px;
}

/* Ссылки */
.sh-rdp-guide a {
    color: #006be6;
    text-decoration: underline;
}

.sh-rdp-guide a:hover {
    color: #004ca3;
}

/* Информационные голубые блоки */
.sh-rdp-guide .rdp-notice {
    display: block;
    width: 100%;
    background: #eaf2ff;
    border-left: 4px solid #0875f9;
    border-radius: 10px;
    padding: 17px 24px;
    margin: 20px 0 28px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
}

/* Белые карточки */
.sh-rdp-guide .rdp-card {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 20px 28px;
    margin: 16px 0 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
}

.sh-rdp-guide .rdp-card p {
    font-size: 16px;
    line-height: 1.65;
}

.sh-rdp-guide .rdp-card p:last-child {
    margin-bottom: 0;
}

/* Списки */
.sh-rdp-guide ul {
    margin: 8px 0 12px;
    padding-left: 24px;
    list-style-type: disc;
}

.sh-rdp-guide ul li {
    display: list-item;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
    margin-bottom: 8px;
}

/* Нумерованные шаги */
.sh-rdp-guide .rdp-steps {
    counter-reset: rdp-step;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sh-rdp-guide .rdp-steps > li {
    counter-increment: rdp-step;
    display: block;
    position: relative;
    width: 100%;
    min-height: 62px;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    padding: 17px 20px 17px 68px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
}

.sh-rdp-guide .rdp-steps > li::before {
    content: counter(rdp-step);
    position: absolute;
    top: 15px;
    left: 18px;
    width: 34px;
    height: 34px;
    background: #e4efff;
    color: #0875f9;
    border-radius: 8px;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    font-weight: 700;
}

.sh-rdp-guide .rdp-steps p {
    font-size: 16px;
    line-height: 1.65;
    margin: 8px 0 0;
}

/* Пример IP-адреса и порта */
.sh-rdp-guide .rdp-code {
    display: block;
    background: #f3f6fa;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    padding: 17px 20px;
    margin: 15px 0;
    overflow-x: auto;
}

.sh-rdp-guide .rdp-code code {
    font-family: Consolas, monospace;
    font-size: 17px;
    font-weight: 400;
    color: #14213d;
    background: transparent;
    padding: 0;
}

/* Блок технической поддержки */
.sh-rdp-guide .rdp-support {
    display: block;
    background: #f3f6fa;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #253047;
}

/* Выделение текста */
.sh-rdp-guide strong,
.sh-rdp-guide b {
    font-weight: 700;
}

/* ==========================================
   Мобильная версия
   ========================================== */

@media (max-width: 767px) {

    .sh-rdp-guide {
        font-size: 15px;
        padding: 10px 0 30px;
    }

    .sh-rdp-guide h1 {
        font-size: 26px;
    }

    .sh-rdp-guide h2 {
        font-size: 21px;
    }

    .sh-rdp-guide h3 {
        font-size: 17px;
    }

    .sh-rdp-guide p,
    .sh-rdp-guide ul li,
    .sh-rdp-guide .rdp-card,
    .sh-rdp-guide .rdp-card p,
    .sh-rdp-guide .rdp-notice,
    .sh-rdp-guide .rdp-support,
    .sh-rdp-guide .rdp-steps > li,
    .sh-rdp-guide .rdp-steps p {
        font-size: 15px;
    }

    .sh-rdp-guide .rdp-card {
        padding: 16px;
    }

    .sh-rdp-guide .rdp-notice {
        padding: 15px 16px;
    }

    .sh-rdp-guide .rdp-steps > li {
        padding: 15px 15px 15px 58px;
    }

    .sh-rdp-guide .rdp-steps > li::before {
        left: 12px;
    }

    .sh-rdp-guide .rdp-code code {
        font-size: 15px;
    }
}
