/* Start custom CSS *//* eHowMe v2 type system: English = Google Sans, Thai = Noto Sans Thai */
@font-face{font-family:"eHowMe Latin";src:url("/wp-content/uploads/fonts/google-sans-latin-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0000-024F,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+2605,U+2713,U+FEFF,U+FFFD}
@font-face{font-family:"eHowMe Thai";src:url("/wp-content/uploads/fonts/noto-sans-thai-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
body .elementor [class*="eh-"],body .elementor [class*="eh-"] *{font-family:"eHowMe Latin","eHowMe Thai",sans-serif}
body .elementor .eh-h1 span,body .elementor .eh-h2 span{color:var(--eh-blue)}
@keyframes eh-scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:no-preference){body .elementor .eh-marquee-track{animation:eh-scroll 60s linear infinite}body .elementor .eh-marquee:hover .eh-marquee-track{animation-play-state:paused}}
body .elementor .eh-logo:hover,body .elementor .eh-logo:focus-visible{filter:none;opacity:1}
/* hero work wall: settle-in */
@keyframes eh-settle{from{transform:translateY(22px) scale(.97)}to{transform:none}}
@media (prefers-reduced-motion:no-preference){body .elementor .eh-wall>.eh-tile,body .elementor .eh-wall>.eh-quote-card{animation:eh-settle 1s cubic-bezier(.16,1,.3,1) both}body .elementor .eh-wall>:nth-child(1){animation-delay:0s}body .elementor .eh-wall>:nth-child(2){animation-delay:.1s}body .elementor .eh-wall>:nth-child(3){animation-delay:.2s}body .elementor .eh-wall>:nth-child(4){animation-delay:.32s}}
/* portfolio filter + card hover */
body .elementor .eh-filter[aria-selected="true"],body .elementor .eh-filter[aria-selected="true"]:hover{background-color:var(--eh-ink);border-color:var(--eh-ink);color:#fff}
body .elementor .eh-project:hover .eh-shot{transform:scale(1.04)}
body .elementor .eh-project:hover .eh-go-arrow{transform:translate(2px,-2px)}
/* faq */
body .elementor .eh-faq-item[open] .eh-faq-q{color:var(--eh-blue)}
body .elementor .eh-faq-ico{position:relative}
body .elementor .eh-faq-ico::before{content:"+";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1}
body .elementor .eh-faq-item[open] .eh-faq-ico{transform:rotate(45deg);background-color:var(--eh-ink);border-color:var(--eh-ink);color:#fff}
body .elementor .eh-faq-head::-webkit-details-marker{display:none}

body .elementor .eh-hide{display:none!important}

/* ===== Single post prose ===== */
[data-id="6283fbc2"]{font-family:"eHowMe Latin","eHowMe Thai",sans-serif;font-size:17px;line-height:1.85;color:#2B3A55}
[data-id="6283fbc2"] .elementor-widget-container > *:first-child{margin-top:0}
[data-id="6283fbc2"] p{margin:0 0 1.25em}
[data-id="6283fbc2"] h2{font-family:inherit;font-size:clamp(24px,2.4vw,30px);line-height:1.35;color:#0E1A33;font-weight:700;margin:2.1em 0 .7em;scroll-margin-top:110px}
[data-id="6283fbc2"] h3{font-family:inherit;font-size:clamp(19px,1.8vw,22px);line-height:1.45;color:#0E1A33;font-weight:700;margin:1.8em 0 .6em;scroll-margin-top:110px}
[data-id="6283fbc2"] h4{font-family:inherit;font-size:18px;color:#0E1A33;margin:1.6em 0 .5em}
[data-id="6283fbc2"] strong,[data-id="6283fbc2"] b{color:#0E1A33}
[data-id="6283fbc2"] a{color:#1F5BE0;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
[data-id="6283fbc2"] a:hover{color:#0E1A33}
[data-id="6283fbc2"] ul,[data-id="6283fbc2"] ol{padding-left:1.3em;margin:0 0 1.4em}
[data-id="6283fbc2"] li{margin:.4em 0}
[data-id="6283fbc2"] li::marker{color:#1F5BE0}
[data-id="6283fbc2"] blockquote{margin:1.8em 0;padding:18px 22px;border-left:4px solid #1F5BE0;background:#EEF3FF;border-radius:0 14px 14px 0;color:#0E1A33;font-style:normal}
[data-id="6283fbc2"] blockquote p:last-child{margin:0}
[data-id="6283fbc2"] figure{margin:1.8em 0}
[data-id="6283fbc2"] img{border-radius:16px;height:auto;max-width:100%}
[data-id="6283fbc2"] figcaption{font-size:14px;color:#5A6782;text-align:center;margin-top:8px}
[data-id="6283fbc2"] .wp-block-table{overflow-x:auto;margin:1.8em 0}
[data-id="6283fbc2"] table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #E2E7F1;border-radius:14px;overflow:hidden;font-size:15.5px;line-height:1.6;margin:0}
[data-id="6283fbc2"] th{background:#F5F7FB;text-align:left;font-weight:700;color:#0E1A33}
[data-id="6283fbc2"] th,[data-id="6283fbc2"] td{padding:12px 14px;border:0;border-bottom:1px solid #E2E7F1;vertical-align:top}
[data-id="6283fbc2"] tr:last-child td{border-bottom:0}
[data-id="6283fbc2"] code{background:#F1F3F7;padding:2px 6px;border-radius:6px;font-size:.9em}
[data-id="6283fbc2"] pre{background:#0E1A33;color:#E6ECF7;padding:18px;border-radius:14px;overflow:auto;font-size:14px}
[data-id="6283fbc2"] pre code{background:none;padding:0;color:inherit}
[data-id="6283fbc2"] hr{border:0;border-top:1px solid #E2E7F1;margin:2.4em 0}
[data-id="6283fbc2"] #ez-toc-container,[data-id="6283fbc2"] .ez-toc-v2_0_88{background:#F5F7FB!important;border:1px solid #E2E7F1!important;border-radius:18px!important;padding:18px 22px!important;box-shadow:none!important;width:100%!important;max-width:100%!important;margin:0 0 2.2em!important;display:block!important}
[data-id="6283fbc2"] #ez-toc-container .ez-toc-title{font-weight:700;font-size:16px;color:#0E1A33}
[data-id="6283fbc2"] #ez-toc-container a{color:#0E1A33!important;text-decoration:none}
[data-id="6283fbc2"] #ez-toc-container a:hover{color:#1F5BE0!important}
[data-id="6283fbc2"] #ez-toc-container ul{padding-left:0;margin:10px 0 0}
[data-id="6283fbc2"] #ez-toc-container ul ul{padding-left:1.1em;margin:0}
[data-id="6283fbc2"] #ez-toc-container li{margin:.35em 0;font-size:15.5px;line-height:1.6}
[data-id="6283fbc2"] #ez-toc-container li::marker{content:none}
[data-id="6283fbc2"] .rank-math-block{margin-top:1.4em}
[data-id="6283fbc2"] .rank-math-list-item{border-top:1px solid #E2E7F1;padding:16px 0}
[data-id="6283fbc2"] .rank-math-list-item:last-child{border-bottom:1px solid #E2E7F1}
[data-id="6283fbc2"] .rank-math-question{font-size:18px!important;margin:0 0 6px!important}
[data-id="6283fbc2"] .rank-math-answer p:last-child{margin:0}
@media (max-width:767px){[data-id="6283fbc2"]{font-size:16.5px;line-height:1.8}[data-id="6283fbc2"] #ez-toc-container,[data-id="6283fbc2"] .ez-toc-v2_0_88{padding:14px 16px!important}[data-id="6283fbc2"] table{font-size:14.5px}}

/* fonts: body = Google Sans (TH+EN), headings = Google Sans EN + Noto Sans Thai */
@font-face{font-family:"eHowMe Body";src:url("/wp-content/uploads/fonts/google-sans-latin-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0000-024F,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC}
@font-face{font-family:"eHowMe Body";src:url("/wp-content/uploads/2026/07/google-sans-thai-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
body.single-post [data-elementor-type="single-post"],body.single-post [data-elementor-type="single-post"] :is(p,li,td,th,dd,dt,blockquote,figcaption,a,strong,em,b,small,label,span:not([class*="icon"]):not([class*="dashicons"])){font-family:"eHowMe Body",sans-serif!important}
body.single-post [data-elementor-type="single-post"] :is(h1,h2,h3,h4,h5,h6),body.single-post [data-elementor-type="single-post"] :is(h1,h2,h3,h4,h5,h6) *{font-family:"eHowMe Latin","eHowMe Thai",sans-serif!important}

body.single-post [data-elementor-type="single-post"] :is(#ez-toc-container,.ez-toc-v2_0_80,.ez-toc-container) :is(*):not([class*="icon"]){font-family:"eHowMe Latin","eHowMe Thai",sans-serif!important}

/* category chips above the post title ([eh_post_cats]) */
body .elementor [data-id="4db2dde0"] > span{display:flex;flex-wrap:wrap;gap:8px}
body .elementor [data-id="4db2dde0"] a{display:inline-flex;align-items:center;font-family:"eHowMe Latin","eHowMe Thai",sans-serif;font-size:13px;font-weight:600;line-height:1;color:#1F5BE0;background:#EAF0FD;border:1px solid #D5E1FB;border-radius:999px;padding:7px 13px;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s}
body .elementor [data-id="4db2dde0"] a:hover,body .elementor [data-id="4db2dde0"] a:focus-visible{color:#fff;background:#1F5BE0;border-color:#1F5BE0}/* End custom CSS */