.im-ed-carousel,.im-ed-news { min-width:0; max-width:100%; }
.im-ed-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 2rem)/3); gap:1rem; overflow-x:auto; scroll-snap-type:x proximity; padding-block:.25rem .75rem; }
.im-ed-card { min-width:0; scroll-snap-align:start; overflow-wrap:anywhere; }
.im-ed-card img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; display:block; }
.im-ed-nav { display:flex; gap:.75rem; justify-content:flex-end; margin-top:.5rem; }
.im-ed-nav[hidden] { display:none; }
.im-ed-nav button { font:inherit; color:inherit; background:transparent; border:1px solid currentColor; border-radius:.4rem; padding:.45rem 1rem; cursor:pointer; }
.im-ed-nav button:disabled { opacity:.45; cursor:default; }
.im-ed-news { width:min(100%,var(--wp--style--global--wide-size,1200px)); margin-inline:auto; }
@media(max-width:900px) { .im-ed-track { grid-auto-columns:calc((100% - 1rem)/2); } }
@media(max-width:600px) { .im-ed-track { grid-auto-columns:90%; } }
