/* Studio home: the Everyday English door art. Black and white only, transparent background, so it reads as all
   Everyday English courses rather than one module (module colours belong inside each course). The entrance and
   ambient motion come from ee-course.css (.ee-cover.play …); this file only re-frames and recolours it. */
.door-english.has-ee-door{background:#0b0b0b}
.door-english .ee-door-cover{--ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.34,1.56,.64,1);position:absolute;inset:0;z-index:-1;max-width:none;margin:0;aspect-ratio:auto;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;transition:transform 1.2s var(--ease,cubic-bezier(.2,.8,.2,1))}
.door-english .ee-door-cover::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(180deg,rgba(11,11,11,0),rgba(11,11,11,.85));pointer-events:none}
.door-english:hover .ee-door-cover{transform:scale(1.04)}
.door-english .ee-door-cover .ee-cover-svg{width:100%;height:auto;max-height:100%}
/* recolour: everything white on black; people's white fills become the door's black; curves stay faint */
.ee-door-cover .bg{fill:transparent}
.ee-door-cover path{fill:#fff}
.ee-door-cover .people path[fill="#fff"],.ee-door-cover .people .m{fill:#0b0b0b}
.ee-door-cover .people path[fill="#E6E7E7"]{fill:#3a3a3a}
.ee-door-cover .curves path{fill:#fff;opacity:.28}
.ee-door-cover .welcome-shadow{display:none}
/* the card's own title is said by the art; keep it for screen readers only */
.door-english.has-ee-door>strong{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* the art fills the card's top (16:9 of its width); the text starts just under the art's lettering */
.door-english.has-ee-door .door-text{margin-top:calc(56.25% - 2px)}
/* the level line cycles: Elementary → Pre-Intermediate → Intermediate+ */
.ee-door-cover.play .ee-door-level{animation:ee-door-cycle 4.5s ease-in-out infinite both;animation-delay:calc(1.6s + var(--n) * 1.5s)}
.ee-door-cover.still .ee-door-level:not(:first-child){display:none}
@keyframes ee-door-cycle{0%{opacity:0;translate:0 18px}7%,30%{opacity:1;translate:0 0}37%,100%{opacity:0;translate:0 -18px}}
