/* v2.5.1: public-facing page/post design system. Never styles WP admin. */
body.esm-sitewide-v238{--esm251-ink:#1b2942;--esm251-muted:#64748b;--esm251-line:#e2e8f0;--esm251-accent:#2755b8;--esm251-bg:#f6f8fc;background:var(--esm251-bg);color:var(--esm251-ink);overflow-x:clip}
body.esm-sitewide-v238 :is(.site-main,.site-content,.content-area,.entry-content,.wp-block-post-content,.elementor,.elementor-section-wrap){min-width:0}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content,.elementor-widget-theme-post-content){font-size:15px;line-height:1.7;overflow-wrap:anywhere}
body.esm-sitewide-v238 :is(.entry-title,.page-title,.wp-block-post-title){font-size:clamp(1.55rem,3vw,2.35rem);font-weight:750;line-height:1.24;letter-spacing:-.025em;margin-block:0 20px}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(h2,h3,h4){line-height:1.3;letter-spacing:-.015em;margin-block:1.1em .55em}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) h2{font-size:clamp(1.25rem,2.3vw,1.8rem)}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) h3{font-size:clamp(1.1rem,1.8vw,1.4rem)}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(p,ul,ol){margin-block:0 1em}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(img,video,iframe,svg){max-width:100%}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) img{height:auto}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(.wp-block-image,.wp-block-cover,.wp-block-gallery,figure){max-width:100%}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(.wp-block-group,.wp-block-columns){min-width:0;gap:clamp(12px,2vw,24px)}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(.wp-block-quote,blockquote){border-inline-start:3px solid var(--esm251-accent);padding:12px 18px;background:#fff;border-radius:0 10px 10px 0}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(.wp-block-button__link,button,input[type=submit]){border-radius:10px;min-height:38px;font-size:14px;line-height:1.3;padding:9px 14px;white-space:normal}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){font-size:15px;max-width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:9px;padding:9px 12px}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(table,.wp-block-table){max-width:100%;font-size:14px}
body.esm-sitewide-v238 .wp-block-table{overflow-x:auto}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) table :is(th,td){padding:10px 12px;border-color:var(--esm251-line)}
body.esm-sitewide-v238 :is(.wp-block-post-template,.posts-container,.blog-posts){gap:20px}
body.esm-sitewide-v238 :is(.wp-block-post-template,.posts-container) > li{min-width:0}
body.esm-sitewide-v238 :is(.wp-block-post-template,.posts-container) :is(.wp-block-post-title,.entry-title){font-size:clamp(1.1rem,1.7vw,1.45rem);line-height:1.3}
body.esm-sitewide-v238 :is(.wp-block-post-template,.posts-container) img{max-width:100%;height:auto;object-fit:cover}
body.esm-sitewide-v238 :is(.navigation.pagination,.wp-block-query-pagination){display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin-block:22px}
body.esm-sitewide-v238 :is(.navigation.pagination,.wp-block-query-pagination) a{border:1px solid var(--esm251-line);border-radius:9px;padding:7px 12px;background:#fff}
body.esm-sitewide-v238 :is(.comment-respond,.comments-area){max-width:100%;overflow-wrap:anywhere}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(pre,code){overflow-wrap:anywhere}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) pre{overflow-x:auto;max-width:100%;padding:14px;border-radius:10px}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-seller-app,.esm-auth-wrap,.esm-pages-wrap,.esm-checkout,.esm-next){max-width:min(1160px,calc(100% - 28px));margin-inline:auto}
body.esm-header-layout :is(.esm-book-card,.esm-compact-book,.esm-market-card,.esm-cart-item,.esm-pages-card){min-width:0;overflow:hidden;border-radius:13px}
body.esm-header-layout :is(.esm-book-card,.esm-compact-book,.esm-market-card) img{max-width:100%;object-fit:contain}
body.esm-header-layout :is(.esm-action-buy,.esm-action-cart,.esm-action-wish,.esm-cart-remove){min-height:36px;max-width:100%;font-size:13px;line-height:1.25;white-space:normal}
body.esm-header-layout :is(.esm-seller-app,.esm-community,.esm-pages-wrap) :is(input,textarea,select){max-width:100%}
@media(max-width:768px){
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content){font-size:14px}
body.esm-sitewide-v238 :is(.entry-title,.page-title,.wp-block-post-title){font-size:1.55rem}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
body.esm-sitewide-v238 :is(.wp-block-columns){gap:14px}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-seller-app,.esm-auth-wrap,.esm-pages-wrap,.esm-checkout,.esm-next){max-width:calc(100% - 20px)}
}
@media(max-width:480px){
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(table){font-size:12px}
body.esm-sitewide-v238 :is(.entry-content,.wp-block-post-content) :is(.wp-block-button__link,button,input[type=submit]){font-size:13px}
}
@media(prefers-reduced-motion:reduce){body.esm-sitewide-v238 *,body.esm-sitewide-v238 *::before,body.esm-sitewide-v238 *::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
