/* TradingRoad Arabic pages. Scoped to .tr-ar-site; no change to English UI. */
html[lang=ar]{direction:rtl;scroll-padding-top:145px}
body.tr-ar-site{font-family:'TR Frutiger Arabic',Arial,sans-serif;background:#f7f8fc;color:#091044;direction:rtl}
body.tr-ar-site :is(h1,h2,h3,h4,p,button,span,summary,label,a,input,select){font-family:'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-unified-header .tr-unified-wrap{direction:ltr}
body.tr-ar-site .tr-unified-header .tr-unified-links{direction:rtl;margin-left:auto;margin-right:0}
body.tr-ar-site .tr-unified-header .tr-unified-links>a,body.tr-ar-site .tr-unified-header .tr-nav-dropdown>summary{font:700 14px/1.5 'TR Frutiger Arabic',Arial,sans-serif;letter-spacing:0}
body.tr-ar-site .tr-unified-header .tr-nav-dropdown .tr-subnav{direction:rtl;text-align:right}
body.tr-ar-site .tr-unified-header .tr-subnav a{font:600 14px/1.5 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-unified-header .tr-unified-actions{direction:ltr}
body.tr-ar-site .tr-unified-header .tr-unified-actions .nav-login,body.tr-ar-site .tr-unified-header .nav-cta{font:700 13px 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-page-hero{direction:rtl;text-align:right}
body.tr-ar-site .tr-page-hero .tr-page-hero-inner{direction:rtl}
body.tr-ar-site .tr-page-hero h1{font:700 clamp(37px,4.25vw,66px)/1.25 'TR Frutiger Arabic',Arial,sans-serif;letter-spacing:0;max-width:950px}
body.tr-ar-site .tr-page-hero .tr-page-intro{font:400 clamp(15px,1.5vw,19px)/1.9 'TR Frutiger Arabic',Arial,sans-serif;max-width:700px}
body.tr-ar-site .tr-kicker{font:700 12px/1.5 'TR Frutiger Arabic',Arial,sans-serif;letter-spacing:0}
body.tr-ar-site .tr-page-actions{direction:rtl}
body.tr-ar-site .tr-page-actions a{font:700 14px/1.4 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-risk-banner{font:400 12px/1.65 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-risk-banner a{color:#fec901}
body.tr-ar-site .tr-page-content{background:#f7f8fc}
body.tr-ar-site .tr-ar-main{color:#101549}
body.tr-ar-site .tr-ar-main .tr-ar-section{padding:83px 0;background:#f7f8fc}
body.tr-ar-site .tr-ar-main .tr-ar-section:nth-of-type(even){background:#fff}
body.tr-ar-site .tr-ar-main .tr-ar-section.tr-ar-dark{background:#080d43;color:#fff}
body.tr-ar-site .tr-ar-main .tr-ar-section.tr-ar-dark :is(h2,h3,p){color:#fff}
body.tr-ar-site .tr-ar-main .tr-ar-section.tr-ar-dark p{color:#c6d0ef}
body.tr-ar-site .tr-ar-main .tr-ar-label{display:inline-flex;align-items:center;gap:10px;color:#2b48a6;font:700 12px/1.5 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-main .tr-ar-label:before{content:"";width:7px;height:7px;background:#fec901;border-radius:50%;flex:none}
body.tr-ar-site .tr-ar-main .tr-ar-dark .tr-ar-label{color:#c0ccff}
body.tr-ar-site .tr-ar-main h2{color:#080d42;font:700 clamp(32px,3.4vw,48px)/1.26 'TR Frutiger Arabic',Arial,sans-serif;margin:16px 0 21px;letter-spacing:0}
body.tr-ar-site .tr-ar-main h3{color:#0a144e;font:700 clamp(21px,2vw,26px)/1.34 'TR Frutiger Arabic',Arial,sans-serif;margin:20px 0 13px}
body.tr-ar-site .tr-ar-main p{color:#5c6a88;font:400 16px/1.9 'TR Frutiger Arabic',Arial,sans-serif;margin:0 0 15px}
body.tr-ar-site .tr-ar-main strong{font-weight:700}
body.tr-ar-site .tr-ar-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:29px}
body.tr-ar-site .tr-ar-head>div{max-width:750px}
body.tr-ar-site .tr-ar-head>p{max-width:350px;font-size:14px;margin:0 0 6px}
body.tr-ar-site .tr-ar-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
body.tr-ar-site .tr-ar-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
body.tr-ar-site .tr-ar-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}
body.tr-ar-site .tr-ar-card{display:flex;flex-direction:column;min-height:240px;border:1px solid #e0e6f2;background:#fff;border-radius:18px;padding:31px 29px}
body.tr-ar-site .tr-ar-card .tr-ar-number{display:block;color:#152b9b;font:700 33px/1.2 'Outfit',sans-serif;direction:ltr;text-align:right}
body.tr-ar-site .tr-ar-card h3{margin:auto 0 14px}
body.tr-ar-site .tr-ar-card p{font-size:14px;line-height:1.85;margin:0}
body.tr-ar-site .tr-ar-dark .tr-ar-card{background:#121b50;border-color:#34477e}
body.tr-ar-site .tr-ar-dark .tr-ar-card h3{color:#fff}
body.tr-ar-site .tr-ar-dark .tr-ar-card .tr-ar-number{color:#fec901}
body.tr-ar-site .tr-ar-dark .tr-ar-card p{color:#bdcbed}
body.tr-ar-site .tr-ar-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,85px);align-items:center}
body.tr-ar-site .tr-ar-panel{padding:35px;border:1px solid #dce3f3;background:#fff;border-radius:20px}
body.tr-ar-site .tr-ar-panel h3{margin:0 0 17px}
body.tr-ar-site .tr-ar-list{list-style:none;margin:0;padding:0}
body.tr-ar-site .tr-ar-list li{list-style:none;border-bottom:1px solid #e5e9f2;padding:17px 0;color:#536280;font:400 15px/1.85 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-list li:last-child{border:0}
body.tr-ar-site .tr-ar-list li:before{content:"✓";display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e8edfc;color:#1736a0;margin-left:11px;font:700 13px 'Outfit'}
body.tr-ar-site .tr-ar-quote{font:700 clamp(37px,5vw,65px)/1.2 'Outfit',sans-serif;direction:ltr;text-align:right;color:#0b188d;margin:12px 0 23px}
body.tr-ar-site .tr-ar-callout{padding:26px 30px;border-right:4px solid #fec901;border-radius:14px 0 0 14px;background:#edf1fc;margin-top:23px;color:#536384;font:400 15px/1.9 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-callout a{color:#09288f}
body.tr-ar-site .tr-ar-accordions{background:white;border:1px solid #e3e9f3;border-radius:18px;overflow:hidden}
body.tr-ar-site .tr-ar-accordions details{padding:0 23px;border-bottom:1px solid #e7ebf3}
body.tr-ar-site .tr-ar-accordions details:last-child{border:0}
body.tr-ar-site .tr-ar-accordions summary{position:relative;cursor:pointer;list-style:none;padding:23px 4px 23px 50px;color:#0b154d;font:700 16px/1.6 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-accordions summary::-webkit-details-marker{display:none}
body.tr-ar-site .tr-ar-accordions summary:after{content:"+";position:absolute;left:0;top:23px;display:grid;place-items:center;width:26px;height:26px;background:#e9eef9;border-radius:7px;color:#091b90;font:700 19px 'Outfit'}
body.tr-ar-site .tr-ar-accordions details[open] summary:after{content:"−"}
body.tr-ar-site .tr-ar-accordions p{font-size:14px;padding:0 4px 20px;margin:0;color:#60708c}
body.tr-ar-site .tr-ar-accordions a{color:#1438a0}
body.tr-ar-site .tr-ar-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}
body.tr-ar-site .tr-ar-resource{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:133px;padding:25px;background:#fff;border:1px solid #e0e6f2;border-radius:16px;text-decoration:none!important;color:#11194c;font:700 20px/1.5 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-resource:hover{border-color:#aab8e4}
body.tr-ar-site .tr-ar-resource span{color:#0d3299;font:700 13px 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-final{padding:25px 0 95px;background:#f7f8fc}
body.tr-ar-site .tr-ar-final-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:44px 50px;border-radius:22px;background:radial-gradient(ellipse at 100% 0,rgba(52,89,205,.4),transparent 60%),#080d44}
body.tr-ar-site .tr-ar-final-inner h2{color:#fff;font-size:clamp(29px,3.2vw,42px);margin:0 0 15px}
body.tr-ar-site .tr-ar-final-inner p{color:#c4ccef;max-width:620px;font-size:15px;margin:0}
body.tr-ar-site .tr-ar-action{flex:none;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:15px 22px;background:#fec901;border-radius:40px;text-decoration:none!important;color:#080d3e!important;font:700 14px 'TR Frutiger Arabic',Arial,sans-serif}
body.tr-ar-site .tr-ar-action:hover{background:#ffe27a}
body.tr-ar-site .tr-ar-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.tr-ar-site .tr-ar-field label{display:block;color:#172350;font:700 14px 'TR Frutiger Arabic',Arial,sans-serif;margin-bottom:8px}
body.tr-ar-site .tr-ar-field input,body.tr-ar-site .tr-ar-field select,body.tr-ar-site .tr-ar-field textarea{width:100%;border:1px solid #dce3ee;background:white;border-radius:10px;padding:13px 16px;font:400 14px 'TR Frutiger Arabic',Arial,sans-serif;color:#16204b;min-height:52px}
body.tr-ar-site .tr-ar-field.full{grid-column:1/-1}
body.tr-ar-site .tr-ar-field textarea{min-height:130px}
body.tr-ar-site .tr-ar-foot{background:#070b32;color:#b7c4ee;padding:63px 0 33px}
body.tr-ar-site .tr-ar-foot .tr-ar-foot-grid{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:32px}
body.tr-ar-site .tr-ar-foot h3{color:#fff;font:700 17px 'TR Frutiger Arabic',Arial,sans-serif;margin:0 0 20px}
body.tr-ar-site .tr-ar-foot p{color:#bdc5ec;line-height:1.8;font-size:14px}
body.tr-ar-site .tr-ar-foot a{display:block;color:#c7d0ed;font:600 13px/1.5 'TR Frutiger Arabic',Arial,sans-serif;padding:6px 0;text-decoration:none}
body.tr-ar-site .tr-ar-foot a:hover{color:#fec901}
body.tr-ar-site .tr-ar-foot-brand img{max-width:200px;width:100%;height:auto}
body.tr-ar-site .tr-ar-foot-risk{margin-top:45px;border-top:1px solid #34406a;padding-top:21px;color:#bcc7e9;font-size:12px;line-height:1.85}
body.tr-ar-site .tr-ar-foot-bottom{display:flex;justify-content:space-between;gap:16px;padding-top:20px;color:#8394bc;font-size:12px}
body.tr-ar-site .tr-ar-page-content a:focus-visible{outline:3px solid #fec901;outline-offset:3px}
body.tr-ar-site .tr-ar-legal-document{background:#fff;padding:44px;border:1px solid #e0e6f2;border-radius:18px}
body.tr-ar-site .tr-ar-legal-document h2{font-size:27px;margin:28px 0 12px}
body.tr-ar-site .tr-ar-legal-document p{font-size:16px;line-height:2}
@media(max-width:990px){
body.tr-ar-site .tr-ar-cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}
body.tr-ar-site .tr-ar-head{display:block}
body.tr-ar-site .tr-ar-head>p{max-width:none;margin:12px 0}
body.tr-ar-site .tr-ar-foot .tr-ar-foot-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
body.tr-ar-site .tr-ar-main .tr-ar-section{padding:63px 0}
body.tr-ar-site .tr-ar-cards,body.tr-ar-site .tr-ar-cards.two,body.tr-ar-site .tr-ar-cards.four,body.tr-ar-site .tr-ar-resources,body.tr-ar-site .tr-ar-split{grid-template-columns:1fr}
body.tr-ar-site .tr-ar-card{min-height:180px;padding:27px}
body.tr-ar-site .tr-ar-main h2{font-size:clamp(29px,7vw,40px)}
body.tr-ar-site .tr-ar-final-inner{display:block;padding:34px 29px}
body.tr-ar-site .tr-ar-final-inner .tr-ar-action{margin-top:22px}
body.tr-ar-site .tr-ar-foot .tr-ar-foot-grid{grid-template-columns:1fr 1fr}
body.tr-ar-site .tr-ar-page-hero h1{font-size:clamp(36px,7vw,49px)}
body.tr-ar-site .tr-unified-header .tr-unified-links{direction:rtl}
body.tr-ar-site .tr-unified-header .tr-unified-wrap{direction:ltr}
body.tr-ar-site .tr-unified-header .tr-mobile-nav-actions{direction:rtl}
body.tr-ar-site .tr-unified-header .tr-language-switch-mobile{direction:ltr;justify-content:flex-end}
}
@media(max-width:500px){
body.tr-ar-site .tr-ar-foot .tr-ar-foot-grid{grid-template-columns:1fr}
body.tr-ar-site .tr-ar-form{grid-template-columns:1fr}
body.tr-ar-site .tr-ar-foot-bottom{display:block}
body.tr-ar-site .tr-ar-legal-document{padding:22px}
body.tr-ar-site .tr-ar-final-inner .tr-ar-action{width:100%}
}

/* Arabic inner-page hero image: mirrored artwork, original RTL content unchanged. */
body.tr-inner-page.tr-ar-site .tr-page-hero::before {
  left:max(0px,calc((100vw - 1440px) / 3.4));
  right:auto;
  transform:translateY(-16px) scaleX(-1);
}
@media(max-width:1000px) {
  body.tr-inner-page.tr-ar-site .tr-page-hero::before {
    left:0;
    right:auto;
  }
}
@media(max-width:760px) {
  body.tr-inner-page.tr-ar-site .tr-page-hero::before {
    left:0;
    right:0;
  }
}


/* Uniform inner-page transition — Insights already has its approved version.
   Scoped strictly to Arabic inner pages. Homepage, articles and Insights are excluded. */
body.tr-inner-page.tr-ar-site:not(.tr-template-insights):not(.tr-insights-single) .tr-page-content {
  background:linear-gradient(180deg,#8A9DE9 0px,#CDD7F6 65px,#F6F7FC 175px,#F6F7FC 100%);
}
body.tr-inner-page.tr-ar-site:not(.tr-template-insights):not(.tr-insights-single)
.tr-page-content .tr-ar-main > .tr-ar-section:first-of-type:not(.tr-ar-dark) {
  background:linear-gradient(180deg,#8A9DE9 0px,#CDD7F6 65px,#F7F8FC 175px,#F7F8FC 100%);
}
@media (max-width:760px) {
  body.tr-inner-page.tr-ar-site:not(.tr-template-insights):not(.tr-insights-single) .tr-page-content,
  body.tr-inner-page.tr-ar-site:not(.tr-template-insights):not(.tr-insights-single)
  .tr-page-content .tr-ar-main > .tr-ar-section:first-of-type:not(.tr-ar-dark) {
    background:linear-gradient(180deg,#A5B8F1 0px,#CDD8F7 28px,#F7F8FC 85px,#F7F8FC 100%);
  }
}
