:root{--ep-primary:#2457e6;--ep-primary-dark:#173eb7;--ep-bg:#f5f7fb;--ep-text:#172033;--ep-muted:#6f7b8e;--ep-border:#e5e9f1;--ep-white:#fff;--ep-sidebar:#0f172a;--ep-sidebar-soft:#17223b;--ep-radius:18px;--ep-shadow:0 10px 32px rgba(15,23,42,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.portal-body{margin:0;background:var(--ep-bg);color:var(--ep-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.portal-shell{min-height:100vh;display:flex}.portal-sidebar{width:260px;flex:0 0 260px;background:var(--ep-sidebar);color:#fff;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:1040}.sidebar-brand{height:82px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}.portal-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none}.portal-brand strong{display:block;font-size:1rem;letter-spacing:-.01em}.portal-brand small{display:block;font-size:.68rem;color:#8fa0bb;margin-top:1px}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#6366f1);display:inline-flex;align-items:center;justify-content:center;font-size:1.05rem;box-shadow:0 10px 25px rgba(37,99,235,.24)}.sidebar-close{border:0;background:transparent;color:#d8e0ef;font-size:1rem}.sidebar-nav{padding:20px 13px;overflow:auto}.sidebar-caption{text-transform:uppercase;letter-spacing:.11em;font-size:.65rem;font-weight:800;color:#677995;padding:0 12px 8px}.sidebar-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;color:#b6c1d4;text-decoration:none;font-size:.88rem;font-weight:650;margin-bottom:4px;transition:.15s}.sidebar-link:hover{background:rgba(255,255,255,.055);color:#fff}.sidebar-link.active{background:linear-gradient(90deg,rgba(37,99,235,.95),rgba(67,56,202,.95));color:#fff;box-shadow:0 8px 20px rgba(30,64,175,.22)}.sidebar-icon{width:26px;text-align:center;font-size:1rem}.sidebar-footer{margin-top:auto;padding:15px}.support-card{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:15px;padding:13px;display:flex;gap:10px}.support-icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(59,130,246,.15);color:#72a2ff}.support-title{font-size:.76rem;font-weight:750}.support-text{font-size:.67rem;color:#8c9bb2;line-height:1.35;margin-top:2px}.portal-main-wrap{margin-left:260px;min-width:0;width:calc(100% - 260px)}.portal-topbar{height:76px;background:#fff;border-bottom:1px solid var(--ep-border);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:1000}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-page-title{font-size:.92rem;font-weight:750;color:#364154}.mobile-menu-btn{border:0;background:#f1f4f9;border-radius:10px;width:40px;height:40px;color:#344054;font-size:1.2rem}.profile-chip{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit}.profile-avatar{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eaf0ff;color:var(--ep-primary);font-weight:800;font-size:.86rem}.profile-chip-text{flex-direction:column;line-height:1.1}.profile-chip-text strong{font-size:.79rem}.profile-chip-text small{font-size:.65rem;color:var(--ep-muted);margin-top:3px}.portal-content{padding:30px 32px 10px;min-height:calc(100vh - 126px)}.portal-footer{padding:18px 32px;display:flex;justify-content:space-between;gap:10px;color:#94a0b2;font-size:.7rem}.welcome-hero{position:relative;overflow:hidden;min-height:230px;padding:36px 40px;border-radius:24px;background:linear-gradient(130deg,#214ee0 0%,#3f5de3 55%,#6353d7 100%);color:#fff;box-shadow:0 20px 45px rgba(49,74,205,.22)}.welcome-hero-content{position:relative;z-index:2;max-width:650px}.welcome-hero h1{font-size:clamp(1.55rem,2.5vw,2.15rem);font-weight:800;letter-spacing:-.03em;margin:7px 0 10px}.welcome-hero p{margin:0;color:rgba(255,255,255,.82);font-size:.92rem}.eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:.66rem;font-weight:800;color:#8190a7}.eyebrow-light{color:rgba(255,255,255,.67)}.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%}.orbit-one{width:250px;height:250px;right:-35px;top:-15px}.orbit-two{width:145px;height:145px;right:45px;top:38px}.hero-cap{position:absolute;right:79px;top:85px;width:70px;height:70px;border-radius:22px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:2rem;backdrop-filter:blur(8px)}.notice-card{display:flex;align-items:center;gap:14px;background:#fffaf0;border:1px solid #f1e4bd;border-radius:16px;padding:15px 17px}.notice-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#fff0cf;color:#8a6400;display:flex;align-items:center;justify-content:center;font-size:1.15rem}.notice-main{display:flex;flex-direction:column;gap:3px;flex:1}.notice-main strong{font-size:.84rem}.notice-main span{font-size:.72rem;color:#746e5b}.section-block{margin-top:4px}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:15px}.section-heading-row h2{font-size:1.22rem;font-weight:800;letter-spacing:-.02em;margin:.2rem 0 0}.section-link{color:var(--ep-primary);font-size:.75rem;font-weight:750;text-decoration:none}.muted-count{font-size:.72rem;color:var(--ep-muted);font-weight:650}.course-card{background:#fff;border:1px solid var(--ep-border);border-radius:18px;overflow:hidden;box-shadow:var(--ep-shadow);transition:transform .18s,box-shadow .18s}.course-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(15,23,42,.1)}.course-banner{height:104px;background:linear-gradient(135deg,#eaf0ff,#f4f0ff);padding:18px;display:flex;align-items:flex-start;justify-content:space-between}.course-banner-icon{width:44px;height:44px;border-radius:13px;background:#fff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.1rem;box-shadow:0 8px 18px rgba(37,99,235,.08)}.course-badge{background:rgba(255,255,255,.74);color:#627089;font-size:.63rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;padding:7px 9px;border-radius:999px}.course-card-body{padding:19px}.course-card-body h2,.course-card-body h3{font-size:1.05rem;font-weight:800;margin:0 0 6px;letter-spacing:-.015em}.course-card-body p{margin:0 0 16px;font-size:.74rem;color:#8490a3}.empty-card{background:#fff;border:1px solid var(--ep-border);border-radius:18px;padding:48px 28px;text-align:center;box-shadow:var(--ep-shadow)}.empty-icon{width:56px;height:56px;margin:0 auto 13px;border-radius:17px;background:#eef3ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.4rem}.empty-icon.danger{background:#fff0f0;color:#dc3545}.empty-card h3{font-size:1.1rem;font-weight:800;margin:0 0 7px}.empty-card p{max-width:590px;margin:0 auto;color:#7f899b;font-size:.8rem;line-height:1.65}.page-intro h1{font-size:1.6rem;font-weight:800;letter-spacing:-.03em;margin:.25rem 0 .35rem}.page-intro p{margin:0;color:#7d889a;font-size:.8rem}.breadcrumb-line{font-size:.73rem}.breadcrumb-line a,.lesson-breadcrumbs a{color:var(--ep-primary);text-decoration:none;font-weight:700}.course-page-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;overflow:hidden;background:linear-gradient(135deg,#173fae,#365ee1 62%,#5b55d7);color:#fff;border-radius:22px;padding:27px 30px;box-shadow:0 15px 34px rgba(36,87,230,.19)}.course-page-hero h1{font-size:1.7rem;font-weight:800;letter-spacing:-.03em;margin:4px 0 7px}.course-description{color:rgba(255,255,255,.8);font-size:.78rem;line-height:1.6;max-width:760px}.course-description p:last-child{margin-bottom:0}.course-page-icon{width:76px;height:76px;border-radius:22px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:2rem;flex:0 0 76px}.subject-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--ep-border);border-radius:18px;padding:16px;text-decoration:none;color:inherit;box-shadow:var(--ep-shadow);transition:.18s}.subject-card:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(15,23,42,.08)}.subject-number{font-size:.68rem;color:#9aa5b6;font-weight:800;align-self:flex-start;padding-top:4px}.subject-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#eef3ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center}.subject-body{min-width:0}.subject-body h3{font-size:.9rem;font-weight:800;margin:0 0 5px}.subject-body span{font-size:.68rem;font-weight:700;color:var(--ep-primary)}.subject-page-head{display:flex;align-items:center;gap:14px}.subject-head-icon{width:56px;height:56px;flex:0 0 56px;border-radius:17px;background:#eaf0ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.45rem}.subject-page-head h1{font-size:1.45rem;font-weight:800;letter-spacing:-.025em;margin:1px 0 4px}.subject-page-head p{margin:0;color:#8590a3;font-size:.75rem}.lesson-list{background:#fff;border:1px solid var(--ep-border);border-radius:18px;overflow:hidden;box-shadow:var(--ep-shadow)}.lesson-row{display:flex;align-items:center;gap:14px;padding:15px 17px;text-decoration:none;color:inherit;border-bottom:1px solid #eef1f5;transition:.15s}.lesson-row:last-child{border-bottom:0}.lesson-row:hover{background:#fafcff}.lesson-order{width:30px;color:#9aa5b6;font-size:.68rem;font-weight:800}.lesson-leading-icon{width:39px;height:39px;flex:0 0 39px;border-radius:12px;background:#eef3ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center}.lesson-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.lesson-row-main strong{font-size:.83rem;font-weight:800}.lesson-row-main small{font-size:.64rem;color:#9aa3b1}.lesson-arrow{color:#a2acba}.lesson-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#7d8798;font-size:.68rem}.lesson-page-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}.lesson-head-icon{width:52px;height:52px;flex:0 0 52px;border-radius:16px;background:#eaf0ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.35rem}.lesson-page-head h1{font-size:1.55rem;font-weight:800;letter-spacing:-.03em;margin:3px 0 0}.content-card{background:#fff;border:1px solid var(--ep-border);border-radius:18px;box-shadow:var(--ep-shadow);overflow:hidden;margin-bottom:16px}.lesson-content-card{padding:0}.content-body{padding:22px 24px;color:#39465b;line-height:1.78;font-size:.87rem}.content-body h1,.content-body h2,.content-body h3,.content-body h4{color:#172033;font-weight:800}.content-body img{max-width:100%;height:auto}.content-body table{max-width:100%;display:block;overflow:auto}.section-type-head{display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid #edf0f4;background:#fbfcfe}.section-type-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#edf4ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.1rem}.lesson-section-pdf .section-type-icon{background:#fff1f2;color:#dc3545}.lesson-section-youtube .section-type-icon{background:#fff3f3;color:#e11d48}.section-type-head .eyebrow{margin-bottom:2px}.section-type-head h2{margin:0;font-size:.93rem;font-weight:800}.section-body{padding:20px 22px}.video-frame{padding:10px;background:#0b1220}.video-frame .ratio{border-radius:12px;overflow:hidden;background:#000}.video-frame iframe{border:0}.pdf-list{display:flex;flex-direction:column}.pdf-item{display:flex;align-items:center;gap:13px;padding:13px 16px;border-bottom:1px solid #edf0f4}.pdf-item:last-child{border-bottom:0}.pdf-file-icon{width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#fff1f2;color:#dc3545;display:flex;align-items:center;justify-content:center;font-size:1.15rem}.pdf-file-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.pdf-file-main strong{font-size:.82rem;font-weight:800;overflow-wrap:anywhere}.pdf-file-main small{font-size:.63rem;color:#9aa4b4}.pdf-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.profile-card,.account-card{background:#fff;border:1px solid var(--ep-border);border-radius:18px;box-shadow:var(--ep-shadow)}.profile-card-head{padding:20px 21px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between}.profile-card-head h2{font-size:.98rem;font-weight:800;margin:0 0 4px}.profile-card-head p{margin:0;color:#8a95a6;font-size:.7rem}.profile-card-icon{width:42px;height:42px;border-radius:13px;background:#edf4ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center}.profile-form{padding:20px 21px}.profile-form .form-label{font-size:.72rem;font-weight:750;color:#465267;margin-bottom:6px}.profile-form .form-control{border-color:#dfe4ec;border-radius:11px;box-shadow:none;font-size:.82rem}.profile-form .form-control:focus{border-color:#9eb5ff;box-shadow:0 0 0 .2rem rgba(36,87,230,.1)}.success-strip{margin:15px 21px 0;background:#effaf3;color:#19733f;border:1px solid #cfeedd;border-radius:11px;padding:10px 12px;font-size:.73rem}.account-card{padding:23px}.account-avatar{width:58px;height:58px;border-radius:18px;background:#eaf0ff;color:var(--ep-primary);display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:12px}.account-card h2{font-size:1rem;font-weight:800;margin:0}.account-role{color:#8792a4;font-size:.68rem;margin-top:3px}.account-divider{height:1px;background:#edf0f4;margin:18px 0}.account-item{display:flex;flex-direction:column;gap:3px;margin-bottom:13px}.account-item:last-child{margin-bottom:0}.account-item span{font-size:.64rem;color:#9aa4b4}.account-item strong{font-size:.76rem;overflow-wrap:anywhere}.btn-primary{background:var(--ep-primary);border-color:var(--ep-primary)}.btn-primary:hover{background:var(--ep-primary-dark);border-color:var(--ep-primary-dark)}
@media (max-width: 991.98px){.portal-sidebar{transform:translateX(-100%);transition:transform .2s ease}.portal-main-wrap{margin-left:0;width:100%}.sidebar-overlay{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:1030;display:none}.sidebar-open .portal-sidebar{transform:translateX(0)}.sidebar-open .sidebar-overlay{display:block}.portal-topbar{padding:0 18px}.portal-content{padding:22px 18px 8px}.portal-footer{padding:16px 18px}.topbar-page-title{font-size:.85rem}}
@media (max-width: 767.98px){.welcome-hero{padding:28px 22px;min-height:200px;border-radius:20px}.welcome-hero h1{font-size:1.45rem}.notice-card{align-items:flex-start;flex-wrap:wrap}.notice-main{min-width:calc(100% - 56px);padding-top:2px}.notice-card .btn{margin-left:56px}.course-page-hero{padding:22px;border-radius:18px}.course-page-hero h1{font-size:1.4rem}.course-page-icon{display:none}.lesson-page-head h1{font-size:1.3rem}.content-body{padding:18px;font-size:.84rem}.section-body{padding:16px}.pdf-item{align-items:flex-start;flex-wrap:wrap}.pdf-actions{width:100%;margin-left:57px;justify-content:flex-start}.portal-footer{flex-direction:column}}

/* Google profile images */
/* Google profile images */
.profile-avatar,
.account-avatar{
    overflow:hidden;
}

.profile-avatar img,
.account-avatar img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:inherit;
}



