.smc-lis{position:relative;max-width:100%}
.smc-lis .smc-lis-track{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:var(--smc-gap,20px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 2px 10px;margin:0!important;align-items:stretch}
.smc-lis .smc-lis-track::-webkit-scrollbar{display:none}
.smc-lis .smc-lis-track>*{flex:0 0 calc((100% - (var(--smc-per) - 1) * var(--smc-gap,20px)) / var(--smc-per))!important;width:auto!important;max-width:none!important;min-width:0;scroll-snap-align:start;box-sizing:border-box;margin:0!important}
.smc-lis{--smc-per:3}
.smc-lis[data-per="1"]{--smc-per:1}.smc-lis[data-per="2"]{--smc-per:2}.smc-lis[data-per="4"]{--smc-per:4}
@media (max-width:1024px){.smc-lis,.smc-lis[data-per]{--smc-per:2}}
@media (max-width:640px){.smc-lis,.smc-lis[data-per]{--smc-per:1}.smc-lis .smc-lis-track{gap:14px}.smc-lis .smc-lis-track>*{flex-basis:100%!important}}
.smc-lis .smc-lis-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}
.smc-lis .smc-lis-btn{width:42px;height:42px;border-radius:50%;border:1px solid #d5dbe8;background:#fff;color:#172850;cursor:pointer;display:grid;place-items:center;padding:0;box-shadow:0 4px 12px rgba(23,40,80,.12);transition:transform .2s,background .2s}
.smc-lis .smc-lis-btn:hover{background:#172850;color:#fff;transform:translateY(-1px)}
.smc-lis .smc-lis-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.smc-lis .smc-lis-dots{display:flex;gap:7px}
.smc-lis .smc-lis-dots i{width:8px;height:8px;border-radius:50%;background:#c4cce0;cursor:pointer;transition:all .25s}
.smc-lis .smc-lis-dots i.on{background:#0a66c2;width:22px;border-radius:6px}
@media (prefers-reduced-motion:reduce){.smc-lis .smc-lis-track{scroll-behavior:auto}}

/* v1.0.4: ProFeedWP real classes, high specificity */
html body div.smc-lis.smc-lis .profeedwp-feed-container .profeedwp-feed-posts.profeedwp-feed-grid,
html body div.smc-lis.smc-lis .profeedwp-feed-container .profeedwp-feed-posts.profeedwp-feed-grid{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:var(--smc-gap,20px)!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 2px 10px!important;margin:0!important;align-items:stretch!important}
html body div.smc-lis.smc-lis .profeedwp-feed-posts::-webkit-scrollbar{display:none}
html body div.smc-lis.smc-lis .profeedwp-feed-posts.profeedwp-feed-grid>.profeedwp-feed-post-link{flex:0 0 calc((100% - (var(--smc-per) - 1) * var(--smc-gap,20px)) / var(--smc-per))!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;scroll-snap-align:start;box-sizing:border-box;display:flex!important}
html body div.smc-lis.smc-lis .profeedwp-feed-posts.profeedwp-feed-grid>.profeedwp-feed-post-link>.profeedwp-feed-post{flex:1 1 auto;min-width:0;width:100%;height:auto!important}
/* Equal-size cards: every picture sits in the same 4:5 frame and is shown whole (never cropped) */
html body div.smc-lis.smc-lis .profeedwp-feed-posts.profeedwp-feed-grid>.profeedwp-feed-post-link>.profeedwp-feed-post{display:flex!important;flex-direction:column!important;height:auto!important;align-self:stretch}
html body div.smc-lis.smc-lis--fullimg .profeedwp-feed-post img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:4/5!important;object-fit:contain!important;background:#f3f5fa}
html body div.smc-lis.smc-lis--fullimg .profeedwp-feed-post>*:first-child{height:auto!important;max-height:none!important;aspect-ratio:auto!important;flex:0 0 auto}
html body div.smc-lis.smc-lis .profeedwp-feed-post>*:not(:first-child){flex:1 1 auto;max-height:10.5em;overflow:hidden}
/* Hide the text under the picture */
html body div.smc-lis.smc-lis--notext .profeedwp-feed-post>*:not(:first-child){display:none!important}

/* v1.0.7: square frame, no empty bars, no forced ProFeed min-height */
html body div.smc-lis.smc-lis--fullimg .profeedwp-feed-post img{aspect-ratio:1/1!important;background:#fff!important}
html body div.smc-lis.smc-lis--notext .profeedwp-feed-posts.profeedwp-feed-grid>.profeedwp-feed-post-link>.profeedwp-feed-post{min-height:0!important}
html body div.smc-lis.smc-lis .profeedwp-feed-posts.profeedwp-feed-grid>.profeedwp-feed-post-link{align-items:flex-start!important}
