/* Video 1000045140: prevent tiny, crowded desktop-style layout on narrow devices. */
.esm-home,.esm-pages,.esm-landing{min-width:0!important;container-type:inline-size}
.esm-home .esm-top{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:12px!important}
.esm-home .esm-top nav{display:flex!important;flex-wrap:wrap!important;gap:clamp(8px,1.6vw,20px)!important}
.esm-home .esm-top nav a{font-size:clamp(12px,1.3vw,15px)!important;line-height:1.5;white-space:nowrap}
.esm-home .esm-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr))!important;gap:clamp(12px,2vw,22px)!important}
.esm-home .esm-card{min-width:0!important}
.esm-home .esm-cover{height:clamp(185px,23vw,290px)!important}
.esm-home .esm-card h3{font-size:clamp(15px,1.5vw,19px)!important;line-height:1.4}
.esm-home .esm-description{font-size:clamp(12px,1.2vw,14px)!important;line-height:1.55}
.esm-home .esm-card-body{padding:clamp(12px,1.5vw,20px)!important}
.esm-home .esm-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
.esm-home .esm-hero-art{min-width:0}
.esm-landing .esm-landing-layout{display:grid!important;grid-template-columns:minmax(0,min(35%,390px)) minmax(0,1fr)!important}
.esm-landing .esm-landing-cover{position:static!important;min-width:0}
.esm-landing .esm-landing-preview-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr))!important}
.esm-landing .esm-landing-info,.esm-landing .esm-landing-purchase{min-width:0;width:100%;max-width:none}
.esm-landing .esm-landing-nav{display:flex;flex-wrap:wrap;gap:12px}
.esm-pages .esm-library-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important}
@container (max-width:700px){
 .esm-home .esm-top{justify-content:center!important;text-align:center}
 .esm-home .esm-brand{justify-content:center;flex:1 1 100%}
 .esm-home .esm-top nav{justify-content:center!important;flex:1 1 100%}
 .esm-home .esm-top-cta{margin-inline:auto}
 .esm-home .esm-hero{grid-template-columns:minmax(0,1fr)!important;gap:12px;text-align:left}
 .esm-home .esm-hero-art{min-height:155px;max-height:220px}
 .esm-home .esm-hero h1{font-size:clamp(28px,6vw,40px)!important}
 .esm-home .esm-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .esm-home .esm-cover{height:clamp(145px,34vw,230px)!important}
 .esm-home .esm-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .esm-landing .esm-landing-layout{grid-template-columns:minmax(0,1fr)!important}
 .esm-landing .esm-landing-cover{width:min(100%,400px);margin:0 auto!important}
 .esm-landing .esm-landing-info h1{font-size:clamp(26px,6vw,36px)!important}
 .esm-landing .esm-landing-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .esm-pages .esm-account-grid,.esm-pages .esm-contact-grid{grid-template-columns:minmax(0,1fr)!important}
}
@container (max-width:380px){
 .esm-home .esm-grid{grid-template-columns:minmax(0,1fr)!important}
 .esm-home .esm-cover{height:250px!important}
 .esm-home .esm-card h3{font-size:17px!important}
 .esm-home .esm-description{font-size:13px!important}
 .esm-landing .esm-landing-preview-grid{gap:8px!important}
}
/* Zero outer margins and paddings; internal spacing remains for legibility. */
body.esm-zero-gutters .esm-home,body.esm-zero-gutters .esm-pages,body.esm-zero-gutters .esm-landing{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
