/* Guzhuang Arabic text, 2026-10-27.
 * Keep page, navigation, grids, tables and carousels in their original LTR
 * layout. Reuse existing text-module selectors; no per-element classes.
 * Plaintext bidi keeps English paragraphs readable during translation.
 */
html[lang="ar"] .pc_head_list_box > .item > a,
html[lang="ar"] .publicTwo_stage_nav .every_one > a,
html[lang="ar"] .head_language_01 > span,
html[lang="ar"] .head_language_02 > a,
html[lang="ar"] .head_language_02 > a > span,
html[lang="ar"] .mobile_header .mobile_menu_tt .text,
html[lang="ar"] .mobile_header .mobile_menu_down_clm_tt,
html[lang="ar"] .mobile_header .mobile_menu_down_clm_list a,
html[lang="ar"] .mobile_header .Threeclassify_box a,
html[lang="ar"] .mobile_header .mobile_lag_box > a,
html[lang="ar"] .mobile_header .mobile_lag_icon,
html[lang="ar"] .SubPage_banner_box .crumbs_a > a,
html[lang="ar"] .SubPage_banner_box .banner_text,
html[lang="ar"] .compBoxOne .item > a > span,
html[lang="ar"] .public_page_title .tt_01,
html[lang="ar"] .public_page_title .tt_02,
html[lang="ar"] .public_More_btn,
html[lang="ar"] .indBoxOne .tt,
html[lang="ar"] .indBoxOne .text,
html[lang="ar"] .indBoxOne .title,
html[lang="ar"] .indBoxTwo .tt,
html[lang="ar"] .indBoxTwo .text,
html[lang="ar"] .indBoxTwo .tt_top > span,
html[lang="ar"] .indBoxTwo .bottom_text,
html[lang="ar"] .indBoxTwo .btn_box > a,
html[lang="ar"] .indBoxFour .tt_01,
html[lang="ar"] .indBoxFour .tt_02,
html[lang="ar"] .indBoxFour .item_tt,
html[lang="ar"] .indBoxFive .bottom_box,
html[lang="ar"] .aboBoxTwo1,
html[lang="ar"] .aboBoxTwo2,
html[lang="ar"] .aboBoxTwo .tt,
html[lang="ar"] .aboBoxTwo .text,
html[lang="ar"] .aboBoxTwo5_dl .item,
html[lang="ar"] .aboBoxTwo3 .bottom_text,
html[lang="ar"] .aboBoxFive .tt,
html[lang="ar"] .aboBoxFive .text_item > span,
html[lang="ar"] .aboBoxFive .tt_box,
html[lang="ar"] .aboBoxFive .text,
html[lang="ar"] .aboBoxFour .text_01,
html[lang="ar"] .aboBoxFour .text_02,
html[lang="ar"] .ourBoxOne .text_01,
html[lang="ar"] .cerBoxOne .bottom_box,
html[lang="ar"] .proBoxOne1_01,
html[lang="ar"] .proBoxOne .tt_box,
html[lang="ar"] .proBoxOne1_02_dl_top > a,
html[lang="ar"] .proBoxOne1_02_dl_bot > a > span,
html[lang="ar"] .proBoxOne1_03 > a > span,
html[lang="ar"] .proBoxOne .bottom_box,
html[lang="ar"] .proBoxOne .prev,
html[lang="ar"] .proBoxOne .next,
html[lang="ar"] .pro_deBoxOne .big_tt,
html[lang="ar"] .pro_deBoxOne .text_box,
html[lang="ar"] .pro_deOne1_R dl > dd,
html[lang="ar"] .pro_deBoxOne .btn_box > a > span,
html[lang="ar"] .pro_deBoxOne .email_box > a > span,
html[lang="ar"] .pro_deBoxOne .share_text,
html[lang="ar"] .pro_deBoxTwo .item,
html[lang="ar"] .pro_deBoxThree .tt,
html[lang="ar"] .pro_deThree1_01,
html[lang="ar"] .pro_deBoxThree .text,
html[lang="ar"] .pro_deBoxThree .bottom_text,
html[lang="ar"] .pro_deThree4_w td,
html[lang="ar"] .pro_deThree4_w th,
html[lang="ar"] .pro_deThree4_w > span,
html[lang="ar"] .cas_deBoxTwo .date_box,
html[lang="ar"] .cas_deBoxTwo .tt,
html[lang="ar"] .cas_deBoxTwo .More_btn,
html[lang="ar"] .tecBoxOne .tt,
html[lang="ar"] .tecBoxOne .text,
html[lang="ar"] .serBoxTwo .tt,
html[lang="ar"] .serBoxTwo .text,
html[lang="ar"] .serBoxThree .list_top_box > span,
html[lang="ar"] .serBoxThree .list_bot_box,
html[lang="ar"] .serBoxThree .btn_box > a,
html[lang="ar"] .faqBoxTwo1 .item > a,
html[lang="ar"] .faqBoxTwo2_top > span,
html[lang="ar"] .faqBoxTwo2_bot,
html[lang="ar"] .faqBoxTwo3 > a > span,
html[lang="ar"] .faqBoxTwo .next,
html[lang="ar"] .faqBoxTwo .prev,
html[lang="ar"] .dowBoxTwo1_01,
html[lang="ar"] .dowBoxTwo .tt,
html[lang="ar"] .dowBoxTwo .text_01,
html[lang="ar"] .dowBoxTwo .text_02,
html[lang="ar"] .dowBoxTwo .btn_box > span,
html[lang="ar"] .conBoxOne .tt_01,
html[lang="ar"] .conBoxOne .tt_02,
html[lang="ar"] .conBoxOne .input_tt,
html[lang="ar"] .conBoxOne .btn_box > button,
html[lang="ar"] .conBoxOne .text,
html[lang="ar"] .conBoxOne .tt,
html[lang="ar"] .conBoxOne .email_box > a > span,
html[lang="ar"] .contact_box .pro_inf_btn,
html[lang="ar"] .inq_success .tt,
html[lang="ar"] .inq_success .btn,
html[lang="ar"] .public_foot_box .foot_cen_public_tt > a,
html[lang="ar"] .public_foot_box .item > a > span,
html[lang="ar"] .public_foot_box .foot_cen_04_form > button,
html[lang="ar"] .public_foot_box .left_text,
html[lang="ar"] .public_foot_box .right_a,
html[lang="ar"] input[type="text"],
html[lang="ar"] input[type="search"],
html[lang="ar"] textarea,
html[lang="ar"] #search_news option {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* Contacts and machine dimensions retain their literal character order. */
html[lang="ar"] input[type="email"],
html[lang="ar"] input[type="tel"],
html[lang="ar"] input[name="email"],
html[lang="ar"] input[name="myemail"],
html[lang="ar"] input[name="mobile"],
html[lang="ar"] input[name="phone"],
html[lang="ar"] .public_foot_box .item > a > span > i,
html[lang="ar"] .conBoxOne .email_box > a > span > i {
    direction: ltr;
    unicode-bidi: isolate;
}

