/* User case library. Reuses the sales-page tokens and shell; no new colour system. */
.os-cases-page .os-hero>.os-shell{display:block}
.cs-jump{display:flex;flex-wrap:wrap;gap:10px;padding-block:26px 0}
.os-cases-page .cs-jump a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #82999d;border-radius:8px;color:#244d5e;text-decoration:none;font-size:14px;font-weight:600;line-height:1.4}
.os-cases-page .cs-jump a:hover{background:#d0dedd}
.cs-section .os-heading p{max-width:64ch}
.cs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;align-items:start}
.cs-item{display:flex;flex-direction:column;margin:0;min-width:0;overflow-wrap:anywhere}
/* width:100% plus the intrinsic ratio from the width/height attributes keeps CLS at zero
   without cropping; .cs-photo overrides both to fill a fixed frame. */
.cs-item img{display:block;width:100%;height:auto;max-width:100%}
.cs-item figcaption{margin-top:10px;font-size:13px;line-height:1.5;color:var(--ed-soft-ink)}
/* Transparent cut-outs need a light card; a dark background would hide the housing edge.
   Their intrinsic ratio varies from square to wide strips, so it is preserved and the
   width/height attributes keep the box reserved before the WebP decodes. */
.cs-cutout,.cs-screen{background:#f7f6f2;border:1px solid var(--ed-rule);border-radius:12px;padding:16px}
.cs-cutout img,.cs-screen img{object-fit:contain;background:#fff;border-radius:8px}
/* Supplied scene photographs fill a fixed frame so the grid keeps a common rhythm. */
.cs-photo img{aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.cs-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:36px;padding-top:24px;border-top:1px solid var(--ed-rule)}
.cs-cta .os-note{margin:0;max-width:62ch}
.cs-products{background:var(--ed-ivory)}
/* Closing disclosure: visually separate from the gallery so it reads as a condition, not a caption. */
.cs-disclosure{background:var(--ed-paper);border-top:1px solid var(--ed-rule)}
.cs-disclosure h2{font-size:clamp(1.5rem,2.3vw,2.1rem)}
.cs-disclosure p{max-width:74ch}
.cs-entry{border-block:1px solid var(--ed-rule);padding-block:64px}
.cs-entry .os-heading{margin-bottom:28px}
@media(max-width:800px){.cs-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.cs-cutout,.cs-screen{padding:12px}.cs-item figcaption{font-size:12px}.cs-jump{padding-block:18px 0}.cs-cta{margin-top:26px;padding-top:20px}.cs-entry{padding-block:44px}}
@media(max-width:420px){.cs-grid{grid-template-columns:1fr}.cs-photo img{aspect-ratio:4/3}}

/* Related strip on the three product pages. Compact by design: the product page already
   carries its own demonstration, so this only points back into the library. */
.cs-related{padding-block:56px;border-top:1px solid var(--ed-rule)}
.cs-related .os-heading{margin-bottom:28px}
/* Four across on a wide screen; auto-fit keeps a shorter list from leaving empty tracks. */
.cs-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;align-items:start}
.cs-related .cs-item{min-width:0}
.cs-related .cs-item figcaption{font-size:12px;line-height:1.45;color:var(--ed-soft-ink)}
.cs-related .cs-cutout,.cs-related .cs-screen{padding:10px;border-radius:10px}
.cs-related .cs-photo img{border-radius:10px}
.cs-related-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:18px}
.cs-related-links .os-text-link{font-size:13px}
@media(max-width:620px){
  .cs-related{padding-block:40px}
  .cs-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
