/* V7 prototype style block 24-insights, copied verbatim. Fixes for the live theme go in a separate file. */

/* Insights hub (V7 11-12, NEW-PAGES-BRIEF.md §1; Kriste's interview picks): featured + hairline list, topic pixel marks
   (the service-row marks: SEO & AEO = aeo, Paid media = paid, Creative = creative, AI & agents = ai, Strategy = ob),
   no images, no cards. Motion: the site's reveal + pixel marks that assemble in view and on hover. */
#p-insights{overflow-x:clip}
/* round 11 (Kriste 8695ee37): the header is centred, the headline bigger and on one line at desktop */
#p-insights .ins-hero{padding-top:clamp(48px,7cqi,112px);padding-bottom:clamp(40px,4.6cqi,72px);text-align:center}
#p-insights .ins-hero .sg-h1{font-size:clamp(38px,5cqi,80px);line-height:.98;max-width:none;margin-inline:auto;text-wrap:balance}
#p-insights .ins-hero .sg-lede{margin:clamp(18px,1.8cqi,26px) auto 0;max-width:36em;font-size:clamp(17px,1.6cqi,23px)}

/* ---- featured ---- */
#p-insights .ins-feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px clamp(32px,5cqi,88px);align-items:center;
  padding-block:clamp(32px,3.6cqi,56px);border-block:1px solid var(--line)}
/* featured art (round 9, Kriste 754fdc82): pixel upvote arrow + the article's playbook as hero-style agent tags */
#p-insights .ins-art{position:relative;display:grid;grid-template-columns:clamp(124px,30%,208px) minmax(0,1fr);column-gap:clamp(32px,3.6cqi,56px);
  align-items:stretch;width:100%;max-width:600px;justify-self:start;padding-bottom:44px;container-type:inline-size}
#p-insights .ia-ar{display:block;width:100%;height:auto;overflow:visible;align-self:center}
#p-insights .ia-ar rect{transform-box:fill-box;transform-origin:center;shape-rendering:crispEdges}
#p-insights .ia-ln{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#p-insights .ia-ln line{stroke:var(--orange);stroke-opacity:.3;stroke-width:1;stroke-dasharray:2 5;transition:stroke-opacity .4s ease}
#p-insights .ia-ln line.on{stroke-opacity:.75}
#p-insights .ia-ln .ia-pk{fill:var(--orange);shape-rendering:crispEdges}
#p-insights .ia-tags{position:relative;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0}
#p-insights .ia-tags li{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-width:0}
#p-insights .ia-lab{display:inline-flex;align-items:center;gap:7px;padding:5px 8px 5px 7px;border:1px solid #D6D6DA;border-radius:var(--r-ctl);background:var(--bg);
  font:500 12px/1 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);white-space:nowrap;transition:border-color .3s ease,box-shadow .3s ease}
#p-insights .ia-lab i{width:7px;height:7px;background:#C9C9CE;transition:background-color .3s ease,box-shadow .3s ease}
#p-insights .ia-tx{min-width:0;font:400 14px/1.3 var(--f);color:var(--ink-2);transition:color .3s ease}
#p-insights .ia-tags li[data-s="idle"] .ia-tx{color:var(--mute)}
#p-insights .ia-tags li[data-s="run"] .ia-lab i{background:var(--orange);animation:ins-blink 1.2s steps(2,end) infinite}
#p-insights .ia-tags li[data-s="done"] .ia-lab i{background:var(--green)}
#p-insights .ia-tags li.ping .ia-lab{border-color:rgba(242,112,56,.7)}
#p-insights .ia-tags li.ping .ia-lab i{box-shadow:0 0 0 3px rgba(242,112,56,.22)}
@keyframes ins-blink{50%{opacity:.25}}
@container (max-width: 470px){
  #p-insights .ia-tx{display:none}
}
#p-insights .ins-ft h2{margin:0;font:500 clamp(30px,3.2cqi,48px)/1.02 var(--f);letter-spacing:-.035em;text-wrap:balance}
/* round 10 (Kriste 6522e9ef): the whole featured block is one link (stretched headline link) with one hover state */
#p-insights .ins-feat{position:relative;cursor:pointer}
#p-insights .ins-ft h2 a{color:var(--ink);text-decoration:none;transition:color .3s ease}
#p-insights .ins-ft h2 a::after{content:"";position:absolute;inset:0;z-index:3}
#p-insights .ins-ft h2 a:focus-visible{outline:none}
#p-insights .ins-feat:has(h2 a:focus-visible){outline:2px solid var(--orange);outline-offset:6px}
#p-insights .ins-feat:hover h2 a,#p-insights .ins-feat:has(h2 a:focus-visible) h2 a{color:var(--heat)}
#p-insights .ins-feat:hover .ins-go::before{transform:scaleX(1)}
#p-insights .ins-feat:hover .ins-go:not(.has-l){color:#0B0B0C;border-color:var(--orange)}
#p-insights .ins-feat:hover .ins-go.has-l .sg-btn__l{clip-path:inset(0 0 0 100%)}
#p-insights .ins-feat:hover .ins-go.has-l .sg-btn__h{clip-path:inset(0 0 0 0)}
#p-insights .ins-au{display:inline-flex;align-items:center;gap:9px}
#p-insights .ins-au img{width:28px;height:28px;border-radius:50%;object-fit:cover;display:block}
#p-insights .ins-cat{display:inline-flex;align-items:center;gap:8px}
#p-insights .ins-mk--s{width:16px;height:16px}
#p-insights .ins-ex{margin:18px 0 0;max-width:34em;font:400 var(--t-lede)/1.5 var(--f);color:var(--mute);text-wrap:pretty}
#p-insights .ins-fm{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:20px 0 0;font:400 14px/1.4 var(--f);color:var(--mute)}
#p-insights .ins-fm b{font-weight:500;color:var(--ink)}
#p-insights .ins-fm span+span{padding-left:14px;border-left:1px solid var(--line)}
#p-insights .ins-why{margin:14px 0 0;font:400 14px/1.4 var(--f);color:var(--mute)}
#p-insights .ins-why b{font-weight:500;color:var(--label);font-variant-numeric:tabular-nums}
#p-insights .ins-ft .ins-go{margin-top:28px}

