/* /higher-ed/ — interactions page for e-learning content companies (V63).
   Loaded after seo-pages.css; the Arabic copy (higher-ed.rtl.css) is generated by tools/build_arabic.cjs.
   Physical left/right values are mirrored by rtlcss; inset-inline-* stay as written. */
@font-face{font-family:Geist;src:url('../assets/fonts/GeistMono-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Geist;src:url('../assets/fonts/GeistMono-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.mono{font:700 10px Geist,Readex,monospace;letter-spacing:.16em;text-transform:uppercase}

/* hero: copy + live preview of example 01 */
.hb{padding:clamp(48px,5vw,72px) 0 48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,4vw,56px);align-items:center}
.hb h1{font-size:clamp(38px,4.4vw,64px);line-height:1.1;margin:16px 0 0}
.hb h1 em{font-style:normal;color:var(--orange)}
.hb .lead{font-size:clamp(17px,1.4vw,19px);line-height:1.6;margin:18px 0 0;color:#2B4450;max-width:58ch}
.hb-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hb-acts a{min-height:50px;padding:0 22px;display:inline-flex;align-items:center;font-weight:700;border:1px solid var(--ink);text-decoration:none}
.hb-acts a.primary{background:var(--orange);border-color:var(--orange);color:#0F1E26}
.hb-acts a:hover{background:var(--ink);border-color:var(--ink);color:var(--white);text-decoration:none}
.hb-prev{position:relative;display:block;background:var(--ink);padding:10px;text-decoration:none}
.hb-prev img{width:100%;height:auto}
.hb-prev:hover{outline:2px solid var(--orange);text-decoration:none}
.hb-prev .tag{position:absolute;top:22px;inset-inline-start:22px;display:flex;gap:8px;align-items:center;background:var(--orange);color:#0F1E26;padding:7px 10px}
.hb-prev .tag i,.he-shot .tag i{width:7px;height:7px;border-radius:50%;background:#0F1E26}
.hb-prev .cap{display:flex;justify-content:space-between;align-items:center;color:#C9DBD5;padding:12px 6px 4px}
.hb-prev .cap svg{width:11px;height:13px;fill:var(--orange)}

/* strip under the hero: tools (orange), numbers, languages, delivery */
.hb-strip{display:grid;grid-template-columns:1.7fr .8fr .8fr 1fr 1.4fr;gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:72px}
.hb-strip>div{background:var(--white);padding:18px 20px}
.hb-strip .mono{color:#4F6A73}
.hb-strip b{display:block;margin-top:8px;font:700 18px Bricolage,Readex,system-ui,sans-serif;letter-spacing:-.01em}
.hb-strip .t{background:var(--orange)}
.hb-strip .t .mono,.hb-strip .t b{color:#0F1E26}
.hb-strip .t b{font-size:16px}
.hb-strip .n b{font-size:30px;line-height:1}

/* the five samples */
.he-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px;scroll-margin-top:20px}
.he-head h2{margin:0}
.he-head p{margin:8px 0 0;font-size:16px;color:#3D5560;max-width:62ch}
.he-list{display:grid;gap:18px}
.he-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);background:var(--white);border:1px solid var(--line);scroll-margin-top:20px}
.he-shot{position:relative;display:block;background:var(--ink);aspect-ratio:16/9;overflow:hidden;text-decoration:none}
.he-shot img{width:100%;height:100%;object-fit:cover}
.he-shot iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--ink)}
.he-shot .tag{position:absolute;left:16px;top:16px;display:flex;gap:8px;align-items:center;background:var(--orange);color:#0F1E26;padding:7px 10px}
.he-shot .play{position:absolute;right:16px;bottom:16px;width:52px;height:52px;background:var(--orange);display:grid;place-items:center;transition:background .2s}
.he-shot .play svg{width:16px;height:18px;fill:#0F1E26}
.he-shot:hover .play{background:var(--white)}
.he-shot:hover{text-decoration:none}
.he-shot.is-live .tag,.he-shot.is-live .play,.he-shot.is-live img{display:none}
.he-body{padding:30px 32px 26px;display:flex;flex-direction:column;gap:10px}
.he-body .k{display:flex;gap:14px;color:#4F6A73}
.he-body .k em{font-style:normal;color:#B33600}
.he-body h3{font:700 clamp(24px,2.2vw,30px)/1.1 Bricolage,Readex,system-ui,sans-serif;letter-spacing:-.03em;margin:4px 0 0}
.he-body p{margin:0;font-size:15.5px;line-height:1.55}
.he-use{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:6px 0 0;font-size:14px}
.he-use dt{color:#B33600;font:700 10px Geist,Readex,monospace;letter-spacing:.16em;text-transform:uppercase;align-self:center}
.he-use dd{margin:0}
.he-tags{display:flex;flex-wrap:wrap;gap:6px}
.he-tags span{padding:5px 9px;background:var(--paper);border:1px solid var(--line);font:700 10px Geist,Readex,monospace;letter-spacing:.12em;text-transform:uppercase}
.he-body .foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:14px}
.he-body .foot .mins{color:#4F6A73}
.he-body .foot a{font:700 10px Geist,Readex,monospace;letter-spacing:.14em;text-transform:uppercase;text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:5px}

/* how it works + contact */
.he-how{margin-top:72px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.he-how div{background:var(--white);padding:28px}
.he-how b{display:block;font:700 22px Bricolage,Readex,system-ui,sans-serif;letter-spacing:-.02em;margin:14px 0 8px}
.he-how p{font-size:15px;margin:0}
.he-cta{margin-top:18px;background:var(--ink);color:var(--white);padding:40px 44px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.he-cta h2{margin:0 0 8px;font-size:clamp(26px,2.6vw,36px)}
.he-cta p{margin:0;color:#C9DBD5;font-size:16px;max-width:60ch}
.he-cta .actions{padding:0}
.he-cta .actions a{color:var(--white);border-color:var(--white)}
.he-cta .actions a.primary{background:var(--orange);border-color:var(--orange);color:#0F1E26}
.he-cta .actions a:hover{background:var(--white);color:var(--ink)}

/* Arabic: no tracking on Arabic glyphs */
html[dir=rtl] .mono,html[dir=rtl] .he-tags span,html[dir=rtl] .he-use dt,html[dir=rtl] .he-body .foot a,
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] .hb-strip b,html[dir=rtl] .he-how b{letter-spacing:0}
html[dir=rtl] .hb h1{line-height:1.25}

@media(max-width:900px){
  .hb,.he-row,.he-how,.he-cta{grid-template-columns:1fr}
  .hb-strip{grid-template-columns:1fr 1fr}.hb-strip .t{grid-column:1/-1}
  .he-body{padding:22px}
  .he-head{flex-direction:column;align-items:flex-start;gap:8px}
  .he-cta{padding:28px}
}
@media(prefers-reduced-motion:reduce){.he-shot .play{transition:none}}
