/* Sticky sidebars, one type per DaletForge template (shared/product-sites/sidebars.py, SIDEBAR_SPEC_2026-12-01.md).
   Desktop >= 1024px: the rail column is sticky under the header, no inner scrollbar (site.js sets a negative top on a
   rail taller than the window: it scrolls with the page and stops at its end). Below 1024px: marketing rails are hidden
   and the mobile sticky bar carries the call to action; the contact rail stays in the flow; ToC rails stay in the flow
   above the body as a collapsible "On this page". Widths follow the Forge templates. */
.rail-col{min-width:0}
.rail-col .rail{display:block}
.rail-box .rail-text{margin:0 0 .75rem;color:var(--ink)}
.rail-sub{display:block;margin:.25rem 0 .35rem;font-weight:700;font-size:.9375rem;color:var(--muted)}
.rail-name{margin:0 0 .35rem;font:800 1.125rem/1.3 var(--font-head);color:var(--ink)}
.rail-checks{list-style:none;margin:0 0 .9rem;padding:0}
.rail-checks li{display:flex;gap:.5rem;align-items:flex-start;margin:0 0 .5rem;line-height:1.45}
.rail-checks .icon{flex:none;width:20px;height:20px;margin-top:.12rem;color:var(--navy)}
.rail-list{list-style:none;margin:0;padding:0}
.rail-list li{margin:0;border-top:1px solid var(--surface-2)}
.rail-list li:first-child{border-top:0}
.rail-link{display:inline-flex;align-items:center;min-height:44px;padding:.15rem 0;font-weight:600}
.rail-link[aria-current="page"]{color:var(--ink);text-decoration:none}
.rail-count{color:var(--muted);font-size:.875rem;white-space:nowrap}
.rail-address{display:flex;gap:.5rem;align-items:flex-start;margin:0 0 .35rem}
.rail-address .icon{flex:none;margin-top:.15rem}
.rail-more{margin:-.5rem 0 1rem;padding-left:1.1rem}
.rail-box .btn{width:100%;margin:.25rem 0}
.rail-box .fact-chips{margin:0 0 .9rem}
/* ToC rail: a disclosure, open on desktop, closed in the flow on small screens (site.js) */
.toc-details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;margin:0}
.toc-details>summary::-webkit-details-marker{display:none}
.toc-details>summary::after{content:"";width:.6rem;height:.6rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 .3rem .25rem}
.toc-details[open]>summary::after{transform:rotate(-135deg);margin-bottom:-.2rem}
.toc-details ol{margin-top:.35rem}
.rail-toc-box .rail-cta{margin-top:0}
@media (max-width:1023px){
  .layout-cols:has(>.rail-toc){display:flex;flex-direction:column}
  .layout-cols>.rail-toc{display:block;order:-1;padding:1rem 0 0}
  .layout-cols>.rail-toc .rail-cta{display:none}
  .layout-cols>.rail-marketing{display:none}
  .layout-cols>.rail-col:has(.daletforge-contact-info){display:block;padding-top:.5rem}
}
@media (min-width:1024px){
  .rail-col{position:sticky;top:1rem;max-height:none;overflow:visible;align-self:start}
  .layout-cols:has(>.rail-left){grid-template-columns:280px minmax(0,1fr)}
  .layout-cols>.rail-left{order:-1}
  .layout-cols:has(.solution-benefits-sidebar),.layout-cols:has(.blog-archive-sidebar){grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}
  .layout-cols:has(.service-sidebar),.layout-cols:has(.daletforge-contact-info){grid-template-columns:minmax(0,3fr) minmax(300px,2fr)}
  .layout-cols:has(.local-contact-sidebar){grid-template-columns:minmax(0,7fr) minmax(280px,3fr)}
  .layout-cols:has(.sidebar-sticky){grid-template-columns:minmax(0,1fr) 300px}
  .layout-cols:has(>.rail-left .df-toc){grid-template-columns:minmax(240px,1fr) minmax(0,3fr)}
}
@media (min-width:1440px){
  .layout-cols:has(.service-sidebar),.layout-cols:has(.daletforge-contact-info){grid-template-columns:minmax(0,3fr) minmax(320px,2fr)}
}
/* newsletter signup in the rail; services rail: shown first on small screens (Forge services, CSS order -1) */
.rail-form .field{margin:0 0 .6rem}
.rail-form label{display:block;font-weight:600;font-size:.9375rem;margin-bottom:.25rem}
.rail-form input[type=email]{width:100%;min-height:44px}
.rail-form .field.check{display:flex;gap:.5rem;align-items:flex-start}
.rail-form .field.check label{font-weight:400}
.rail-form .field.check input{width:24px;height:24px;flex:none;margin-top:.1rem}
.rail-checks strong{color:var(--ink)}
@media (max-width:1023px){
  .layout-cols:has(>.rail-col .service-sidebar){display:flex;flex-direction:column}
  .layout-cols>.rail-col:has(.service-sidebar){display:block;order:-1;padding-top:1rem}
}
@media (min-width:1024px){
  .layout-cols:has(>.rail-left .df-toc),.layout-cols:has(>.rail-left .sidebar-column){grid-template-columns:280px minmax(0,1fr)}
  .layout-cols.legal-layout:has(>.rail-left){grid-template-columns:minmax(220px,1fr) minmax(0,3fr)}
}
