/* Solution pages under /solutions/ (_skyprep_solution_page.php, DESIGN-SYSTEM.md). The feature pages' parts come from
   skyprep-feature.css; this file adds what a solution page leads with: a split hero with a photo and product cards
   floating over it, and what people learn as a row of course cards that open their outcomes. Prefix sl-. */

/* Hero: soft blue, copy on the left, the photo collage on the right. */
.sl-hero{position:relative;padding:64px 0 72px;overflow:hidden;background:linear-gradient(125deg,#f7faff 0%,#e6efff 60%,#f7faff 100%)}
.sl-hero:before{content:"";position:absolute;top:-100px;right:-120px;width:560px;height:220px;border-radius:50%;background:#3772e91f;filter:blur(70px)}
.sl-hero-grid{position:relative;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:clamp(40px,5vw,72px)}
.sl-hero h1{font-size:clamp(40px,4.3vw,56px);--lm-lh:1.15;letter-spacing:var(--ds-tracking-hero);text-wrap:balance}
.sl-hero h1 span{display:block;color:var(--lm-blue)}
.sl-hero-copy>p:not(.lm-eyebrow){max-width:540px;margin:28px 0 32px!important;color:var(--lm-muted);font-size:clamp(18px,1.45vw,21px);line-height:1.45}
.sl-hero .fe-hero-actions{justify-content:flex-start}

/* Collage: the photo with two product cards over its bottom edge, so the people in it stay clear. */
.sl-collage{position:relative;padding:28px 72px 64px 20px}
.sl-photo{overflow:hidden;border:6px solid #fff;border-radius:32px;box-shadow:0 30px 70px #18479433}
.sl-photo img{display:block;width:100%;height:auto;aspect-ratio:860/716;object-fit:cover}
.sl-float{position:absolute;z-index:1;box-shadow:0 20px 44px #1847942e}
.sl-float-a{right:0;bottom:0;width:250px}
.sl-float-c{bottom:20px;left:0}
.sl-float .fe-steps{margin-top:12px!important}
.sl-float .fe-steps li{padding:7px 8px;font-size:13px}
.sl-float .fe-ring{width:52px;height:52px}
.sl-float .fe-ring svg{width:52px;height:52px}
.sl-float .fe-ring b{font-size:12px}

/* What people learn: a row of course cards; the chosen one opens its outcomes in the panel below the row. */
/* !important: the old theme's unify-components.css sets every [role="tablist"] to display:block with a stronger selector. */
.sl-courses{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:48px}
.sl-course{display:flex;flex-direction:column;align-items:flex-start;padding:10px 10px 20px;border:2px solid transparent;border-radius:22px;background:#fff;color:var(--lm-ink);font:inherit;text-align:left;cursor:pointer;box-shadow:var(--ds-shadow-card);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.sl-course:hover{transform:translateY(-3px)}
.sl-course:focus-visible{outline:3px solid var(--lm-blue);outline-offset:3px}
.sl-course[aria-selected="true"]{border-color:var(--lm-blue);box-shadow:0 18px 40px #3772e92e}
.sl-course img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:14px;object-fit:cover}
.sl-course-label{display:block;margin:16px 8px 6px;color:var(--lm-blue);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.sl-course strong{margin:0 8px;font-family:var(--lm-heading);font-size:19px;font-weight:600;line-height:1.3}
.sl-course small{margin:6px 8px 0;color:var(--lm-muted);font-size:14px;line-height:1.45}
.sl-course-panel{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,2fr);align-items:center;gap:clamp(24px,4vw,48px);margin-top:24px;padding:32px 36px;border-radius:24px;background:linear-gradient(125deg,#f2f7ff,#e6efff);animation:sl-panel-in .3s ease}
.sl-course-panel[hidden]{display:none}
.sl-course-panel .sl-course-label{margin:0 0 8px}
.sl-course-panel h3{font-size:28px;--lm-lh:1.25}
.sl-course-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0!important;padding:0;list-style:none}
.sl-course-points li{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:16px;background:#fff;font-size:15px;font-weight:500;line-height:1.5;box-shadow:0 10px 24px #1847940f}
.sl-course-points .lm-check{stroke:none}
.sl-course-points .lm-check circle{fill:var(--lm-blue-soft)}
.sl-course-points .lm-check path{stroke:var(--lm-blue);stroke-width:2.6}
@keyframes sl-panel-in{from{opacity:0;translate:0 8px}}
@media (prefers-reduced-motion:reduce){.sl-course-panel{animation:none}}

/* Digital sign-off tile: a handwritten-style signature on a line. */
.sl-sign strong{margin-top:4px}
.sl-signature{display:block;margin:14px 0 10px;padding-bottom:6px;border-bottom:1.5px solid var(--lm-line);color:var(--lm-blue-dark);font:italic 600 24px/1.2 Georgia,serif}

@media (max-width:1020px){
    .sl-hero-grid{grid-template-columns:1fr}
    .sl-collage{width:100%;max-width:620px;margin-inline:auto}
    .sl-courses{grid-template-columns:repeat(2,minmax(0,1fr))}
    .sl-course-panel{grid-template-columns:1fr}
}
@media (max-width:700px){
    .sl-hero{padding:48px 0 48px}
    .sl-hero h1{font-size:clamp(34px,9.4vw,44px)}
    .sl-hero-copy>p:not(.lm-eyebrow){margin:24px 0!important;font-size:18px}
    .sl-hero .fe-hero-actions{flex-direction:column;align-items:stretch;text-align:center}
    .sl-hero .fe-hero-actions .fe-text-link{justify-content:center}
    .sl-collage{padding:0 0 150px}
    /* Pages whose photo has a face on the right (customer training, employee development) have no card under it. */
    .sl-collage:not(:has(.sl-float-a)){padding-bottom:0}
    .sl-photo{border-width:4px;border-radius:24px}
    .sl-float-a{right:16px;left:16px;width:auto}
    .sl-float-c{display:none}
    .sl-courses{gap:12px;margin-top:32px}
    .sl-course{padding:6px 6px 14px;border-radius:18px}
    .sl-course img{border-radius:12px}
    .sl-course-label{margin:12px 6px 4px;font-size:11px}
    .sl-course strong{margin:0 6px;font-size:16px}
    .sl-course small{display:none}
    .sl-course-panel{gap:20px;margin-top:16px;padding:24px 20px;border-radius:20px}
    .sl-course-panel h3{font-size:23px}
    .sl-course-points{grid-template-columns:1fr;gap:10px}
    .sl-course-points li{flex-direction:row;gap:12px;padding:14px 16px}
}
