/* Recipe cards keep every image intact. Only three long posters have new native layouts. */
html,body,#wrapper{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;width:100%!important}
#viewport{--recipe-card-width:300px;display:grid!important;grid-template-columns:repeat(3,var(--recipe-card-width));grid-auto-rows:max-content;gap:24px!important;justify-content:center;align-items:stretch;box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:4px!important;text-align:center}
#viewport .grid-sizer{display:none!important}
#viewport .item{text-decoration:none!important;color:inherit;position:relative!important;transform:none!important;transition:none!important;opacity:1!important;left:auto!important;top:auto!important;width:var(--recipe-card-width)!important;height:auto!important;margin:0!important;display:flex!important;flex-direction:column;float:none!important;box-sizing:border-box}
.recipe-image-slot{width:100%;aspect-ratio:300/426;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:white}
.recipe-image-slot img{display:block!important;width:100%!important;height:auto!important;max-height:100%;object-fit:contain}
#viewport .item>.overlay{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:calc(var(--recipe-card-width)*426/300)!important;pointer-events:none}
#viewport .sb-description{height:64px!important;min-height:64px!important;max-height:64px!important;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0!important;box-sizing:border-box}
#viewport .title{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:8px!important;box-sizing:border-box;font-size:17px!important;line-height:22px!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
.show-more{grid-column:1/-1;align-self:start;justify-self:center;min-height:44px!important;max-height:44px!important;line-height:20px!important;font-size:17px!important;position:static!important;left:auto!important;top:auto!important;width:247px!important;height:44px!important;margin:24px auto!important;padding:12px!important;box-sizing:border-box;cursor:pointer}
@media(max-width:959px){#viewport{grid-template-columns:repeat(2,var(--recipe-card-width))}}
@media(max-width:639px){#viewport{--recipe-card-width:247px;grid-template-columns:var(--recipe-card-width)}}
