/* Shared editorial template. Applies to every article; no per-post backgrounds. */
body.glass-site:not(:has(#page-markets)) #page-article{
  --article-paper:#0d2133;
  --article-rule:#b5ccdc26;
  --article-highlight:#e5c98f;
  background:#081827 url('/images/insights-editorial-backdrop.svg') center top / max(1200px,100%) auto no-repeat;
  padding-bottom:1px;
}
body.glass-site:not(:has(#page-markets)) #page-article .insight-article-header{padding-top:42px;padding-bottom:34px}
body.glass-site:not(:has(#page-markets)) #page-article .insight-cover-image{
  border:1px solid #d5dfdf33;
  box-shadow:0 22px 64px #020c1840;
}
body.glass-site:not(:has(#page-markets)) #page-article .insight-reading-full{
  width:min(900px,calc(100% - 64px));
  max-width:900px;
  padding:34px 39px 38px;
  background:var(--article-paper);
  border:1px solid var(--article-rule);
  border-radius:18px;
  box-shadow:0 18px 60px #020c181c;
}
body.glass-site:not(:has(#page-markets)) #page-article .insight-outline{
  border-top:0;
  border-bottom:1px solid var(--article-rule);
  margin-top:-7px;
}
body.glass-site:not(:has(#page-markets)) #page-article .insight-outline summary{padding-top:0;padding-bottom:19px}
body.glass-site:not(:has(#page-markets)) #page-article .insight-outline summary:focus-visible{
  outline:2px solid var(--article-highlight);
  outline-offset:6px;
  border-radius:2px;
}
body.glass-site:not(:has(#page-markets)) #page-article .insight-related{
  border-top:1px solid var(--article-rule);
  padding-top:44px;
  background:linear-gradient(180deg,#10263a55,transparent 70%);
}
@media(max-width:650px){
  body.glass-site:not(:has(#page-markets)) #page-article{background-size:1000px auto}
  body.glass-site:not(:has(#page-markets)) #page-article .insight-article-header{padding-top:24px;padding-bottom:26px}
  body.glass-site:not(:has(#page-markets)) #page-article .insight-cover-image{box-shadow:0 12px 28px #020c1829}
  body.glass-site:not(:has(#page-markets)) #page-article .insight-reading-full{
    width:calc(100% - 20px);
    padding:24px 17px 26px;
    border-radius:12px;
    box-shadow:none;
  }
  body.glass-site:not(:has(#page-markets)) #page-article .insight-related{padding-top:30px}
}

/* Covers show the subject in a full 16:9 frame; charts never lose labels. */
body.glass-site:not(:has(#page-markets)) #page-article .insight-cover-image{height:auto;aspect-ratio:16/9;background:#11263b}
body.glass-site:not(:has(#page-markets)) #page-article .insight-cover img{object-position:center}
body.glass-site:not(:has(#page-markets)) #page-article .insight-cover .insight-cover-graphic{object-fit:contain}
body.glass-site:not(:has(#page-markets)) :is(.insight-cover-image,.insight-card-image,.insight-feature-image):has(.insight-cover-graphic){background:#11263b}
body.glass-site:not(:has(#page-markets)) :is(.insight-cover-image,.insight-card-image,.insight-feature-image) .insight-cover-graphic{object-fit:contain;object-position:center;transform:none}
body.glass-site:not(:has(#page-markets)) .insight-feature-image .insight-cover-graphic{min-height:0}
body.glass-site:not(:has(#page-markets)) #page-article .insight-cover-image picture{display:block;width:100%;height:100%}
@media(max-width:650px){body.glass-site:not(:has(#page-markets)) #page-article .insight-cover-image:has(.insight-cover-graphic){aspect-ratio:1}}
