/* WordPress/Enfold layout containment and child-theme finish */
html,body,#wrap_all,#main,#main .container{max-width:100%;}
html,body{overflow-x:clip;}
body.s67-child-site{margin:0!important;}
body.s67-child-site #wpadminbar{z-index:999999;}
.s67-live-form,.s67-live-form form,.s67-live-form fieldset,.s67-live-form .frm_forms,.s67-live-form .frm_fields_container{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
.s67-live-form input:not([type=checkbox]):not([type=radio]),.s67-live-form select,.s67-live-form textarea{max-width:100%;box-sizing:border-box;}
.s67-live-form .frm_submit button{cursor:pointer;max-width:100%;}
.s67-setup-warning{color:#343d42;border:1px solid #a7d23d;padding:12px;border-radius:10px;}
.cw3-resource-banner .btn,.cw3-resource-banner a.btn,.cw3-resource-banner button.btn{background:#343d42!important;color:#fff!important;border-color:#343d42!important;}
.cw3-resource-banner a.btn:hover{background:#fff!important;color:#343d42!important;}
@media(max-width:767px){html,body,#wrap_all,#main,#main .container{width:100%;max-width:100%;min-width:0;} .container{width:calc(100% - 32px);max-width:calc(100% - 32px);margin-left:auto;margin-right:auto;} .detail-modal{max-height:calc(100dvh - 24px);overflow-y:auto;}}
@media(min-width:768px){.v6-sticky-bar{position:sticky;top:0;z-index:100;}}
.admin-bar .v6-sticky-bar{top:32px;}
@media(max-width:782px){.admin-bar .v6-sticky-bar{top:46px;}}

/* Enfold child theme scope: keep custom header and original image proportions */
body.s67-child-site .modern-nav-shell{display:flex;align-items:center;}
body.s67-child-site .modern-logo{flex:0 0 auto;display:flex;align-items:center;min-width:0;}
body.s67-child-site .modern-logo img{display:block;width:auto!important;height:auto!important;max-width:145px!important;max-height:52px!important;object-fit:contain!important;}
body.s67-child-site .cw3-hero{display:grid;}
body.s67-child-site .cw3-hero-image img{width:100%;height:100%;object-fit:cover;}
@media(max-width:767px){body.s67-child-site .modern-logo img{max-width:90px!important;max-height:46px!important;}}
