/* Requested institutional-logo, StockTrak, and program-affiliation updates. */
body.market-editorial .m-host-logos,
body.detailed-market .m-host-logos {justify-content:center;gap:clamp(22px,3vw,44px);}
body.market-editorial .m-host-logos .m-host-adam,
body.detailed-market .m-host-logos .m-host-adam {width:250px;max-height:60px;}
body.market-editorial .m-stocktrak-logo {width:220px;max-width:100%;height:auto;max-height:90px;object-fit:contain;background:#fff;}
body.detailed-market .program-stocktrak-logo {display:block;width:240px;max-width:100%;height:auto;margin:20px 0 4px;object-fit:contain;}
body.detailed-market .program-affiliation {font-weight:400;font-size:.92em;}
body.detailed-market .program-roster-heading {font-size:13px;line-height:1.5;margin:22px 0 8px;font-weight:700;}
body.detailed-market .additional-panels-heading {margin-bottom:24px;}
body.detailed-market .additional-panels-heading h2 {margin:0 0 8px;font-size:clamp(25px,3.5vw,38px);letter-spacing:-.035em;}
body.detailed-market .additional-panels-heading p {margin:0;}
@media(max-width:900px){
 body.market-editorial .m-host-logos,body.detailed-market .m-host-logos {gap:22px;}
 body.market-editorial .m-host-logos .m-host-ewg,body.detailed-market .m-host-logos .m-host-ewg {width:85px;}
 body.market-editorial .m-host-logos .m-host-sapienza,body.detailed-market .m-host-logos .m-host-sapienza {width:120px;}
 body.market-editorial .m-host-logos .m-host-fiu,body.detailed-market .m-host-logos .m-host-fiu {width:145px;}
 body.market-editorial .m-host-logos .m-host-adam,body.detailed-market .m-host-logos .m-host-adam {width:210px;}
}
@media(max-width:640px){
 body.market-editorial .m-host-logos,body.detailed-market .m-host-logos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;align-items:center;gap:10px 20px;width:calc(100% - 32px);max-width:360px;padding-block:12px;}
 body.market-editorial .m-host-logos>a,body.market-editorial .m-host-logos>div,body.detailed-market .m-host-logos>a,body.detailed-market .m-host-logos>div {justify-content:center;}
 body.market-editorial .m-host-logos .m-host-ewg,body.detailed-market .m-host-logos .m-host-ewg {width:72px;max-height:36px;}
 body.market-editorial .m-host-logos .m-host-sapienza,body.detailed-market .m-host-logos .m-host-sapienza {width:120px;max-height:36px;}
 body.market-editorial .m-host-logos .m-host-fiu,body.detailed-market .m-host-logos .m-host-fiu {width:140px;max-height:38px;}
 body.market-editorial .m-host-logos .m-host-adam,body.detailed-market .m-host-logos .m-host-adam {width:170px;max-height:42px;}
}

/* Requested presentation refinements, scoped to the affected logos and panel. */
body.market-editorial .m-host-logos .m-host-adam,
body.detailed-market .m-host-logos .m-host-adam {
 width:284px;height:56px;max-height:60px;object-fit:cover;
}
/* Keep both images between the panel number and the bottom of its title. */
body.market-editorial .m-legal-header .m-legal-brand {
 position:relative;align-self:stretch;min-width:0;min-height:0;
}
body.market-editorial .m-legal-brand-stack {
 position:absolute;inset:11px 0 8px;display:flex;flex-direction:column;
 align-items:center;justify-content:flex-start;gap:5px;overflow:hidden;
}
body.market-editorial .m-legal-header .m-legal-towers {
 display:block;width:112px;max-width:100%;height:70px;max-height:70px;
 min-height:0;flex:0 1 70px;object-fit:contain;object-position:center top;
 padding:0;margin:0;background:#fff;
}
body.market-editorial .m-legal-header .m-legal-adam {
 display:block;width:132px;max-width:100%;height:20px;min-height:20px;
 flex:0 0 20px;object-fit:contain;object-position:center;
 padding:0;margin:0;background:#fff;
}
body.market-editorial .m-panel-heading.m-legal-header {
 row-gap:11px;
}
body.market-editorial .m-panel-heading.m-legal-header .m-legal-subtitle {
 grid-column:2;margin:0;
}
body.market-editorial .m-event-topic .m-topic-header>.m-stocktrak-logo {
 margin-top:36px;
}
body.market-editorial .m-panel-pair #trading-competition>.m-stocktrak-logo {
 transform:translateY(8px);
}
@media(max-width:900px){
 body.market-editorial .m-host-logos .m-host-adam,
 body.detailed-market .m-host-logos .m-host-adam {
  width:236px;height:46.5px;max-height:60px;
 }
}
@media(max-width:700px){
 body.market-editorial .m-legal-header .m-legal-towers {
  width:90px;height:56.25px;max-height:56.25px;flex-basis:56.25px;
 }
 body.market-editorial .m-legal-header .m-legal-adam {
  width:106px;height:16px;min-height:16px;flex-basis:16px;
 }
 body.market-editorial .m-event-topic .m-topic-header>.m-stocktrak-logo {
  margin-top:38px;
 }
 body.market-editorial .m-panel-pair #trading-competition>.m-stocktrak-logo {
  transform:translateY(20px);
 }
}
@media(max-width:640px){
 body.market-editorial .m-host-logos .m-host-adam,
 body.detailed-market .m-host-logos .m-host-adam {
  width:170px;height:auto;max-height:42px;object-fit:contain;transform:scale(1.04);
 }
}


