/* One visual language; content is never concealed behind an animation. */
.ed-glint-card{position:relative}
.ed-glint-line{position:absolute;inset:0 0 auto;height:2px;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:3;contain:paint}
.ed-glint-line::before{content:"";display:block;width:38%;height:100%;background:linear-gradient(90deg,transparent,#90bac8 25%,#fff 50%,#c4a19a 75%,transparent);transform:translateX(-120%);opacity:0}
.ed-glint-card.ed-glint-seen>.ed-glint-line::before{animation:ed-glint-pass 1.2s cubic-bezier(.25,.6,.4,1) both}
@keyframes ed-glint-pass{0%{transform:translateX(-120%);opacity:0}15%{opacity:.85}85%{opacity:.85}100%{transform:translateX(380%);opacity:0}}
html.ed-motion-suspended .ed-glint-line::before{animation-play-state:paused!important}

/* Washes live around the edges, never behind the reading column. */
html body .jr-hero{background:radial-gradient(ellipse at 0% 100%,#354b65 0,transparent 65%),radial-gradient(ellipse at 100% 0%,#41435a 0,transparent 50%),#293247!important;box-shadow:0 14px 36px #2932470a!important}
html body .jr-calendar-lab{background:radial-gradient(ellipse at 8% 0%,#d9e9f2 0,transparent 58%),linear-gradient(125deg,#e5edf7,#e9eaf7)!important;box-shadow:0 12px 38px #29324706!important}
html body .ed-first-lesson{background:radial-gradient(ellipse at 92% 0%,#455772 0,transparent 65%),#293247!important}
html body .ed-podcast-strip,html body .ed-library-service{background:linear-gradient(115deg,#e9eaf7,#edf2f6)!important}
html body .ed-price-grid>article{background:linear-gradient(145deg,#fff 65%,#eef3f8)!important}
html body .ed-format-grid>article{background:linear-gradient(145deg,#fff 65%,#f1f3f8)!important}
html body .ed-resource--tool{background:linear-gradient(135deg,#e5edf7,#edf1f8)!important}
html body .ed-resource--guide{background:linear-gradient(135deg,#f6ece4,#f8f3ed)!important}
html body .ed-resource--audio{background:linear-gradient(135deg,#e9eaf7,#f1f1f8)!important}
html body .ed-resource-action,html body .jr-story-list i,html body .jr-feature-body i{display:flex;align-items:center;gap:10px}
html body .ed-resource-action>b,html body .jr-story-list i>b,html body .jr-feature-body i>b{display:inline-block;transition:transform .2s ease}

@media(hover:hover) and (pointer:fine){
 html body :is(.ed-resource,.ed-magazine-card,.aa-tests-card,.jr-feature-story,.jr-story-list>a,.ab-project-list>a){transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease!important}
 html body :is(.ed-resource,.ed-magazine-card,.aa-tests-card,.jr-feature-story,.jr-story-list>a,.ab-project-list>a):hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px #29324712!important;border-color:#b5c4d6!important}
 html body .ed-resource:hover .ed-resource-action>b,html body .jr-story-list>a:hover i>b,html body .jr-feature-story:hover i>b{transform:translateX(4px)}
}
/* Visible focus stays distinct from decorative glints. */
html body .ed-resource:focus-visible{outline:3px solid #a9492e;outline-offset:4px}
@media(max-width:760px){.ed-glint-line{height:2px}html body .ed-price-grid>article{background:linear-gradient(135deg,#fff 70%,#eef3f8)!important}html body .ed-article-hero .aa-art-title{font-size:clamp(30px,8.4vw,38px)!important;line-height:1.14!important;letter-spacing:-.025em!important}}
@media(prefers-reduced-motion:reduce){
 .ed-glint-line{display:none!important}
 html body :is(.ed-resource,.ed-magazine-card,.aa-tests-card,.jr-feature-story,.jr-story-list>a,.ab-project-list>a,.ed-resource-action>b,.jr-story-list i>b,.jr-feature-body i>b){animation:none!important;transition:none!important;transform:none!important}
}
@media print{.ed-glint-line{display:none!important}html body .ed-glint-card{box-shadow:none!important}}
