.ms-gallery-shell{min-width:0;position:relative}
.ms-gallery-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}
.ms-gallery-controls button{font:inherit;font-size:13px;line-height:1.4;border:1px solid #ccdae8;border-radius:8px;min-height:40px;min-width:42px;padding:8px 14px;background:#fff;color:#173b62;cursor:pointer}
.ms-gallery-controls button:hover{background:#edf5ff;border-color:#86b4e6}
.ms-gallery-controls button:focus-visible{outline:3px solid #168cf1;outline-offset:3px}
.ms-home-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;border-radius:14px;scrollbar-width:thin;scrollbar-color:#afc8e7 #eaf1f8}
.ms-home-gallery figure{margin:0;scroll-snap-align:start;min-width:0}
.ms-home-gallery img{display:block;width:100%;height:370px;object-fit:cover}
.ms-home .ms-button,.ms-home .ms-post-card,.ms-brand-page .ms-team-card{transition:transform .2s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ms-home .ms-button:hover{transform:translateY(-2px)}.ms-home .ms-post-card:hover,.ms-brand-page .ms-team-card:hover{transform:translateY(-4px)}}
@media(max-width:760px){.ms-home-gallery img{height:270px}}
@media(prefers-reduced-motion:reduce){.ms-home .ms-button,.ms-home .ms-post-card,.ms-brand-page .ms-team-card{transition:none}.ms-about-gallery,.ms-home-gallery{scroll-behavior:auto}}