/* All Courses / course catalogue */
.course-card-body{min-height:230px}
.course-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:11px 12px;border:1px solid var(--ep-border);border-radius:10px;background:#fafbfe;font-size:.7rem;color:#7f8a9c}
.course-price-row strong{color:#202939;font-size:.82rem;font-weight:800;white-space:nowrap}


/* Course featured image from WordPress */
.course-banner{position:relative;overflow:hidden}
.course-banner.has-course-image{padding:0;min-height:140px}
.course-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.course-banner.has-course-image::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,23,42,.62),rgba(15,23,42,.16) 70%,rgba(15,23,42,.35))}
.course-banner.has-course-image .course-badge{position:relative;z-index:2}
.course-banner.has-course-image .course-banner-icon{position:relative;z-index:2}
.course-banner.has-course-image .course-badge{background:rgba(255,255,255,.9)}

/* Public course details / course cards */
.course-card-link{display:flex;flex-direction:column;color:inherit;text-decoration:none}
.course-card-link:hover{color:inherit}
.course-card-link-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ep-primary);font-size:.74rem;font-weight:800}
.course-banner{position:relative}
.course-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.public-course-detail-card{background:#fff;border:1px solid var(--ep-border);border-radius:22px;overflow:hidden;box-shadow:var(--ep-shadow)}
.public-course-detail-cover{position:relative;min-height:300px;background:linear-gradient(135deg,#173fae,#4e5fd7);overflow:hidden}
.public-course-detail-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.public-course-detail-cover.has-image .public-course-cover-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,19,50,.88),rgba(20,31,90,.52) 55%,rgba(20,31,90,.20))}
.public-course-cover-content{position:relative;z-index:2;min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;padding:34px}
.public-course-cover-content h1{margin:6px 0 14px;color:#fff;font-size:clamp(1.75rem,3vw,2.5rem);font-weight:850;letter-spacing:-.04em;max-width:800px}
.public-course-meta{display:flex;flex-wrap:wrap;gap:9px;color:rgba(255,255,255,.84);font-size:.74rem;font-weight:700}
.public-course-meta span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.public-course-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.9);font-size:4rem}
.public-course-detail-body{padding:28px 30px 30px}
.public-course-content-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px}
.public-course-content-heading h2{margin:4px 0 0;font-size:1.25rem;font-weight:850;letter-spacing:-.025em}
.public-course-price-box{padding:10px 14px;border:1px solid var(--ep-border);border-radius:12px;background:#fafbfe;text-align:right}
.public-course-price-box span{display:block;color:#8b96a8;font-size:.63rem;font-weight:700}
.public-course-price-box strong{display:block;margin-top:3px;color:#202939;font-size:1rem;font-weight:850}
.public-course-post-content{padding:0;margin-top:10px;font-size:.87rem;line-height:1.82}
.public-course-access-box{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:18px;border:1px solid #e4e8ef;border-radius:14px;background:#f8fafc}
.public-course-access-box strong{display:block;color:#202939;font-size:.86rem;font-weight:800}
.public-course-access-box span{display:block;margin-top:3px;color:#7c8799;font-size:.7rem;line-height:1.55}
.course-page-hero.has-featured-image{position:relative;overflow:hidden}
.course-page-featured-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.34}
.course-page-hero.has-featured-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,44,120,.94),rgba(54,86,210,.68) 65%,rgba(91,85,215,.50))}
.course-page-hero-content{position:relative;z-index:2;max-width:820px}
.course-page-hero.has-featured-image .course-page-icon{position:relative;z-index:2}

@media (max-width:767.98px){
    .public-course-cover-content{min-height:260px;padding:24px}
    .public-course-detail-cover{min-height:260px}
    .public-course-detail-body{padding:20px}
    .public-course-content-heading{align-items:flex-start;flex-direction:column}
    .public-course-price-box{text-align:left}
    .public-course-access-box{align-items:flex-start;flex-direction:column}
    .public-course-access-box .btn{width:100%}
}
