/* ===== SEO/结构补丁（不改变原视觉） ===== */
/* 侧栏标题升级为 H1 后，保持原 h3 的字号与配色 */
.xypg-left-title h1 {
    font-size: 20px;
    color: #ffffff;
    line-height: 30px;
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
    z-index: 2;
    margin: 0;
}
/* 面包屑末项升级为 H1：行内显示，完全继承原面包屑样式 */
span.anchor h1.anchor-h1 {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

/* ===== 阿拉伯语 RTL 补丁（2026-10-27） ===== */
/* bootstrap.min.css 里 body{text-align:left} 会一路被继承，
   导致阿语站的正文、面包屑、页脚全成了左对齐。这里按语言类整体翻正。 */
html.lang-ar body {
    text-align: right;
}

/* 面包屑：分隔符与两侧文字之间留出空隙（原来只有一个空格，贴得太近） */
#anchor .anchor .crumb-sep {
    font-style: normal;
    margin: 0 12px;
    color: #999;
}

/* 少数组件在 CSS 里单独写死了 text-align:left，这里按 RTL 翻正 */
html.lang-ar .hm-product-tit .s_title2,
html.lang-ar .hm-product-tit .s_title3,
html.lang-ar .hm-about-tit .s_title2,
html.lang-ar .h-product-list li .txt h3.tit,
html.lang-ar .x-product-list li .txt h3.tit,
html.lang-ar .product-list .content .list .cont p,
html.lang-ar .product-list.show-detail li .list .cont,
html.lang-ar .whylist li .wz2,
html.lang-ar .dg-download-page .category-item,
html.lang-ar .site-header-bottom .lang-dropdown a {
    text-align: right;
}

/* RTL 下要跟着翻的左右内边距（原来只写了 padding-left，翻过来后文字会贴到图标/边框上） */
html.lang-ar .p_c_content > li .p_c_title1 a,
html.lang-ar .p_c_content .deep-2 li .p_c_title2 a {
    padding-left: 0;
    padding-right: 15px;
}

/* 侧栏「邮箱 / WhatsApp」卡片：图标在右、文字在左，文字原来的左侧内边距要挪到右侧 */
html.lang-ar .left-sidebar .pp-item .dr {
    padding-left: 0;
    padding-right: 10px;
}

/* 纯数字/拉丁内容在 RTL 段落里会被 bidi 算法拆成倒序（日期变 25-08-11、电话变 5392 5084 137 86+），
   这里把这几类单独隔离出来，按 LTR 原样显示 */
html.lang-ar .time {
    direction: ltr;
    unicode-bidi: isolate;
}

/* 页脚联系信息：每行按自己第一个强字符定方向 ——
   「Tel: +86 …」走 LTR 顺序不错乱，「واتس اب: +86 …」仍按 RTL 起排 */
html.lang-ar .foot-lxwm p {
    unicode-bidi: plaintext;
}

/* 侧栏邮箱 / WhatsApp 卡片里的号码与邮箱 */
html.lang-ar .left-sidebar .pp-item .s02 a {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}
