
.education-ticker { position:fixed; inset-inline:0; bottom:0; z-index:1000; min-height:44px; box-sizing:border-box; display:flex; align-items:center; gap:12px; padding:10px clamp(12px,4vw,32px) calc(10px + env(safe-area-inset-bottom,0px)); background:#17384a; color:#fff; border-top:2px solid #f5a623; }
.education-ticker[hidden] { display:none; }
body:has(.education-ticker:not([hidden])) { padding-block-end:calc(56px + env(safe-area-inset-bottom,0px)); }
body:has(.education-ticker:not([hidden])) .school-language-tools { inset-block-end:calc(58px + env(safe-area-inset-bottom,0px)); }
body:has(.education-ticker:not([hidden])) .school-translation-status { inset-block-end:calc(110px + env(safe-area-inset-bottom,0px)); }
.education-ticker strong { color:#ffca6b; flex-shrink:0; }
.education-ticker-window { container-type:inline-size; direction:ltr; flex:1; min-width:0; overflow:hidden; }
.education-ticker-window p { width:max-content; max-width:none; margin:0; animation:education-ticker-slide 16s linear infinite; }
.education-ticker:hover p { animation-play-state:paused; }
html[dir="rtl"] .education-ticker-window p { direction:rtl; animation-name:education-ticker-ar; }
@keyframes education-ticker-ar { from { transform:translateX(-100%); } to { transform:translateX(100cqw); } }
@keyframes education-ticker-slide { from { transform:translateX(100cqw); } to { transform:translateX(-100%); } }
.school-whatsapp { position:fixed; inset-inline-start:18px; bottom:calc(68px + env(safe-area-inset-bottom,0px)); z-index:1001; display:grid; place-items:center; width:54px; height:54px; border-radius:50%; background:#167d40; color:#fff; box-shadow:0 4px 14px #0003; }
.school-whatsapp:hover { background:#116332; }
.school-whatsapp:focus-visible { outline:3px solid #f5a623; outline-offset:3px; }
.school-whatsapp svg { width:30px; height:30px; }
@media print { .school-whatsapp,.education-ticker { display:none!important; } }
@media (prefers-reduced-motion:reduce) { .education-ticker-window p { animation:none; width:auto; overflow-wrap:anywhere; } }
@media (max-width:480px) { .education-ticker { gap:8px; font-size:.8rem; } }

.education-ticker { left:0; right:auto; width:100%; max-width:100vw; border-radius:0; }
.education-ticker strong { font-size:.82rem; }
body:has(.education-ticker:not([hidden])) .school-whatsapp { inset-inline-start:auto; inset-inline-end:18px; bottom:calc(128px + env(safe-area-inset-bottom,0px)); }
@media(max-width:600px) {
 .education-ticker { gap:8px; padding-inline:12px; }
 .education-ticker-window { min-width:0; }
 .education-ticker-window p { white-space:nowrap; }
}

.education-ticker{position:fixed!important;inset:auto 0 0!important;width:auto!important;max-width:100%!important;margin:0!important;border-radius:0!important;box-sizing:border-box;overflow:hidden;direction:ltr;transform:none!important}
html[dir=rtl] .education-ticker{flex-direction:row-reverse}
.education-ticker-window{position:relative;contain:paint;container-type:normal;height:1.8em;line-height:1.8}
.education-ticker-window p{position:absolute;top:0;left:0;white-space:nowrap;line-height:1.8;animation-name:education-ticker-safe-en}
html[dir=rtl] .education-ticker-window p{animation-name:education-ticker-safe-ar}
@keyframes education-ticker-safe-ar{from{left:0;transform:translateX(-100%)}to{left:100%;transform:translateX(0)}}
@keyframes education-ticker-safe-en{from{left:100%;transform:translateX(0)}to{left:0;transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.education-ticker-window p{position:static;white-space:normal;animation:none!important}.education-ticker-window{height:auto}}

.education-ticker.ticker-keyboard-hidden{visibility:hidden}


/* Let the viewport size the bar, and animate only the message within it. */
html .education-ticker { inset-inline:0!important; bottom:var(--ticker-bottom,0px)!important; }
.education-ticker-window { container-type:inline-size; }
.education-ticker-window p { left:0; animation-name:education-ticker-slide; }
html[dir="rtl"] .education-ticker-window p { animation-name:education-ticker-ar; }