/* Refinements requested on 2026-11-04: META logo, Adam Smith legal visual, and alignment tweaks. */
body.market-editorial .m-topic-header .m-meta-logo,
body.market-editorial .m-panel-heading .m-meta-logo {
  object-fit: contain;
  object-position: center top;
  background: transparent;
}
body.market-editorial .m-topic-header .m-meta-logo {
  margin-top: 22px;
  width: 128px;
  height: 108px;
}
body.market-editorial .m-panel-heading .m-meta-logo {
  margin-top: 24px;
  width: 180px;
  height: 140px;
}
body.market-editorial .m-legal-header .m-legal-brand {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 4px;
}
body.market-editorial .m-legal-brand-stack,
body.market-editorial .m-legal-brand-stack.m-legal-brand-stack-single {
  position: static;
  inset: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
}
body.market-editorial .m-legal-header .m-legal-towers {
  display: none !important;
}
body.market-editorial .m-legal-header .m-legal-adam {
  display: block;
  width: 132px;
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  background: transparent;
  margin: 0;
  padding: 0;
}
body.market-editorial .m-panel-heading.m-legal-header,
body.market-editorial .m-topic-header.m-legal-header {
  row-gap: 11px;
}
body.market-editorial .m-panel-heading.m-legal-header .m-legal-subtitle {
  grid-column: 2;
  margin: 0;
}
@media (max-width: 900px) {
  body.market-editorial .m-topic-header .m-meta-logo {
    margin-top: 20px;
    width: 100px;
    height: 90px;
  }
  body.market-editorial .m-panel-heading .m-meta-logo {
    margin-top: 22px;
    width: 100px;
    height: 82px;
  }
  body.market-editorial .m-legal-header .m-legal-brand {
    padding-top: 22px;
  }
  body.market-editorial .m-legal-header .m-legal-adam {
    width: 112px;
  }
}
@media (max-width: 700px) {
  body.market-editorial .m-topic-header .m-meta-logo,
  body.market-editorial .m-panel-heading .m-meta-logo {
    margin-top: 16px;
  }
  body.market-editorial .m-legal-header .m-legal-brand {
    padding-top: 18px;
  }
  body.market-editorial .m-legal-header .m-legal-adam {
    width: 96px;
  }
}


/* 2026-11-04 final refinements: larger Adam Smith legal logo and final 3-item row */
body.market-editorial .m-legal-header .m-legal-brand {
  padding-top: 10px;
  padding-bottom: 2px;
}
body.market-editorial .m-legal-header .m-legal-adam {
  width: 170px;
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 900px) {
  body.market-editorial .m-legal-header .m-legal-brand {
    padding-top: 16px;
  }
  body.market-editorial .m-legal-header .m-legal-adam {
    width: 132px;
  }
}
@media (max-width: 700px) {
  body.market-editorial .m-legal-header .m-legal-brand {
    padding-top: 14px;
  }
  body.market-editorial .m-legal-header .m-legal-adam {
    width: 108px;
  }
}
body.market-editorial .m-panel-pair {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
}
body.market-editorial .m-panel-pair > .m-panel-detail,
body.market-editorial .m-panel-pair > .m-special-event {
  min-width: 0;
  margin-top: 28px;
}
@media (max-width: 1100px) {
  body.market-editorial .m-panel-pair {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  body.market-editorial .m-panel-pair > #panel-meta2036 {
    grid-column: 2;
  }
}
