/* Only the bilingual control affects English pages. Layout changes are Arabic-only. */
.sabq-language-switcher{position:fixed;right:20px;bottom:22px;z-index:99999;display:flex;gap:2px;padding:5px;background:#fff;border:1px solid #d6bc79;border-radius:28px;box-shadow:0 4px 20px #0003;font:600 14px/1.5 Arial,Tahoma,sans-serif;direction:ltr}
.sabq-language-switcher a{display:block;padding:8px 15px;color:#252525;border-radius:22px;text-decoration:none;white-space:nowrap}
.sabq-language-switcher a[aria-current=true]{background:#b69b5d;color:#fff}
.sabq-language-switcher a:hover{background:#eee2c9;color:#171717}
.sabq-language-switcher a:focus-visible{outline:3px solid #393939;outline-offset:2px}
/* Replace only floating TP controls; its editor and inline/menu controls remain available. */
body:has(.sabq-language-switcher) #trp-floater-ls,body:has(.sabq-language-switcher) .trp-floating-switcher{display:none!important}
html[lang^=ar] body{direction:rtl;font-family:Tahoma,Arial,sans-serif}
html[lang^=ar] h1,html[lang^=ar] h2,html[lang^=ar] h3,html[lang^=ar] h4,html[lang^=ar] h5,html[lang^=ar] h6,html[lang^=ar] p,html[lang^=ar] .pbmit-title,html[lang^=ar] .pbmit-element-title,html[lang^=ar] .pbmit-desc,html[lang^=ar] .pbmit-button-text,html[lang^=ar] .pbmit-heading-desc,html[lang^=ar] .pbmit-sub-title,html[lang^=ar] .pbmit-tbar-title,html[lang^=ar] .pbmit-ihbox-content,html[lang^=ar] .pbmit-ihbox-contents,html[lang^=ar] .navigation,html[lang^=ar] .navbar,html[lang^=ar] .menu,html[lang^=ar] .widget,html[lang^=ar] .pbmit-footer-text-area{font-family:Tahoma,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none}
html[lang^=ar] .pbmit-heading-subheading,html[lang^=ar] .pbmit-entry-content,html[lang^=ar] .pbmit-service-content,html[lang^=ar] .pbmit-ihbox-contents,html[lang^=ar] .widget,html[lang^=ar] .pbmit-footer-widget-col-1,html[lang^=ar] .pbmit-footer-widget-col-2,html[lang^=ar] .pbmit-footer-widget-col-3,html[lang^=ar] .pbmit-footer-widget-col-4{text-align:right}
html[lang^=ar] .text-start{text-align:right!important}html[lang^=ar] .text-end{text-align:left!important}
html[lang^=ar] .text-center,html[lang^=ar] .text-center .pbmit-heading-subheading,html[lang^=ar] .text-center .pbmit-ihbox-contents{text-align:center!important}
html[lang^=ar] .pbmit-slider-content h5{line-height:1.5;letter-spacing:0!important}
html[lang^=ar] .pbmit-slider-content .banner-subtittle{line-height:1.9}
html[lang^=ar] input,html[lang^=ar] textarea,html[lang^=ar] select{font-family:Tahoma,Arial,sans-serif;direction:rtl;text-align:right}
html[lang^=ar] input[type=email],html[lang^=ar] input[type=tel],html[lang^=ar] input[type=url],html[lang^=ar] a[href^="tel:"],html[lang^=ar] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate}
html[lang^=ar] input[type=email],html[lang^=ar] input[type=tel],html[lang^=ar] input[type=url]{text-align:left}
html[lang^=ar] input[type=email]::placeholder,html[lang^=ar] input[type=tel]::placeholder,html[lang^=ar] input[type=url]::placeholder{direction:rtl;text-align:right}
html[lang^=ar] .list-group,html[lang^=ar] ul:not(.swiper-wrapper){padding-inline-start:0}
html[lang^=ar] .pbmit-breadcrumb .sep i{display:inline-block;transform:scaleX(-1)}
/* Swiper/GSAP depend on their original coordinates. Leave their tracks LTR while text reads RTL. */
html[lang^=ar] .swiper-slider,html[lang^=ar] .swiper,html[lang^=ar] .swiper-container{direction:ltr}
html[lang^=ar] .swiper-slide{direction:rtl}
html[lang^=ar] .pbmit-button-content-wrapper{gap:10px}
html[lang^=ar] .pbmit-button-text{margin-left:0!important;margin-right:0!important}
html[lang^=ar] .main-menu .navigation>li>ul,html[lang^=ar] .navbar .sub-menu{left:auto;right:0;text-align:right}
@media(max-width:767px){.sabq-language-switcher{right:12px;bottom:16px}.sabq-language-switcher a{padding:7px 12px}html[lang^=ar] .pbmit-slider-content h5{font-size:clamp(27px,7.5vw,46px)!important;line-height:1.45!important}html[lang^=ar] .pbmit-tbar-title{overflow-wrap:anywhere;line-height:1.5!important}}
