/* v2.0.1: remove THEME wrapper gutters around single ebook pages. */
body.single-esm_book,body.esm-zero-gutters.single-esm_book{margin:0!important;padding:0!important;overflow-x:clip}
body.single-esm_book :is(.site,.site-content,.site-main,.site-inner,.content-area,.content,.site-content-contain,.entry-content,.post-content,.wp-block-post-content,.wp-site-blocks,.wp-block-post-template,.wp-block-group,.wp-block-column,.ast-container,.ast-separate-container,.ast-article-single,.ast-article-post,.generate-content-header,.inside-article,.inside-page,.inside-site,.inside-right-sidebar,.elementor,.elementor-section-wrap,.elementor-widget-wrap,.elementor-widget-container,.e-con,.e-con-inner,.container,.container-fluid):has(.esm-landing){margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;max-width:none!important;width:100%!important;min-width:0!important}
body.single-esm_book :is(main#main,main.site-main,article.esm_book,article.type-esm_book,.entry-content,.wp-block-post-content):has(.esm-landing){margin:0!important;padding:0!important;max-width:none!important;width:100%!important;min-width:0!important}
body.single-esm_book .esm-landing{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow-x:clip!important}
body.single-esm_book :is(.entry-header,.post-header,.page-header,.entry-title,.post-title):has(+ .entry-content .esm-landing){display:none!important}
/* The four landing sections have no outer gutters. Text remains readable via inner content padding. */
body.single-esm_book .esm-landing > :is(.esm-landing-nav,.esm-landing-layout,.esm-landing-preview,.esm-landing-bottom){width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;border-radius:0!important}
body.single-esm_book .esm-landing .esm-landing-layout{padding:clamp(18px,3vw,44px) clamp(14px,3vw,44px)!important}
body.single-esm_book .esm-landing .esm-landing-nav{padding:14px clamp(14px,3vw,44px)!important}
body.single-esm_book .esm-landing .esm-landing-preview{padding:clamp(22px,3vw,44px) clamp(14px,3vw,44px)!important}
body.single-esm_book .esm-landing .esm-landing-bottom{padding:clamp(22px,3vw,44px) clamp(14px,3vw,44px)!important}
body.single-esm_book .esm-landing .esm-landing-cover{max-width:100%!important;overflow:hidden!important}
body.single-esm_book .esm-landing .esm-landing-cover img{max-width:100%!important;height:auto!important;object-fit:contain!important}
@media(max-width:760px){body.single-esm_book .esm-landing .esm-landing-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}body.single-esm_book .esm-landing .esm-landing-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
