/* TradingRoad — centered footer notice + linked Markti credit.
   Applies to homepage, standard pages, Insights, articles and Arabic pages. */
html body .footer .footer-base,
html body .tr-global-footer .tr-footer-bottom,
html body .trc-footer .trc-footer-bottom {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  text-align:center;
  flex-wrap:wrap;
}
html body .footer .footer-base > span:first-child,
html body .tr-global-footer .tr-footer-bottom > span:first-child,
html body .trc-footer .trc-footer-bottom > span:first-child {
  display:block;
  width:100%;
  text-align:center;
}
html body .footer .footer-base > a:last-child,
html body .tr-global-footer .tr-footer-bottom > a:last-child,
html body .trc-footer .trc-footer-bottom > a:last-child {
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
}
html body .tr-ar-foot .tr-ar-foot-bottom {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-align:center;
}
html body .tr-ar-foot .tr-ar-foot-bottom > span {
  display:block;
  max-width:100%;
  text-align:center;
}
html body .tr-site-credit,
html body .tr-site-credit a {
  font:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit;
}
html body .tr-site-credit a {
  color:inherit;
  text-decoration:none;
}
html body .tr-site-credit a:hover,
html body .tr-site-credit a:focus-visible {
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:760px){
  html body .footer .footer-base,
  html body .tr-global-footer .tr-footer-bottom,
  html body .trc-footer .trc-footer-bottom {
    flex-direction:column;
    gap:10px;
  }
  html body .footer .footer-base > a:last-child,
  html body .tr-global-footer .tr-footer-bottom > a:last-child,
  html body .trc-footer .trc-footer-bottom > a:last-child {
    position:static;
    transform:none;
  }
}


/* Mobile footer credit visibility: override legacy .footer-base span:nth-child(2){display:none}. */
@media (max-width:760px) {
  html body .footer .footer-base > span:first-child > span.tr-site-credit,
  html body .tr-global-footer .tr-footer-bottom > span:first-child > span.tr-site-credit,
  html body .trc-footer .trc-footer-bottom > span:first-child > span.tr-site-credit,
  html body .tr-ar-foot .tr-ar-foot-bottom > span:first-child > span.tr-site-credit {
    display:inline !important;
    visibility:visible !important;
    opacity:1 !important;
    font:inherit !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    line-height:inherit !important;
  }
  html body .footer .footer-base .tr-site-credit a,
  html body .tr-global-footer .tr-footer-bottom .tr-site-credit a,
  html body .trc-footer .trc-footer-bottom .tr-site-credit a,
  html body .tr-ar-foot .tr-ar-foot-bottom .tr-site-credit a {
    display:inline !important;
    font:inherit !important;
    color:inherit;
  }
}

/* Official direct-contact links shown on English and Arabic footer identities. */
html body .footer .footer-identity .tr-contact-links,
html body .tr-v10-standard-footer .tr-v10-footer-identity .tr-contact-links {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  margin-top:16px;
  direction:ltr;
  text-align:left;
}
html body .footer .footer-identity .tr-contact-links a,
html body .tr-v10-standard-footer .tr-v10-footer-identity .tr-contact-links a {
  color:#C9D2F2;
  font:inherit;
  font-size:12.5px;
  text-decoration:none;
  overflow-wrap:anywhere;
}
html body .footer .footer-identity .tr-contact-links a:hover,
html body .tr-v10-standard-footer .tr-v10-footer-identity .tr-contact-links a:hover {
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
