.elementor-4888 .elementor-element.elementor-element-hly0rnz{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-m3yt528{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-20l1qkt{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-luacb4f{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-i488jou{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-4wgmhif{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-ga46q89{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-pn8dfwp{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-sa3i9vr{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-r8r8jvr{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-smkpgh6{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4888 .elementor-element.elementor-element-lcvnsxs{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}/* Start custom CSS */@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600;700;800&display=swap');

/* 1. Hide theme footer */
.site-footer { display: none !important; }

/* 2. Numbered rule sections: Thai → Sarabun */
#eligibility [lang="th"],
#notification [lang="th"],
#shortlisted [lang="th"] {
  font-family: 'Sarabun', sans-serif !important;
  font-size: calc(1em + 1px) !important;
}

/* 3. Hero: กติกาการส่งผลงาน → Noto Sans Thai */
[style*="2.4vw"][style*="opacity:.92"] {
  font-family: 'Noto Sans Thai', sans-serif !important;
}

/* 4. Competition: Thai category names → Noto Sans Thai */
[style*="1.3vw"][style*="#3D3938"] {
  font-family: 'Noto Sans Thai', sans-serif !important;
}

/* 5. Competition: English descriptions → explicit Poppins */
[style*="opacity:.78"][style*="margin-top:10px"] {
  font-family: 'Poppins', sans-serif !important;
}

/* 6. Section labels (เกณฑ์การสมัคร ฯลฯ) in TOC → Noto Sans Thai, uniform 13px */
.reg-toc-link span[style*="font-weight:600"] {
  font-family: 'Noto Sans Thai', sans-serif !important;
  font-size: 13px !important;
}

/* 7. Section labels in content → Noto Sans Thai */
[style*="letter-spacing:.18em"][style*="text-transform:uppercase"] {
  font-family: 'Noto Sans Thai', sans-serif !important;
}

/* 8. Mobile ≤640px */
@media (max-width: 640px) {
  .reg-hero-grid { grid-template-columns: 1fr !important; }
  .reg-hero-grid > * { min-width: 0 !important; overflow: hidden; }
  [style*="15.5vw"] { font-size: clamp(48px, 13vw, 64px) !important; overflow-wrap: break-word !important; }
  [style*="8.2vw"]  { font-size: clamp(24px, 6.5vw, 34px) !important; }
  .reg-toc { margin-top: 8px; }
  .reg-shape-hide-mobile { display: none !important; }
  .reg-about-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .reg-keydates-grid { grid-template-columns: 1fr !important; }
  .reg-cat-grid { grid-template-columns: 1fr !important; }
  .reg-rules-grid { grid-template-columns: 1fr !important; }
  .reg-rules-row { grid-template-columns: 56px 1fr !important; }
  .reg-cta-row { flex-direction: column !important; align-items: stretch !important; }
  .reg-cta-row > a { text-align: center !important; justify-content: center !important; }
  .reg-submit-links { flex-direction: column !important; }
  .reg-submit-links > a { width: 100%; box-sizing: border-box; text-align: center; }
  .reg-article-rule { grid-template-columns: 44px 1fr !important; gap: 12px !important; }
  .reg-notif-row { grid-template-columns: 48px 1fr !important; gap: 14px !important; }
  #eligibility div[style*="1fr 1fr"],
  #shortlisted div[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
  #eligibility div[style*="72px 1fr"],
  #notification div[style*="72px 1fr"],
  #shortlisted div[style*="72px 1fr"] { grid-template-columns: 72px 1fr !important; }
  #article-contest div[style*="56px 1fr"] { grid-template-columns: 56px 1fr !important; }
  .elementor-widget-html { overflow-x: hidden; }
  .elementor-widget-html * { max-width: 100%; box-sizing: border-box; }
}

/* 9. Tablet 641–960px */
@media (min-width: 641px) and (max-width: 960px) {
  .reg-hero-grid { grid-template-columns: 1fr !important; }
  .reg-hero-grid > * { min-width: 0 !important; }
  .reg-toc { max-width: 480px; }
  .reg-about-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .reg-rules-grid { grid-template-columns: 1fr !important; }
  #eligibility div[style*="1fr 1fr"],
  #shortlisted div[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* 10. TOC hover */
.reg-toc-link:hover { color: var(--wtd-orange) !important; }/* End custom CSS */