/* TechInsights – Behind the Headlines newsletter edition page styles
   Everything is scoped to .bth-root, so nothing here affects the rest of the site.
   Class names avoid Bootstrap 4.6 components (.row, .close, .toast), which the site theme also styles.
   Layout follows the 2027 Outlook "report in the Platform" mockup: breadcrumb, pills, large title,
   byline row, sticky contents rail on the left, maroon section kickers, report link rows. */

.bth-root{
  --ink:#141a2b; --body:#3b4357; --muted:#6a7186; --line:#e2e5ec; --soft:#f6f7fa;
  --maroon:#7d1a3b; --navy:#1b2f6b; --maroon-bg:#f6e9ee; --blue:#2c4fd6; --blue-soft:#f4f6fe; --blue-line:#cdd5f5; --red:#c8323b;
  --top:160px; /* fixed site header (144px) plus breathing room */
  --max:1180px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--ink); background:#fff; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip;
}
@media (max-width:991.98px){.bth-root{--top:80px}}
.bth-root *,.bth-root *::before,.bth-root *::after{box-sizing:border-box}
.bth-root h1,.bth-root h2,.bth-root h3,.bth-root p,.bth-root ul{margin:0;padding:0}
.bth-root h1,.bth-root h2,.bth-root h3{font-family:inherit;color:var(--ink)}
.bth-root a{color:var(--blue)}
.bth-root .wrap{max-width:var(--max);margin:0 auto;padding:0 32px}

