:root {
  --bg: #0b0c0c;
  --surface: #171817;
  --surface-2: #20211f;
  --surface-3: #292a27;
  --text: #f5f5f2;
  --muted: #9c9e99;
  --accent: #ffb000;
  --accent-2: #ff6d4a;
  --accent-soft: rgba(255,176,0,.12);
  --border: rgba(255,255,255,.09);
  --success: #40c98a;
  --danger: #ff6d6d;
  --info: #63a8ff;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --shadow: 0 18px 60px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; min-height:100vh; color:var(--text); background:var(--bg); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height:1.5; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
button,input,select,textarea { font:inherit; }
.container { width:min(var(--max), calc(100% - 32px)); margin-inline:auto; }
main { min-height:60vh; }

/* SkillBridge header logo */
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    width: 205px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}
.site-header { position:sticky; top:0; z-index:80; background:rgba(11,12,12,.92); border-bottom:1px solid var(--border); backdrop-filter:blur(16px); }
.nav-wrap { height:76px; display:flex; align-items:center; gap:26px; }
.brand { display:inline-flex; align-items:center; gap:11px; font-weight:900; }
.brand-mark { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; color:#171817; background:linear-gradient(145deg,#ffd45c,var(--accent)); box-shadow:0 8px 22px rgba(255,176,0,.2); font-weight:950; }
.brand-copy { display:grid; line-height:1.1; }
.brand-copy b { font-size:18px; }
.brand-copy small { color:var(--muted); font-size:10px; font-weight:700; margin-top:4px; letter-spacing:.03em; }
.main-nav { margin-left:auto; display:flex; align-items:center; gap:24px; font-size:14px; font-weight:700; }
.main-nav > a:not(.btn) { color:#d6d7d3; }
.main-nav > a:not(.btn):hover { color:var(--accent); }
.nav-toggle,.mobile-head-actions { display:none; }

.btn { min-height:45px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 18px; border:0; border-radius:13px; cursor:pointer; font-weight:850; transition:.18s ease; }
.btn:hover { transform:translateY(-1px); }
.btn-accent,.btn-primary { background:var(--accent); color:#171817; }
.btn-dark { background:#111; color:white; }
.btn-outline { color:white; border:1px solid var(--border); background:transparent; }
.btn-sm { min-height:38px; padding:0 14px; border-radius:11px; }
.btn-block { width:100%; }
button:disabled { opacity:.5; cursor:not-allowed; transform:none!important; }

.app-home { padding:34px 0 82px; }
.app-home-inner { display:grid; gap:30px; }
.app-search { max-width:760px; margin:0 auto; width:100%; height:64px; background:#1b1c1a; border:1px solid var(--border); border-radius:21px; display:flex; align-items:center; gap:12px; padding:0 15px 0 20px; box-shadow:0 12px 35px rgba(0,0,0,.18); }
.app-search-icon { color:#747771; font-size:28px; line-height:1; }
.app-search input { flex:1; min-width:0; color:white; background:transparent; border:0; outline:0; font-size:16px; }
.app-search input::placeholder { color:#777a75; }
.filter-trigger { width:42px; height:42px; border:0; border-radius:13px; background:var(--accent-soft); color:var(--accent); font-size:22px; font-weight:900; cursor:pointer; }

.promo-banner { position:relative; min-height:300px; overflow:hidden; border-radius:28px; display:grid; grid-template-columns:1.1fr .9fr; background:linear-gradient(125deg,#fff9e8 0%,#fff2cc 50%,#ffd66a 100%); color:#111; box-shadow:var(--shadow); }
.promo-copy { position:relative; z-index:3; padding:42px 48px; max-width:650px; }
.promo-eyebrow,.section-eyebrow { display:block; text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:900; }
.promo-eyebrow { color:#8f5b00; }
.promo-copy h1 { margin:10px 0 14px; max-width:650px; font-size:clamp(34px,5vw,62px); line-height:.98; letter-spacing:-.045em; }
.promo-copy h1 em { color:#f36f40; font-style:normal; }
.promo-copy p { max-width:530px; color:#4c493f; font-size:16px; }
.promo-link { display:inline-flex; align-items:center; gap:10px; margin-top:12px; font-weight:900; }
.promo-link span { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#111; color:white; }
.promo-art { position:relative; min-height:300px; }
.orb { position:absolute; border-radius:50%; filter:blur(.2px); }
.orb-a { width:280px; height:280px; right:34px; top:18px; background:rgba(255,255,255,.5); }
.orb-b { width:160px; height:160px; right:-20px; bottom:-35px; background:rgba(255,128,67,.3); }
.laptop { position:absolute; width:220px; height:140px; right:42px; bottom:32px; border-radius:13px 13px 5px 5px; background:#303434; transform:rotate(-6deg); box-shadow:0 22px 45px rgba(36,30,11,.22); }
.laptop:before { content:""; position:absolute; inset:10px; background:linear-gradient(140deg,#1c1e1d,#545851); border-radius:7px; }
.laptop:after { content:""; position:absolute; width:258px; height:13px; left:-19px; bottom:-9px; background:#797d75; border-radius:3px 3px 12px 12px; }
.learner-shape { position:absolute; width:115px; height:115px; right:220px; bottom:80px; border-radius:55% 45% 46% 54%; background:#f9a76b; box-shadow:inset 0 -25px 0 #8b9c9e; transform:rotate(10deg); }
.learner-shape:before { content:""; position:absolute; width:74px; height:58px; border-radius:50%; top:-36px; left:20px; background:#2f261f; }

.category-scroller,.course-rail { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.category-scroller::-webkit-scrollbar,.course-rail::-webkit-scrollbar { display:none; }
.category-scroller { gap:10px; margin-top:-4px; }
.category-pill { flex:0 0 auto; border:1px solid var(--border); border-radius:999px; padding:10px 14px; color:#c8cac5; background:var(--surface); font-size:13px; font-weight:800; }
.category-pill small { color:#737670; margin-left:5px; }
.category-pill:hover,.category-pill.active { background:var(--accent); border-color:var(--accent); color:#161716; }
.category-pill.active small { color:#5d480e; }

.home-section { min-width:0; }
.home-section-head { display:flex; justify-content:space-between; gap:18px; align-items:end; margin-bottom:16px; }
.home-section-head h2 { margin:2px 0 0; font-size:26px; line-height:1.1; letter-spacing:-.025em; }
.section-eyebrow { color:#777a74; }
.home-section-head > a { color:var(--accent-2); font-weight:850; font-size:14px; }
.course-rail { gap:18px; padding-bottom:7px; }
.app-course-card { flex:0 0 340px; scroll-snap-align:start; border:1px solid var(--border); background:var(--surface); border-radius:24px; overflow:hidden; box-shadow:0 12px 32px rgba(0,0,0,.18); }
.app-course-image { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:#232421; }
.app-course-image img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.app-course-card:hover .app-course-image img { transform:scale(1.025); }
.course-placeholder { width:100%; height:100%; display:grid; place-items:center; background:radial-gradient(circle at 70% 20%, rgba(255,176,0,.4), transparent 34%), linear-gradient(145deg,#1c2322,#273832); }
.course-placeholder.alt { background:radial-gradient(circle at 25% 25%, rgba(255,109,74,.38), transparent 35%), linear-gradient(145deg,#25211f,#35302b); }
.course-placeholder span { font-size:70px; font-weight:950; color:rgba(255,255,255,.88); }
.course-tag { position:absolute; right:12px; top:12px; max-width:72%; padding:7px 10px; border-radius:10px; color:#251d07; background:var(--accent); font-size:11px; font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-course-body { padding:17px 18px 18px; }
.app-course-body h3 { min-height:52px; margin:0 0 8px; font-size:19px; line-height:1.32; letter-spacing:-.018em; }
.provider-line { margin:0 0 13px; color:var(--muted); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.card-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); color:#c3c5c0; font-size:12px; }
.card-meta span:last-child { color:#f3d28b; }
.card-bottom { display:flex; justify-content:space-between; gap:12px; align-items:center; padding-top:12px; }
.card-bottom strong { font-size:23px; letter-spacing:-.03em; }
.mode-badge { color:#a8aaa5; background:#262724; border-radius:9px; padding:6px 8px; font-size:10px; font-weight:850; }
.dark-empty { border:1px dashed #383a36; background:#141513; color:var(--muted); border-radius:22px; padding:42px 24px; text-align:center; }
.dark-empty > span { display:grid; place-items:center; width:48px; height:48px; margin:0 auto 12px; border-radius:15px; color:var(--accent); background:var(--accent-soft); font-size:26px; }
.dark-empty strong { display:block; color:var(--text); font-size:17px; }
.dark-empty p { max-width:520px; margin:7px auto 0; }
.dark-empty.compact { padding:28px 20px; }

.live-list { display:grid; gap:10px; }
.live-item { display:grid; grid-template-columns:auto 1fr auto; gap:13px; align-items:center; padding:15px 16px; border:1px solid var(--border); background:var(--surface); border-radius:16px; }
.live-dot { width:11px; height:11px; border-radius:50%; background:#ff4f4f; box-shadow:0 0 0 5px rgba(255,79,79,.1); }
.live-item div { display:grid; }
.live-item small { color:var(--muted); margin-top:2px; }
.live-item time { color:#c4c6c1; font-size:12px; font-weight:800; }
.provider-callout { display:grid; grid-template-columns:1fr auto; align-items:center; gap:26px; padding:32px; border:1px solid rgba(255,176,0,.18); border-radius:24px; background:linear-gradient(120deg,#181915,#202013); }
.provider-callout h2 { margin:4px 0 7px; font-size:28px; }
.provider-callout p { color:var(--muted); max-width:720px; margin:0; }

.page-hero { padding:45px 0 28px; background:linear-gradient(180deg,#101110,var(--bg)); border-bottom:1px solid var(--border); }
.page-hero h1 { margin:0; font-size:clamp(32px,5vw,50px); line-height:1.05; letter-spacing:-.04em; }
.page-hero p,.lead { color:var(--muted); max-width:720px; }
.section { padding:38px 0 65px; }
.section-white { background:#0e0f0e; }
.section-title { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.section-title h2 { margin:0; font-size:27px; }
.section-title p { margin:6px 0 0; color:var(--muted); }
.link-arrow { color:var(--accent-2); font-weight:850; }

.filters { display:grid; grid-template-columns:1fr 220px 180px auto; gap:10px; padding:12px; border:1px solid var(--border); background:var(--surface); border-radius:18px; margin-bottom:25px; }
.input,.select,.textarea { width:100%; min-height:48px; padding:11px 13px; border:1px solid var(--border); border-radius:12px; outline:0; color:var(--text); background:#10110f; }
.input::placeholder,.textarea::placeholder { color:#6e716b; }
.input:focus,.select:focus,.textarea:focus { border-color:rgba(255,176,0,.55); box-shadow:0 0 0 3px rgba(255,176,0,.08); }
.textarea { min-height:130px; resize:vertical; }
label { display:block; font-size:13px; font-weight:850; margin-bottom:7px; }
.form-group { margin-bottom:17px; }
.form-help { color:var(--muted); font-size:12px; margin-top:6px; }
.form-error { color:var(--danger); font-size:12px; margin-top:6px; }

.course-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.course-card { overflow:hidden; border:1px solid var(--border); border-radius:22px; background:var(--surface); }
.course-thumb { position:relative; aspect-ratio:16/9; background:#242521; overflow:hidden; }
.course-thumb img { width:100%; height:100%; object-fit:cover; }
.course-thumb-fallback { width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(145deg,#2d3129,#484429); color:var(--accent); font-size:64px; font-weight:950; }
.course-mode { position:absolute; top:12px; right:12px; padding:6px 9px; border-radius:9px; background:var(--accent); color:#201a08; font-size:10px; font-weight:900; }
.course-body { padding:17px; }
.course-provider { color:var(--muted); font-size:12px; }
.course-title { margin:6px 0 10px; font-size:18px; line-height:1.35; }
.course-meta { display:flex; gap:7px; color:#8b8e87; font-size:12px; }
.course-bottom { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px; padding-top:13px; border-top:1px solid var(--border); }
.course-price { font-size:20px; font-weight:950; }
.category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.category-card,.feature,.panel,.metric { border:1px solid var(--border); background:var(--surface); border-radius:18px; }
.category-card { display:flex; gap:12px; align-items:center; padding:16px; }
.category-icon,.feature-icon { color:var(--accent); }
.category-card span:last-child { display:grid; }
.category-card small { color:var(--muted); }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature { padding:22px; }
.feature h3 { margin:10px 0 6px; }
.feature p { color:var(--muted); margin:0; }
.cta-panel { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; padding:28px; border:1px solid var(--border); border-radius:22px; background:var(--surface); }

.course-detail { display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; }
.course-intro .hero-kicker { display:inline-flex; padding:7px 10px; border-radius:999px; color:#171817!important; background:var(--accent)!important; border:0!important; font-size:11px; font-weight:900; }
.course-intro h1 { margin:13px 0 14px; font-size:clamp(34px,5vw,54px); line-height:1.04; letter-spacing:-.04em; }
.course-detail-card { position:sticky; top:96px; overflow:hidden; border:1px solid var(--border); background:var(--surface); border-radius:22px; }
.course-detail-card .inside { padding:20px; }
.price-large { font-size:30px; font-weight:950; }
.detail-list { display:grid; gap:9px; margin:18px 0; color:#b3b5b0; font-size:13px; }
.panel { padding:21px; margin-bottom:16px; }
.panel h2,.panel h3 { margin:0; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:14px; }
.empty { padding:36px 20px; text-align:center; color:var(--muted); background:#121311; border:1px dashed #3b3d38; border-radius:16px; }
.empty strong { display:block; color:var(--text); margin-bottom:5px; }

.auth-shell { min-height:calc(100vh - 76px); display:grid; grid-template-columns:.9fr 1.1fr; }
.auth-side { padding:60px max(32px,calc((100vw - var(--max))/2)); display:flex; flex-direction:column; justify-content:center; background:radial-gradient(circle at 30% 20%,rgba(255,176,0,.16),transparent 35%),#121310; }
.auth-side h1 { margin:0 0 15px; font-size:45px; line-height:1.05; }
.auth-side p { color:var(--muted); max-width:490px; }
.auth-benefits { display:grid; gap:10px; margin-top:22px; }
.auth-benefits span { color:#c8cac5; }
.auth-card-wrap { display:grid; place-items:center; padding:42px 24px; }
.auth-card { width:min(500px,100%); padding:25px; border:1px solid var(--border); border-radius:22px; background:var(--surface); }
.auth-card h2 { margin:0; font-size:29px; }
.auth-card > p { color:var(--muted); }
.choice-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px; }
.choice { padding:13px; border:1px solid var(--border); border-radius:12px; background:#111210; }

.flash-stack { padding-top:10px; }
.flash { padding:12px 14px; border:1px solid; border-radius:12px; margin-bottom:8px; font-weight:750; }
.flash-success { color:#8be0b6; background:#10271d; border-color:#1f5539; }
.flash-danger { color:#ff9b9b; background:#2a1313; border-color:#5d2626; }
.flash-info { color:#98c5ff; background:#111e31; border-color:#234671; }

.dashboard { display:grid; grid-template-columns:245px 1fr; min-height:calc(100vh - 76px); }
.sidebar { padding:25px 18px; border-right:1px solid var(--border); background:#111210; }
.sidebar .profile-mini { padding:12px 10px 22px; margin-bottom:14px; border-bottom:1px solid var(--border); }
.sidebar .profile-mini small { color:var(--muted); }
.side-nav { display:grid; gap:4px; }
.side-nav a { padding:11px 12px; border-radius:10px; color:#aaaca7; font-weight:700; }
.side-nav a:hover,.side-nav a.active { color:#171817; background:var(--accent); }
.dashboard-main { min-width:0; padding:31px; }
.dash-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.dash-head h1 { margin:0; font-size:30px; }
.dash-head p { margin:5px 0 0; color:var(--muted); }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-bottom:22px; }
.metric { padding:19px; }
.metric span { color:var(--muted); font-size:12px; }
.metric strong { display:block; margin-top:6px; font-size:27px; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th,td { padding:12px 10px; border-bottom:1px solid var(--border); text-align:left; vertical-align:middle; }
th { color:#7d8079; text-transform:uppercase; letter-spacing:.04em; font-size:11px; }
.badge { display:inline-flex; padding:5px 8px; border-radius:999px; color:#c3c6bf; background:#292a27; font-size:11px; font-weight:850; }
.badge-success { color:#85dbae; background:#143323; }.badge-warning{color:#ffd674;background:#3b2f0e}.badge-info{color:#8bc1ff;background:#152a42}.badge-danger{color:#ff9898;background:#3c1717}
.progress { height:8px; overflow:hidden; border-radius:99px; background:#282a26; }.progress>span{display:block;height:100%;background:var(--accent);border-radius:inherit}

.site-footer { padding:45px 0 105px; border-top:1px solid var(--border); background:#090a09; color:#8f918c; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:30px; }
.site-footer h4 { margin:0 0 10px; color:#e3e4e0; }
.site-footer a:not(.brand) { display:block; margin:7px 0; }
.brand-footer { color:white; margin-bottom:10px; }
.footer-bottom { display:flex; justify-content:space-between; gap:16px; margin-top:28px; padding-top:18px; border-top:1px solid var(--border); font-size:12px; }
.mobile-bottom-nav { display:none; }

@media (max-width:980px){
  .course-grid{grid-template-columns:repeat(2,1fr)} .category-grid{grid-template-columns:repeat(2,1fr)} .feature-grid{grid-template-columns:repeat(2,1fr)}
  .dashboard{grid-template-columns:1fr}.sidebar{padding:13px 18px;border-right:0;border-bottom:1px solid var(--border)}.profile-mini{display:none}.side-nav{display:flex;overflow-x:auto}.side-nav a{white-space:nowrap}
  .metric-grid{grid-template-columns:repeat(2,1fr)} .course-detail{grid-template-columns:1fr}.course-detail-card{position:static}.promo-banner{grid-template-columns:1fr .55fr}.promo-copy{padding:36px}.promo-art{min-height:260px}.learner-shape{right:145px}.laptop{right:15px;transform:scale(.85) rotate(-6deg)}
}

@media (max-width:760px){
  body{padding-bottom:74px}.container{width:min(100% - 28px,var(--max))}.site-header{position:sticky}.nav-wrap{height:72px;gap:10px}.brand-copy small{display:none}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-copy b{font-size:16px}
  .mobile-head-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.currency-chip{display:inline-flex;align-items:center;padding:8px 10px;border-radius:13px;background:#1d1e1b;color:#e9e9e6;font-size:12px;font-weight:850}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;color:#ddd;background:#151614}
  .nav-toggle{display:block;width:38px;height:38px;border:1px solid var(--border);border-radius:12px;background:#181917;color:white;font-size:0}.nav-toggle:after{content:"⋮";font-size:21px}
  .main-nav{display:none;position:absolute;top:65px;left:14px;right:14px;flex-direction:column;align-items:stretch;gap:4px;padding:12px;border:1px solid var(--border);border-radius:17px;background:#181917;box-shadow:var(--shadow)}.main-nav.open{display:flex}.main-nav a{padding:10px 11px;border-radius:10px}
  .app-home{padding:20px 0 34px}.app-home-inner{gap:27px}.app-search{height:60px;border-radius:19px}.promo-banner{min-height:220px;grid-template-columns:1fr;border-radius:22px}.promo-copy{padding:28px 25px;max-width:78%;}.promo-copy h1{font-size:30px;max-width:390px}.promo-copy p{font-size:13px;max-width:360px}.promo-eyebrow{font-size:9px}.promo-link{font-size:13px}.promo-art{position:absolute;right:-20px;bottom:0;width:48%;height:100%;min-height:0;opacity:.95}.laptop{width:140px;height:90px;right:0;bottom:34px;transform:rotate(-7deg)}.laptop:after{width:166px;left:-13px}.learner-shape{width:78px;height:78px;right:82px;bottom:67px}.learner-shape:before{width:53px;height:40px;left:11px;top:-27px}.orb-a{width:165px;height:165px;right:0;top:30px}.orb-b{width:90px;height:90px}
  .category-scroller{margin-inline:-14px;padding-inline:14px}.home-section-head h2{font-size:22px}.course-rail{margin-inline:-14px;padding-inline:14px;gap:14px}.app-course-card{flex-basis:82vw;max-width:365px;border-radius:20px}.app-course-body{padding:15px}.app-course-body h3{font-size:18px}.card-bottom strong{font-size:22px}.provider-callout{grid-template-columns:1fr;padding:23px}.provider-callout h2{font-size:24px}
  .live-item{grid-template-columns:auto 1fr}.live-item time{grid-column:2}.filters{grid-template-columns:1fr}.section{padding:29px 0 45px}.page-hero{padding:32px 0 22px}.section-title{align-items:start;flex-direction:column}.course-grid,.feature-grid,.category-grid,.metric-grid{grid-template-columns:1fr}.cta-panel{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-side{display:none}.auth-card-wrap{padding:30px 14px}.auth-card{padding:21px}.dashboard-main{padding:22px 14px}.dash-head{align-items:start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column}.site-footer{padding-bottom:95px}
  .mobile-bottom-nav{position:fixed;z-index:100;left:0;right:0;bottom:0;height:72px;padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(10,11,10,.96);border-top:1px solid var(--border);backdrop-filter:blur(18px)}.mobile-bottom-nav a{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#c2c4bf}.mobile-bottom-nav a span{font-size:21px;line-height:1}.mobile-bottom-nav a small{font-size:10px;font-weight:750}.mobile-bottom-nav a.active{color:var(--accent)}
}

@media (max-width:420px){
 .promo-copy{max-width:83%;padding:23px 20px}.promo-copy h1{font-size:27px}.promo-copy p{max-width:260px}.promo-art{right:-42px;width:50%}.app-course-card{flex-basis:87vw}.footer-grid{grid-template-columns:1fr}
}
@media (max-width: 700px) {

    .header-logo {
        width: 150px;
        height: 46px;
    }

}
/* Featured courses: maximum five cards, displayed vertically */
.featured-course-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow: visible;
  padding-bottom: 0;
}

.featured-course-rail .app-course-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  align-items: stretch;
  border-radius: 22px;
}

.featured-course-rail .app-course-image {
  aspect-ratio: auto;
  min-height: 190px;
  height: 100%;
}

.featured-course-rail .app-course-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-course-rail .app-course-body h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-course-rail .provider-line { margin-bottom: 12px; }
.featured-course-rail .card-meta { margin-top: 2px; }
.featured-course-rail .card-bottom { margin-top: 16px; }
.featured-course-rail .card-bottom strong { font-size: 22px; }

@media (max-width: 760px) {
  .featured-course-rail {
    display: grid;
    grid-template-columns: 1fr;
    margin-inline: 0;
    padding-inline: 0;
    gap: 16px;
    overflow: visible;
  }

  .featured-course-rail .app-course-card {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 20px;
  }

  .featured-course-rail .app-course-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .featured-course-rail .app-course-body {
    padding: 15px 16px 17px;
  }

  .featured-course-rail .app-course-body h3 {
    font-size: 18px;
  }

  .featured-course-rail .card-bottom strong {
    font-size: 22px;
  }
}
