/* MOCERION — Algorithmic OTC Trading editorial page and Insights thumbnail. */
.aq-algo-main { padding: clamp(120px, 7.7vw, 148px) 0 clamp(48px, 5vw, 96px); }
.aq-algo-article {
  box-sizing: border-box; width: min(1496px, calc(100% - 48px)); margin: 0 auto;
  padding: clamp(48px, 4.8vw, 92px) clamp(20px, 2.3vw, 44px) clamp(60px, 5.2vw, 100px);
  border-radius: 20px; background: linear-gradient(132deg, #fff3f8 0%, #faeaf3 58%, #f1ebff 100%); color: #21183e;
}
.aq-algo-heading {
  display: block; position: static; width: 100%; height: auto; min-height: 0; margin: 0; padding: 0;
  border: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  filter: none; text-align: center; z-index: auto;
}
.aq-algo-heading h1 {
  max-width: 1180px; margin: 0 auto; color: #160f25; font-size: clamp(38px, 3.45vw, 66px);
  font-weight: 660; line-height: 1.06; letter-spacing: -.048em; text-wrap: balance;
}
.aq-algo-lead { max-width: 760px; margin: 38px auto 0; color: #62566f; font-size: clamp(18px, 1.18vw, 22px); line-height: 1.45; }
.aq-algo-meta {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px;
  margin: 38px 0 54px; color: #38254e; font-size: 12px; line-height: 1.5; letter-spacing: .075em;
}
.aq-algo-meta a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
.aq-algo-meta a:hover { text-decoration: underline; }
.aq-algo-cover { margin: 0; }
.aq-algo-cover img {
  display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1667 / 943; object-fit: contain;
  border-radius: 8px; -webkit-user-drag: none; user-select: none; pointer-events: auto;
  transform: none !important; transition: none !important;
}
.aq-algo-prose {
  width: 100%; max-width: 760px; margin: 60px auto 0; color: #403848; font-size: 18px;
  line-height: 1.62; overflow-wrap: break-word;
}
.aq-algo-prose h2 {
  margin: 44px 0 22px; color: #21183e; font-size: clamp(30px, 2.45vw, 46px); font-weight: 660;
  line-height: 1.16; letter-spacing: -.038em; text-wrap: balance;
}
.aq-algo-prose h2:first-child { margin-top: 0; }
.aq-algo-prose h3 { margin: 32px 0 16px; color: #2b1c45; font-size: 21px; font-weight: 680; line-height: 1.3; letter-spacing: -.018em; }
.aq-algo-prose p { margin: 0 0 24px; }
.aq-algo-prose ul, .aq-algo-prose ol { margin: 0 0 28px; padding-left: 26px; }
.aq-algo-prose li { margin: 0 0 14px; padding-left: 3px; }
.aq-algo-prose strong { color: #281b3d; font-weight: 700; }
.aq-algo-prose a { color: #563192; text-decoration: underline; text-underline-offset: 3px; }
.aq-algo-prose :is(a, button):focus-visible, .aq-algo-meta a:focus-visible { outline: 2px solid #7147b9; outline-offset: 4px; }
.aq-algo-prose .aq-algo-disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(49,32,77,.16); color: #6a6074; font-size: 14px; line-height: 1.55; }
.aq-algo-prose p:last-child { margin-bottom: 0; }
.insights-cover.algorithmic-otc-thumbnail {
  display: grid; place-items: center; padding: 0; gap: 0; aspect-ratio: 275 / 176; overflow: hidden; background: #10072e;
}
.insights-cover.algorithmic-otc-thumbnail img {
  display: block; width: 100% !important; max-width: 100% !important; height: 100% !important;
  object-fit: contain; object-position: center; -webkit-user-drag: none; user-select: none; pointer-events: auto;
  transform: none !important; transition: none !important;
}
@media (min-width: 1600px) { .aq-algo-article { width: min(1496px, 90vw); } }
@media (max-width: 767px) {
  .aq-algo-main { padding: 120px 0 48px; }
  .aq-algo-article { width: calc(100% - 28px); padding: 48px 20px 64px; border-radius: 18px; }
  .aq-algo-heading h1 { font-size: clamp(32px, 7.2vw, 42px); line-height: 1.12; }
  .aq-algo-lead { margin-top: 26px; font-size: 18px; line-height: 1.5; }
  .aq-algo-meta { gap: 12px; margin: 28px 0 34px; font-size: 11px; }
  .aq-algo-cover img { border-radius: 7px; }
  .aq-algo-prose { margin-top: 36px; font-size: 17px; line-height: 1.62; }
  .aq-algo-prose h2 { margin-top: 36px; font-size: clamp(28px, 6.6vw, 34px); }
  .aq-algo-prose h3 { margin-top: 28px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .aq-algo-cover img, .insights-cover.algorithmic-otc-thumbnail img { transition: none !important; } }


/* Targeted repair: the legacy global `header` selector applies a dark translucent
   surface to semantic article headers. Keep the editorial heading fully transparent. */
html body .aq-algo-article > header.aq-algo-heading {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
  transform: none !important;
  z-index: auto !important;
}
html body .aq-algo-article > header.aq-algo-heading::before,
html body .aq-algo-article > header.aq-algo-heading::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}


/* Brandfix v3: hard reset for legacy global header overlays on the article title block.
   Scoped exclusively to this article heading; the pink article panel remains unchanged. */
html body main.aq-algo-main article.aq-algo-article > header.aq-algo-heading,
html body main.aq-algo-main article.aq-algo-article > header.aq-algo-heading * {
  text-shadow: none !important;
}
html body main.aq-algo-main article.aq-algo-article > header.aq-algo-heading {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  outline: 0 !important;
}
html body main.aq-algo-main article.aq-algo-article > header.aq-algo-heading::before,
html body main.aq-algo-main article.aq-algo-article > header.aq-algo-heading::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}