/* Header */
.bth-root .head{padding:36px 0 0}
.bth-root .crumbs{font-size:13px;color:var(--muted);margin-bottom:24px}
.bth-root .crumbs a{color:var(--muted);text-decoration:none}.bth-root .crumbs a:hover{color:var(--ink)}
.bth-root .crumbs i{font-style:normal;margin:0 8px}
.bth-root .pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.bth-root .pill{font-size:12px;border-radius:999px;padding:5px 12px;border:1px solid #c9cdd8;color:var(--body);line-height:1.4}
.bth-root .pill.solid{background:var(--maroon);border-color:var(--maroon);color:#fff;font-weight:600}
.bth-root h1.title{font-size:clamp(38px,5vw,58px);line-height:1.06;letter-spacing:-.025em;font-weight:700;margin-bottom:16px;color:var(--ink) !important}
.bth-root .deck{font-size:clamp(17px,1.8vw,20px);line-height:1.55;color:var(--body);font-style:italic;max-width:820px;margin-bottom:28px}
.bth-root .byline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.bth-root .byline b{color:var(--ink);font-weight:600}
.bth-root .byline .sep{margin:0 8px}
.bth-root .byline .by{display:flex;flex-wrap:wrap;align-items:center}
.bth-root .author{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.bth-root .author:hover b{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.bth-root .author .av{position:relative;width:36px;height:36px;border-radius:50%;overflow:hidden;flex:none;background:var(--maroon);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--line)}
.bth-root .author .av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bth-root .btns{display:flex;flex-wrap:wrap;gap:10px}
.bth-root .btn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;padding:9px 16px;border:1px solid var(--ink);border-radius:12px;color:var(--ink);background:#fff;text-decoration:none;cursor:pointer;font-family:inherit;line-height:1.3;min-height:40px;transition:.15s}
.bth-root .btn:hover{background:var(--soft)}
.bth-root .btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.bth-root .btn.primary:hover{background:#2343bd;color:#fff}
.bth-root .btn.maroon{background:var(--maroon);border-color:var(--maroon);color:#fff}
.bth-root .btn.maroon:hover{background:#661430;color:#fff}

/* Two-column body */
.bth-root .cols{display:grid;grid-template-columns:230px minmax(0,1fr);gap:64px;padding:44px 0 80px}
.bth-root .main{max-width:780px}

/* Contents rail */
.bth-root .toc{border-top:2px solid var(--ink);padding-top:14px}
.bth-root .toc-h{display:block;width:100%;text-align:left;background:none;border:0;padding:0;font-family:inherit;font-size:11px;letter-spacing:.14em;color:var(--muted);font-weight:600;margin-bottom:8px;cursor:default}
.bth-root .toc ul{list-style:none}
.bth-root .toc a{display:block;padding:8px 0 8px 10px;margin-left:-10px;border-left:2px solid transparent;border-bottom:1px solid var(--line);font-size:13px;line-height:1.4;color:var(--ink);text-decoration:none;transition:.15s}
.bth-root .toc a:hover{color:var(--maroon)}
.bth-root .toc a.on{border-left-color:var(--maroon);color:var(--maroon);font-weight:600}
.bth-root .toc .sec a{font-weight:700;color:var(--navy);padding-top:16px;border-bottom-color:transparent}
.bth-root .toc .sec:first-child a{padding-top:4px}

/* Channels (Strategy / Engineering / Procurement) */
.bth-root .kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--maroon);font-weight:700;margin-bottom:8px}
.bth-root .channel{border-top:3px solid var(--ink);padding:28px 0 30px;margin-bottom:40px;border-bottom:1px solid var(--line);scroll-margin-top:var(--top)}
.bth-root .channel:not(:first-child){margin-top:24px}
.bth-root .channel .tags{font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.25;margin-bottom:12px;color:var(--ink) !important}
.bth-root .channel p{font-size:17px;line-height:1.65;color:var(--body)}

/* Stories */
.bth-root .story{padding-bottom:44px;margin-bottom:44px;border-bottom:1px solid var(--line);scroll-margin-top:var(--top)}
.bth-root .story.last{border-bottom:0;margin-bottom:24px}
.bth-root .num{font-size:12px;color:var(--maroon);font-weight:600;margin-bottom:8px}
.bth-root .story h2{font-size:clamp(22px,2.4vw,27px);line-height:1.28;letter-spacing:-.015em;font-weight:600;margin-bottom:22px;color:var(--ink) !important}
.bth-root .label{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin-bottom:8px}
.bth-root .label::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}
.bth-root .label.red{color:var(--red)}
.bth-root .label.blue{color:var(--blue)}
.bth-root .surface{background:var(--soft);border-left:3px solid var(--red);padding:16px 20px;margin-bottom:26px}
.bth-root .surface p{font-size:16px;line-height:1.65;color:var(--body)}
.bth-root .real p{font-size:16px;line-height:1.85;color:var(--body)}

/* Learn more + free report: one tinted panel after each story */
.bth-root .bth-more{margin-top:34px;background:#f2f4f9;border:1px solid #dfe3ec;border-top:3px solid var(--maroon);border-radius:4px;padding:24px 24px 20px}
.bth-root .learn{margin:0}
.bth-root .learn-h{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--maroon);font-weight:700;margin-bottom:10px}
.bth-root .learn-h::before{content:"";width:16px;height:2px;background:var(--maroon)}
.bth-root .learn-note{font-size:14px;line-height:1.6;color:var(--body);margin-bottom:14px}
.bth-root .learn-note a{color:var(--ink);font-weight:600;text-decoration:none}
.bth-root .learn-note a:hover{color:var(--blue);text-decoration:underline}
.bth-root .rows{display:grid;gap:8px}
.bth-root .bth-row{display:flex;align-items:center;gap:16px;padding:14px 16px;background:#fff;border:1px solid #dfe3ec;border-left:3px solid var(--blue);border-radius:3px;text-decoration:none;color:var(--ink);box-shadow:0 1px 2px rgba(20,26,43,.05);transition:.15s}
.bth-root .bth-row:hover{border-color:var(--blue);box-shadow:0 8px 22px -12px rgba(44,79,214,.45);transform:translateY(-1px);color:var(--ink)}
.bth-root .bth-row .t{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-weight:700;background:#e9edfc;border-radius:999px;padding:4px 9px;flex:none}
.bth-root .bth-row .n{font-size:15px;font-weight:600;flex:1;line-height:1.4}
.bth-root .bth-row .a{color:var(--blue);font-size:16px;transition:transform .15s}
.bth-root .bth-row:hover .a{transform:translateX(4px)}
.bth-root .free{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#111a2e;border-radius:3px;padding:20px 22px;color:#fff}
.bth-root .free-k{display:inline-block;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#111a2e;background:#f5c84c;font-weight:700;border-radius:2px;padding:3px 8px;margin-bottom:8px}
.bth-root .free-t{display:block;font-size:17px;font-weight:600;color:#fff !important;text-decoration:none;line-height:1.4}
.bth-root .free-t:hover{text-decoration:underline;text-underline-offset:3px}
.bth-root .free .btn.primary{flex:none;white-space:nowrap;background:#fff;border-color:#fff;color:#111a2e}
.bth-root .free .btn.primary:hover{background:#e9edfc;color:#111a2e}
.bth-root .also{margin-top:12px;background:#fff;border:1px solid #dfe3ec;border-left:3px solid #f5c84c;border-radius:3px;padding:14px 16px}
.bth-root .also p{font-size:14px;line-height:1.6;color:var(--body)}
.bth-root .also a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:#f5c84c;text-decoration-thickness:2px;text-underline-offset:3px}
.bth-root .also a:hover{color:var(--blue)}
.bth-root .register{font-size:14px;color:var(--muted);margin-top:14px}
.bth-root .register a{font-weight:600}

/* Closing block */
.bth-root .bth-close{margin-top:8px;border-radius:6px;overflow:hidden;color:#fff;
  background:radial-gradient(600px 260px at 100% 0%,rgba(44,79,214,.45),transparent 65%),radial-gradient(520px 260px at 0% 100%,rgba(200,50,59,.35),transparent 60%),#111a2e;
  box-shadow:0 24px 50px -28px rgba(17,26,46,.7);position:relative}
.bth-root .bth-close::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--red) 0 50%,var(--blue) 50% 100%)}
.bth-root .bth-close-in{padding:40px 40px 38px;position:relative}
.bth-root .bth-close .kicker{color:#f5c84c}
.bth-root .bth-close h2{font-size:clamp(24px,3vw,32px);line-height:1.2;letter-spacing:-.02em;font-weight:700;color:#fff !important;max-width:560px;margin-bottom:16px}
.bth-root .bth-close .pair{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.bth-root .bth-close .lbl{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#e6eaf3}
.bth-root .bth-close .lbl::before{content:"";width:8px;height:8px;border-radius:50%}
.bth-root .bth-close .lbl.red::before{background:#ff5a63}
.bth-root .bth-close .lbl.blue::before{background:#6f8cff}
.bth-root .bth-close p{font-size:17px;line-height:1.6;color:#c9d1e3;max-width:560px;margin-bottom:24px}
.bth-root .bth-close .btn.cta{background:#fff;border-color:#fff;color:#111a2e;font-size:16px;padding:12px 22px;min-height:48px}
.bth-root .bth-close .btn.cta span{transition:transform .15s}
.bth-root .bth-close .btn.cta:hover{background:#f5c84c;border-color:#f5c84c;color:#111a2e}
.bth-root .bth-close .btn.cta:hover span{transform:translateX(4px)}
@media (max-width:620px){.bth-root .bth-close-in{padding:30px 20px 28px}.bth-root .bth-close .btn.cta{width:100%;justify-content:center}}

/* Register form pop-up (same pattern as the SME and Chip Insider pages) */
html.bth-locked{overflow:hidden}
.bth-root .fm-scrim{position:fixed;inset:0;background:rgba(17,26,46,.6);z-index:100002;display:none;align-items:center;justify-content:center;padding:16px}
.bth-root .fm-scrim.open{display:flex}
.bth-root .fm{background:#fff;border-radius:6px;border-top:4px solid var(--maroon);width:min(640px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 30px 80px -20px rgba(0,0,0,.5);overflow:hidden}
.bth-root .fm-head{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line)}
.bth-root .fm-head h3{margin:0;font-size:20px;font-weight:700;color:var(--ink) !important}
.bth-root .fm-head p{margin:4px 0 0;font-size:14px;color:var(--muted)}
.bth-root .fm-x{border:0;background:var(--soft);width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:16px;flex:none;color:var(--ink)}
.bth-root .fm-x:hover{background:var(--line)}
.bth-root .fm-body{padding:16px 24px;overflow:auto}
.bth-root .fm iframe{border:0;width:100%;height:min(620px,calc(100vh - 200px));display:block}
.bth-root .fm-foot{padding:12px 24px;font-size:13px;color:var(--muted);border-top:1px solid var(--line)}
.bth-root .fm-foot a{color:var(--blue);text-decoration:underline}
@media (max-width:620px){.bth-root .fm-scrim{padding:0}.bth-root .fm{max-height:100vh;height:100%;border-radius:0}.bth-root .fm iframe{height:calc(100vh - 190px)}.bth-root .fm-body{padding:12px 16px}}

/* Register panel in the left column (desktop); the copy after the stories shows on smaller screens instead */
.bth-root .side{min-width:0}
/* Panel and contents travel together; if the column is taller than the screen, the contents list scrolls inside it */
.bth-root .side-in{position:sticky;top:var(--top);display:flex;flex-direction:column;max-height:calc(100vh - var(--top) - 20px)}
.bth-root .side-in .bth-close.side{flex:none}
.bth-root .side-in .toc{flex:1 1 auto;min-height:120px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.bth-root .bth-close.end{display:none}
.bth-root .bth-close.side{margin:0 0 22px}
.bth-root .bth-close.side .bth-close-in{padding:20px 18px 18px}
.bth-root .bth-close.side .kicker{font-size:10.5px;margin-bottom:8px}
.bth-root .bth-close.side h2{font-size:19px;line-height:1.22;margin-bottom:12px}
.bth-root .bth-close.side .pair{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:12px}
.bth-root .bth-close.side .lbl{font-size:9.5px;padding:5px 10px}
.bth-root .bth-close.side p{font-size:13px;line-height:1.5;margin-bottom:14px}
.bth-root .bth-close.side .btn.cta{width:100%;justify-content:center;font-size:14.5px;padding:10px 16px;min-height:44px}
@media (max-width:991.98px){
  .bth-root .bth-close.side{display:none}
  .bth-root .bth-close.end{display:block;margin-top:8px}
}

/* Back to top: fixed bottom right, appears after scrolling */
.bth-root .bth-top{position:fixed;right:28px;bottom:28px;z-index:100001;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;background:var(--navy);color:#fff !important;font-size:14px;font-weight:600;line-height:1;text-decoration:none;box-shadow:0 10px 28px -10px rgba(17,26,46,.55);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s,background .15s}
.bth-root .bth-top.show{opacity:1;visibility:visible;transform:none}
.bth-root .bth-top:hover{background:#111a2e;color:#fff}
.bth-root .bth-top span{font-size:16px}
@media (max-width:620px){.bth-root .bth-top{right:16px;bottom:16px;padding:12px 14px;font-size:13px}}

/* Share toast */
.bth-root .bth-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:var(--ink);color:#fff;font-size:14px;padding:10px 16px;border-radius:4px;opacity:0;pointer-events:none;transition:.2s;z-index:50}
.bth-root .bth-toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:991.98px){
  .bth-root .cols{grid-template-columns:1fr;gap:24px;padding-top:28px}
  .bth-root .main{max-width:none}
  .bth-root .side-in{position:static;max-height:none;display:block}
  .bth-root .side-in .toc{overflow:visible}
  .bth-root .toc{position:static;max-height:none;border:1px solid var(--line);border-top:2px solid var(--ink);padding:12px 16px}
  .bth-root .toc-h{cursor:pointer;display:flex;justify-content:space-between;margin:0}
  .bth-root .toc-h::after{content:"+";font-size:16px;letter-spacing:0;color:var(--ink)}
  .bth-root .toc.open .toc-h::after{content:"–"}
  .bth-root .toc ul{display:none;margin-top:8px}
  .bth-root .toc.open ul{display:block}
}
@media (max-width:620px){
  .bth-root .wrap{padding:0 16px}
  .bth-root .free{flex-direction:column;align-items:flex-start}
  .bth-root .byline .btns{width:100%}
  .bth-root .byline .btn{flex:1;justify-content:center}
  .bth-root .surface{padding:14px 16px}
  .bth-root .bth-more{padding:18px 16px 16px}
  .bth-root .bth-row{flex-wrap:wrap;gap:8px 12px}
  .bth-root .bth-row .n{flex-basis:calc(100% - 40px)}
}
@media print{
  .bth-root .toc,.bth-root .btns{display:none}
  .bth-root .cols{grid-template-columns:1fr}
}