/* Renderer fragments keep their theme backgrounds, containers, spacing and breakpoints.
   Elementor only overrides these when an editor explicitly chooses a style control. */
.sy-elementor-module{min-width:0;width:100%}
.sy-elementor-module .sy-record-text{margin:0;white-space:normal}
.sy-elementor-module .sy-record-image{display:block;width:100%;height:auto;object-fit:contain}
.sy-elementor-module .sy-record-image-link{display:block}
.sy-elementor-module .sy-article-popular-products,.sy-elementor-module .sy-article-popular-products .article-product{min-width:0}
.sy-elementor-module .sy-article-popular-products .article-product>span:last-child{min-width:0;overflow-wrap:anywhere}
.sy-elementor-module[data-sy-elementor-module="sy-certificate-carousel"]{--sy-widget-columns:3;--sy-widget-gap:24px}
/* Keep the source certificate layout: framed images, separate captions and a top toolbar. */
.sy-elementor-module .sy-certificate-track{position:relative;display:flex;gap:var(--sy-widget-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 0 15px;margin-bottom:24px;max-width:100%}
.sy-elementor-module .sy-certificate-card{flex:0 0 calc((100% - (var(--sy-widget-columns) - 1)*var(--sy-widget-gap))/var(--sy-widget-columns));min-width:0;scroll-snap-align:start;margin:0;padding:0;border:0;border-radius:0;overflow:visible;background:transparent}
.sy-elementor-module .sy-certificate-image{display:block;height:300px;padding:20px;margin-bottom:20px;border:1px solid var(--line,#d8e2f2);border-radius:20px;background:#fff;overflow:hidden}
.sy-elementor-module .sy-certificate-image img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;padding:0;background:transparent}
.sy-elementor-module .sy-certificate-card figcaption{padding:0;background:transparent}
.sy-elementor-module .sy-certificate-card h3{font-size:21px;margin:0 0 8px}
.sy-elementor-module .sy-certificate-card p{font-size:12px;line-height:1.8;margin:0 0 10px}
.sy-elementor-module .sy-certificate-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}
.sy-elementor-module .sy-certificate-toolbar>.certificate-carousel-caption{flex:1;min-width:0}
.sy-elementor-module .sy-certificate-controls{display:flex;flex:none;align-items:center;gap:10px;margin:0}
.sy-elementor-module .sy-certificate-controls button{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:1px solid var(--line,#d8e2f2);border-radius:50%;color:var(--navy,#12304a);background:#fff;cursor:pointer;font-size:19px}
.sy-elementor-module .sy-certificate-controls button:hover:not(:disabled){background:var(--blue,#1759de);color:#fff}
.sy-elementor-module .sy-certificate-controls button:focus-visible{outline:2px solid var(--blue,#1759de);outline-offset:4px}
.sy-elementor-module .sy-certificate-controls .sy-certificate-pause{font-size:0}
.sy-elementor-module .sy-certificate-pause:before{content:"Ⅱ";font-size:16px}
.sy-elementor-module .sy-certificate-pause[aria-pressed="true"]:before{content:"▶";font-size:12px}
.sy-elementor-module [hidden]{display:none!important}
@media(max-width:1024px){.sy-elementor-module[data-sy-elementor-module="sy-certificate-carousel"]{--sy-widget-columns:2}}
/* Existing Elementor article documents already contain these nested native columns. */
@media(max-width:900px){
  .elementor .e-con:has(> .e-con > .elementor-widget-sy-product-list .sy-article-popular-products){--flex-direction:column;--flex-wrap:wrap}
  .elementor .e-con:has(> .e-con > .elementor-widget-sy-product-list .sy-article-popular-products)>.e-con{--width:100%;width:100%;max-width:100%;flex-basis:auto}
}
@media(max-width:767px){.sy-elementor-module[data-sy-elementor-module="sy-certificate-carousel"]{--sy-widget-columns:1}.sy-elementor-module .sy-certificate-card img{height:300px}.sy-elementor-module .sy-certificate-controls{gap:10px}}
@media(prefers-reduced-motion:reduce){.sy-elementor-module .sy-certificate-track{scroll-behavior:auto}}
