/* RK site-wide (kpproof) – boxed width + menu font, 1 Dec 2026 */
html body.rk main.site-main,html body.rk .site-main{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;width:100%!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box}
body.rk .site-main .e-con.e-con-full,body.rk .site-main .e-con-boxed>.e-con-inner{max-width:100%}
@media(max-width:767px){body.rk .site-main{padding-left:12px;padding-right:12px}}
.rk-hdr .elementor-nav-menu a,.rk-hdr .elementor-nav-menu--dropdown a,.rk-mega,.rk-mega *,.rk-mm,.rk-mm *{font-family:'Noto Sans Thai Looped','Noto Sans Thai',sans-serif!important}
.rk-hdr .elementor-nav-menu--main>.elementor-nav-menu>li>a{font-size:15.5px!important;font-weight:500!important;letter-spacing:.1px}
.rk-mega h3,.rk-mega b,.rk-mm-head{font-weight:600!important}
.rk-nc .rk-nc-body b,.rk-hc .rk-hc-body b{color:#1b2440!important}.rk-nc:hover .rk-nc-body b,.rk-hc:hover .rk-hc-body b{color:#7a0b14!important}
.rk-pj-btn{text-align:center}

/* ===== hover/focus contrast fix (override Hello reset.css button:hover #c36/white) ===== */
html body button:hover,html body button:focus,html body [type=button]:hover,html body [type=button]:focus,html body [type=submit]:hover,html body [type=submit]:focus{background-color:#c8102e;color:#fff}
html body .rcm-mp-chips button:not([aria-pressed=true]):is(:hover,:focus,:focus-visible){background:#fff7f8!important;border-color:#e8344a!important;color:#1b2440!important;box-shadow:0 4px 12px rgba(122,11,20,.12)}
html body .rcm-mp-chips button:not([aria-pressed=true]):is(:hover,:focus,:focus-visible) small{color:#7a0b14!important}
html body .rcm-mp-chips button[aria-pressed=true],html body .rcm-mp-chips button[aria-pressed=true]:is(:hover,:focus,:focus-visible){background:linear-gradient(110deg,#7a0b14,#c8102e)!important;border-color:transparent!important;color:#fff!important}
html body .rcm-mp-chips button[aria-pressed=true] small{color:#fde3e7!important}
html body .rcm-mp-color,html body .rcm-mp-color:is(:hover,:focus,:focus-visible){background:#fff!important;color:#1b2440!important}
html body .rcm-mp-color:is(:hover,:focus-visible){border-color:#e8344a!important;box-shadow:0 8px 20px rgba(122,11,20,.14)!important;transform:translateY(-2px)}
html body .rcm-mp-color[aria-pressed=true],html body .rcm-mp-color[aria-pressed=true]:is(:hover,:focus,:focus-visible){border:2px solid #c8102e!important;box-shadow:0 8px 20px rgba(200,16,46,.20)!important}
html body .rcm-mp-color:focus:not(:focus-visible){outline:none}
html body .rcm-mp-types button:not([aria-pressed=true]):is(:hover,:focus,:focus-visible){background:#fff7f8!important;border-color:#e8344a!important;color:#7a0b14!important}
html body .rcm-mp-types button[aria-pressed=true],html body .rcm-mp-types button[aria-pressed=true]:is(:hover,:focus,:focus-visible){background:#1b2440!important;border-color:#1b2440!important;color:#fff!important}
html body .rk-filter button:is(:hover,:focus,:focus-visible){background:#fff7f8!important;color:#7a0b14!important}
html body .rcm-cf-chips a:not([aria-current]):is(:hover,:focus){color:#7a0b14!important;background:#fff7f8!important}
html body .rf-btn.line,html body .rk-float-line,html body .rk-btn-line,html body .rk-pj-btn.line{background:#059a46!important;color:#fff!important}
html body .rf-btn.line:is(:hover,:focus),html body .rk-float-line:is(:hover,:focus),html body .rk-btn-line:is(:hover,:focus),html body .rk-pj-btn.line:is(:hover,:focus){background:#04803a!important;color:#fff!important}
html body .kpay-acts a.line,html body .kpay-slip a.btn{background:#059a46!important;color:#fff!important}
html body .kpay-acts a.line:is(:hover,:focus),html body .kpay-slip a.btn:is(:hover,:focus){background:#04803a!important;color:#fff!important}
html body .rcm-mp-color{white-space:normal!important;min-width:0;overflow:hidden}
html body .rcm-mp-color b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;overflow-wrap:anywhere;line-height:1.35}
html body .rcm-mp-color small,html body .rcm-mp-color .pr{white-space:normal!important;overflow-wrap:anywhere}
html body .rcm-mp-chips button,html body .rcm-mp-types button{white-space:normal!important}
