/* Release 304: bounded corrections on top of the unchanged 303 styles. */
html body .desktop-frame .material-grid[data-view=medium]>.cards.compact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important}
html body .desktop-frame .material-grid[data-view=large]>.cards.compact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))!important}
html body .desktop-frame .material-grid[data-view=list]>.cards.compact-grid{grid-template-columns:minmax(0,1fr)!important}
html body .desktop-frame .material-grid[data-view] .card{min-width:0;max-width:100%;box-sizing:border-box}
html body .desktop-frame .material-grid:is([data-view=medium],[data-view=list]) .card .card-open>.book-jacket{grid-area:1/1/auto/auto!important;align-self:start}
html body .desktop-frame .material-grid:is([data-view=medium],[data-view=list]) .card .card-open>.card-copy{grid-area:1/2/auto/auto!important;width:auto;min-width:0;max-width:none;align-self:start}
html body .desktop-frame .material-grid[data-view] .card .card-open:has(.book-cover-fallback)>.card-copy{grid-area:1/1/auto/auto!important}
html body .desktop-frame .material-grid[data-view=large] .card .card-open{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
html body .desktop-frame .material-grid[data-view=large] .card .card-open>.book-jacket{grid-area:1/1/auto/auto!important;justify-self:center}
html body .desktop-frame .material-grid[data-view=large] .card .card-open>.card-copy{grid-area:2/1/auto/auto!important;width:auto;min-width:0}
html body .desktop-frame .material-grid[data-view] .card-copy :is(h3,p,.eyebrow){min-width:0;max-width:100%;word-break:normal;overflow-wrap:break-word}
html body .desktop-frame .material-grid[data-view] .card-copy .eyebrow{line-height:1.5;white-space:normal}
html body .desktop-frame .material-grid[data-view] .card .material-actions300{margin-top:auto}

@media(max-width:480px){
html body .desktop-frame .material-grid:is([data-view=medium],[data-view=list]) .card .card-open{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important}
html body .desktop-frame .material-grid:is([data-view=medium],[data-view=list]) .card .card-open>.card-copy{grid-area:2/1/auto/auto!important}
}
html body .desktop-frame .material-grid[data-view] .card .card-open:has(.book-cover-fallback)>.card-copy{grid-area:1/1/auto/auto!important}
