/* Shared palette and page components. No framework or WordPress dependency. */
:root{--ink:#183951;--blue:#1764df;--muted:#6b8196;--paper:#f2f6fb;--warm:#f7f1e5;--gold:#ac8950;--line:#dce5ef}body{background:#f4f7fb}header{background:#0c3156;border:0;height:85px}.brand-name{color:white}.brand-sub{color:#bac9d9}.nav{color:#d8e3f1}.nav a.active{color:#fff;position:relative}.nav a.active:after{content:'';position:absolute;bottom:2px;left:0;right:0;height:2px;background:#8ab6ff;border-radius:3px}.nav .btn{background:#246bdd}.menu-toggle{color:white}#catalogPage{background:linear-gradient(180deg,#eaf2fb 0,#f7f9fc 540px,#f0f5fb 100%)}.hero{padding-top:28px}.hero h1{color:#153c62}.hero-photo{box-shadow:0 18px 35px #14396a16;border:4px solid white}.category{background:#ffffffb5;border-color:#d4e1ef}.category-rail{grid-template-columns:repeat(4,1fr)}.category{flex-direction:row;min-height:76px;justify-content:flex-start;padding:18px 22px;gap:15px;font-size:13px}.category svg{background:#e9f1fb;box-sizing:content-box;padding:10px;border-radius:10px;color:#2a66ae;width:21px;height:21px}.notice{background:#e7eef9;border-color:#d7e3f4}.catalog{margin-top:28px;padding:34px;background:#eaf0f8;border:1px solid #e1e9f3;border-radius:22px}.catalog-top{margin-bottom:32px}.catalog h2{font-size:30px}.filters{border-top-color:#cfdae8}.filter-group{border-color:#cfdae8}.sidebar-note{background:#f9f4e9;border:1px solid #e9ddc5}.sidebar-note button{display:block}.course{border:1px solid #dce5f0;box-shadow:0 3px 8px #153d6710}.card-body{background:white}.course p{color:#6f8295}.course h3{min-height:54px}.card-foot small{color:#7d8fa1}.prototype-note{color:#6f8398}.cta{margin-top:38px;margin-bottom:44px;background:#123e6c;color:white;position:relative;overflow:hidden;box-shadow:0 12px 25px #113c6815}.cta:after{content:'';position:absolute;width:270px;height:270px;border:45px solid #ffffff06;border-radius:50%;right:5%;top:-90px;pointer-events:none}.cta p{color:#c1d2e6}.cta .eyebrow{color:#e7cfa5}.cta .btn{background:white;color:#194b86;z-index:1}.cta .eyebrow:before{background:#c1a069}footer{margin-top:0}.page-intro{background:linear-gradient(110deg,#123c69,#164d85);padding:32px 0 60px;color:white;position:relative;overflow:hidden}.page-intro:after{content:'';position:absolute;width:440px;height:440px;border:1px solid #ffffff09;border-radius:50%;right:-90px;top:-130px;box-shadow:0 0 0 65px #ffffff03,0 0 0 130px #ffffff02;pointer-events:none}.page-intro .crumb{color:#91b0d1;margin-bottom:37px}.page-intro .crumb a{color:#cfdef0}.page-intro .crumb b{color:#dce9f8}.page-intro .eyebrow{color:#adc9e9}.page-intro .eyebrow:before{background:#d5b47d}.page-intro h1{font-size:44px;letter-spacing:-1.8px;font-weight:650;max-width:800px;margin:16px 0}.page-intro p{color:#bed1e7;line-height:1.8;font-size:15px;max-width:620px}.page-intro .wrap{position:relative;z-index:1}.intro-split{display:grid;grid-template-columns:1.6fr 1fr;gap:60px;align-items:center}.intro-note{background:#ffffff0a;border:1px solid #ffffff1c;border-radius:14px;padding:24px}.intro-note strong{display:block;font-size:15px;line-height:1.5;margin-bottom:10px;font-weight:500;color:#f1debd}.intro-note p{font-size:12px;line-height:1.9}.intro-note .tiny{color:#9ab7d8;font-size:10px;margin-top:14px}.intro-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.intro-meta span{background:#ffffff0c;border:1px solid #ffffff1f;border-radius:6px;padding:8px 12px;font-size:11px;color:#d5e4f5;display:flex;align-items:center;gap:7px}.intro-meta svg{width:15px;height:15px}.sample-notice{font-size:11px;color:#6e8193;border-bottom:1px solid #e1e8f0;padding:12px 0;background:#edf2f8}.sample-notice .wrap{display:flex;gap:9px;align-items:center}.sample-notice svg{width:15px;height:15px;color:#4f7cad}.content-area{padding:40px 0 60px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:30px;align-items:start}.panel{background:#fff;border:1px solid #e0e8f2;border-radius:16px;padding:30px;margin-bottom:24px}.panel h2{font-family:Manrope;font-size:23px;letter-spacing:-.5px;font-weight:650;margin-bottom:18px}.panel h3{font-size:16px;line-height:1.6;margin-bottom:10px}.panel p{font-size:14px;line-height:1.9;color:#6d8196;margin:0 0 14px}.panel p:last-child{margin-bottom:0}.panel .label{color:#8b9caf;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:12px;font-weight:600}.panel.blue{background:#eaf2ff;border-color:#d5e2f9}.panel.sand{background:#faf5e9;border-color:#eadfc9}.panel.navy{background:#143e6a;border-color:#143e6a;color:white}.panel.navy p{color:#c5d5e8}.panel.navy .label{color:#b5ccea}.section-tabs{display:flex;gap:30px;background:white;border-bottom:1px solid var(--line);padding:0 30px;overflow:auto}.section-tabs a{padding:19px 0;font-size:12px;color:#607a94;white-space:nowrap;border-bottom:2px solid transparent}.section-tabs a:first-child{color:var(--blue);border-bottom-color:var(--blue)}.course-cover{aspect-ratio:16/9;height:auto;min-height:0;border-radius:14px;width:100%;margin-bottom:22px;overflow:hidden;position:relative}.reading-block{scroll-margin-top:25px}.topic-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.topic-item{display:flex;align-items:center;gap:12px;padding:15px;background:#f4f7fb;border:1px solid #e6edf5;border-radius:9px;font-size:13px}.topic-item svg{color:#5581ba;width:17px;height:17px}.meta-list{margin:0}.meta-list div{display:flex;justify-content:space-between;gap:20px;font-size:12px;padding:13px 0;border-bottom:1px solid #e5eaf1;line-height:1.6}.meta-list div:last-child{border:0}.meta-list dt{color:#788ba0}.meta-list dd{margin:0;text-align:right;font-weight:500;color:#335575}.aside-stack{position:sticky;top:24px}.aside-stack .btn{width:100%;margin-top:20px}.aside-stack small{display:block;color:#8a9bae;font-size:10px;line-height:1.8;margin-top:14px}.status-badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;letter-spacing:.1px;padding:7px 10px;border-radius:5px;white-space:nowrap}.status-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.status-badge.open{background:#e4f2e9;color:#258152}.status-badge.closed{background:#edf0f4;color:#7c8795}.status-badge.pending{background:#f8eedb;color:#927239}.sample-pill{font-size:9px;color:#8c9caf;background:#f3f6fa;border:1px solid #e1e8f0;padding:4px 7px;border-radius:4px}.small-link{font-size:12px;color:var(--blue);display:inline-flex;align-items:center;gap:8px;font-weight:550}.small-link svg{width:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{font-family:Manrope;font-size:26px;letter-spacing:-.7px;font-weight:650}.section-head p{font-size:13px;line-height:1.8;color:#7c8ea0;margin-top:8px}.offering-card{padding:22px;background:white;border:1px solid #dbe5f1;border-radius:13px;margin-bottom:15px}.offering-card:last-child{margin-bottom:0}.offering-card .top-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.offering-card h3{font-size:17px;margin-top:15px;margin-bottom:8px;font-family:Manrope;letter-spacing:-.3px}.offering-card p{font-size:12px;line-height:1.8;color:#7d8fa2;margin-bottom:15px}.offering-meta{display:flex;gap:20px;flex-wrap:wrap;margin:15px 0}.offering-meta span{display:flex;gap:6px;align-items:center;color:#758aa0;font-size:11px}.offering-meta svg{width:15px;height:15px}.offering-card footer{padding:13px 0 0;background:none;border-top:1px solid #e8edf5;display:flex;justify-content:space-between;align-items:center;margin-top:15px}.offering-card footer span{font-size:10px;color:#92a0af}.mini-teacher{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #e7edf5;transition:.2s}.mini-teacher:last-child{border:0}.mini-teacher:hover{color:var(--blue)}.mini-teacher img{width:54px;height:54px;object-fit:cover;border-radius:11px;background:#e8eef6}.mini-teacher strong{font-size:13px;font-weight:600;line-height:1.6;display:block}.mini-teacher div span{display:block;color:#7d8fa2;font-size:11px;margin-top:3px;line-height:1.7}.mini-teacher svg{margin-left:auto;width:16px;color:#698eb9}.related-course-list a{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5eaf1;padding:15px 0;font-size:13px;gap:15px}.related-course-list a:last-child{border:0}.related-course-list small{font-size:10px;color:#8798aa;display:block;margin-top:5px}.related-course-list svg{width:16px;color:var(--blue)}.page-tools{background:white;border:1px solid #e0e8f2;padding:18px 22px;border-radius:12px;display:flex;align-items:center;gap:20px;margin-bottom:27px;flex-wrap:wrap}.page-tools .search-control{display:flex;align-items:center;gap:10px;flex:1;min-width:200px;color:#8298af}.search-control input{background:transparent;border:0;outline:none;width:100%;font-size:13px;padding:8px;color:var(--ink)}.page-tools select{padding:11px 30px 11px 12px;border:1px solid #dce5ef;border-radius:7px;font-size:12px;background:#f8fafd;color:#58728d;max-width:300px}.page-tools .tabs{background:#edf2f8}.page-tools .tab{padding:10px 17px}.result-caption{font-size:12px;color:#7b8ea2;margin-bottom:22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.session-list{display:grid;grid-template-columns:1fr 1fr;gap:22px}.session-card{background:white;border:1px solid #dce5ef;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.session-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #143d6510}.session-accent{height:7px;background:#3677cb}.session-card.closed .session-accent{background:#bac6d4}.session-body{padding:26px;display:flex;flex-direction:column;flex:1}.session-title{font-family:Manrope;font-size:21px;letter-spacing:-.5px;line-height:1.45;font-weight:650;margin:16px 0 9px}.session-body p{font-size:12px;color:#8192a4;line-height:1.8}.session-kicker{font-size:10px;color:#6d8aa7;letter-spacing:.9px;text-transform:uppercase;margin-top:18px}.session-facts{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.session-facts div{display:flex;align-items:center;gap:9px;color:#6c8298;font-size:12px}.session-facts svg{color:#6089b7;width:17px;height:17px}.session-bottom{border-top:1px solid #e7edf5;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto}.session-bottom .btn{font-size:11px;padding:11px 17px}.session-bottom small{font-size:10px;color:#8195aa}.teachers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.teacher-card{border:1px solid #dde6f0;border-radius:16px;background:white;overflow:hidden;transition:.2s;display:flex;flex-direction:column}.teacher-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px #143c6510}.teacher-photo{height:223px;background:#e5edf5;position:relative;overflow:hidden}.teacher-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:.5s}.teacher-card:hover img{transform:scale(1.035)}.teacher-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#123a6340,transparent 45%)}.teacher-number{position:absolute;bottom:13px;left:18px;z-index:1;color:#ffffffe0;font-size:10px;letter-spacing:1.4px}.teacher-info{padding:23px;display:flex;flex-direction:column;flex:1}.teacher-info h2{font-family:Manrope;font-size:18px;letter-spacing:-.4px;font-weight:650;line-height:1.55}.teacher-info .role{font-size:10px;letter-spacing:.5px;color:#8b9bae;margin-top:7px}.tag-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.tag{border-radius:5px;background:#edf3fc;color:#5278a3;font-size:10px;padding:6px 8px;line-height:1.5}.teacher-info .tag-list{margin-bottom:22px}.teacher-info .small-link{padding-top:17px;border-top:1px solid #e7edf5;width:100%;margin-top:auto;justify-content:space-between}.profile-intro{padding-bottom:55px}.profile-grid{display:grid;grid-template-columns:300px 1fr;gap:55px;align-items:center}.profile-photo{width:100%;height:315px;object-fit:cover;object-position:center 25%;border-radius:16px;border:5px solid #ffffff18;box-shadow:0 20px 50px #031d3940}.profile-intro h1{font-size:39px;line-height:1.4;margin:14px 0}.profile-intro .tag{background:#ffffff0d;border:1px solid #ffffff22;color:#dce7f4;font-size:12px;padding:8px 12px}.profile-label{font-size:11px;letter-spacing:1.1px;color:#c2a879;margin-bottom:15px}.profile-links{display:flex;gap:15px;align-items:center;margin-top:28px}.profile-links .btn{background:white;color:#1c518c}.profile-links .small-link{color:#d1e3f8}.profile-feature{display:flex;align-items:center;gap:15px;background:#faf4e6;border:1px solid #eddfc4;border-radius:12px;padding:22px;margin-top:24px}.profile-feature svg{width:27px;height:27px;color:#af8b50}.profile-feature p{font-size:13px;color:#8c7755;line-height:1.8;margin:0}.course-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.course-link-card{border:1px solid #e0e8f2;background:#f7faff;border-radius:11px;padding:20px;transition:.2s}.course-link-card:hover{border-color:#8db2e6;background:#edf4ff}.course-link-card .label{font-size:9px;margin-bottom:8px;color:#7891aa;letter-spacing:0}.course-link-card h3{font-size:15px;font-weight:600;margin:0 0 16px}.course-link-card .small-link{font-size:11px}.schedule-stage{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.stage{padding:18px 13px;background:#f2f5f9;border:1px solid #e1e8f0;border-radius:9px}.stage small{display:block;font-size:9px;color:#8395a8;margin-bottom:9px}.stage strong{font-size:12px;font-weight:550}.stage.current{background:#e8f2ff;border-color:#9ec0f2;color:#245da4}.stage.closed{background:#edf0f4;color:#8998a8}.stage.completed{background:#e9f3ec;color:#347b53}.closed-message{display:flex;align-items:start;gap:12px;background:#f0f2f6;padding:20px;border-radius:10px;margin-bottom:20px;color:#708196}.closed-message p{font-size:12px;margin:0}.closed-message svg{flex-shrink:0}.registration-form label{display:block;font-size:12px;margin:16px 0 8px;color:#5f7891}.registration-form input,.registration-form textarea{display:block;width:100%;padding:12px;border:1px solid #dce5ef;border-radius:8px;background:#f8fafd;color:var(--ink);font:inherit;font-size:13px}.registration-form input:focus,.registration-form textarea:focus{outline:2px solid #a9c8f8}.registration-form .btn{margin-top:20px}.button-disabled{border:1px solid #dbe3ed;background:#e9edf3;color:#8d9cab;padding:14px 20px;display:block;width:100%;border-radius:8px;font-size:13px;cursor:not-allowed}.page-bottom-cta{padding:30px 0 15px}.inline-count{color:#718ba5;font-weight:400;font-size:15px;margin-left:10px}.sidebar-back{font-size:12px;color:#6b88a6;display:inline-flex;gap:8px;align-items:center;margin-bottom:22px}.not-found{text-align:center;padding:100px 20px}.not-found h1{font-size:40px}.not-found p{margin:20px;color:#6d8298}.not-found .btn{margin-top:20px}[hidden]{display:none!important}.page-help-link{display:inline-block;font-size:12px;color:#2a67af;padding:12px 0}.draft-indicator{display:flex;align-items:center;gap:7px;font-size:10px;color:#bdcee1;margin-top:20px}.draft-indicator:before{content:'';width:5px;height:5px;background:#cdb17b;border-radius:50%}
@media(max-width:1100px){.content-grid{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.panel{padding:24px}.teacher-photo{height:190px}.intro-split{gap:35px}.nav{gap:22px}.category{padding:15px;gap:10px;font-size:11px}.course h3{font-size:16px}.profile-grid{grid-template-columns:260px 1fr;gap:35px}.teachers-grid{gap:20px}.session-title{font-size:19px}.catalog{padding:28px}.catalog-layout{grid-template-columns:180px 1fr}.catalog-top .tabs{max-width:none}.catalog-top{align-items:start;flex-direction:column;gap:20px}}
@media(max-width:800px){header{height:74px}.nav.open{background:#10395f;color:#d5e1ef}.content-grid{grid-template-columns:1fr}.aside-stack{position:static}.intro-split{grid-template-columns:1fr;gap:24px}.intro-note{padding:20px}.page-intro{padding:24px 0 38px}.page-intro h1{font-size:36px;letter-spacing:-1px}.page-intro .crumb{margin-bottom:27px}.page-intro p{font-size:13px}.content-area{padding-top:25px}.panel{padding:24px}.teachers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.session-list{grid-template-columns:1fr}.category{flex:0 0 190px}.catalog{padding:22px;margin-top:23px}.catalog-top .tabs{max-width:100%}.section-tabs{gap:25px;padding:0 20px}.profile-grid{grid-template-columns:190px 1fr;gap:25px}.profile-photo{height:260px}.profile-intro h1{font-size:28px}.profile-intro .tag{font-size:10px;padding:6px 9px}.profile-links{flex-wrap:wrap}.teacher-photo{height:210px}.sample-notice{font-size:10px;line-height:1.7}.page-tools{gap:12px;padding:15px}.page-tools select{flex:1;min-width:170px}.page-tools .tabs{width:100%}.page-tools .search-control{width:100%;flex:auto}.teacher-info{padding:20px}.session-facts{gap:18px}.section-head h2{font-size:24px}.course-cover{aspect-ratio:16/9;height:auto;min-height:0}.nav .btn{display:none}}
@media(max-width:480px){.page-intro h1{font-size:31px}.panel{padding:22px;border-radius:13px}.panel h2{font-size:22px}.page-tools .tab{font-size:10px;padding:10px 11px}.teachers-grid{grid-template-columns:1fr}.teacher-photo{height:265px}.teacher-info h2{font-size:20px}.teacher-info .role{font-size:11px}.teacher-info .tag{font-size:11px}.profile-grid{grid-template-columns:1fr;gap:25px}.profile-photo{height:290px;max-width:100%;object-position:center 25%}.profile-intro h1{font-size:29px}.profile-grid .tag-list{margin-top:15px}.profile-links{gap:20px}.course-link-grid{grid-template-columns:1fr}.course-cover{aspect-ratio:16/9;height:auto;min-height:0}.topic-list{grid-template-columns:1fr}.section-head{align-items:start}.section-head p{font-size:12px}.section-head .small-link{font-size:11px}.session-body{padding:22px}.session-title{font-size:20px}.session-facts{grid-template-columns:1fr 1fr;font-size:11px}.session-bottom{gap:10px}.session-bottom .btn{font-size:10px;padding:11px 14px}.offering-card{padding:18px}.offering-card .top-line{align-items:start;flex-wrap:wrap}.offering-card footer{gap:15px}.offering-card footer span{font-size:9px}.schedule-stage{gap:7px}.stage{padding:15px 10px}.stage strong{font-size:11px}.stage small{font-size:8px}.cta{padding:26px}.catalog{width:100%;border-radius:0;border-left:0;border-right:0;padding:28px 20px}.catalog h2{font-size:27px}.course h3{font-size:20px;min-height:0}.intro-meta{gap:8px}.intro-meta span{font-size:10px;padding:7px 9px}.page-tools select{max-width:100%}.result-caption{font-size:11px;align-items:start}.category svg{width:18px;height:18px}.category{min-height:70px}.section-overline>span{display:none}.notice{padding:15px}.notice p{font-size:11px}.aside-stack .btn{font-size:12px}.profile-feature p{font-size:12px}.profile-intro .tag{font-size:11px}}

/* Institutional navigation */
.nav .nav-group,.nav-subgroup{position:relative}
.nav summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-height:44px;white-space:nowrap}
.nav summary::-webkit-details-marker{display:none}
.nav summary::after{content:"";width:.4rem;height:.4rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-bottom:.2rem}
.nav details[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
.nav-group.active>summary,.nav a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:.55rem}
.nav-panel{position:absolute;z-index:30;top:100%;left:0;min-width:230px;padding:.5rem;background:#123b64;color:white;border:1px solid #416487;border-radius:10px;box-shadow:0 12px 30px #071f3840}
.nav .nav-panel a,.nav .nav-subgroup summary{display:flex;align-items:center;min-height:42px;padding:.5rem .75rem;border-radius:6px;white-space:normal}
.nav .nav-panel a:hover,.nav .nav-panel summary:hover,.nav .nav-panel a:focus-visible{background:#23547f}
#navCategories{padding-left:.6rem;border-left:1px solid #6685a4;margin-left:.75rem}
.institution-links{display:flex;flex-wrap:wrap;gap:1rem}
.institution-links>a:not(.btn){display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;background:white;border:1px solid #d5e2f9;border-radius:8px}
.institution-links svg{width:16px;height:16px}
.institution-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1rem}
.institution-gallery .panel{display:grid;gap:.75rem;padding:1rem;margin:0}
.institution-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
@media(max-width:800px){.nav .nav-group,.nav-panel{width:100%}.nav-panel{position:static;min-width:0;box-shadow:none}.nav.open{max-height:calc(100dvh - 74px);overflow:auto}}

.institution-faq{border-top:1px solid #d5e2f9;padding:1rem 0}
.institution-faq summary{cursor:pointer;font-weight:600}
.institution-faq p{margin:.65rem 0 0}

.video-hero{position:relative;isolation:isolate;display:grid;place-items:center;min-height:clamp(420px,70vh,680px);background:#142e49 var(--hero-poster) center/cover no-repeat;color:white;text-align:center;overflow:hidden}
.video-hero video,.video-hero::after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-hero video{z-index:-2}
.video-hero::after{content:"";background:radial-gradient(ellipse at center,#041727d4 0%,#041727a6 50%,#04172770 100%);z-index:-1}
.video-hero-copy{padding-block:4rem 5rem}
.video-hero h1{color:white;font-size:clamp(2.4rem,5vw,4.8rem);margin:.85rem auto 1rem;max-width:20ch;text-wrap:balance}
.video-hero p{color:#eef3fa;max-width:47ch;line-height:1.65;margin:0 auto 1.5rem}
.video-hero-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff65;border-radius:999px;background:#132b48bd;color:#ffefc4;padding:.48rem .9rem;font-size:.8rem;font-weight:700;letter-spacing:.04em}
.video-toggle{position:absolute;right:1rem;bottom:1rem;border:1px solid #ffffff96;border-radius:8px;background:#142e49;color:white;padding:.55rem .8rem;font-size:.8rem}
@media(max-width:600px){.video-hero::after{background:#041727b8}.video-hero-copy{padding-block:3rem 4.5rem}}
.course-photo{display:grid;place-content:center;justify-items:center;gap:.45rem;min-height:145px;background:#e9f3f9;color:#235170;font-size:.85rem;font-weight:600}
.course-photo.iran{background:#f3ecdd;color:#684c22}
.course-photo svg{width:24px;height:24px}
.card-image .course-photo{height:100%}
.course-photo.has-photo{display:block;padding:0;overflow:hidden}
.course-photo.has-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.course-slides{position:relative;margin-bottom:22px}
.course-slides .course-cover{margin-bottom:0}
.course-photo.course-cover,
.course-photo.course-slides-frame,
.course-slides-frame,
.course-cover.has-photo{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  min-height:0;
  max-height:none;
  overflow:hidden;
  border-radius:14px;
}
.course-photo.course-cover.has-photo img,
.course-photo.course-slides-frame img,
.course-slides-frame img,
.course-cover.has-photo img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
}
.course-slides-frame img[data-slide-image]{opacity:1;transform:scale(1);transition:opacity .38s ease,transform .5s ease}
.course-slides-frame img[data-slide-image].is-leaving{opacity:0;transform:scale(1.03)}
.course-slides-frame img[data-slide-image].is-entering{opacity:0;transform:scale(1.015)}
.course-slides-ui{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.course-slides-btn{display:grid;place-items:center;width:36px;height:36px;border:1px solid #c5d5e6;border-radius:999px;background:#fff;color:#18466d;padding:0;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.course-slides-btn:hover{background:#f3f7fc;border-color:#9eb6cf}
.course-slides-btn:active{transform:scale(.96)}
.course-slides-btn svg{width:16px;height:16px;transform:rotate(180deg)}
.course-slides-btn.next svg{transform:none}
.course-slides-dots{display:flex;gap:8px;align-items:center;justify-content:center;flex:1}
.course-slides-dot{width:8px;height:8px;border-radius:999px;border:0;padding:0;background:#b7c8da;transition:width .28s ease,background .28s ease}
.course-slides-dot.active{background:#1764df;width:18px}
@media (prefers-reduced-motion:reduce){
  .course-slides-frame img[data-slide-image],.course-slides-dot,.course-slides-btn{transition:none}
}
a[aria-disabled="true"]{opacity:.45;pointer-events:none}
.institution-steps{display:grid;gap:.85rem;padding-left:1.5rem}
.institution-steps li{padding:.65rem .8rem;background:#eef4fb;border-radius:8px}
.institution-steps h3,.institution-steps p{margin:.2rem 0}

.gallery-collage{display:grid;grid-template-columns:1.15fr 1fr;gap:8px;padding-block:clamp(1rem,4vw,3rem)}
.gallery-collage>div{aspect-ratio:16/10;overflow:hidden}
.gallery-collage>div[hidden]{display:none}
.gallery-collage img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:540px){.gallery-collage{grid-template-columns:1fr;gap:5px}}

.enrollment-panel label{display:block;font-weight:650;margin:.9rem 0 .35rem}
.enrollment-panel input:not([type=checkbox]):not([type=hidden]):not([type=radio]),.enrollment-panel select{display:block;width:100%;min-height:44px;padding:.65rem .75rem;border:1px solid #b9cce0;border-radius:8px;background:#fff;color:#142e49;font:inherit}
.enrollment-panel .check{display:flex;align-items:flex-start;gap:10px;margin:1rem 0;color:#5d738a;font-weight:500;cursor:pointer}
.enrollment-panel .check input{width:16px;height:16px;min-height:0;margin:.15rem 0 0;flex:none;accent-color:#1764df}
.enrollment-panel .btn{margin-top:1rem}
.captcha-row{margin-top:.9rem}
.captcha-controls{display:flex;gap:.75rem;align-items:stretch}
.captcha-controls input{flex:1;margin:0}
.captcha-controls .btn{margin-top:0;white-space:nowrap}
.estimate-box{display:grid;gap:.4rem;padding:1rem;margin-top:1rem;background:#eef4fb;border-radius:8px}
.estimate-box strong,.enrollment-number{font-size:1.25rem;color:#123b64}
.estimate-box small{line-height:1.5}
.enrollment-notice{margin-bottom:1rem}
.enrollment-progress{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;list-style:none;margin:0 0 1.25rem}
.enrollment-progress li{background:#edf2f7;padding:.45rem .7rem;border-radius:999px;font-size:.8rem}
.enrollment-progress li[aria-current=step]{background:#123b64;color:#fff}
#enrollmentError{color:#9e2424;margin-top:.75rem}
.field-error{color:#9e2424;font-size:.85rem;margin:.35rem 0 0}
.enrollment-panel input[aria-invalid=true]{border-color:#c03a3a!important;box-shadow:0 0 0 2px #c03a3a22}
.enrollment-panel .btn:disabled{opacity:.55;cursor:wait}
/* Course covers carry their title in the artwork, so cards keep the 16:9 shape instead of cropping it. */
.cards:not(.list) .card-image{height:auto;aspect-ratio:16/9}
@media(max-width:760px){.content-grid:has([data-course-chooser]) .aside-stack{grid-row:1}}

.media-intro{background:linear-gradient(115deg,#edf4fa,#f8fafb);color:#123b64}
.media-intro h1,.media-intro p,.media-intro .eyebrow{color:#123b64}
.media-center{max-width:1120px}
.media-filter-group{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}
.media-filter-group button,.media-list-head select{font:inherit;color:#123b64;background:#edf3f8;border:1px solid #d5e2ef;border-radius:999px;padding:.55rem .9rem;cursor:pointer}
#mediaTypes button{min-width:90px;border-radius:8px}
.media-filter-group button[aria-pressed=true]{background:#123b64;color:white;border-color:#123b64}
.media-card{overflow:hidden;border-radius:14px;background:white;border:1px solid #dce6ef;box-shadow:0 8px 24px #193a5810}
.media-featured{display:grid;grid-template-columns:1fr 1.1fr;margin:1.75rem 0 2.2rem}
.media-visual{display:grid;position:relative;place-items:center;aspect-ratio:16/9;background:linear-gradient(125deg,#deebf4,#f2f7fb)}
.media-featured .media-visual{height:100%;min-height:230px;aspect-ratio:auto}
.media-visual img{position:absolute;width:100%;height:100%;object-fit:cover}
.media-symbol{z-index:1;background:#123b64;color:#fff;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;font-size:1.1rem}
.media-symbol svg{width:23px;height:23px}
.media-copy{padding:1.2rem;display:grid;align-content:center;gap:.65rem}
.media-copy h2,.media-copy h3,.media-copy p{margin:0}
.media-copy p{color:#435972;line-height:1.55}
.media-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.media-tags span{font-size:.75rem;background:#edf3f8;color:#123b64;padding:.28rem .65rem;border-radius:999px}
.media-list-head{margin:1.5rem 0 1rem}
.media-list-head select{border-radius:7px}
.media-detail video,.media-detail audio{display:block;width:100%;margin:0 0 1rem}
.media-detail video{max-height:65vh;background:#0a213a;border-radius:10px}
@media(max-width:650px){.media-featured{grid-template-columns:1fr}.media-featured .media-visual{min-height:0;aspect-ratio:16/9}.media-list-head{flex-wrap:wrap}}

.syllabus-modules{display:grid;gap:.65rem;margin-top:1.25rem}
.syllabus-module{border:1px solid #d5e2ef;border-radius:9px;overflow:hidden}
.syllabus-module summary{cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.65rem;align-items:center;padding:.85rem 1rem;background:#f0f5fb;color:#123b64;font-weight:650}
.syllabus-module summary::marker{content:''}
.syllabus-module summary::-webkit-details-marker{display:none}
.syllabus-module summary::after{content:'+';font-size:1.2rem}
.syllabus-module[open] summary::after{content:'−'}
.syllabus-module summary small{white-space:nowrap;font-weight:400}
.syllabus-index{background:#dceafb;border-radius:6px;padding:.25rem .45rem;font-size:.8rem}
.syllabus-intro{margin:0;padding:.85rem 1rem 0;color:#4d647a;font-size:.95rem;line-height:1.55}
.syllabus-module ol{margin:0;padding:.35rem 1rem .35rem 2.4rem}
.syllabus-module li{padding:.65rem .15rem}
.syllabus-module li+li{border-top:1px solid #e5edf6}

.home-stats{background:#fff;border-bottom:1px solid #dce6ef}
.home-stats-grid,.home-path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.home-stat{display:flex;align-items:center;justify-content:center;gap:.9rem;padding:1.25rem .6rem}
.home-stat+.home-stat{border-left:1px solid #dce6ef}
.home-stat svg,.home-path-icon svg{width:25px;height:25px;color:#a77118;flex:none}
.home-stat strong,.home-stat span{display:block}
.home-stat strong{font-size:clamp(1.35rem,2.8vw,2rem);line-height:1.1;color:#123b64}
.home-stat span{font-size:.82rem;color:#435972;margin-top:.2rem}
.home-pathways{margin-bottom:1.75rem}
.home-pathways h2{margin:.4rem 0}
.home-pathways .section-head p{margin:.25rem 0 1rem;color:#435972}
.home-path-grid{gap:1rem}
.home-path-card{display:flex;flex-direction:column;align-items:flex-start;gap:.7rem;background:#fff;border:1px solid #dce6ef;border-radius:12px;padding:1.2rem;color:#123b64;text-decoration:none}
.home-path-card:hover,.home-path-card:focus-visible{border-color:#8caecd;box-shadow:0 5px 16px #173d6214}
.home-path-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:9px;background:#faf2df}
.home-path-card h3,.home-path-card p{margin:0}
.home-path-card p{color:#435972;font-size:.9rem;line-height:1.55}
.home-path-action{display:flex;align-items:center;gap:.45rem;margin-top:auto;padding-top:.4rem;font-weight:700;font-size:.85rem}
.home-path-action svg{width:16px;height:16px}
@media(max-width:850px){.home-stats-grid,.home-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-stat:nth-child(3){border-left:0}.home-stat:nth-child(n+3){border-top:1px solid #dce6ef}}
@media(max-width:480px){.home-path-grid{grid-template-columns:1fr}.home-stat{justify-content:flex-start;padding-inline:.55rem;gap:.5rem}.home-stat svg{width:20px;height:20px}}
.teacher-photo-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#e7eef6;color:#183951;font:700 42px/1 Manrope,sans-serif;text-align:center;line-height:1}
.mini-teacher .teacher-photo-fallback{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;font-size:20px;font-weight:700;line-height:1;margin:0;flex:none;color:#183951;background:#e7eef6}
.profile-photo.teacher-photo-fallback{min-height:280px;border-radius:16px}
.card-image .course-photo.has-photo,.card-image .course-photo.has-photo img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none}
/* The tag sits at the bottom of a card so it does not cover the title printed on the cover. */
.course .card-image .offer-tag{top:auto;bottom:10px}
.enrollment-panel .field-error{color:#9e2424}
