/* Four education cases, retaining the original gently moving photo treatment. */
.learning-gallery--four{grid-template-columns:1.5fr 1fr 1.1fr;align-items:start;gap:30px;--learning-photo-height:clamp(300px,29vw,440px)}
.learning-gallery--four .learning-main img,.learning-gallery--four .learning-mesh img{height:var(--learning-photo-height);min-height:0;width:100%;object-fit:cover}
.learning-gallery--four .learning-scenes{gap:24px}
.learning-gallery--four .learning-scenes img{height:calc((var(--learning-photo-height) - 64px)/2);flex:none;aspect-ratio:auto;object-fit:cover;width:100%}
.learning-gallery--four figcaption{align-items:flex-start;flex-direction:column;gap:5px;line-height:1.45}
.learning-gallery--four figcaption strong{font-size:14px}
.learning-mesh{animation:event-side-sway 10s -2s ease-in-out infinite alternate}
.learning-mesh img{object-position:50% 65%}
.learning-mesh figcaption p{font-size:13px;line-height:1.55;color:#55564f;margin:5px 0 0;max-width:35ch}
@media(max-width:1000px) and (min-width:741px){.learning-gallery--four{gap:22px;grid-template-columns:1.2fr 1fr 1fr;--learning-photo-height:300px}}
@media(max-width:740px){
 .learning-gallery--four{grid-template-columns:1fr;gap:30px}
 .learning-gallery--four .learning-main img{height:auto;aspect-ratio:1.45}
 .learning-gallery--four .learning-scenes{grid-template-columns:1fr 1fr;gap:18px}
 .learning-gallery--four .learning-scenes img{height:auto;aspect-ratio:1.1}
 .learning-gallery--four .learning-mesh img{height:auto;aspect-ratio:1.15;object-position:50% 68%}
 .learning-mesh figcaption p{max-width:none;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.learning-mesh{animation:none;transform:rotate(.6deg)}}
