
/* 2.0.0: constrain book covers to their own boxes, never over headings or copy. */
.esm-home .esm-hero{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)!important;align-items:center;isolation:isolate}
.esm-home .esm-hero-copy{position:relative!important;z-index:2!important;min-width:0}
.esm-home .esm-hero-art{position:relative!important;z-index:1!important;width:100%;max-width:100%;min-width:0;overflow:hidden!important;contain:layout paint;isolation:isolate}
.esm-home .esm-hero-book{box-sizing:border-box!important;max-width:48%!important;max-height:82%!important;overflow:hidden!important;transform-origin:center center}
.esm-home .esm-hero-book img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.esm-home .esm-hero-book-2{z-index:0!important}
.esm-home .esm-hero-book-3{z-index:2!important}
.esm-home .esm-grid .esm-card{display:flex;flex-direction:column;min-width:0;overflow:hidden!important;isolation:isolate}
.esm-home .esm-grid .esm-card .esm-cover{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto;overflow:hidden!important;isolation:isolate;box-sizing:border-box!important;max-width:100%!important;min-width:0}
.esm-home .esm-grid .esm-card .esm-cover img{position:static!important;display:block!important;flex:0 1 auto!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
.esm-home .esm-grid .esm-card .esm-card-body{position:relative!important;z-index:1!important;flex:1 1 auto;min-width:0;overflow-wrap:anywhere;background:#fff}
.esm-home .esm-grid .esm-card .esm-cover-tag{z-index:2!important;max-width:calc(100% - 20px)}
.esm-landing .esm-landing-cover{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;isolation:isolate;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.esm-landing .esm-landing-cover img{position:static!important;display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(650px,75vh)!important;object-fit:contain!important;object-position:center!important;transform:none!important}
.esm-landing .esm-landing-layout{min-width:0;align-items:start}
.esm-landing .esm-landing-info{position:relative;z-index:1;min-width:0;overflow-wrap:anywhere}
.esm-pages .esm-library-cover{position:relative;overflow:hidden!important;display:flex;align-items:center;justify-content:center}
.esm-pages .esm-library-cover img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}
@media(max-width:800px){
 .esm-home .esm-hero{grid-template-columns:minmax(0,1fr)!important}
 .esm-home .esm-hero-copy{z-index:2!important}
 .esm-home .esm-hero-art{height:clamp(175px,50vw,285px)!important;min-height:0!important;max-height:285px!important}
 .esm-home .esm-hero-book{max-height:85%!important}
 .esm-landing .esm-landing-cover img{max-height:440px!important}
}
@media(max-width:520px){
 .esm-home .esm-grid .esm-card .esm-cover{height:260px!important;padding:14px!important}
 .esm-home .esm-hero-art{height:200px!important;max-height:200px!important}
 .esm-home .esm-hero-book{max-width:42%!important;max-height:78%!important}
 .esm-landing .esm-landing-cover{min-height:0!important;padding:14px!important}
 .esm-landing .esm-landing-cover img{max-height:360px!important}
}