/* 2026-10-30: footer details only; keep the four columns and page LTR. */
html[lang="ar"] .foot_cen_01 .foot_cen_public_list .item > a,
html[lang="ar"] .foot_cen_02 .foot_cen_public_list .item > a,
html[lang="ar"] .foot_cen_03 .foot_cen_public_list .item > a {
    flex-direction: row-reverse;
}

html[lang="ar"] .foot_cen_01 .foot_cen_public_list .item > a > span,
html[lang="ar"] .foot_cen_02 .foot_cen_public_list .item > a > span,
html[lang="ar"] .foot_cen_03 .foot_cen_public_list .item > a > span {
    min-width: 0;
    text-align: right;
}

html[lang="ar"] .foot_cen_public_list .item > a > .iconfont {
    flex-shrink: 0;
    text-align: center;
}

html[lang="ar"] .foot_cen_01 .foot_cen_public_list .icon-you,
html[lang="ar"] .foot_cen_02 .foot_cen_public_list .icon-you {
    transform: scaleX(-1);
}

html[lang="ar"] .foot_cen_04 .media_box {
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 8px;
}

/* Anchor desktop dropdowns at the nav item's right edge, extending left. */
html[lang="ar"] .pc_head_list_box .publicTwo_stage_nav {
    left: auto;
    right: 0;
}

/* Contact reading order from the right: icon, label, original LTR value. */
html[lang="ar"] .public_foot_box .foot_cen_03 .foot_cen_public_list .item > a > span.foot_contact_line {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.35em;
    direction: ltr;
    unicode-bidi: isolate;
}

html[lang="ar"] .foot_cen_03 .foot_contact_label {
    flex: 0 0 auto;
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
}

html[lang="ar"] .foot_cen_03 .foot_contact_value {
    flex: 0 1 auto;
    min-width: 0;
    text-align: right;
    direction: ltr;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

/* Contact page: keep both columns, arrange labels/icons from the right. */
html[lang="ar"] .conBoxOne1_L_form .item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #000000;
}

html[lang="ar"] .conBoxOne1_L_form .item .input_tt {
    position: static;
    flex: 0 0 auto;
    max-width: 45%;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
}

html[lang="ar"] .conBoxOne1_L_form .item input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0;
    border-bottom: 0;
    text-align: right;
}

html[lang="ar"] .conBoxOne1_L_form .item input::placeholder {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .conBoxOne1_L_form .btn_box {
    text-align: right;
}

html[lang="ar"] .conBoxOne1_R .media_box,
html[lang="ar"] .conBoxOne1_R .email_box > a,
html[lang="ar"] .conBoxOne1_R_dl .item > a {
    flex-direction: row-reverse;
}

html[lang="ar"] .conBoxOne1_R .media_box {
    flex-wrap: wrap;
    gap: 10px;
}

html[lang="ar"] .conBoxOne1_R .media_box .text {
    padding: 0;
}

html[lang="ar"] .conBoxOne1_R .media_box > a {
    flex-shrink: 0;
    margin: 0;
}

html[lang="ar"] .conBoxOne1_R .email_box > a > .iconfont,
html[lang="ar"] .conBoxOne1_R_dl .item > a > .iconfont {
    flex-shrink: 0;
}

html[lang="ar"] .conBoxOne1_R .email_box > a > span {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    gap: 0 0.25em;
    padding: 0 10px 0 0;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

html[lang="ar"] .conBoxOne1_R .email_box > a > span > i {
    min-width: 0;
    overflow-wrap: anywhere;
}

html[lang="ar"] .conBoxOne1_R_dl .item > a > .right_box {
    min-width: 0;
    padding: 10px 12px 0 0;
    text-align: right;
    overflow-wrap: anywhere;
}