/* ---- list ---- */
#p-insights .ins-list-sec{padding-block:clamp(48px,5cqi,80px) 0}
#p-insights .ins-lh{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 32px}
#p-insights .ins-lh .sg-h2{font-size:var(--h2)}
#p-insights .ins-seg{position:relative;display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);max-width:100%}
#p-insights .ins-chip{position:relative;z-index:1;display:inline-flex;align-items:baseline;gap:6px;border:0;background:none;border-radius:999px;padding:10px 16px;
  font:500 14.5px/1 var(--f);color:var(--mute);cursor:pointer;white-space:nowrap;transition:color .25s ease,background-color .25s ease}
#p-insights .ins-chip small{font:400 12px/1 var(--f);color:inherit;opacity:.7;font-variant-numeric:tabular-nums}
#p-insights .ins-chip:hover{color:var(--ink)}
#p-insights .ins-chip[aria-pressed="true"],#p-insights a.ins-chip[aria-current]{background:var(--ink);color:var(--bg)}
#p-insights a.ins-chip{text-decoration:none}
#p-insights .ins-chip:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
#p-insights .ins-list{list-style:none;margin:clamp(24px,2.6cqi,36px) 0 0;padding:0;border-bottom:1px solid var(--line)}
#p-insights .ins-r{border-top:1px solid var(--line)}
#p-insights .ins-r[hidden]{display:none}
#p-insights .ins-a{display:grid;grid-template-columns:40px minmax(0,1fr) 9.5em 11em 7.5em 6.5em;align-items:center;column-gap:clamp(16px,2cqi,28px);
  padding:20px 0;color:var(--ink);text-decoration:none;position:relative}
#p-insights .ins-a::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease);pointer-events:none}
#p-insights .ins-a:hover::before,#p-insights .ins-a:focus-visible::before{transform:scaleX(1)}
#p-insights .ins-a:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
#p-insights .ins-mk{width:30px;height:30px;display:block}
#p-insights .ins-t{font:500 clamp(17px,1.35cqi,20px)/1.3 var(--f);letter-spacing:-.012em;text-wrap:pretty}
#p-insights .ins-c,#p-insights .ins-by,#p-insights .ins-d,#p-insights .ins-m{font:400 14px/1.35 var(--f);color:var(--mute)}
#p-insights .ins-c{color:var(--ink-2)}
#p-insights .ins-m{text-align:right;font-variant-numeric:tabular-nums}
#p-insights .ins-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:22px 0 0;font:400 14px/1.4 var(--f);color:var(--mute)}

/* ---- the pixel marks assemble (rows in view, and on hover); reduced motion = static ---- */
@keyframes ins-px{from{opacity:0;transform:translate(0,6px) scale(.4)}to{opacity:1;transform:none}}
#p-insights .ins-mk rect{transform-box:fill-box;transform-origin:center}
#p-insights.is-px .ins-r:not(.is-px) .ins-mk rect{opacity:0}
#p-insights.is-px .ins-r.is-px .ins-mk rect{animation:ins-px .5s var(--ease) both;animation-delay:calc(var(--i,0) * 45ms)}
@keyframes ia-in{from{opacity:0;transform:translate(var(--sx,0),var(--sy,40px)) scale(.3)}55%{opacity:1}to{opacity:1;transform:none}}
@keyframes ia-up{0%{opacity:0;transform:translateY(46px)}25%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(-24px)}}
#p-insights .ia-up{opacity:0}
#p-insights.is-px .ins-art:not(.is-px) .ia-ar rect{opacity:0}
#p-insights.is-px .ins-art.is-px .ia-ar rect:not(.ia-up){animation:ia-in .9s var(--ease) both;animation-delay:calc(var(--d,0) * 1ms)}
#p-insights.is-px .ins-art.is-live .ia-up{animation:ia-up 3.6s cubic-bezier(.4,0,.6,1) infinite;animation-delay:calc(var(--k) * 520ms)}
@media (prefers-reduced-motion: reduce){
  #p-insights .ins-r .ins-mk rect,#p-insights .ia-ar rect:not(.ia-up){animation:none!important;opacity:1!important}
  #p-insights .ia-up{display:none}
  #p-insights .ia-tags li .ia-lab i{animation:none!important}
}

