.elementor-1902 .elementor-element.elementor-element-95efdf8:not(.elementor-motion-effects-element-type-background), .elementor-1902 .elementor-element.elementor-element-95efdf8 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5EFE5;}.elementor-1902 .elementor-element.elementor-element-95efdf8 > .elementor-container{max-width:1100px;}.elementor-1902 .elementor-element.elementor-element-95efdf8{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:20px;margin-bottom:0px;}.elementor-1902 .elementor-element.elementor-element-95efdf8 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1902 .elementor-element.elementor-element-e404dbf{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + -20px) 0px;padding:0px 80px 0px 80px;text-align:center;}.elementor-1902 .elementor-element.elementor-element-e404dbf .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:30px;font-weight:600;color:#000000;}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1902 .elementor-element.elementor-element-4c61aa1{margin:-15px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;font-family:"Roboto", Sans-serif;font-weight:400;}.elementor-1902 .elementor-element.elementor-element-e0a3d77{margin:10px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}body.elementor-page-1902:not(.elementor-motion-effects-element-type-background), body.elementor-page-1902 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5EFE5;}/* Start custom CSS *//* =========================================================
   A.X Blog Article Detail Template
   White Card + Typography + Fix Horizontal Scrollbar
   ใช้เฉพาะหน้า Single Post
   ========================================================= */

/* พื้นหลังทั้งหน้า */
html,
body{
  max-width:100% !important;
  overflow-x:hidden !important;
}

body.single-post{
  background:#f5efe5 !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}

/* กัน Elementor ดันหน้าเกินจอ */
body.single-post .elementor,
body.single-post .elementor-section,
body.single-post .elementor-container,
body.single-post .elementor-column,
body.single-post .elementor-widget-wrap,
body.single-post .e-con,
body.single-post .e-con-inner,
body.single-post .elementor-location-single{
  max-width:100% !important;
  overflow-x:hidden !important;
}

/* =========================================================
   กรอบขาวรวม H1 + Content
   ต้องใส่ class: ax-blog-article-card ที่ Section/Container นอกสุด
   ========================================================= */

body.single-post .ax-blog-article-card{
  max-width:980px !important;
  margin:0 auto 96px !important;
  background:#ffffff !important;
  border-radius:34px !important;
  padding:70px 76px 86px !important;
  box-shadow:0 34px 110px rgba(0,0,0,.08) !important;
  border:1px solid rgba(0,0,0,.04) !important;
  overflow:hidden !important;
}

/* ล้างพื้นหลังของ Post Content ไม่ให้ซ้อนอีกชั้น */
body.single-post .ax-blog-article-card .elementor-widget-theme-post-content,
body.single-post .ax-blog-article-card .entry-content{
  width:100% !important;
  max-width:100% !important;
  background:transparent !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  border:0 !important;
  overflow-x:hidden !important;
}

/* =========================================================
   H1 ชื่อบทความ
   ใส่ class: ax-blog-detail-title ที่ Widget Post Title / Heading
   ========================================================= */

body.single-post .ax-blog-detail-title .elementor-heading-title,
body.single-post h1.entry-title,
body.single-post .entry-content h1{
  color:#191714 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:30px !important;
  font-weight:700 !important;
  line-height:1.16 !important;
  letter-spacing:-.035em !important;
  margin:0 0 42px !important;
}

/* =========================================================
   H2 ในบทความ
   ========================================================= */

body.single-post .elementor-widget-theme-post-content h2,
body.single-post .entry-content h2{
  color:#191714 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:25px !important;
  font-weight:700 !important;
  line-height:1.22 !important;
  letter-spacing:-.02em !important;
  margin:54px 0 18px !important;
}

/* =========================================================
   H3 ในบทความ
   ========================================================= */

body.single-post .elementor-widget-theme-post-content h3,
body.single-post .entry-content h3{
  color:#191714 !important;
  font-family:Arial,"Noto Sans Thai",sans-serif !important;
  font-size:22px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
  margin:38px 0 14px !important;
}

/* =========================================================
   Paragraph
   ========================================================= */

body.single-post .elementor-widget-theme-post-content p,
body.single-post .entry-content p{
  color:#4f463b !important;
  font-family:Arial,"Noto Sans Thai",sans-serif !important;
  font-size:17px !important;
  font-weight:400 !important;
  line-height:2.05 !important;
  margin:0 0 22px !important;
}

/* =========================================================
   รูปในบทความ
   ========================================================= */

body.single-post .elementor-widget-theme-post-content img,
body.single-post .entry-content img{
  max-width:100% !important;
  height:auto !important;
  border-radius:28px !important;
  margin:34px auto !important;
  display:block !important;
}

/* กันวิดีโอ / iframe ล้นจอ */
body.single-post img,
body.single-post video,
body.single-post iframe{
  max-width:100% !important;
}

/* =========================================================
   ซ่อน Footer เดิมของ Theme เฉพาะหน้าบทความ
   ไม่กระทบ [ax_footer]
   ========================================================= */

body.single-post .wp-site-blocks > footer,
body.single-post footer.wp-block-template-part,
body.single-post .wp-block-template-part.footer,
body.single-post .site-footer{
  display:none !important;
}

/* =========================================================
   Mobile
   ========================================================= */

@media(max-width:767px){

  body.single-post .ax-blog-article-card{
    max-width:calc(100% - 32px) !important;
    margin:34px auto 64px !important;
    border-radius:24px !important;
    padding:34px 22px 46px !important;
  }

  body.single-post .ax-blog-detail-title .elementor-heading-title,
  body.single-post h1.entry-title,
  body.single-post .entry-content h1{
    font-size:30px !important;
    line-height:1.22 !important;
    margin-bottom:30px !important;
  }

  body.single-post .elementor-widget-theme-post-content h2,
  body.single-post .entry-content h2{
    font-size:26px !important;
    line-height:1.28 !important;
    margin:42px 0 16px !important;
  }

  body.single-post .elementor-widget-theme-post-content h3,
  body.single-post .entry-content h3{
    font-size:21px !important;
    line-height:1.35 !important;
    margin:32px 0 12px !important;
  }

  body.single-post .elementor-widget-theme-post-content p,
  body.single-post .entry-content p{
    font-size:16px !important;
    line-height:1.9 !important;
    margin-bottom:20px !important;
  }

  body.single-post .elementor-widget-theme-post-content img,
  body.single-post .entry-content img{
    border-radius:20px !important;
    margin:26px auto !important;
  }
}

/* Force remove Elementor default 10px column padding */
body.single-post .elementor-column-gap-default .elementor-element-populated{
  padding:0 !important;
}/* End custom CSS */