/* EDUVIA Course 1.2 — editorial product UI; only adds/overrides the public marketing layout. */
.site-header{height:74px;background:var(--header-bg);border-bottom:1px solid var(--border);position:relative;z-index:120;padding-inline:max(24px,calc((100vw - 1240px)/2));box-shadow:0 4px 16px rgba(21,57,102,.035)}
.site-header .brand{letter-spacing:-.035em}
.site-header .main-links{gap:27px}.site-header .main-links a{font-weight:650}
.site-header .main-links a:hover{color:#0578ce}
.site-header .header-cta{min-width:116px}
.mobile-menu{display:none;position:relative}.mobile-menu summary{width:38px;height:38px;list-style:none;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;border-radius:10px;cursor:pointer;font-size:19px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:100;min-width:222px;background:var(--surface);border:1px solid var(--border);box-shadow:0 15px 45px rgba(12,39,71,.13);border-radius:14px;padding:8px}.mobile-menu-panel a{display:block;font-size:13px;font-weight:650;padding:10px 12px;border-radius:9px}.mobile-menu-panel a:hover{background:var(--nav-hover-bg)}
.public-main{background:linear-gradient(166deg,rgba(227,243,255,.45) 0%,transparent 26%),var(--bg-canvas);padding-bottom:30px}
.course-hero{width:min(1240px,calc(100% - 44px));margin:0 auto;min-height:505px;display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center;padding:48px 0 25px}
.course-hero-copy{min-width:0}.course-kicker{display:inline-flex;align-items:center;gap:9px;font-size:10.5px;font-weight:750;letter-spacing:.065em;border:1px solid #c5e1f9;background:#edf7ff;border-radius:999px;padding:8px 12px;color:#0870be}.course-kicker i{width:7px;height:7px;background:#08bca3;box-shadow:0 0 0 3px #c6f4ed;border-radius:50%}
.course-hero h1{font-family:'Calistoga',Georgia,serif;letter-spacing:-.028em;font-weight:400;font-size:clamp(38px,3.7vw,57px);line-height:1.14;margin:21px 0 15px;color:#0a2342}.course-hero h1 span{color:#0969cb}.course-hero-copy>p{font-size:15px;line-height:1.75;max-width:550px;margin-bottom:21px}.course-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.course-hero-actions .btn{border-radius:11px;font-size:13px;min-height:44px}.course-mini-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:30px}.course-mini-features>div{display:flex;gap:8px;align-items:center}.course-mini-features b{font-size:20px;font-weight:500;color:#078ee8;background:#e4f1fc;border-radius:10px;height:34px;min-width:34px;display:grid;place-items:center}.course-mini-features span{font-size:11px;line-height:1.3;font-weight:750;color:var(--text-main)}.course-mini-features small{font-size:10px;display:block;font-weight:450;margin-top:3px}
.course-hero-slider{height:410px;border-radius:24px;position:relative;isolation:isolate;min-width:0;box-shadow:0 20px 45px rgba(5,50,93,.11)}.course-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .48s cubic-bezier(.2,.7,.2,1);border:1px solid #d7e7f6;background:#dcefff;border-radius:24px;overflow:hidden}.course-slide.is-active{opacity:1;pointer-events:auto}.course-slide>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.course-slide-label{position:absolute;left:19px;top:18px;padding:9px 12px;background:rgba(255,255,255,.96);color:#064f9b;border:1px solid rgba(255,255,255,.8);font-size:10px;font-weight:850;letter-spacing:.06em;border-radius:999px;box-shadow:0 3px 18px rgba(9,52,92,.12)}.course-slide-caption{position:absolute;left:17px;bottom:17px;max-width:68%;padding:17px 19px;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(9,52,92,.17);display:grid;gap:5px;color:#0a2342}.course-slide-caption b{font:400 19px/1.2 'Calistoga',Georgia,serif}.course-slide-caption span{font-size:12px;line-height:1.45;color:#556b84}.course-slider-controls{position:absolute;bottom:-20px;left:50%;transform:translateX(-50%);z-index:12;display:flex;align-items:center;gap:13px;background:var(--surface);padding:7px 9px;border:1px solid var(--border);border-radius:999px;box-shadow:0 6px 22px rgba(16,66,112,.12)}.course-slider-arrow{background:var(--surface-soft);border:1px solid var(--border);color:var(--text-main);font-size:23px;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;line-height:1}.course-slider-arrow:hover{color:var(--primary);border-color:var(--primary)}.course-slider-dots{display:flex;gap:6px}.course-slider-dots button{width:7px;height:7px;min-height:7px;border:0;border-radius:50%;background:#c4d7ed;padding:0}.course-slider-dots button.is-active{background:#078ee8;width:20px;border-radius:8px}
.course-illustrated-slide{height:100%;display:grid;grid-template-columns:.55fr 1fr;align-items:center;gap:15px;padding:25px;background:linear-gradient(128deg,#d7ebff,#fff)}.course-illustrated-slide img{width:100%;height:85%;object-fit:contain;filter:drop-shadow(0 12px 13px rgba(8,57,108,.10));border-radius:20px}.course-illustrated-slide>div span{display:block;font-weight:800;color:#0073d2;letter-spacing:.11em;font-size:10px}.course-illustrated-slide h3{font:400 clamp(28px,3.3vw,43px)/1.18 'Calistoga',Georgia,serif;letter-spacing:-.02em;color:#0b3266;margin:13px 0}.course-illustrated-slide p{font-size:14px}.slide-teacher{background:linear-gradient(135deg,#fff0d5,#fffaf0)}
.course-campaigns{width:min(1240px,calc(100% - 44px));margin:18px auto 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.course-campaign{border-radius:18px;min-height:143px;display:flex;align-items:center;overflow:hidden;border:1px solid rgba(7,93,171,.06);transition:transform .2s ease,box-shadow .2s ease}.course-campaign:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(6,45,91,.09)}.course-campaign img{flex:0 0 31%;width:31%;align-self:stretch;object-fit:cover;object-position:center top;mix-blend-mode:multiply}.course-campaign>div{padding:16px 19px}.course-campaign.for-students{background:linear-gradient(105deg,#c9e6ff 0%,#e6f3ff 65%,#f4f9ff 100%)}.course-campaign.for-tutors{background:linear-gradient(100deg,#ffecc6,#fff7e8 70%)}.course-campaign>div>span{display:block;font-size:10px;letter-spacing:.1em;color:#0668c4;font-weight:800;margin-bottom:4px}.course-campaign h2{font-family:'Outfit',sans-serif;font-weight:850;letter-spacing:-.028em;font-size:21px;margin:0 0 6px;color:#0e3464}.course-campaign p{font-size:12.5px;line-height:1.5;margin:0 0 7px;color:#355173}.course-campaign b{font-size:12px;color:#0569b4}.course-campaign b span{margin-left:3px}
.public-main .landing-portals{margin-top:26px}.public-main .section-title-row h2,.public-main .section-head h2,.public-main .how-section h2,.public-main .join-banner h2,.public-main .page-lead h1{font-family:'Calistoga',Georgia,serif;font-weight:400;letter-spacing:-.025em}.tutor-avatar.portrait-wrap,.profile-avatar.portrait-wrap{overflow:hidden;padding:0;display:inline-flex;flex-shrink:0}.tutor-avatar.portrait-wrap img,.profile-avatar.portrait-wrap img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.tutor-education{font-size:11px;color:var(--text-muted);margin:0 0 13px}.tutor-card{transition:transform .2s ease,box-shadow .2s ease}.tutor-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(5,50,93,.1)}.admin-doc-links{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}.admin-doc-links a{font-weight:700;font-size:11px;color:var(--primary);text-decoration:underline;text-underline-offset:3px}
html[data-eduvia-color-scheme="dark"] .course-hero h1{color:#f5f9ff}html[data-eduvia-color-scheme="dark"] .course-hero h1 span{color:#73c9ff}html[data-eduvia-color-scheme="dark"] .course-kicker{background:rgba(7,142,232,.15);border-color:#2c5578;color:#c0eaff}html[data-eduvia-color-scheme="dark"] .course-mini-features b{background:rgba(7,142,232,.15)}html[data-eduvia-color-scheme="dark"] .course-mini-features span{color:#f1f5f9}
@media(max-width:1140px){.course-hero{gap:24px}.course-hero h1{font-size:clamp(36px,4.25vw,50px)}.course-mini-features{grid-template-columns:repeat(2,minmax(0,1fr))}.course-hero-slider{height:370px}}
@media(max-width:900px){.site-header .main-links{display:none}.mobile-menu{display:block}.site-header{padding-inline:20px}.course-hero{grid-template-columns:1fr;padding-top:35px;gap:35px}.course-hero h1{max-width:720px}.course-hero-slider{height:clamp(320px,58vw,520px)}.course-hero-copy>p{max-width:640px}.course-mini-features{grid-template-columns:repeat(4,minmax(0,1fr))}.course-campaigns{margin-top:32px}}
@media(max-width:680px){.site-header{padding-inline:12px;height:66px}.site-header .top-actions{gap:7px}.site-header .brand{font-size:12px}.site-header .brand small{font-size:6px}.site-header .brand-mark{width:31px;height:31px}.site-header .header-cta{display:none}.site-header .portal-login summary{padding:8px 9px;font-size:10.5px}.mobile-menu{order:3}.course-hero{width:calc(100% - 30px);padding:33px 0 19px;gap:24px}.course-kicker{font-size:9px;padding:7px 9px;letter-spacing:0}.course-hero h1{font-size:clamp(35px,9.3vw,52px);margin:18px 0 11px;line-height:1.14}.course-hero-copy>p{font-size:13.5px}.course-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.course-hero-actions .btn{font-size:11px;padding:8px 6px;min-height:43px;gap:3px}.course-mini-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 9px;margin-top:21px}.course-mini-features span{font-size:10px}.course-mini-features small{font-size:9px}.course-hero-slider{height:315px;border-radius:18px}.course-slide{border-radius:18px}.course-slide-caption{left:10px;bottom:12px;padding:12px 13px;max-width:82%}.course-slide-caption b{font-size:15px}.course-slide-caption span{font-size:10px}.course-slide-label{top:10px;left:10px;font-size:8px}.course-slider-controls{bottom:-17px}.course-illustrated-slide{grid-template-columns:1fr 1fr;padding:15px;gap:10px}.course-illustrated-slide h3{font-size:25px}.course-illustrated-slide p{font-size:11px}.course-campaigns{width:calc(100% - 26px);grid-template-columns:1fr;gap:11px;margin-top:28px}.course-campaign{min-height:115px;border-radius:15px}.course-campaign>div{padding:13px}.course-campaign img{flex-basis:29%;width:29%}.course-campaign h2{font-size:17px}.course-campaign p{font-size:11.5px}.course-campaign>div>span{font-size:9px}.public-main .landing-portals{margin-top:20px}.public-main .section-title-row h2{font-size:25px}.mobile-menu-panel{right:-1px}}
@media(max-width:370px){.course-hero-actions{grid-template-columns:1fr}.course-hero-slider{height:278px}.course-slide-caption{max-width:87%}.course-mini-features{gap:12px 6px}.course-illustrated-slide h3{font-size:20px}.site-header .top-actions .theme-toggle{display:none}}
@media(prefers-reduced-motion:reduce){.course-slide,.course-campaign,.tutor-card{transition:none!important}}

.tutor-credentials{display:flex;gap:9px;flex-wrap:wrap;margin:-3px 0 21px}.tutor-credentials span{display:inline-block;border:1px solid var(--border);padding:9px 11px;border-radius:11px;background:var(--surface-soft);font-size:12px;color:var(--text-secondary)}.admin-edit-details{min-width:260px;margin:8px 0}.admin-edit-details>summary{cursor:pointer;color:var(--primary);font-weight:700;font-size:11px}.admin-edit-form{margin-top:12px;min-width:min(300px,75vw);border:1px solid var(--border);padding:13px;border-radius:12px;background:var(--surface-soft)}.admin-edit-form label{font-size:11px}.admin-edit-form input,.admin-edit-form textarea{min-width:0}
