/* We Strive ABA: glue between the v4 design (v4-scoped.css) and WordPress / Elementor / Fluent Forms.
   v4-scoped.css is the prototype CSS, untouched, with every selector prefixed by .ws */

/* ---------- page ---------- */
body.wsaba-site{background:#FAF7F2;margin:0}
.ws{display:block;width:100%}

/* Elementor wrappers around WS widgets add nothing */
.elementor-widget[class*="elementor-widget-ws-"]{margin:0!important;width:100%}
.elementor-widget[class*="elementor-widget-ws-"] > .elementor-widget-container{margin:0;padding:0}
.e-con:has(> .elementor-widget[class*="elementor-widget-ws-"]),
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-ws-"]){--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--gap:0px;padding:0!important}

/* ---------- neutralise theme defaults inside .ws ---------- */
.ws a:not(.btn):hover,.ws a:not(.btn):active,.ws a:not(.btn):focus{color:inherit}
.ws a{text-decoration:none}
.ws button{font-family:inherit;line-height:normal;text-transform:none;letter-spacing:normal}
.ws .menu-btn,.ws .menu-btn:hover,.ws .menu-btn:focus{background:none;border:0;padding:0;color:var(--char);box-shadow:none}
.ws .tabs button,.ws .tabs button:hover,.ws .tabs button:focus{border:0;box-shadow:none;outline:0}
.ws .tabs button:not(.on):hover{background:none;color:rgba(47,57,66,.7)}
.ws .tabs button.on:hover{background:var(--blue);color:#fff}
.ws img{height:auto}
.ws ul{margin:0;padding:0}
.ws h1,.ws h2,.ws h3,.ws h4{color:var(--char);letter-spacing:normal;text-transform:none}
.ws h4,.ws p,.ws li,.ws small,.ws span{line-height:inherit}
.ws h4{line-height:1.65;font-size:inherit}
.ws .btn svg{flex:none}
.ws svg{display:inline-block}
.ws .btn-blue:hover,.ws .btn-blue:focus{color:#fff}
.ws .btn-terra:hover,.ws .btn-terra:focus{color:#fff}
.ws .btn-line:hover{color:var(--char)}
.ws .btn-white:hover{color:var(--char)}
.ws .btn-ghost:hover{color:#fff}
.ws a:focus-visible,.ws button:focus-visible,.ws summary:focus-visible{outline:3px solid var(--terra);outline-offset:3px}

/* ---------- header menu (WordPress menu inside the v4 nav) ---------- */
.ws header{z-index:20}
.ws nav ul.ws-menu{display:flex;gap:30px;list-style:none;font-size:15px;font-weight:500;align-items:center}
.ws nav li{position:relative;list-style:none}
.ws nav .menu-item-has-children > a{padding-right:16px}
.ws nav .menu-item-has-children > a::before{content:"";position:absolute;right:0;top:50%;width:10px;height:10px;margin-top:-6px;
  background:no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3942' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.ws nav .sub-menu{display:none;position:absolute;top:100%;left:-18px;margin-top:12px;min-width:250px;flex-direction:column;gap:0;
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 18px 40px -18px rgba(47,57,66,.35);z-index:60}
.ws nav .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.ws nav li:hover > .sub-menu,.ws nav li:focus-within > .sub-menu{display:flex}
.ws nav .sub-menu li{width:100%}
.ws nav .sub-menu a{display:block;padding:10px 14px;border-radius:10px;font-size:15px;white-space:nowrap}
.ws nav .sub-menu a::after{display:none}
.ws nav .sub-menu a:hover{background:var(--cream);color:var(--blue)}
.ws nav .current-menu-item > a::after,.ws nav .current-menu-ancestor > a::after{right:0}
@media (max-width:1080px){
  .ws nav.open{display:block;position:absolute;top:100%;left:0;right:0;background:var(--cream);padding:18px 28px;border-bottom:1px solid var(--line)}
  .ws nav.open ul.ws-menu{flex-direction:column;align-items:flex-start;gap:14px}
  .ws nav .sub-menu{display:flex;position:static;margin:10px 0 0;padding:0 0 0 14px;border:0;box-shadow:none;background:none;min-width:0}
  .ws nav .sub-menu a{padding:6px 0}
  .ws nav .menu-item-has-children > a::before{display:none}
}
@media (max-width:600px){ .ws nav.open{padding:18px 16px} }

/* ---------- Fluent Forms skinned to the v4 form ---------- */
.ws .fluentform{font-family:Inter,system-ui,sans-serif}
.ws .fluentform .ff-el-group{margin-bottom:12px}
.ws .fluentform .ff-el-input--label{margin-bottom:5px;line-height:1.65;display:block}
.ws .fluentform .ff-el-input--label label{font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:600;color:var(--char);margin:0;display:inline;line-height:1.65}
.ws .fluentform .ff-el-is-required.asterisk-right label:after{content:" *";color:var(--terra);margin-left:0}
.ws .fluentform .ff-el-form-control{width:100%;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.65;padding:13px 14px;border:1px solid rgba(47,57,66,.2);border-radius:12px;background:#fff;color:var(--char);box-shadow:none;height:auto;min-height:0;transition:none}
.ws .fluentform .ff-el-form-control:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:rgba(47,57,66,.2);box-shadow:none}
.ws .fluentform select.ff-el-form-control{padding-right:36px}
.ws .fluentform .ff-t-container{display:flex;gap:12px;margin:0}
.ws .fluentform .ff-t-cell{padding:0!important;flex:1 1 0;min-width:0;width:auto!important}
.ws .fluentform .ff-t-cell .ff-el-group:last-child{margin-bottom:12px}
.ws .fluentform .ff-el-form-check{margin:0}
.ws .fluentform .ff-el-form-check-label{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;line-height:1.5;color:rgba(47,57,66,.72);font-weight:400;cursor:pointer}
.ws .fluentform .ff-el-form-check-label > span{display:block}
.ws .fluentform input[type=checkbox],.ws .fluentform input[type=radio]{accent-color:var(--blue);width:14px;height:14px;margin:3px 0 0;flex:none}
.ws .fluentform .ff_t_c,.ws .fluentform .ff_tc_label .ff_t_c{font-size:12.5px;line-height:1.5;color:rgba(47,57,66,.72)}
.ws .fluentform .ff_t_c a{color:inherit;text-decoration:underline}
.ws .fluentform .ff-el-group:has(input[name^="sms_consent"]) .ff-el-form-check-label{font-size:11px;line-height:1.4;color:rgba(47,57,66,.6)}
.ws .fluentform .ff-el-group:has(input[name^="sms_consent"]){margin:4px 0 8px}
.ws .fluentform .ff-el-group:has(input[name="privacy_consent"]){margin-bottom:16px}
.ws .fluentform .ff-el-tc{margin:0}
.ws .fluentform .ff_tc_checkbox,.ws .fluentform .ff-el-group.ff_tc_checkbox{margin-bottom:16px}
.ws .fluentform .ff_submit_btn_wrapper{margin:0;padding:0}
.ws .fluentform .ff-btn-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-family:Poppins;font-weight:500;font-size:15px;line-height:normal;padding:16px 28px;border-radius:14px;border:0;background:var(--terra)!important;color:#fff!important;box-shadow:none;transition:.2s;cursor:pointer}
.ws .fluentform .ff-btn-submit::after{content:"";width:18px;height:18px;flex:none;
  background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")}
.ws .fluentform .ff-btn-submit:hover{background:#C27B60!important;opacity:1}
.ws .fluentform .ff-el-is-error .ff-el-form-control{border-color:#c0533b}
.ws .fluentform .error,.ws .fluentform .text-danger{font-size:12.5px;color:#b5462f;margin-top:4px}
.ws .ff-message-success{border:0;box-shadow:none;background:#E4EDE6;border-radius:16px;padding:20px 22px;color:var(--char);font-size:15px;margin:0}
.ws .ff-message-success h3{font-size:20px;margin:0 0 6px}
.ws .form-card .fluentform{margin:0}
@media (max-width:600px){
  .ws .fluentform .ff-t-container{flex-direction:column;gap:12px}
}

/* logos: let the v4 height rule decide the width */
.ws header .logo img,.ws footer .f-top img{width:auto}
@media (max-width:1080px){.ws nav.open ul.sub-menu{gap:2px;margin-top:8px}.ws nav.open .sub-menu a{padding:5px 0;font-size:15px;color:rgba(47,57,66,.8)}}

/* form labels: block layout exactly like the v4 .fld label */
.ws .fluentform .ff-el-input--label{display:block;margin:0 0 5px;padding:0;line-height:1.65;height:auto}
.ws .fluentform .ff-el-input--label label{display:block;line-height:1.65;margin:0;padding:0}

/* two-column rows: v4 .g2 grid has a 12px row gap on top of the 12px field margin */
.ws .fluentform .ff-t-container + .ff-t-container{margin-top:12px}
.ws .fluentform .ff-t-cell > .ff-el-group{margin-bottom:12px}

/* footer column titles are h3 (heading order), styled like the v4 h4 */
.ws footer h3{font-family:Poppins;font-weight:600;font-size:15px;line-height:1.65;margin:0 0 14px}
