/* TradingRoad Markets overview — six complete editorial link cards.
   Scoped to page 12; other market pages and the V10 homepage remain untouched. */
body.page-id-12 .tr-page-content > .tr-section:first-child {
  padding-top: 82px;
  padding-bottom: 102px;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 19px;
  align-items: stretch;
  margin: 36px 0 0;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-card-grid > a.tr-market-link-card {
  --card-ink: #090e42;
  --card-muted: #626b8a;
  --card-link: #000080;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 277px;
  padding: 29px 30px 26px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--card-ink)!important;
  background: #fff;
  border: 1px solid #e2e6f4;
  border-radius: 18px;
  box-shadow: 0 15px 36px rgba(17,25,90,.045);
  text-decoration: none;
  transform: none;
  transition: border-color .22s ease,transform .22s ease,box-shadow .22s ease;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(3),
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(5) {
  background: #eef0fa;
  border-color: #e4e7f4;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(1) {
  --card-ink: #fff;
  --card-muted: #c7cef5;
  --card-link: #d4dbff;
  background: linear-gradient(143deg,#000080,#060641 85%);
  border-color: rgba(75,92,208,.46);
  box-shadow: 0 20px 45px rgba(6,9,100,.17);
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(1)::before {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  width: 235px;
  height: 235px;
  left: -115px;
  top: -137px;
  border: 1px solid rgba(173,183,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(167,178,255,.035),0 0 0 100px rgba(167,178,255,.025);
  z-index: -1;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card .tr-market-index {
  font: 800 11px/1.35 'Outfit',Arial,sans-serif;
  letter-spacing: .13em;
  color: #4756bc;
  margin: 0 0 27px;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(1) .tr-market-index {
  color: #c8d0ff;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card .tr-card-title {
  font: 700 clamp(22px,1.8vw,27px)/1.28 'Outfit',Arial,sans-serif;
  letter-spacing: -.045em;
  color: var(--card-ink);
  margin: 0 0 12px;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card p {
  color: var(--card-muted);
  font: 400 13.5px/1.75 'Outfit',Arial,sans-serif;
  margin: 0 0 28px;
  max-width: 275px;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(22,37,104,.12);
  color: var(--card-link)!important;
  font: 700 12px/1.35 'Outfit',Arial,sans-serif;
  letter-spacing: -.01em;
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(1) > strong {
  border-color: rgba(199,210,255,.24);
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:hover {
  border-color: #93a3f3;
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(6,14,86,.105);
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:nth-child(1):hover {
  border-color: #8292f7;
  box-shadow: 0 24px 55px rgba(3,7,85,.23);
}
body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:focus-visible {
  outline: 3px solid #667fff;
  outline-offset: 3px;
}
@media(max-width:980px) {
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-card-grid {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:650px) {
 body.page-id-12 .tr-page-content > .tr-section:first-child {padding-top:57px;padding-bottom:65px}
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-card-grid {
   grid-template-columns:1fr!important;
   margin-top:26px;
   gap:13px;
 }
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-card-grid > a.tr-market-link-card {
   min-height:224px;
   padding:23px 24px 20px;
 }
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card .tr-market-index {margin-bottom:19px}
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card p {margin-bottom:23px}
}
@media(prefers-reduced-motion:reduce) {
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card {transition:none}
 body.page-id-12 .tr-page-content > .tr-section:first-child .tr-market-link-card:hover {transform:none}
}
/* Markets CTA WhatsApp contrast: override generic dark link color on navy. */
body.page-id-12 .tr-page-content .tr-section .tr-cta-band .tr-page-actions a.tr-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.75);
  text-decoration: none;
  font-weight: 700;
  transition: background-color .2s ease,color .2s ease,border-color .2s ease;
}
body.page-id-12 .tr-page-content .tr-section .tr-cta-band .tr-page-actions a.tr-btn-outline:hover,
body.page-id-12 .tr-page-content .tr-section .tr-cta-band .tr-page-actions a.tr-btn-outline:focus-visible {
  color: #080c4c !important;
  background: #ffffff;
  border-color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-12 .tr-page-content .tr-section .tr-cta-band .tr-page-actions a.tr-btn-outline {transition:none;}
}
/* End Markets CTA WhatsApp contrast. */
