:root{--article-toc-gap:34px}
.machined-article-page{margin:0;background:#f7f6fb;color:#211a2d}
.article-site-header{background:#fff;border-bottom:1px solid #e8e3ef;position:sticky;top:0;z-index:20}
.article-header-inner{max-width:1180px;margin:auto;padding:13px 22px;display:flex;align-items:center;gap:28px}
.article-brand img{display:block;width:168px;height:auto}
.article-nav{display:flex;gap:22px;flex:1}
.article-nav a,.article-langs a{color:#29105d;text-decoration:none;font-weight:800}
.article-nav a:hover,.article-langs a:hover{text-decoration:underline;text-underline-offset:4px}
.article-langs{display:flex;gap:7px}
.article-langs a{padding:6px 8px;border-radius:8px}
.article-langs a.active{background:#ffe500;text-decoration:none}
.article-shell{max-width:1180px;margin:0 auto;padding:26px 22px 76px}
.article-breadcrumbs{display:flex;gap:8px;align-items:center;font-size:14px;margin:2px 0 20px;color:#776c82}
.article-breadcrumbs a{color:#5d4c76;text-decoration:none}
.article-hero-panel{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:34px;align-items:center;background:#fff;border:1px solid #ece7f2;border-radius:24px;padding:clamp(24px,4vw,44px);box-shadow:0 16px 45px rgba(41,16,93,.06)}
.article-hero-copy{min-width:0}
.article-eyebrow{margin:0 0 10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#6a5a81;font-size:12px}
.article-hero-panel h1{font-size:clamp(38px,4.8vw,58px);line-height:1.02;letter-spacing:-.035em;color:#29105d;margin:0 0 18px}
.article-lead{font-size:19px;line-height:1.52;color:#51445f;margin:0;max-width:760px}
.article-meta{font-size:13px;color:#756b7e;margin:20px 0 0}
.article-hero{margin:0;overflow:hidden;border-radius:18px;aspect-ratio:4/3;background:#eeeaf4}
.article-hero img{width:100%;height:100%;object-fit:cover;display:block}
.article-body-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:var(--article-toc-gap,34px);margin-top:30px;align-items:start}
.article-toc{position:sticky;top:var(--article-toc-header-offset,158px)!important;max-height:calc(100vh - var(--article-toc-header-offset,158px) - 18px);max-height:calc(100dvh - var(--article-toc-header-offset,158px) - 18px);margin:0;align-self:start;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #ece7f2;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.35}
.article-toc strong{color:#29105d;font-size:14px;margin-bottom:5px}
.article-toc a{color:#645973;text-decoration:none;padding:4px 0;border-bottom:1px solid transparent}
.article-toc a:hover{color:#29105d;border-bottom-color:#d8cfe5}
.article-content{background:#fff;border:1px solid #ece7f2;border-radius:22px;padding:clamp(24px,4vw,48px);box-shadow:0 12px 35px rgba(41,16,93,.045);font-size:18px;line-height:1.72}
.article-content>p:first-child{font-size:20px;line-height:1.6;color:#44384f;margin-top:0}
.article-content h2{scroll-margin-top:calc(var(--article-toc-header-offset,158px) + 18px);font-size:clamp(26px,3vw,34px);line-height:1.15;color:#29105d;margin:46px 0 14px;letter-spacing:-.02em}
.article-content h2:first-of-type{margin-top:28px}
.article-content h3{scroll-margin-top:calc(var(--article-toc-header-offset,158px) + 18px);font-size:23px;line-height:1.25;color:#29105d;margin:34px 0 12px}
.article-content p{margin:0 0 18px}
.article-content ul{margin:0 0 22px;padding-left:22px}
.article-content li{margin:8px 0}
.article-content a{color:#4e2aa8;font-weight:700;text-underline-offset:3px}
.article-content strong{color:#29105d}
.article-cta{margin:30px 0 0;padding:24px 28px;border-radius:20px;background:#29105d;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:26px}
.article-cta h2{color:#fff;margin:0 0 6px;font-size:28px;line-height:1.12}
.article-cta p{margin:0;color:#e9e2f6}
.article-cta .article-eyebrow{color:#ffe500;margin-bottom:7px}
.article-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:10px;text-decoration:none;font-weight:900;white-space:nowrap}
.article-btn.primary{background:#ffe500;color:#29105d}
.article-footer{background:#29105d;color:#fff;text-align:center;padding:24px;margin-top:0}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.guide-card{background:#fff;border:1px solid #ece7f2;border-radius:18px;padding:24px;box-shadow:0 8px 24px rgba(41,16,93,.04)}
.guide-card h2{font-size:24px;margin-top:0}
.guide-card h2 a,.guide-more{color:#29105d}
.guide-more{font-weight:800;text-decoration:none}
@media(max-width:900px){.article-hero-panel{grid-template-columns:1fr}.article-hero{aspect-ratio:16/9}.article-body-grid{grid-template-columns:1fr}.article-toc{position:static;display:flex;max-height:none;overflow:visible}}
@media(max-width:760px){.article-header-inner{flex-wrap:wrap;gap:11px}.article-nav{order:3;width:100%;overflow:auto;padding-top:2px}.article-langs{margin-left:auto}.article-shell{padding:18px 14px 50px}.article-hero-panel{padding:22px;border-radius:18px;gap:22px}.article-hero-panel h1{font-size:38px}.article-lead{font-size:17px}.article-content{font-size:17px;padding:24px 20px;border-radius:18px}.article-content>p:first-child{font-size:18px}.article-cta{align-items:flex-start;flex-direction:column}.guide-grid{grid-template-columns:1fr}}


/* Fullscreen order modal for blog/guides. The real Camionito order app is mounted
   inside this layer; no clone or second form is used. */
html.blog-order-modal-open,body.blog-order-modal-open{overflow:hidden!important}
.blog-order-bootstrap{
  display:none;
  position:fixed!important;
  inset:0!important;
  z-index:60000!important;
  background:rgba(26,8,58,.78);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  padding:24px;
  align-items:center;
  justify-content:center;
  overflow:auto;
}
.blog-order-bootstrap.is-open{display:flex!important}
.blog-order-bootstrap>.original-order-slot{
  position:relative!important;
  width:min(480px,calc(100vw - 48px))!important;
  max-width:480px!important;
  min-height:min(760px,calc(100vh - 48px));
  max-height:calc(100vh - 48px);
  overflow:auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 28px 90px rgba(0,0,0,.28);
  padding:16px;
  box-sizing:border-box;
}
.blog-order-bootstrap .order-load-status,
.blog-order-bootstrap .order-load-error{
  position:static!important;
  left:auto!important;
  top:auto!important;
  width:auto!important;
}
.blog-order-bootstrap .lk__application,
.blog-order-bootstrap .lk__application.z20000{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  z-index:1!important;
}
.blog-order-bootstrap .lk__workspace{
  width:100%!important;
  max-width:100%!important;
}
.blog-order-bootstrap .lk__application__show{display:none!important}
.blog-order-close{
  position:fixed;
  top:18px;
  right:22px;
  z-index:60010;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#29105d;
  box-shadow:0 8px 28px rgba(0,0,0,.22);
  font:700 32px/40px Arial,sans-serif;
  cursor:pointer;
}
.blog-order-close:hover{background:#ffe500}
@media(max-width:700px){
  .blog-order-bootstrap{padding:0;background:#fff;align-items:stretch}
  .blog-order-bootstrap>.original-order-slot{
    width:100%!important;
    max-width:none!important;
    min-height:100vh;
    max-height:100vh;
    border-radius:0;
    padding:10px 10px 24px;
    box-shadow:none;
  }
  .blog-order-close{
    top:8px;
    right:8px;
    width:40px;
    height:40px;
    line-height:36px;
  }
}

.article-index-intro{background:#fff;border:1px solid #ece7f2;border-radius:24px;padding:clamp(24px,4vw,44px);box-shadow:0 16px 45px rgba(41,16,93,.06);margin-bottom:24px}
.article-index-intro h1{font-size:clamp(38px,4.8vw,58px);line-height:1.02;letter-spacing:-.035em;color:#29105d;margin:0 0 18px}
@media(max-width:760px){.article-index-intro{border-radius:18px;padding:22px}.article-index-intro h1{font-size:38px}}

/* Article TOC stays below Camionito's two-row persistent header. Anchor targets
   use the same offset, including when navigating by mouse or keyboard. */
.article-toc a:focus-visible{outline:2px solid #4e2aa8;outline-offset:3px;border-radius:3px}
@media(max-width:900px){.article-content h2,.article-content h3{scroll-margin-top:155px}}

/* Match the real sticky header edge and remove extra top offset. */
.article-body-grid{align-items:start}
.article-toc{margin-block-start:0!important}
