/* Gold "27 years in education" seal on the home page. Gold stays gold on every theme (light, dark, glass). */
.xag-seal27{--seal-g1:var(--xag-c-seal-1);--seal-g2:var(--xag-c-seal-2);--seal-g3:var(--xag-c-seal-3);display:flex;justify-content:center;margin:.9rem auto .2rem;line-height:0}
.xag-seal27 svg{width:124px;height:124px;display:block;filter:drop-shadow(0 2px 8px rgba(255,176,0,.4));overflow:visible}
.xag-seal27 .s27-bg{fill:var(--seal-bg,rgba(11,28,45,.9))}
.xag-seal27 text{font-family:var(--xag-font-body);text-anchor:middle;fill:url(#xagSeal27G)}
.xag-seal27 .s27-shine{fill:url(#xagSeal27S);animation:s27shine 5.5s ease-in-out infinite}
@keyframes s27shine{0%,55%{transform:translateX(-150px)}100%{transform:translateX(150px)}}
@media(prefers-reduced-motion:reduce){.xag-seal27 .s27-shine{animation:none;opacity:0}}
@media(max-width:480px){.xag-seal27 svg{width:96px;height:96px}}
/* Chinese / Japanese lines are drawn larger: the English size would be too small to read */
.xag-seal27:lang(zh) text.s27-unit,.xag-seal27:lang(ja) text.s27-unit{font-size:12px;letter-spacing:0}
.xag-seal27:lang(zh) text.s27-line,.xag-seal27:lang(ja) text.s27-line{font-size:10.5px;letter-spacing:.5px}
.xag-seal27:lang(th) text.s27-unit{font-size:11px;letter-spacing:0}
.xag-seal27:lang(th) text.s27-line{font-size:8.6px;letter-spacing:0}
/* Footer seal: its own gradient ids. The CSS fill above points at the home page seal, which is display:none on every other page, so the 27 and the
   words were invisible there. */
.ft-seal text{fill:url(#xagSeal27GF)}
.ft-seal .s27-shine{fill:url(#xagSeal27SF)}
.xag-seal27:lang(ko) text.s27-unit{font-size:11px;letter-spacing:0}
.xag-seal27:lang(ko) text.s27-line{font-size:8.6px;letter-spacing:0}
/* the home seal sits in the same pair as the footer one (face logo + seal, never the seal alone) */
.xag-logo-pair{display:flex;align-items:center;justify-content:center;gap:12px}
.xag-logo-pair .xag-face-logo{display:block;height:84px;width:auto}
.xag-logo-pair .xag-face-logo[hidden]{display:none}
