@layer wzd-editorial30-layout {
/* One image card, an uninterrupted caption, and no enclosing gallery frame. */
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 section:has(figure){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 28px!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 section section{border:0!important;box-shadow:none!important;background:transparent!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 .editorial-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;padding:0!important;border:0!important;background:transparent!important;align-items:stretch!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figure{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:0!important;border:1px solid #eadbd3!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important;align-self:stretch!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figure > :is(p,div,a,picture):has(img){display:block!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figure img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain!important;object-position:center top!important;transform:none!important;background:#fff!important}
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30[data-topic] .editorial-gallery figure img{aspect-ratio:4/3!important;object-fit:cover!important;object-position:var(--editorial-image-focus,50% 50%)!important;flex:0 0 auto!important;max-height:none!important}
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30[data-topic="13"] .editorial-gallery figure img:is([src$="05-ho-trai.jpg"],[src$="06-ubosot.jpg"]){aspect-ratio:3/4!important}
/* Match whole-photo series to their native proportions while keeping paired sizes equal. */
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30:is([data-topic="05"],[data-topic="06"]) .editorial-gallery figure img{aspect-ratio:1/1!important}
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30:is([data-topic="26"],[data-topic="28"],[data-topic="30"]) .editorial-gallery figure img{aspect-ratio:16/9!important}
/* A research plate must remain legible and complete. */
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30 figure:has(img[src$="research-mortar-samples.png"]){grid-column:1/-1!important}
html body.wzd-body.single.single-post.wzd-article-uniform-20261012 #wdc-article#wdc-article .wzd-editorial30 figure img[src$="research-mortar-samples.png"]{aspect-ratio:4.494/1!important;object-fit:contain!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figure figcaption{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;flex:1!important;padding:15px 16px!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-align:center!important;line-height:1.7!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption :is(h2,h3,h4,p,div,span,small){padding:0!important;margin:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption :is(h2,h3,h4){font:700 15px/1.6 var(--font-body,"Noto Sans Thai",Inter,sans-serif)!important;color:#8e2521!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption p{font-size:14px!important;line-height:1.7!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption small{font-size:12.5px!important;line-height:1.6!important;color:#675b54!important}
html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption ::before,html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figcaption ::after{content:none!important;display:none!important}
@media(max-width:767px){html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 .editorial-gallery{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 section:has(figure){margin-bottom:22px!important}html body.single.single-post.wzd-article-uniform-20261012 #wdc-article .wzd-editorial30 figure figcaption{padding:13px 14px!important}}

/* Existing local articles: preserve image pixels and remove image top margins. */
html body.single.single-post.wzd-editorial30-live #wdc-article figure:not(.wzd-article-product-photo){padding-top:0!important}
html body.single.single-post.wzd-editorial30-live #wdc-article figure:not(.wzd-article-product-photo) img{display:block;margin-top:0!important;margin-bottom:0!important;padding:0!important;border-radius:0!important}
@media(min-width:769px){
 html body.single.single-post.wzd-editorial30-live #wzd-toc-btn[aria-expanded="false"] + #wzd-toc-list{display:none!important}
 html body.single.single-post.wzd-editorial30-live #wzd-toc-btn[aria-expanded="true"] + #wzd-toc-list{display:block!important;max-height:none!important;overflow:visible!important;opacity:1!important;visibility:visible!important}
 html body.single.single-post.wzd-editorial30-live #wzd-toc-btn .wzd-toc-label em{display:none!important}
 html body.single.single-post.wzd-editorial30-live #wzd-toc-btn[aria-expanded="false"] .wzd-toc-chevron{transform:rotate(180deg)!important}
 html body.single.single-post.wzd-editorial30-live #wzd-toc-btn[aria-expanded="true"] .wzd-toc-chevron{transform:none!important}
 html body.single.single-post.wzd-editorial30-live #wdcBackTop{width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;gap:0!important;border-radius:50%!important;justify-content:center!important;align-items:center!important}
 html body.single.single-post.wzd-editorial30-live #wdcBackTop span{display:none!important}
}

}
