.cm-hero-slider { --hero-frame-shadow:0 4px 16px color-mix(in srgb,var(--foreground) 6%,transparent); position:relative; width:calc(100% - 40px); max-width:1440px; margin:20px auto 0; }
.cm-hero-frame { position:relative; isolation:isolate; padding:6px; overflow:hidden; border:1px solid var(--border); border-radius:12px; background:var(--background); box-shadow:var(--hero-frame-shadow); }
.cm-hero-shade, .cm-hero-image-link { position:absolute; inset:0; }
.cm-hero-image picture { display:contents; }
.cm-hero-image { display:grid; position:relative; overflow:hidden; border-radius:7px; background:var(--background); }
.cm-hero-image img { grid-area:1 / 1; align-self:center; display:block; min-width:0; width:100%; height:auto; aspect-ratio:auto 2.7; object-fit:contain; object-position:center; opacity:0; transition:opacity 420ms ease; }
.cm-hero-image img.is-active { opacity:1; }
.cm-hero-backdrop { display:none; position:absolute; inset:-24px; z-index:0; background-position:center; background-size:cover; filter:blur(18px) saturate(1.15); opacity:.85; pointer-events:none; transition:background-image 420ms ease; }
.cm-hero-backdrop::after { content:""; position:absolute; inset:0; background:color-mix(in srgb,var(--secondary) 18%,transparent); }
.cm-hero-image-link { z-index:1; }
.cm-hero-shade { z-index:-1; pointer-events:none; background:color-mix(in srgb,var(--secondary) var(--hero-overlay),transparent); }
.cm-hero-content { width:100%; padding:54px 72px 80px; margin-inline:auto; pointer-events:none; z-index:2; }
.cm-hero-copy { max-width:580px; min-width:0; }
.cm-hero-eyebrow { display:block; margin-bottom:12px; color:var(--hero-eyebrow); font-size:15px; font-weight:750; letter-spacing:0; overflow-wrap:anywhere; }
.cm-hero-copy h1, .cm-hero-copy h2 { color:var(--hero-text); font-size:44px; font-weight:750; line-height:1.15; letter-spacing:0; overflow-wrap:anywhere; margin:0; }
.cm-hero-copy p { color:var(--hero-text); font-size:18px; line-height:1.65; margin:18px 0 24px; white-space:pre-line; overflow-wrap:anywhere; }
.cm-hero-slider .cm-hero-cta { pointer-events:auto; display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:48px; padding:12px 24px; border:1px solid var(--hero-button-text); border-radius:4px; background:var(--hero-button); color:var(--hero-button-text); font-weight:700; font-size:16px; max-width:100%; white-space:normal; text-decoration:none; }
.cm-hero-slider .cm-hero-cta:hover { background:var(--hero-button); color:var(--hero-button-text); filter:brightness(.95); }
.cm-hero-controls { position:absolute; inset:0 0 56px; z-index:3; pointer-events:none; }
.cm-hero-slider .cm-hero-arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:48px; padding:0; border-radius:12px; border:1px solid var(--border); color:var(--primary); background:var(--background); box-shadow:var(--hero-frame-shadow); pointer-events:auto; transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease; }
.cm-hero-slider .cm-hero-arrow svg { transition:transform 180ms ease; }
.cm-hero-slider .cm-hero-arrow:hover { background:var(--primary); color:var(--primary-foreground); border-color:var(--primary); }
.cm-hero-arrow.prev { inset-inline-start:14px; }
.cm-hero-arrow.next { inset-inline-end:14px; }
.cm-hero-arrow.prev:hover svg { transform:translateX(-2px); }
.cm-hero-arrow.next:hover svg { transform:translateX(2px); }
.cm-hero-dots { position:relative; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:0; max-width:calc(100% - 112px); width:max-content; min-height:48px; margin:8px auto 0; padding:0 4px; pointer-events:none; }
.cm-hero-slider .cm-hero-dots button { display:flex; align-items:center; justify-content:center; border:0; background:transparent; width:28px; height:44px; padding:0; pointer-events:auto; transition:width 220ms ease; }
.cm-hero-slider .cm-hero-dots button[aria-pressed="true"] { width:44px; }
.cm-hero-dots button span { display:block; width:8px; height:8px; border:1px solid var(--border); background:var(--muted-foreground); border-radius:999px; transition:width 220ms ease,background-color 220ms ease,border-color 220ms ease; }
.cm-hero-dots button[aria-pressed="true"] span { width:30px; border-color:var(--primary); background:var(--primary); }
.cm-hero-slider a:focus-visible,.cm-hero-slider button:focus-visible { outline:3px solid var(--primary); outline-offset:-4px; }
@media (max-width:1024px) { .cm-hero-copy h1,.cm-hero-copy h2 { font-size:36px; } .cm-hero-copy { max-width:500px; } .cm-hero-content { padding-block:38px 74px; } }
@media (max-width:640px) { .cm-hero-content { padding:32px 52px 74px; } .cm-hero-copy { max-width:100%; } .cm-hero-copy h1,.cm-hero-copy h2 { font-size:29px; } .cm-hero-copy p { font-size:16px; margin:14px 0 20px; } .cm-hero-eyebrow { font-size:13px; } .cm-hero-arrow.prev { inset-inline-start:8px; } .cm-hero-arrow.next { inset-inline-end:8px; } }
@media (prefers-reduced-motion:reduce) { .cm-hero-image img { transition:none; } }
@media (max-width:1024px) { .cm-hero-slider { width:calc(100% - 24px); margin-top:16px; } }
@media (max-width:640px) { .cm-hero-slider { width:calc(100% - 8px); margin-top:4px; } .cm-hero-frame { padding:2px; border-radius:10px; } .cm-hero-image { height:clamp(220px,62vw,280px); } .cm-hero-image img { position:relative; z-index:1; align-self:stretch; width:100%; height:100%; aspect-ratio:auto; object-fit:contain; object-position:center; } .cm-hero-backdrop { display:block; } .cm-hero-image:has(img.has-mobile.is-active) { height:auto; } .cm-hero-image img.has-mobile { align-self:center; height:auto; } .cm-hero-image:has(img.has-mobile.is-active) .cm-hero-backdrop { display:none; } .cm-hero-controls { inset:0 0 56px; height:auto; } .cm-hero-slider .cm-hero-arrow { width:30px; height:30px; border-radius:8px; } .cm-hero-slider .cm-hero-arrow svg { width:14px; height:14px; } .cm-hero-arrow.prev { inset-inline-start:7px; } .cm-hero-arrow.next { inset-inline-end:7px; }
  .cm-hero-dots button span { width:9px; height:9px; border:2px solid var(--muted-foreground); background:transparent; }
  .cm-hero-dots button[aria-pressed="true"] span { width:28px; height:9px; border-color:var(--primary); background:var(--primary); box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent); }
}
@media (prefers-reduced-motion:reduce) { .cm-hero-slider button, .cm-hero-slider .cm-hero-arrow svg, .cm-hero-dots button span { transition:none; } }@media (max-width:640px) { .cm-hero-slider { width:100%; margin-top:0; } .cm-hero-frame { padding:0; border-radius:0; border:0; box-shadow:none; } .cm-hero-image { height:auto; border-radius:0; } .cm-hero-backdrop { display:none !important; } .cm-hero-image img, .cm-hero-image img.has-mobile { align-self:center; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; } .cm-hero-controls { inset:0; } }

@media (max-width:640px) { .cm-hero-image img:not(.has-mobile) { aspect-ratio:1.65; height:auto; object-fit:cover; object-position:center; } }
@media (max-width:640px) { .cm-hero-image img.has-mobile { aspect-ratio:1.65; width:100%; height:auto; object-fit:cover; object-position:center; } }
@media (max-width:640px) { .cm-hero-slider { width:calc(100% - 20px); margin-inline:auto; margin-top:8px; } .cm-hero-image { border-radius:12px; box-shadow:0 6px 18px -10px color-mix(in srgb,var(--foreground) 45%,transparent); } }
.cm-hero-image img { transition:opacity 520ms ease, transform 620ms cubic-bezier(.22,.8,.26,1); transform:translateX(-14%) scale(.98); }
.cm-hero-image img.is-active { transform:none; animation:cmHeroSlideIn 620ms cubic-bezier(.22,.8,.26,1); }
@keyframes cmHeroSlideIn { from { opacity:0; transform:translateX(16%) scale(.98); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .cm-hero-image img, .cm-hero-image img.is-active { animation:none; transition:none; transform:none; } }
@media (max-width:640px) { .cm-hero-controls { inset:0 0 50px; } }