/* ---- listen + newsletter ---- */
#p-insights .ins-end{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px clamp(32px,5cqi,88px);padding-block:var(--sec);align-items:start}
#p-insights .ins-end h2{margin:0;font:500 clamp(24px,2.2cqi,32px)/1.1 var(--f);letter-spacing:-.025em;text-wrap:balance}
#p-insights .ins-pods{list-style:none;margin:20px 0 0;padding:0;border-bottom:1px solid var(--line)}
#p-insights .ins-pods li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}
#p-insights .ins-pods b{font:500 17px/1.25 var(--f);color:var(--ink)}
#p-insights .ins-pods span{grid-column:1;font:400 14px/1.4 var(--f);color:var(--mute)}
#p-insights .ins-pods .sg-link{grid-column:2;grid-row:1/span 2;font-size:14.5px}
#p-insights .ins-nl p{margin:14px 0 0;max-width:30em;font:400 16px/1.5 var(--f);color:var(--ink-2);text-wrap:pretty}
#p-insights .ins-form{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;max-width:30em}
#p-insights .ins-form label{flex:1 1 220px;min-width:0}
#p-insights .ins-form input{box-sizing:border-box;width:100%;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-ctl,2px);background:var(--bg);
  font:400 16px/1 var(--f);color:var(--ink)}
#p-insights .ins-form input:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:var(--ink)}
#p-insights .ins-form .sg-btn{flex:none}
#p-insights .ins-fine{margin:12px 0 0;font:400 13px/1.4 var(--f);color:var(--mute)}

/* ---- tablet ---- */
@container site (max-width: 1100px){
  #p-insights .ins-a{grid-template-columns:40px minmax(0,1fr) 9em 6.5em;row-gap:4px}
  #p-insights .ins-by{display:none}
  #p-insights .ins-d{display:none}
}
@container site (max-width: 960px){
  #p-insights .ins-feat{grid-template-columns:minmax(0,1fr)}
  #p-insights .ins-art{max-width:600px}
  #p-insights .ins-end{grid-template-columns:minmax(0,1fr)}
}
/* ---- phone ---- */
@container site (max-width: 600px){
  #p-insights .ins-hero{text-align:center}
  #p-insights .ins-hero .sg-h1{max-width:none;text-wrap:balance}
  #p-insights .ins-hero .sg-lede{margin-inline:auto}
  #p-insights .ins-art{max-width:none;justify-self:stretch;grid-template-columns:52% minmax(0,1fr);column-gap:24px;padding-bottom:64px}
  #p-insights .ins-ft{text-align:center}
  #p-insights .ins-fm{justify-content:center;gap:8px 18px}
  #p-insights .ins-fm span+span{border-left:0;padding-left:0}
  #p-insights .ins-lh{justify-content:center;text-align:center}
  #p-insights .ins-seg{display:flex;overflow-x:auto;scrollbar-width:none;border-radius:999px}
  #p-insights .ins-seg::-webkit-scrollbar{display:none}
  #p-insights .ins-seg{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  #p-insights .ins-seg.is-end{-webkit-mask-image:none;mask-image:none}
  #p-insights .ins-chip{padding:10px 13px}
  #p-insights .ins-a{grid-template-columns:30px minmax(0,1fr);column-gap:14px;row-gap:4px;padding:16px 0;align-items:start}
  #p-insights .ins-mk{width:26px;height:26px;grid-row:1/span 2;margin-top:2px}
  #p-insights .ins-t{grid-column:2;font-size:17px}
  #p-insights .ins-c{grid-column:2;grid-row:2;font-size:13.5px}
  #p-insights .ins-c::after{content:" \00B7 " attr(data-min)}
  #p-insights .ins-m{display:none}
  #p-insights .ins-more{justify-content:center;text-align:center}
  #p-insights .ins-end{text-align:left}
  #p-insights .ins-form .sg-btn{width:100%;justify-content:center}
}
/* ===== r40 (Kriste 11-19 phone alignment, work/MOBILE-ALIGN-R40.md): one centre axis on phone ===== */
@container site (max-width: 600px){
  /* podcasts and newsletter: headings, lines and links on the centre axis */
  #p-insights .ins-end h2{text-align:center}
  #p-insights .ins-nl > p{text-align:center}
  #p-insights .ins-pods li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
}
