/* Shared footer from the Markets and Trade product pages. */
#aft-product-footer {
  --footer-muted: rgb(255 255 255 / 40%);
  --footer-line: rgb(255 255 255 / 15%);
  --footer-accent: #32ffb5;
  --footer-gutter: clamp(18px, 6vw, 108px);
  width: 100%; max-width: none; margin: 0; padding: 40px 0 22.4px;
  border: 0; background: #000; color: #fff; text-align: start;
  font: 400 16px/1.5 Roboto, "AFT Noto", sans-serif;
}
#aft-product-footer:lang(zh) { font-family: Roboto, "Alibaba PuHuiTi 3.0", "PingFang SC", "Microsoft YaHei", sans-serif; }
#aft-product-footer * { box-sizing: border-box; letter-spacing: normal; }
#aft-product-footer > .container {
  display: block; width: min(1280px, calc(100% - 2 * var(--footer-gutter)));
  max-width: none; margin: 0 auto; padding: 0;
}
#aft-product-footer .foot-top {
  display: flex; align-items: center; justify-content: space-between; gap: 0;
  padding: 0 0 19.2px; border-bottom: 1px solid var(--footer-line);
}
#aft-product-footer .foot-top > img { display: block; width: 50px; height: 50px; padding: 6px; object-fit: contain; background: var(--footer-accent); }
#aft-product-footer .product-social { display: flex; align-items: center; gap: 8px; }
#aft-product-footer .product-social-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  margin: 0; padding: 0; border: 0; color: rgb(255 255 255 / 60%);
}
#aft-product-footer .product-social-icon svg { display: block; width: 24px; height: 24px; }
#aft-product-footer .footlinks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 25.6px; margin: 27.2px 0; }
#aft-product-footer .footlinks strong, #aft-product-footer summary { color: #fff; font: inherit; }
#aft-product-footer a { color: rgb(255 255 255 / 72%); text-decoration: none; }
#aft-product-footer .footlinks a { display: block; margin: 6.4px 0; color: var(--footer-muted); font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.5; }
#aft-product-footer .risk, #aft-product-footer details p { width: 100%; max-width: none; margin: 0; color: var(--footer-muted); font-size: 12px; line-height: 1.5; }
#aft-product-footer .answer { margin: 16px 0; padding: 14.4px 0; border: 0; border-top: 1px solid var(--footer-line); }
#aft-product-footer summary { display: list-item; list-style: revert; padding: 3.2px 0; cursor: pointer; }
#aft-product-footer .answer p { margin: 7.2px 0 0; }
#aft-product-footer .footer-utility-row, #aft-product-footer .footer-utility-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
#aft-product-footer .footer-utility-row { align-items: center; justify-content: space-between; direction: ltr; color: var(--footer-muted); font-size: 14px; line-height: 1.5; }
#aft-product-footer .footer-utility-links { align-items: baseline; }
#aft-product-footer .footer-utility-links a { color: inherit; }
#aft-product-footer a:is(:hover, :focus-visible), #aft-product-footer summary:is(:hover, :focus-visible) { color: var(--footer-accent) !important; }
@media (max-width: 1060px) { #aft-product-footer .footlinks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 670px) {
  #aft-product-footer { --footer-gutter: 18px; }
  #aft-product-footer .footlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
