/* KOHEN mobile-only accessibility and layout patch, 2026-11-05 */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}img,video,iframe{max-width:100%;height:auto}main,section,article{min-width:0}h1,h2,h3,p{overflow-wrap:break-word}a,button{touch-action:manipulation}
 /* Primary corporate navigation: accessible native disclosure */
 .kp-mobile-nav{display:block!important;position:relative;z-index:50;background:#09284d;color:white;padding:8px 14px}
 .kp-mobile-nav summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:42px;font:700 15px Arial,sans-serif;list-style:none;color:#fff}
 .kp-mobile-nav summary::-webkit-details-marker{display:none}.kp-mobile-nav summary:after{content:'☰';font-size:22px}
 .kp-mobile-nav[open] summary:after{content:'×'}
 .kp-mobile-nav .kp-links{display:grid;grid-template-columns:1fr;max-height:min(70vh,570px);overflow-y:auto;padding:8px 0 12px}
 .kp-mobile-nav .kp-links a{display:block;color:#fff!important;text-decoration:none;padding:12px 10px;border-bottom:1px solid #ffffff30;font:600 14px Arial,sans-serif}
 .kp-mobile-nav .kp-links a:focus-visible{outline:2px solid #f3d47c}
 .site-header>.main-nav{display:none!important}
 .site-header .brand{max-width:100%}.site-header .brand img{max-width:calc(100vw - 28px);height:auto;max-height:62px;object-fit:contain}
 /* Homepage hero and card containment */
 .hero{height:auto!important;min-height:0!important;overflow:visible!important}
 .hero-copy{max-width:100%!important;min-width:0!important;box-sizing:border-box}
 .hero h1{font-size:clamp(29px,9vw,38px)!important;line-height:1.12!important;max-width:100%!important;overflow-wrap:normal;word-break:normal}
 .hero h1 br{display:none}.hero-lines br{display:none}.hero-lines{overflow-wrap:break-word}
 .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .hero-actions .btn{margin:0!important;max-width:100%;text-align:center;white-space:normal}
 .hero-flags{z-index:2}.hero-copy{position:relative;z-index:1}
 .section-heading,.closing,.ownership-intro{min-width:0}
 .area-grid,.pillars,.ownership{min-width:0}.area-card{min-width:0}
 .closing .btn{display:inline-block;max-width:100%;white-space:normal}
}
@media(max-width:390px){.hero{padding:45px 12px 24px!important}.hero-copy{padding:16px 13px!important}.hero h1{font-size:31px!important}}
/* Trade page overrides: only at mobile widths; leave desktop intact */
@media(max-width:767px){
 body.kp-trade-page header{height:auto!important;min-height:0!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding:12px 5%!important}
 body.kp-trade-page header nav{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important}
 body.kp-trade-page header nav a{padding:6px 0;color:#f5e4ba!important}
 body.kp-trade-page .hero{padding:34px 6% 42px!important;min-height:0!important}
 body.kp-trade-page .hero-inner{display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important;gap:12px!important}
 body.kp-trade-page .hero-logo{width:min(180px,55vw)!important;max-height:180px!important;margin:0!important;align-self:flex-start}
 body.kp-trade-page .hero h1{font-size:clamp(34px,10vw,46px)!important;max-width:100%!important;line-height:1.12!important}
 body.kp-trade-page .hero p{font-size:16px!important}
 body.kp-trade-page .sec{padding:40px 6%!important}
 body.kp-trade-page .sec h2{font-size:clamp(29px,8vw,39px)!important;line-height:1.18!important}
 body.kp-trade-page .two,body.kp-trade-page .grid,body.kp-trade-page .ggrid,body.kp-trade-page .cap-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important}
 body.kp-trade-page .steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.kp-trade-page .steps span{min-width:0;overflow-wrap:break-word}
 body.kp-trade-page .card,body.kp-trade-page .gate,body.kp-trade-page .cap{min-width:0;min-height:0!important;padding:22px!important}
 body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway),body.kp-trade-page .sec.why{color:#102a43!important}
 body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway) h2,body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway) h3,body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway) p,body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway) .lead,body.kp-trade-page .sec:not(.dark):not(.contact):not(.gateway) .muted{color:#23384c!important;opacity:1!important}
 body.kp-trade-page .gateway{background:#edf1f5!important;color:#132d4b!important}
 body.kp-trade-page .gateway h2,body.kp-trade-page .gateway p,body.kp-trade-page .gateway-intro{color:#20374c!important;opacity:1!important}
 body.kp-trade-page .card,body.kp-trade-page .cap,body.kp-trade-page .gate{background:#fff!important;color:#1b3045!important}
 body.kp-trade-page .card p,body.kp-trade-page .cap p,body.kp-trade-page .gate p{color:#33485b!important;opacity:1!important}
 body.kp-trade-page .dark,body.kp-trade-page .contact{color:#fff!important}
 body.kp-trade-page .dark h2,body.kp-trade-page .dark p,body.kp-trade-page .contact h2,body.kp-trade-page .contact p{color:#f4f0e8!important}
 body.kp-trade-page .kp-trade-floating{position:static!important;margin:12px 6% 20px!important;display:block!important;width:max-content;max-width:88%;box-sizing:border-box;box-shadow:none!important}
 body.kp-trade-page .kp-trade-floating a{white-space:normal;overflow-wrap:break-word}
 body.kp-trade-page .bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
}
