/* Shared Eduway highlights: one full card plus 30% of the following card. */
.edu-features {--edu-gutter:6.25vw;--edu-gap:24px;--edu-card-width:calc((100vw - var(--edu-gutter) - var(--edu-gap)) / 1.3);--edu-ease:cubic-bezier(.28,.11,.32,1);scroll-margin-top:80px;background:#f5f5f7;padding:68px 0 42px;color:#1d1d1f;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;}
.edu-features * {box-sizing:border-box;}
.edu-highlights-title {font-size:clamp(36px,4.2vw,64px);font-weight:650;line-height:1.08;letter-spacing:-.045em;margin:0 var(--edu-gutter) 48px;}
.edu-feature-rail {display:flex;gap:var(--edu-gap);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--edu-gutter);padding:12px max(var(--edu-gutter),calc(100vw - var(--edu-gutter) - var(--edu-card-width) - var(--edu-card-width) - var(--edu-gap))) 22px var(--edu-gutter);scrollbar-width:none;cursor:grab;touch-action:pan-x pan-y pinch-zoom;}
.edu-feature-rail::-webkit-scrollbar {display:none;}
.edu-feature-rail.is-dragging {cursor:grabbing;scroll-snap-type:none;user-select:none;}
.edu-feature-card {flex:0 0 var(--edu-card-width);min-width:0;min-height:clamp(450px,42vw,680px);display:flex;align-items:center;justify-content:center;border-radius:40px;position:relative;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate;}
.edu-feature-card[data-feature-tone=blue] {background:#2563eb;color:#fff;}
.edu-feature-card[data-feature-tone=purple] {background:#503ff0;color:#fff;}
.edu-feature-card[data-feature-tone=pink] {background:#df3671;color:#fff;}
.edu-feature-card[data-feature-tone=yellow] {background:#fde293;color:#1d1d1f;}
.edu-feature-copy {padding:64px clamp(32px,5vw,100px);width:100%;position:relative;z-index:2;transition:transform .6s var(--edu-ease);}
.edu-feature-eyebrow {font-size:20px;font-weight:600;letter-spacing:-.02em;margin:0 0 25px;}
.edu-feature-card h2 {color:inherit;font-size:clamp(36px,4.1vw,72px);line-height:1.07;font-weight:650;letter-spacing:-.045em;margin:0;}
.edu-feature-description {font-size:clamp(20px,1.65vw,24px);font-weight:600;line-height:1.45;letter-spacing:-.025em;max-width:640px;margin:28px 0 0;}
.edu-feature-navigation {margin:16px var(--edu-gutter) 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:52px;}
.edu-feature-playback {grid-column:2;display:flex;align-items:center;gap:14px;}
.edu-feature-dots {display:flex;align-items:center;gap:4px;background:#e8e8ed;border-radius:99px;padding:4px 16px;}
.edu-feature-dots button {width:27px;height:44px;display:grid;place-items:center;padding:0;border:0;background:none;cursor:pointer;}
.edu-feature-dots button:before {content:"";width:7px;height:7px;border-radius:99px;background:#909095;transition:width .25s var(--edu-ease),background .25s;}
.edu-feature-dots button[aria-pressed=true]:before {width:25px;background:#1d1d1f;}
.edu-feature-play-toggle {width:52px;height:52px;border:0;border-radius:50%;display:grid;place-items:center;background:#e8e8ed;color:#1d1d1f;cursor:pointer;}
.edu-play-icon {display:none;}.edu-feature-play-toggle[aria-pressed=true] .edu-pause-icon {display:none;}.edu-feature-play-toggle[aria-pressed=true] .edu-play-icon {display:block;}
.edu-feature-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.edu-feature-arrows {grid-column:3;justify-self:end;display:flex;gap:12px;}
.edu-feature-arrows button {border:0;width:44px;height:44px;padding:0;background:#e8e8ed;color:#424245;border-radius:50%;display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s;}
.edu-feature-arrows button:hover,.edu-feature-play-toggle:hover {background:#dedee4;}
.edu-feature-arrows button:active {transform:scale(.94);}
.edu-feature-rail:focus-visible,.edu-feature-navigation button:focus-visible {outline:3px solid #0866ff;outline-offset:4px;}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {.edu-feature-card:hover .edu-feature-copy {transform:translateY(-7px);}}
@media(max-width:734px) {
 .edu-features {--edu-gutter:6vw;--edu-gap:14px;padding:40px 0 28px;}
 .edu-highlights-title {font-size:34px;margin-bottom:28px;}
 .edu-feature-rail {padding-bottom:18px;}
 .edu-feature-card {min-height:470px;border-radius:28px;}
 .edu-feature-copy {padding:38px 22px;}
 .edu-feature-eyebrow {font-size:20px;margin-bottom:22px;}
 .edu-feature-card h2 {color:inherit;font-size:clamp(28px,7vw,48px);line-height:1.08;}
 .edu-feature-description {font-size:20px;line-height:1.45;margin-top:24px;}
 .edu-feature-navigation {display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:12px;}
 .edu-feature-playback {gap:10px;}
 .edu-feature-dots {padding:2px 10px;gap:2px;}.edu-feature-dots button {width:23px;}
 .edu-feature-play-toggle {width:48px;height:48px;}
 .edu-feature-arrows {gap:8px;}.edu-feature-arrows button {width:44px;height:44px;}
}
@media(prefers-reduced-motion:reduce) {.edu-features * {transition:none!important;scroll-behavior:auto!important;}.edu-feature-rail {scroll-snap-type:x proximity;}}

/* Compact cards open in place, keeping their colour and the surrounding context. */
.edu-features {--edu-card-width:calc((100vw - var(--edu-gutter) - var(--edu-gap)) / 1.3);}
.edu-feature-rail {align-items:flex-start;overflow-anchor:none;}
.edu-feature-card {height:340px;min-height:0;border-radius:32px;align-items:flex-start;transition:height .65s var(--edu-ease),flex-basis .65s var(--edu-ease);}
.edu-feature-copy {padding:40px 44px;}
.edu-feature-eyebrow {font-size:16px;margin-bottom:20px;}
.edu-feature-card h2 {font-size:clamp(30px,3.1vw,46px);}
.edu-feature-description {font-size:18px;line-height:1.45;margin-top:22px;max-width:590px;}
.edu-feature-open {position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;color:inherit;cursor:pointer;z-index:3;}
.edu-feature-open span,.edu-feature-close {position:absolute;right:20px;bottom:18px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ffffff29;font:300 27px/1 -apple-system,BlinkMacSystemFont,sans-serif;color:inherit;}
.edu-feature-close {top:16px;bottom:auto;right:16px;border:0;cursor:pointer;z-index:4;}
.edu-feature-close[hidden] {display:none;}
.edu-feature-open:focus-visible {outline:3px solid currentColor;outline-offset:-6px;border-radius:32px;}
.edu-feature-close:focus-visible {outline:3px solid currentColor;outline-offset:3px;}
.edu-feature-details {display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .65s var(--edu-ease),opacity .4s;}
.edu-feature-details>div {overflow:hidden;}
.edu-feature-details h3 {color:inherit;font-size:21px;line-height:1.2;margin:28px 0 8px;letter-spacing:-.025em;}
.edu-feature-details p {font-size:17px;line-height:1.5;max-width:640px;margin:0;}
.edu-feature-card.is-expanded {height:580px;flex-basis:min(900px,calc(100vw - var(--edu-gutter)*2));cursor:pointer;}
.edu-feature-card.is-expanded .edu-feature-details {grid-template-rows:1fr;opacity:1;}
.edu-feature-card.is-expanded .edu-feature-open {display:none;}
.edu-feature-card.is-expanded:hover .edu-feature-copy {transform:none;}
@media(max-width:734px) {
 .edu-feature-card {height:390px;border-radius:28px;}
 .edu-feature-copy {padding:30px 24px;}
 .edu-feature-eyebrow {font-size:16px;margin-bottom:18px;}
 .edu-feature-card h2 {font-size:30px;}
 .edu-feature-description {font-size:17px;margin-top:20px;}
 .edu-feature-card.is-expanded {height:650px;}
 .edu-feature-details h3 {font-size:20px;margin-top:24px;}
 .edu-feature-details p {font-size:16px;}
}

/* One complete card and exactly 30% of its neighbour, at every desktop width. */
.edu-feature-card {height:clamp(440px,32vw,580px);align-items:center;justify-content:flex-start;}
.edu-feature-copy {width:67%;padding:clamp(32px,4vw,76px);}
.edu-feature-card h2 {font-size:clamp(34px,3.8vw,62px);}
.edu-feature-description {font-size:clamp(18px,1.5vw,24px);max-width:640px;}
.edu-feature-companion {position:absolute;right:3%;bottom:5%;width:34%;height:auto;object-fit:contain;z-index:1;pointer-events:none;user-select:none;transition:transform .65s var(--edu-ease),width .65s var(--edu-ease);}
.edu-feature-card.is-expanded {height:clamp(620px,42vw,740px);flex-basis:calc(100vw - var(--edu-gutter)*2);}
.edu-feature-card.is-expanded .edu-feature-copy {width:70%;}
.edu-feature-card.is-expanded .edu-feature-companion {width:28%;}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {.edu-feature-card:hover .edu-feature-companion {transform:translateY(-7px) rotate(-3deg);}}
@media(max-width:734px) {
 .edu-feature-card {height:530px;align-items:flex-start;}
 .edu-feature-copy {width:100%;padding:30px 24px;}
 .edu-feature-card h2 {font-size:30px;}
 .edu-feature-description {font-size:17px;}
 .edu-feature-companion {width:170px;right:14px;bottom:16px;}
 .edu-feature-card.is-expanded {height:780px;}
 .edu-feature-card.is-expanded .edu-feature-copy {width:100%;}
 .edu-feature-card.is-expanded .edu-feature-companion {width:170px;}
}
