/* academy.html: page styles (moved out of the page <style> block, UI audit 4.1). Loaded after the shared CSS, so the cascade is unchanged. */
body { background: var(--bone); }
.ac-hero { background: var(--ink); color: #fff; padding: var(--hero-top-compact) 0 var(--hero-bottom-compact); }
.ac-hero .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.ac-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin: 0 0 12px; }
.ac-hero .lede { color: rgba(255,255,255,.75); }
.ac-feat { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); }
.ac-feat img { width: 100%; height: 100%; object-fit: cover; }
.ac-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,12,10,.85), transparent 55%); }
.ac-feat .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.ac-feat .cap b { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; display: block; line-height: 1.05; }
.ac-feat .cap small { color: rgba(255,255,255,.8); }
.ac-feat .big-play { position: absolute; z-index: 1; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: var(--r-round); background: var(--blaze); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ac-feat .big-play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.ac-access { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.08); border: 1px solid var(--on-dark-line); font-size: var(--fs-sm); }
.ac-access .icon { width: 18px; height: 18px; color: var(--blaze); }
.ac-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.ac-tools .eb-search { flex: 1 1 260px; max-width: 420px; }
.ac-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 26px; }
.ac-chips::-webkit-scrollbar { display: none; }
.ac-row { margin-bottom: 40px; }
.ac-row h3 { font-size: 1.5rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.ac-row h3 small { font-family: var(--font-body); text-transform: none; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
.ac-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.ac-scroll::-webkit-scrollbar { display: none; }
.teachers { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.teacher { flex: none; width: 160px; text-align: center; display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.teacher .avatar { width: 64px; height: 64px; font-size: 1.2rem; }
.teacher b { font-size: var(--fs-sm); }
.teacher small { color: var(--muted); font-size: .76rem; }
/* Player */
.pl { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 28px 0 64px; align-items: start; }
.pl-video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); }
.pl-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #fff; isolation: isolate; }
.pl-lock img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(2px) brightness(.45); }
.pl-lock h3 { font-size: 1.8rem; margin: 10px 0 6px; }
.pl-lock p { color: rgba(255,255,255,.8); max-width: 420px; margin: 0 auto 16px; }
.pl-lock .icon { width: 30px; height: 30px; color: var(--blaze); }
.pl h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 18px 0 6px; }
.pl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: var(--fs-sm); align-items: center; }
.pl-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pl-teacher { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); margin: 16px 0; flex-wrap: wrap; }
.pl-teacher .avatar { width: 54px; height: 54px; }
.pl-teacher .grow { flex: 1; min-width: 200px; }
.pl-teacher b { display: block; }
.pl-teacher small { color: var(--muted); font-size: var(--fs-xs); }
.chapters { display: grid; gap: 6px; margin-top: 10px; }
.chapters button { display: flex; gap: 12px; align-items: center; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); }
.chapters button:hover { border-color: var(--ink); }
.chapters time { font-variant-numeric: tabular-nums; color: var(--blaze); font-weight: 700; font-size: var(--fs-xs); min-width: 42px; }
.pl-side h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pl-side .video-card { grid-template-columns: 150px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.pl-side .vc-thumb { border-radius: var(--r-sm); }
.pl-side .vc-body b { font-size: var(--fs-sm); }
@media (max-width: 1000px) { .pl { grid-template-columns: 1fr; } .ac-hero .grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ac-grid { grid-template-columns: 1fr; } .ac-scroll { grid-auto-columns: 78%; } .pl-side .video-card { grid-template-columns: 130px minmax(0, 1fr); } .ac-tools .eb-select { flex: 1; } }
