/* Blog posts (wave 5, lx_blog.py). Loaded after site.css + nav.css; uses only their variables.
   Article body in Source Serif 4, headings and UI in Geist (guide section 4). Old post markup is kept as it was,
   so the rules below style plain elements inside .prose-b rather than adding classes to the copy. */

.post{padding-bottom:24px}
.phead{padding-top:8px}
.phead .crumbs{padding-top:28px}
.ptags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.ptags span{font:600 12px/1 Geist,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--ember);background:#fbf1f2;border-radius:999px;padding:7px 11px}
.phead h1{font-size:clamp(34px,4.6vw,54px);line-height:1.1;margin-top:18px;text-wrap:balance}
.phead h1 strong,.phead h1 b{font-weight:inherit}
.phead h1 .hilight-txt{color:var(--ember)}
.plede{margin-top:20px;font-family:'Source Serif 4',Georgia,serif;font-size:clamp(19px,1.7vw,21px);line-height:1.6;color:var(--slate)}
.plede p+p{margin-top:12px}
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:26px;padding-top:18px;border-top:1px solid #ececf0;font-size:15px;color:var(--slate)}
.byline .who{font-weight:600;color:var(--ink)}
.byline .who a{text-decoration:none;color:var(--ink)}
.byline .who a:hover{color:var(--ember)}
.pfig{margin:32px 0 44px;border-radius:18px;overflow:hidden;background:var(--haze)}
.pfig img{width:100%;max-height:440px;object-fit:contain;margin:0 auto}
.pfig figcaption{background:#fff;padding:8px 2px 0;text-align:right}
.pfig figcaption a{font:500 13px/1.4 Geist,sans-serif;color:var(--slate);text-decoration:none}
.pfig figcaption a:hover{color:var(--ember)}

/* article + contents list */
.pgrid{max-width:1180px;margin:0 auto;padding-inline:24px;display:grid;grid-template-columns:230px minmax(0,720px);gap:72px;justify-content:center;align-items:start}
.pside{align-self:stretch;padding-top:34px}
.pgrid.one{grid-template-columns:minmax(0,720px)}
.ptoc{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto;font-size:14px;line-height:1.4}
.ptoc b{display:block;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--slate);margin-bottom:12px}
.ptoc ol,.ptoc-m ol{list-style:none;counter-reset:t}
.ptoc li,.ptoc-m li{counter-increment:t}
.ptoc a{display:block;padding:6px 0 6px 12px;border-left:2px solid #ececf0;text-decoration:none;color:var(--slate)}
.ptoc a:hover,.ptoc a.on{color:var(--ink);border-left-color:var(--ember)}
.ptoc-m{display:none;background:var(--haze);border-radius:14px;padding:14px 18px;margin-bottom:28px;font-size:15px}
.ptoc-m summary{cursor:pointer;font-weight:600}
.ptoc-m ol{margin-top:10px}
.ptoc-m a{display:block;padding:6px 0;text-decoration:none;color:var(--slate);line-height:1.4}
@media (max-width:1100px){.pgrid{grid-template-columns:minmax(0,720px);gap:0}.pside{display:none}.ptoc-m{display:block}}

/* the old article body */
.prose-b{font-family:'Source Serif 4',Georgia,serif;font-size:19px;line-height:1.7;color:#222;overflow-wrap:break-word}
.prose-b > :first-child{margin-top:0}
.prose-b p{margin:0 0 1.05em}
.prose-b h2,.prose-b h3,.prose-b h4,.prose-b h5,.prose-b h6{font-family:Geist,sans-serif;font-weight:600;letter-spacing:-.015em;color:var(--ink);scroll-margin-top:96px}
.prose-b h2{font-size:clamp(26px,2.6vw,32px);line-height:1.2;margin:1.9em 0 .6em}
.prose-b h3{font-size:22px;line-height:1.3;margin:1.5em 0 .5em}
.prose-b h4,.prose-b h5,.prose-b h6{font-size:19px;line-height:1.35;margin:1.3em 0 .4em}
.prose-b h2 strong,.prose-b h3 strong,.prose-b h4 strong,.prose-b h5 strong{font-weight:inherit}
.prose-b .hilight-txt{color:inherit}
.prose-b strong,.prose-b b{font-weight:650;color:var(--ink)}
.prose-b a{color:var(--ember);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose-b a:hover{text-decoration-thickness:2px}
.prose-b ul,.prose-b ol{margin:0 0 1.1em;padding-left:1.35em}
.prose-b li{margin:.35em 0;padding-left:.2em}
.prose-b li > p{margin:0 0 .4em}
.prose-b li::marker{color:var(--ember)}
.prose-b img{border-radius:14px;margin:1.4em auto .6em;height:auto}
.prose-b figure{margin:0 0 1.2em}
.prose-b .img-container,.prose-b .img-container-new{margin:1.4em 0 .4em}
.prose-b a.credit{display:inline-block;font:500 13px/1.4 Geist,sans-serif;color:var(--slate);text-decoration:none;margin:0 0 1.2em}
.prose-b a.credit:hover{color:var(--ember)}
.prose-b blockquote{margin:1.4em 0;padding:4px 0 4px 22px;border-left:3px solid var(--ember);font-style:italic;color:#333}
.prose-b hr{border:0;border-top:1px solid #ececf0;margin:2em 0}
.prose-b code{font-size:.85em;background:var(--haze);border-radius:4px;padding:1px 5px}
.prose-b iframe{max-width:100%;border:0}
.prose-b .vframe{margin:1.6em 0;border-radius:16px;overflow:hidden;background:#000}
.prose-b .vframe iframe{display:block;width:100%;height:auto;aspect-ratio:16/9}
.prose-b [class*="col-"],.prose-b .container,.prose-b .row{max-width:100%;width:auto;padding:0;margin-left:0;margin-right:0}
.prose-b .tablewrap{overflow-x:auto;margin:1.6em 0;border:1px solid #ececf0;border-radius:14px}
.prose-b table{border-collapse:collapse;width:100%;font-family:Geist,sans-serif;font-size:15.5px;line-height:1.5;background:#fff}
.prose-b th,.prose-b td{text-align:left;vertical-align:top;padding:12px 16px;border-top:1px solid #ececf0}
.prose-b th,.prose-b thead td{font-weight:600;font-size:14px;color:var(--ink);background:var(--haze);border-top:0}
.prose-b tr:first-child > td{border-top:0}
.prose-b td ul,.prose-b td ol{margin-bottom:0}
.prose-b td img{margin:0}

/* related services + talk to us, at the end of the article */
.prel{margin-top:64px;padding-top:36px;border-top:1px solid #ececf0}
.prel h2{font-size:22px;letter-spacing:-.01em;margin-bottom:18px}
.prel-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.prel-in a{position:relative;display:block;background:var(--haze);border-radius:16px;padding:18px 40px 20px 20px;text-decoration:none;transition:transform .25s,box-shadow .25s}
.prel-in a:hover{transform:translateY(-3px);box-shadow:0 12px 28px -16px rgba(0,0,0,.25)}
.prel-in b{display:block;font-size:17px;font-weight:600;line-height:1.3;margin-bottom:6px}
.prel-in span{display:block;font-size:14.5px;color:var(--slate);line-height:1.45}
.prel-in i{position:absolute;right:16px;top:18px;font-style:normal;color:var(--ember)}
.ptalk{margin-top:28px;font-size:17px;color:var(--slate)}
.ptalk .link{color:var(--ink);margin-left:6px}
@media (max-width:760px){.prel-in{grid-template-columns:minmax(0,1fr)}}

/* old promo (eBook / case study) and the video, in the article column after the text */
.pextra{margin-top:56px}
.promo{display:grid;grid-template-columns:150px minmax(0,1fr);gap:32px;align-items:center;background:var(--haze);border-radius:20px;padding:28px 30px}
.promo-pic img{width:100%;max-height:300px;object-fit:contain;border-radius:8px;box-shadow:0 18px 40px -24px rgba(0,0,0,.45)}
.promo-h{font:600 clamp(22px,2.4vw,28px)/1.25 Geist,sans-serif;letter-spacing:-.015em}
.promo-h .hilight-txt{color:var(--ember)}
.promo-h a{color:inherit;text-decoration-color:var(--ember);text-underline-offset:4px}
.promo .ptags{margin-top:14px}
.promo-p{margin-top:12px;font-size:17px;color:#333;line-height:1.6}
.promo-p a{color:var(--ember)}
.promo .acts{margin-top:20px}
.pextra .film{max-width:none;margin:0}
.promo + .film{margin-top:40px}
@media (max-width:760px){.promo{grid-template-columns:minmax(0,1fr);padding:24px 22px;gap:20px}.promo-pic{max-width:150px}.promo-pic img{max-height:200px}}

@media (max-width:600px){
  .prose-b{font-size:18px}
  .pfig{margin:24px 0 32px}
  .prose-b th,.prose-b td{padding:10px 12px;font-size:14.5px}
}
.byline .role{color:var(--slate)}
.ptail{margin-top:48px;padding-top:32px;border-top:1px solid #ececf0}
