/* Arabic text needs consistent leading at every breakpoint. Unitless values
   preserve the same rhythm when fonts resize or content wraps. */
html[lang^="ar"] body.gigl-ar{--gig-ar-heading-leading:1.5;--gig-ar-copy-leading:1.85;--gig-ar-ui-leading:1.6;}
html[lang^="ar"] body.gigl-ar :is(#brx-content,#brx-header,#brx-footer,#hb-menu) :is(h1,h2,h3,h4,h5,h6,.brxe-heading,[role="heading"],.bw-product-title,.gp-partner-name,.gc-types strong){line-height:var(--gig-ar-heading-leading)!important;letter-spacing:normal!important;overflow:visible;}
html[lang^="ar"] body.gigl-ar :is(#brx-content,#brx-header,#brx-footer,#hb-menu) :is(p,.brxe-text,.brxe-text-basic,li,blockquote,.gc-types small,.gp-map-hint,.gp-map-note){line-height:var(--gig-ar-copy-leading)!important;letter-spacing:normal!important;}
html[lang^="ar"] body.gigl-ar :is(#brx-content,#brx-header,#brx-footer,#hb-menu) :is(h1,h2,h3,h4,h5,h6,.brxe-heading) :is(em,strong,span){line-height:inherit!important;}
html[lang^="ar"] body.gigl-ar :is(#brx-content,#brx-header,#brx-footer,#hb-menu) :is(p,.brxe-text,.brxe-text-basic) :is(em,strong,span){line-height:inherit;}
html[lang^="ar"] body.gigl-ar :is(#brx-content,#brx-header,#brx-footer,#hb-menu) :is(button,label,input,select,textarea,dt,dd,summary,.hb-text-link,.bw-button,.hb-button,.sp-breadcrumb,.gn-meta,.bw-product-category,.bw-product-action,.hb-menu-tabs [role="tab"]){line-height:var(--gig-ar-ui-leading)!important;}
html[lang^="ar"] body.gigl-ar #brx-content .hb-title-line{padding-block:0;clip-path:none!important;overflow:visible!important;}
html[lang^="ar"] body.gigl-ar #brx-content :is(.gn-card h3,.bw-product-title){height:auto;max-height:none;-webkit-line-clamp:unset;}
/* Do not constrain Arabic paragraphs to English-sized fixed text frames. */
html[lang^="ar"] body.gigl-ar #brx-content :is(.ga-timeline article,.ga-capabilities article,.ga-future article,.gn-card,.bw-product-copy,.gc-types label){height:auto;min-width:0;}
/* Title case only the requested English news introduction. */
html[lang^="en"] .gn-intro h1{text-transform:capitalize;}
