/* آموزش · LEARNING JOURNEY: a rising staircase of glass steps + numbered chapter rows (glass skin only) */
.ed-ov{padding:clamp(26px,3.2vw,46px) clamp(12px,1.8vw,26px) 0;overflow:hidden}
.ed-stairs{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));height:clamp(450px,42vw,540px)}
.ed-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.ed-path polyline{fill:none;stroke:rgba(200,16,26,.55);stroke-width:1.3;stroke-dasharray:5 6}
.ed-step{position:relative;display:block;height:100%;color:var(--ink)}
.ed-blk{position:absolute;inset-inline:5px;bottom:0;height:var(--h);display:flex;align-items:flex-end;justify-content:center;padding-bottom:14px;border-radius:24px 24px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.26));border:1px solid rgba(255,255,255,.95);border-bottom:0;box-shadow:inset 0 1.5px 0 #fff,0 0 0 1px rgba(20,24,34,.05);
  transition:transform .6s var(--spring),background .4s}
.ed-blk em{font-style:normal;font-size:clamp(38px,4.4vw,60px);font-weight:200;line-height:1;color:rgba(20,24,34,.2);transition:color .4s}
.ed-dot{position:absolute;left:50%;bottom:var(--h);width:11px;height:11px;margin:0 0 -5.5px -5.5px;border-radius:50%;background:#fff;border:2px solid var(--red);z-index:2;transition:background .3s}
.ed-card{position:absolute;inset-inline:2px;bottom:calc(var(--h) + 22px);display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:24px;transition:transform .6s var(--spring),box-shadow .4s}
.ed-card .pc-ic{width:40px;height:40px;margin-bottom:8px;border-radius:13px}.ed-card .pc-ic svg{width:20px;height:20px}
.ed-card b{font-size:15px;font-weight:700;line-height:1.7;color:var(--ink)}.ed-card small{font-size:12px;color:var(--mut)}
.ed-step:hover .ed-blk,.ed-step:focus-visible .ed-blk{transform:translateY(-5px);background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.4))}
.ed-step:hover .ed-card,.ed-step:focus-visible .ed-card{transform:translateY(-5px);box-shadow:inset 0 1.5px 0 #fff,0 0 0 1px rgba(20,24,34,.05),0 26px 40px -22px rgba(17,24,39,.38)}
.ed-step:hover .ed-dot{background:var(--red)}.ed-step:hover .ed-blk em{color:var(--red)}
.ed-step.soon .ed-blk{opacity:.7}.ed-step.soon .pc-ic{color:var(--mut);background:linear-gradient(160deg,#fff,rgba(255,255,255,.6));box-shadow:inset 0 1.5px 0 #fff,0 0 0 1px rgba(20,24,34,.09)}

.ed-rows{display:flex;flex-direction:column;gap:14px}
.ed-row{display:grid;grid-template-columns:clamp(84px,9vw,128px) minmax(0,1fr) 220px;gap:clamp(16px,2.6vw,38px);align-items:center;padding:clamp(22px,2.6vw,34px) clamp(22px,3vw,40px);border-radius:32px;transition:transform .55s var(--spring),box-shadow .4s}
.ed-row:hover{transform:translateY(-3px);box-shadow:inset 0 1.5px 0 #fff,0 0 0 1px rgba(20,24,34,.05),0 28px 44px -24px rgba(17,24,39,.36)}
.ed-n{font-size:clamp(56px,6.4vw,92px);font-weight:200;line-height:1;color:rgba(20,24,34,.2);transition:color .4s}.ed-row:hover .ed-n{color:var(--red)}
.ed-k{font-size:12.5px;font-weight:700;color:var(--red)}
.ed-b h3{margin:4px 0 6px;font-size:clamp(20px,2.1vw,27px);font-weight:900;line-height:1.55;color:var(--ink)}
.ed-b p{margin:0;max-width:640px;font-size:14.5px;line-height:2.05;color:var(--mut)}.ed-b .dv-l{margin-top:10px}
.ed-f{display:flex;flex-direction:column;align-items:flex-start;gap:14px}

/* program page: stepper in the hero (white glass over the photo, like the hero chips) */
.ed-pst{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:18px}
.ed-pl{font-size:13px;font-weight:700;color:rgba(255,255,255,.82)}.ed-pst>div{display:flex;gap:8px}
.ed-pd{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.4);transition:transform .45s var(--spring)}
.ed-pd:hover{transform:translateY(-3px)}.ed-pd.cur{background:linear-gradient(180deg,#ff4a50,#bd0d16);border-color:rgba(255,255,255,.5)}.ed-pd.soon:not(.cur){border-style:dashed}

@media(max-width:1020px){.ed-row{grid-template-columns:84px minmax(0,1fr)}.ed-f{grid-column:2}}
@media(max-width:760px){
  .ed-ov{padding:18px 16px}
  .ed-stairs{display:block;height:auto;padding-inline-start:30px;border-inline-start:1px solid rgba(20,24,34,.14);margin-inline-start:6px}
  .ed-path{display:none}
  .ed-step{display:flex;align-items:center;gap:10px;height:auto;margin-bottom:12px}
  .ed-blk{position:static;order:-1;flex:none;height:auto;padding:0;background:none;border:0;box-shadow:none;border-radius:0}.ed-blk em{font-size:32px}
  .ed-card{position:static;flex:1;flex-direction:row;align-items:center;gap:10px;padding:10px 12px;border-radius:20px}
  .ed-card b{flex:1}.ed-card .pc-ic{margin:0;flex:none}.ed-card small{display:none}
  .ed-dot{left:auto;bottom:auto;top:50%;inset-inline-start:-36px;margin:-5.5px 0 0}
  .ed-row{grid-template-columns:58px minmax(0,1fr);gap:14px;padding:20px}.ed-n{font-size:44px}
}
@media(prefers-reduced-motion:reduce){.ed-blk,.ed-card,.ed-row,.ed-pd{transition:none!important}}
