/* Scoped to Trader. Keep Elementor content and affiliate destinations intact. */
body.trader-portal .site-footer .brand{direction:rtl;flex-direction:row}
body.trader-portal .site-footer .t5-footer-name{text-align:right}
body.trader-portal .t9-calc-shell>.t12-all-calculators{justify-self:center;align-self:center;width:fit-content;max-width:100%;margin-top:4px;min-width:196px}
@media(max-width:650px){body.trader-portal .t9-calc-shell>.t12-all-calculators{width:100%;min-width:0}}
body.trader-portal .site-header.trader3-header .brand{gap:12px;flex-shrink:0}
body.trader-portal .site-header.trader3-header .brand img{width:52px;height:52px;flex:0 0 52px;max-width:none}
body.trader-portal .site-header.trader3-header .t5-brand-copy{gap:5px;line-height:1.2;letter-spacing:0}
body.trader-portal .site-header.trader3-header .t5-brand-copy strong{font-size:28px;font-weight:750;line-height:1.15;letter-spacing:0;color:#fff}
body.trader-portal .site-header.trader3-header .t5-brand-copy small{font-size:12px;line-height:1.4;font-weight:400;color:#cfdaed;display:block}
body.trader-portal .site-footer .brand img{width:52px;height:52px;flex:0 0 52px}
body.trader-portal .site-footer .t5-footer-name{font-size:28px;line-height:1.25}
body.trader-portal .site-footer .t5-footer-name small{font-size:14px;margin-top:5px}
body.trader-portal :is(.header-cta,.button-blue,.t-action,.t-mobile-finder,.t-primary-link,.t-finder-benefit,.benefit-link[rel~="sponsored"]){
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 19px;
  color:#fff;background:linear-gradient(180deg,#4673ff 0%,#315bdd 100%);border:1px solid #658bff;border-bottom-color:#2043b7;border-radius:9px;
  font-size:16px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;white-space:nowrap;
  box-shadow:inset 0 1px 0 #ffffff40,0 3px 0 #2143b0,0 7px 17px #2048bf24;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
body.trader-portal :is(.header-cta,.button-blue,.t-action,.t-mobile-finder,.t-primary-link,.t-finder-benefit,.benefit-link[rel~="sponsored"]):hover{background:linear-gradient(180deg,#537dff,#315ce7);color:#fff;transform:translateY(-1px);box-shadow:inset 0 1px 0 #ffffff40,0 4px 0 #2143b0,0 9px 21px #2048bf30}
body.trader-portal :is(.header-cta,.button-blue,.t-action,.t-mobile-finder,.t-primary-link,.t-finder-benefit,.benefit-link[rel~="sponsored"]):active{transform:translateY(2px);box-shadow:inset 0 1px 3px #173eaa33,0 1px 0 #2143b0}
body.trader-portal :is(.header-cta,.button-blue,.t-action,.t-mobile-finder,.t-primary-link,.t-finder-benefit,.benefit-link[rel~="sponsored"]):focus-visible{outline:3px solid #86b9ff;outline-offset:4px}
body.trader-portal .site-header.trader3-header .header-cta{font-size:15px;font-weight:700;min-height:46px;padding:11px 17px;flex-shrink:0}
body.trader-portal .broker-row .benefit-link[rel~="sponsored"]{font-size:15px;font-weight:750;min-height:44px;padding:10px 14px;width:100%;margin:3px 0}
body.trader-portal .broker-row .broker-actions{min-width:150px}
/* Review links remain secondary where an affiliate action follows. */
body.trader-portal .t-row-actions .t-primary-link{background:#eff4ff;color:#244fc6;border:1px solid #cad8f4;box-shadow:none;font-size:14px;min-height:42px;padding:10px 14px}
body.trader-portal .t-row-actions .t-primary-link:hover{background:#e1ebff;color:#173ca1}
@media(max-width:767px){
 body.trader-portal .site-header.trader3-header .nav-shell{gap:6px;padding-block:14px;min-height:80px}
 body.trader-portal .site-header.trader3-header .brand{gap:8px}
 body.trader-portal .site-header.trader3-header .brand img{width:38px;height:38px;flex-basis:38px}
 body.trader-portal .site-header.trader3-header .t5-brand-copy{gap:4px}
 body.trader-portal .site-header.trader3-header .t5-brand-copy strong{font-size:22px}
 body.trader-portal .site-header.trader3-header .t5-brand-copy small{font-size:10.5px;display:block}
 body.trader-portal .site-header.trader3-header .header-cta{font-size:13px;min-height:44px;padding:10px 9px;gap:0}
 body.trader-portal .site-header.trader3-header .header-cta svg{display:none}
 body.trader-portal .site-header.trader3-header .menu-toggle{width:44px;height:44px;flex:0 0 44px}
 body.trader-portal .broker-row .benefit-link[rel~="sponsored"]{font-size:16px;min-height:46px}
 body.trader-portal .t-primary-link{white-space:normal}
}
@media(max-width:370px){
 body.trader-portal .site-header.trader3-header .nav-shell{display:grid;grid-template-columns:1fr 44px;row-gap:12px}
 body.trader-portal .site-header.trader3-header .brand{grid-column:1;grid-row:1}
 body.trader-portal .site-header.trader3-header .menu-toggle{grid-column:2;grid-row:1}
 body.trader-portal .site-header.trader3-header .header-cta{grid-column:1/-1;grid-row:2;width:100%;font-size:15px;margin:0}
 body.trader-portal .site-header.trader3-header .t5-brand-copy small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.trader-portal :is(.header-cta,.button-blue,.t-action,.t-mobile-finder,.t-primary-link,.t-finder-benefit,.benefit-link[rel~="sponsored"]){transition:none;transform:none}}
@media(min-width:1024px){
 body.trader-portal .site-header.trader3-header .t-desktop-nav{display:flex}
 body.trader-portal .site-header.trader3-header .menu-toggle{display:none}
 body.trader-portal .site-header.trader3-header .t-nav-head{width:150px;min-width:150px;max-width:150px}
 body.trader-portal .site-header.trader3-header .t-nav-head>a{font-size:12.5px;padding-inline:3px;white-space:nowrap}
 body.trader-portal .site-header.trader3-header .t-nav-toggle{width:22px;min-width:22px;flex:0 0 22px}
}
@media(min-width:1024px) and (max-width:1439px){
 body.trader-portal .site-header.trader3-header{height:auto}
 body.trader-portal .site-header.trader3-header .nav-shell{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:12px 20px;padding-block:14px;min-height:0;height:auto}
 body.trader-portal .site-header.trader3-header .brand{grid-row:1;grid-column:1;justify-self:start}
 body.trader-portal .site-header.trader3-header .header-cta{grid-row:1;grid-column:2;margin:0}
 body.trader-portal .site-header.trader3-header .t-desktop-nav{grid-row:2;grid-column:1/-1;width:100%;justify-content:space-between;border-top:1px solid #ffffff16;padding-top:10px}
 body.trader-portal .site-header.trader3-header .t-nav-item{position:static;flex:1;min-width:0}
 body.trader-portal .site-header.trader3-header .t-nav-head{width:100%;min-width:0;max-width:none}
 body.trader-portal .site-header.trader3-header .t-nav-panel{max-width:100%;top:calc(100% - 1px);max-height:calc(100dvh - 175px)}
}
body.trader-portal .t11-article-photo{padding:0;overflow:hidden;background:#e6edf6}
body.trader-portal .t11-article-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
body.trader-portal .featured-article:hover .t11-article-photo img{transform:scale(1.025)}
body.trader-portal .article-thumbnail.t11-article-photo{min-width:94px;width:94px;height:94px;border-radius:12px}
body.trader-portal .t11-knowledge-photo{margin-top:26px;width:100%;max-width:480px}
body.trader-portal .t11-knowledge-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 45%;border-radius:18px;box-shadow:0 12px 30px #1c345416}
body.trader-portal .t11-platform-photo{margin-bottom:24px}
body.trader-portal .t11-platform-photo img{display:block;width:100%;aspect-ratio:21/8;object-fit:cover;border-radius:18px}
body.trader-portal .t4-article-card.t11-photo-card>.t4-illustration{display:none}
body.trader-portal .t11-card-image{display:block;width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:18px}
body.trader-portal .t11-reading-photo{margin:0 0 28px}
body.trader-portal .t11-reading-photo img{width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;border-radius:14px}
body.trader-portal .t11-reading-photo figcaption{font-size:12px;color:#74869e;margin-top:8px}
@media(max-width:767px){body.trader-portal .article-thumbnail.t11-article-photo{min-width:78px;width:78px;height:78px}body.trader-portal .t11-platform-photo img{aspect-ratio:16/9}}
@media(prefers-reduced-motion:reduce){body.trader-portal .t11-article-photo img{transition:none;transform:none!important}}
body.trader-portal .t11-news-sources{padding:16px 22px;border-top:1px solid #e7edf5;background:#f8faff}
body.trader-portal .t11-news-sources>span{display:block;font-size:12px;font-weight:500;color:#6c7f9b;margin-bottom:10px}
body.trader-portal .t11-news-sources>div{display:flex;flex-wrap:wrap;gap:7px}
body.trader-portal .t11-news-sources a{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;min-height:34px;border:1px solid #dce6f4;border-radius:7px;background:#fff;color:#27466e;font-size:12px;font-weight:500;line-height:1.5}
body.trader-portal .t11-news-sources a:hover{color:#245bde;border-color:#adc5ef;background:#eef4ff}
body.trader-portal .t11-news-sources a:focus-visible{outline:3px solid #86b9ff;outline-offset:3px}
body.trader-portal .t11-news-sources a span{color:#7794b9}
@media(min-width:1024px) and (max-width:1100px){
 body.trader-portal .section-heading{flex-wrap:wrap}
 body.trader-portal .section-heading>div{min-width:0;max-width:100%}
}
