/* All changes are conditional on a mobile viewport AND successful enhancement. */
@font-face{font-family:EpqKanit;src:url(fonts/Kanit-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:EpqKanit;src:url(fonts/Kanit-SemiBold.ttf) format("truetype");font-weight:600 800;font-display:swap}
.epq-mobile-header,.epq-mobile-dock,.epq-mobile-menu{display:none}
@media(max-width:1024px){
 body.epq-mobile-ux{--epq-navy:#00003a;--epq-orange:#ffab35;--epq-header:72px;padding-top:var(--epq-header)!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
 .epq-mobile-ux header.elementor-location-header{display:none!important}
 .epq-mobile-header{position:fixed;inset:0 0 auto;z-index:99990;display:flex;align-items:center;gap:12px;height:var(--epq-header);padding:12px 18px;background:#fff;border-bottom:1px solid #e4e8ee;box-sizing:border-box;color:var(--epq-navy);font-family:EpqKanit,Kanit,sans-serif}
 .epq-mobile-header .epq-mobile-brand{display:flex;align-items:center;margin-right:auto;min-width:100px;max-width:145px}
 .epq-mobile-brand img{width:100%;height:auto;max-height:32px;object-fit:contain}
 .epq-mobile-ux .epq-mobile-primary{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 15px;border:0;border-radius:7px;background:var(--epq-orange);color:var(--epq-navy);font:600 14px/1.25 EpqKanit,Kanit,sans-serif;text-decoration:none;box-sizing:border-box}
 .epq-mobile-menu-button,.epq-mobile-menu-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border:1px solid #d7deea;border-radius:7px;background:#fff;color:var(--epq-navy);font:600 22px/1 sans-serif;cursor:pointer}
 .epq-mobile-menu[open]{display:block;position:fixed;inset:12px;width:calc(100% - 24px);max-width:560px;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:16px;background:#fff;color:var(--epq-navy);z-index:100000;box-shadow:0 20px 90px #00003a44;font-family:EpqKanit,Kanit,sans-serif}
 .epq-mobile-menu::backdrop{background:#00003a99}
 .epq-mobile-menu-top{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e4e8ee;position:sticky;top:0;background:#fff;z-index:1}
 .epq-mobile-menu-title{margin:0!important;font-size:18px!important;font-weight:600}
 .epq-mobile-menu nav{padding:4px 20px 20px}
 .epq-mobile-menu ul{list-style:none;padding:0;margin:0}
 .epq-mobile-menu nav>ul>li{border-bottom:1px solid #edf0f5}
 .epq-mobile-menu a,.epq-mobile-menu summary{display:block;min-height:48px;padding:13px 8px;color:var(--epq-navy)!important;font:400 17px/1.35 EpqKanit,Kanit,sans-serif;text-decoration:none;cursor:pointer}
 .epq-mobile-menu summary{display:list-item;list-style-position:inside}
 .epq-mobile-menu details ul{padding:0 0 12px 16px;border-left:2px solid var(--epq-orange);margin:0 0 12px 8px}
 .epq-mobile-menu details a{font-size:15px;min-height:44px}
 .epq-mobile-ux :is(a,button,input,select,textarea):focus-visible{outline:3px solid #2166b5!important;outline-offset:4px!important}
 .epq-mobile-dock{display:grid;grid-template-columns:1fr 1.4fr 1fr;align-items:center;gap:10px;position:fixed;inset:auto 0 0;z-index:99980;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e1e6ef;box-shadow:0 -4px 24px #00003a0b;font-family:EpqKanit,Kanit,sans-serif}
 .epq-mobile-dock>a{display:flex;align-items:center;justify-content:center;min-height:46px;color:var(--epq-navy);font-size:14px;text-decoration:none;text-align:center}
 .epq-mobile-keyboard .epq-mobile-dock,.epq-mobile-ux:has(dialog[open]) .epq-mobile-dock{visibility:hidden;pointer-events:none}
 .epq-mobile-ux :is(main,.e-con,.e-con-inner,.elementor-widget-container){min-width:0}
 .epq-mobile-ux :is(img,video){max-width:100%}
 .epq-mobile-ux h1{font-size:clamp(30px,7.8vw,42px)!important;line-height:1.14!important;letter-spacing:-.025em!important;overflow-wrap:break-word}
 .epq-mobile-ux h2{font-size:clamp(25px,6.4vw,33px)!important;line-height:1.22!important}
 .epq-mobile-ux p{overflow-wrap:break-word}
 .epq-mobile-ux .elementor-element-a613c28{min-height:0!important;height:auto!important;padding-top:36px!important;padding-bottom:36px!important}
 .epq-mobile-ux .epq-service-page .site-hero{padding:42px 20px!important;min-height:0!important}
 .epq-mobile-ux .epq-service-page .site-section{padding:40px 20px!important}
 .epq-mobile-ux .epq-service-page .section-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 .epq-mobile-ux .epq-service-page .cta-row{display:flex;flex-wrap:wrap;gap:12px}
 .epq-mobile-ux .epq-service-page .cta{min-height:46px}
 .epq-mobile-ux .epq-quick-lead-card{padding:18px!important;border-radius:12px!important}
 .epq-mobile-ux .epq-mobile-quick summary{font:600 15px/1.4 EpqKanit,Kanit,sans-serif;color:#00003a;padding:12px 0;cursor:pointer;min-height:44px}
 .epq-mobile-ux .epq-mobile-quick:not([open])~.epq-card-intro{display:none}
 .epq-mobile-ux .epq-mobile-quick[open] summary{margin-bottom:12px;border-bottom:1px solid #e3e8ee}
 .epq-mobile-ux .custom-application-form :is(input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea){font-size:16px!important;line-height:1.45!important;min-height:48px!important;border-radius:7px!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
 .epq-mobile-ux .epq-lead-v2 .epq-lead-fields,.epq-mobile-ux .epq-detailed-fields{display:block!important}
 .epq-mobile-ux .custom-application-form .form-row{margin:0 0 16px!important;min-width:0;scroll-margin-top:96px}
 .epq-mobile-ux .custom-application-form label{font-size:14px!important;line-height:1.5!important}
 .epq-mobile-ux .epq-mobile-step{border:0;padding:0;margin:0;min-width:0}
 .epq-mobile-ux .epq-mobile-step[hidden],.epq-mobile-ux .epq-mobile-continue[hidden],.epq-mobile-ux .epq-mobile-back[hidden]{display:none!important}
 .epq-mobile-step legend{display:block;padding:0;margin:0 0 18px;font:600 22px/1.3 EpqKanit,Kanit,sans-serif;color:#00003a;scroll-margin-top:96px}
 .epq-mobile-progress{font:400 13px/1.5 EpqKanit,Kanit,sans-serif;color:#54637a;margin:0 0 12px!important}
 .epq-mobile-ux .epq-mobile-continue{width:100%;min-height:48px;margin:6px 0 0}
 .epq-mobile-ux .epq-mobile-back{min-height:44px;margin:0 0 12px;padding:8px 0;background:transparent;border:0;color:#00003a;text-decoration:underline;font:400 14px EpqKanit,Kanit,sans-serif;cursor:pointer}
 .epq-mobile-error{display:block;margin:6px 0 0!important;font:400 13px/1.5 EpqKanit,Kanit,sans-serif;color:#a31621!important}
 .epq-mobile-ux .wpcf7-not-valid-tip,.epq-mobile-ux .epq-lead-note,.epq-mobile-ux .epq-contact-note{display:block!important;margin:7px 0 14px!important;font-size:13px!important;line-height:1.5!important}
 .epq-mobile-ux .wpcf7-response-output{scroll-margin-top:96px;font-size:15px;line-height:1.5;margin:18px 0!important}
 .epq-mobile-ux .epq-mobile-table{display:block;border:0!important;width:100%!important;min-width:0!important}
 .epq-mobile-table thead{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .epq-mobile-table tbody{display:grid;gap:16px}
 .epq-mobile-table tbody tr{display:block;border:1px solid #dce3ef!important;border-radius:12px;background:#fff;padding:16px}
 .epq-mobile-table td{display:block;width:auto!important;min-width:0!important;border:0!important;padding:9px 0!important;text-align:left!important;white-space:normal!important}
 .epq-mobile-table td:first-child{font-size:19px;font-weight:700;color:#00003a}
 .epq-mobile-table-label{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#58657c;margin-bottom:3px;font-weight:600}
 .epq-mobile-ux #epq-lead-dialog{width:calc(100vw - 28px)!important;max-width:520px!important;max-height:calc(100dvh - 80px)!important;padding:20px!important;border-radius:14px!important}
 .epq-mobile-ux #epq-article-conversion-dialog,.epq-mobile-ux #epq-article-conversion-host{max-width:calc(100vw - 28px)!important;box-sizing:border-box;bottom:calc(86px + env(safe-area-inset-bottom))!important}
 .epq-mobile-ux #epq-calculator,.epq-mobile-ux #epq-quiz{max-width:100%;overflow-wrap:break-word}
 @media(max-width:359px){.epq-mobile-header{padding-left:12px;padding-right:12px;gap:8px}.epq-mobile-header .epq-mobile-brand{max-width:115px}.epq-mobile-header .epq-mobile-primary{font-size:13px;padding:9px 11px}}
 @media(prefers-reduced-motion:reduce){.epq-mobile-ux *{scroll-behavior:auto!important}}
}

@media(max-width:1024px){.epq-mobile-ux .epq-lead-detailed .form-submit[hidden]{display:none!important}}

@media(max-width:1024px){
}

@media(max-width:1024px){
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="a613c28"]{min-height:0!important;height:auto!important;padding:36px 18px!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="a4538b8"]{padding-top:16px!important;padding-bottom:16px!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="4b5265d"]{padding-top:42px!important;padding-bottom:42px!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="4bf7a2e"]{min-height:0!important;height:auto!important;padding:44px 18px!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="4bf7a2e"]>.e-con-inner{min-height:0!important;height:auto!important;padding:0 0 20px!important}
 html body.epq-mobile-ux .elementor[data-elementor-type] .elementor-widget-heading h1.elementor-heading-title{font-size:clamp(30px,7.8vw,42px)!important;line-height:1.14!important}
}

@media(max-width:1024px){html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="2f2acad"]{background-color:#00003a!important}}

@media(max-width:1024px){
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="a613c28"]>.e-con-inner{gap:24px!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="098f637"]{position:static!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!important;flex:none!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="098f637"]>.e-con-inner{padding:0!important}
 html body.epq-mobile-ux.home .elementor.elementor-12 .elementor-element[data-id="4bf7a2e"]{background-color:#00003a!important;box-shadow:inset 0 0 0 100vmax rgba(0,0,58,.78)!important}
}

/* Keep the contact details card useful on mobile instead of reserving a tall photo. */
@media(max-width:1024px){
 html body.epq-mobile-ux.page-id-1254 .elementor.elementor-1254 .elementor-element[data-id="50febdc"]{min-height:0!important;grid-template-rows:auto auto!important}
 html body.epq-mobile-ux.page-id-1254 .elementor.elementor-1254 .elementor-element[data-id="4193f71"]{min-height:0!important;height:auto!important;align-self:start!important;padding:24px!important;justify-content:center!important;border-radius:18px!important}
 html body.epq-mobile-ux.page-id-1254 .elementor.elementor-1254 .elementor-element[data-id="e3d12a5"] .elementor-icon-list-item{min-height:44px}
}
