/* Homepage-only access hub. Existing portal pages keep their own styles. */
.hp-header-shortcuts{display:flex;align-items:center;gap:10px;margin-inline-start:auto;direction:inherit}
.hp-header-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #b8d8db;border-radius:12px;background:#e9f7f5;color:#104c53;font-size:13px;font-weight:800;text-decoration:none}
.hp-header-shortcuts .hp-header-teach{background:#f2effa;border-color:#d8cfee;color:#56417f}
.site-header .main-nav{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
.site-header .main-nav>a:not(.btn){color:#204b58!important}
.site-header .main-nav>a[href="academy.html"],.site-header .main-nav>a[href="lecturers.html"]{background:#eef8f6;font-weight:900;border:1px solid #c8e5df}
[dir="rtl"] .hero h1{line-height:1.15;letter-spacing:0;font-size:clamp(42px,6vw,60px)}
.hp-hero-access{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px;max-width:550px}
.hp-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:13px 19px;border:1px solid #9beede;border-radius:13px;background:#75e4d1;color:#092d36!important;font-size:14px;font-weight:850;line-height:1.6;text-decoration:none!important;transition:background .18s ease,transform .18s ease}
.hp-button:hover{background:#a2efdf;transform:translateY(-2px)}
.hp-button .hp-arrow{width:20px;height:20px;flex:0 0 auto}
[dir="rtl"] .hp-arrow{transform:scaleX(-1)}
.hp-button.hp-button-outline{background:transparent;color:#edf6fa!important;border-color:#6b8493}
.hp-button.hp-button-outline:hover{background:#183e50}
.hp-hero-secondary{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:18px;max-width:550px}
.hp-hero-secondary a{display:inline-flex;align-items:center;min-height:36px;color:#d4e9ed;font-size:12px;font-weight:700;text-decoration:underline;text-decoration-color:#507b86;text-underline-offset:5px}
.hp-hero-secondary a:hover{color:#8bead9}
.hp-hub{--hp-muted:#b9cdd7;--hp-border:#2c485a;position:relative;padding:72px 0 34px;background:radial-gradient(ellipse at 10% 5%,#173e4a80,transparent 45%),#081e2d;color:#edf6fa;scroll-margin-top:90px}
.hp-hub *{box-sizing:border-box}
.hp-container{width:min(1180px,92%);margin:auto}
.hp-hub-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:30px}
.hp-eyebrow{display:block;color:#7ce8d4;font-size:11px;letter-spacing:1.6px;font-weight:850}
.hp-hub h2{font-size:clamp(28px,3.5vw,43px);line-height:1.4;letter-spacing:-.025em;color:#f5fbff;margin:11px 0}
.hp-hub-heading p{font-size:14px;line-height:1.9;color:var(--hp-muted);max-width:640px;margin:0}
.hp-pulse{color:#71d9cd;opacity:.42;width:210px;flex-shrink:0}
.hp-pulse svg{width:100%;display:block}
.hp-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hp-feature{--hp-accent:#79e5d2;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:29px 30px;border:1px solid #3c6b70;border-radius:24px;background:radial-gradient(ellipse at 100% 0%,#28796f38,transparent 60%),linear-gradient(135deg,#123a46,#102a3c);box-shadow:0 14px 38px #00000017}
.hp-feature::after{content:'';position:absolute;inset-inline-end:-60px;top:-110px;width:270px;height:270px;border:1px solid #7ce3cf12;border-radius:50%;box-shadow:0 0 0 35px #7ce3cf07;pointer-events:none}
.hp-feature-lecturer{--hp-accent:#c4b6f3;border-color:#61567f;background:radial-gradient(ellipse at 100% 0%,#7866a837,transparent 60%),linear-gradient(135deg,#243044,#19283d)}
.hp-card-top{display:flex;justify-content:space-between;align-items:center;gap:16px;position:relative;z-index:1;margin-bottom:23px}
.hp-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 auto;border:1px solid #9ddfda3b;border-radius:13px;color:var(--hp-accent,#83dece);background:#8cdace0b}
.hp-icon svg{width:24px;height:24px;display:block}
.hp-index{color:var(--hp-accent);font-size:10px;font-weight:800;letter-spacing:1.2px;direction:ltr}
.hp-kicker{color:var(--hp-accent);font-size:10px;font-weight:800;letter-spacing:1.4px;display:block;margin-bottom:7px}
.hp-feature h3{color:#f6fbff;font-size:clamp(24px,2.5vw,32px);line-height:1.4;margin:0 0 10px}
.hp-feature p{color:#c2d5df;font-size:14px;line-height:1.85;margin:0 0 24px;max-width:54ch}
.hp-feature>.hp-button{margin-top:auto;position:relative;z-index:1}
.hp-feature-lecturer>.hp-button{background:#c4b6f3;border-color:#d3c9f7;color:#20213d!important}
.hp-feature-lecturer>.hp-button:hover{background:#d6cbfa}
.hp-role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:20px}
.hp-role{display:flex;flex-direction:column;align-items:start;min-width:0;padding:23px 20px;border:1px solid var(--hp-border);border-radius:19px;background:linear-gradient(150deg,#122d3d,#0f2637)}
.hp-role-admin{--hp-accent:#efd19a}.hp-role-volunteer{--hp-accent:#a0dcae}
.hp-role h3{font-size:17px;line-height:1.5;color:#f1f8fc;margin:16px 0 7px}
.hp-role p{color:var(--hp-muted);font-size:12px;line-height:1.85;margin:0 0 20px}
.hp-role-actions{display:grid;gap:11px;margin-top:auto;width:100%}
.hp-role .hp-button{font-size:12px;min-height:45px;padding:10px 12px}
.hp-secondary-link{color:#93e8d9;font-size:11px;text-align:center;text-underline-offset:4px;min-height:28px;display:flex;align-items:center;justify-content:center}
.hp-resource-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:40px 0 17px}
.hp-resource-heading h3{font-size:18px;margin:0;color:#e3eff5}
.hp-resource-heading>span{color:#9dbac7;font-size:10px;letter-spacing:1.1px}
.hp-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hp-resource{min-width:0;display:flex;align-items:center;gap:15px;padding:20px;border:1px solid var(--hp-border);border-radius:16px;color:#eff8fa;text-decoration:none;background:#102a3a;transition:border-color .18s ease,background .18s ease}
.hp-resource:hover{border-color:#5b9a9e;background:#163748}
.hp-resource h4{font-size:15px;line-height:1.5;margin:0 0 4px;color:#edf7fc}
.hp-resource-description{display:block;color:var(--hp-muted);font-size:11px;line-height:1.6}
.hp-resource-arrow{margin-inline-start:auto;flex:0 0 auto;width:18px;height:18px;color:#7bd7cb}
[dir="rtl"] .hp-resource-arrow{transform:scaleX(-1)}
.hp-hub-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--hp-border);margin-top:30px;padding-top:22px;font-size:11px;color:#a8c1ce}
.hp-hub-footer a{color:#8ee3d4;text-underline-offset:4px}
.hp-header-shortcuts a:focus-visible,.hp-hero-access a:focus-visible,.hp-hero-secondary a:focus-visible,.hp-hub a:focus-visible{outline:3px solid #f1cc81;outline-offset:4px}
@media(min-width:760px){.site-header .main-nav.open{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:24px max(4%,calc((100% - 1180px)/2));align-items:center}.site-header .main-nav>a{font-size:13px}}
@media(max-width:850px){.hp-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-role{padding:22px}.hp-pulse{width:140px}.hp-feature{padding:24px}}
@media(max-width:640px){.hp-header-shortcuts{display:none}.hp-hub{padding:42px 0 28px}.hp-hub-heading{margin-bottom:24px}.hp-pulse{display:none}.hp-feature-grid{grid-template-columns:1fr;gap:15px}.hp-feature{padding:23px}.hp-card-top{margin-bottom:18px}.hp-feature p{font-size:13px}.hp-hero-access{grid-template-columns:1fr;gap:10px;margin-top:22px}.hp-hero-access .hp-button{min-height:50px;font-size:14px}.hp-role-grid{gap:10px;margin-top:15px}.hp-role{padding:17px 14px}.hp-role h3{font-size:15px;margin-top:12px}.hp-role p{font-size:11px;margin-bottom:16px}.hp-role .hp-button{padding:9px 10px;font-size:11px;gap:5px}.hp-role .hp-arrow{width:16px}.hp-resource-heading{margin-top:30px;align-items:start;flex-direction:column;gap:7px}.hp-resource-grid{grid-template-columns:1fr}.hp-resource{padding:17px}.hp-hub-footer{flex-direction:column;align-items:start;gap:10px}.hp-hero-secondary{gap:3px 17px}}
@media(max-width:359px){.hp-role-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hp-button,.hp-resource{transition:none}.hp-button:hover{transform:none}}
/* Connected learning ecosystem: public entry points, no fabricated activity metrics. */
.hp-header-universe{background:#173c43!important;color:#c7f4e7!important;border-color:#376d6d!important}
.hp-learning{padding:70px 0 45px;background:radial-gradient(ellipse at 90% 0%,#ddeee7,transparent 65%),#f4f7f3;color:#102c3a;scroll-margin-top:95px}
.hp-learning *{box-sizing:border-box}.hp-learning-container{width:min(1180px,92%);margin:auto}.hp-learning-heading{max-width:820px;margin-bottom:28px}.hp-learning-eyebrow{display:block;font-size:10px;font-weight:850;letter-spacing:1.6px;color:#22736f}.hp-learning h2{font-size:clamp(29px,3.6vw,45px);line-height:1.45;letter-spacing:-.03em;margin:12px 0;color:#102c3a}.hp-learning-heading>p{max-width:750px;font-size:15px;line-height:1.9;color:#4b6470}.hp-learning-feature{display:grid;grid-template-columns:1.35fr 1fr;gap:30px;padding:33px;border-radius:23px;background:linear-gradient(125deg,#123d45,#0d293b);border:1px solid #2d6570;color:#edf9f8}.hp-learning-feature .hp-learning-eyebrow{color:#9cdece}.hp-learning-feature h3{font-size:clamp(22px,2.5vw,30px);line-height:1.6;color:#f1faf7;margin:9px 0}.hp-learning-feature p{color:#bcd6dc;font-size:13px;line-height:1.95;margin-bottom:20px;max-width:58ch}.hp-learning-primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;border:1px solid #a7ecdd;border-radius:11px;background:#7ce2ce;color:#0c333b!important;font-size:13px;font-weight:850;text-decoration:none!important}.hp-learning-feature aside{padding-inline-start:30px;border-inline-start:1px solid #4d6d76}.hp-learning-feature aside>.hp-learning-eyebrow{color:#d1bff6;font-size:9px}.hp-learning-feature aside h3{font-size:23px}.hp-learning-feature aside a{color:#c9b8f5;text-underline-offset:5px;font-size:12px;font-weight:750}.hp-learning-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.hp-learning-card{position:relative;min-width:0;display:flex;flex-direction:column;padding:23px 21px;border:1px solid #d3e0dd;background:#ffffffb3;border-radius:17px;min-height:190px;color:#183b45;transition:transform .2s,border-color .2s,background .2s}.hp-learning-card:hover{transform:translateY(-3px);border-color:#4e9d90;background:white}.hp-learning-number{font-size:11px;letter-spacing:2px;color:#46736f}.hp-learning-card h3{font-size:16px;line-height:1.6;margin:16px 0 7px;color:#173745}.hp-learning-card p{font-size:12px;line-height:1.8;color:#536d75;margin:0 0 18px}.hp-learning-card svg{display:block;width:19px;height:19px;color:#3b7a73;margin-top:auto}[dir=rtl] .hp-learning-card svg{transform:scaleX(-1)}.hp-learning-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;font-size:11px;line-height:1.9;color:#526d76}.hp-learning-bottom a{flex-shrink:0;color:#1c7169;font-weight:800;text-underline-offset:4px}.hp-learning a:focus-visible{outline:3px solid #a76c24;outline-offset:4px}
@media(max-width:900px){.hp-learning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-learning-feature{gap:20px;padding:28px}.hp-learning-feature aside{padding-inline-start:22px}.hp-header-shortcuts{gap:6px}.hp-header-shortcuts a{padding:8px 11px;font-size:11px}}
@media(max-width:640px){.hp-learning{padding:40px 0}.hp-learning-heading>p{font-size:13px}.hp-learning-feature{grid-template-columns:1fr;padding:24px;gap:25px}.hp-learning-feature aside{padding:20px 0 0;border-inline-start:0;border-top:1px solid #4d6d76}.hp-learning-feature h3{font-size:23px}.hp-learning-feature p{font-size:12px}.hp-learning-primary{width:100%;font-size:12px}.hp-learning-grid{gap:10px}.hp-learning-card{padding:18px 14px;min-height:180px}.hp-learning-card h3{font-size:14px}.hp-learning-card p{font-size:11px}.hp-learning-bottom{flex-direction:column;align-items:start;gap:10px}.hp-learning h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.hp-learning-card{transition:none}.hp-learning-card:hover{transform:none}}
