/* Shared V4 footer: quiet navigation, contact and legal information. */
html body#baula-site.v4-page .baula-footer {
 position:relative; margin:0; --footer-inset:var(--gutter); padding:64px var(--footer-inset) 0; background:#315ed6; color:#F2F2F2; border-top:0; overflow:hidden;
 font-family:'Instrument Sans',Arial,sans-serif;
}
.baula-footer * {box-sizing:border-box;}
html body#baula-site .baula-footer-grid {display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;position:relative;z-index:1;}
html body#baula-site .baula-footer a {color:#F2F2F2;text-decoration:none;font-family:'Instrument Sans',Arial,sans-serif;font-size:15px;font-weight:400;letter-spacing:normal;text-transform:none;}
html body#baula-site .baula-footer a:hover {color:#A8C7FF;}
.baula-footer a:focus-visible {outline:2px solid #A8C7FF;outline-offset:5px;}
.baula-footer-lockup {display:inline-block;}
html body#baula-site .baula-footer-lockup img {display:block;width:232px;height:40px;max-width:100%;}
html body#baula-site .baula-footer-descriptor {font:400 14px/1.5 'Instrument Sans',Arial,sans-serif;margin:25px 0 30px;color:#F2F2F2;}
html body#baula-site .baula-footer address {font:400 15px/2 'Instrument Sans',Arial,sans-serif;color:#BAC4D3;}
html body#baula-site .baula-footer-menu {display:flex;flex-direction:column;align-items:flex-start;gap:13px;margin:0;}
html body#baula-site .baula-footer-menu h2 {font:400 14px/1.4 'Roboto',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#BAC4D3;margin:0 0 10px;}
.baula-footer-membership {display:flex;justify-content:flex-end;align-items:flex-start;}
.cec-badge-placeholder {border:1px dashed #657083;padding:20px;max-width:230px;}
.cec-badge-placeholder span {display:block;font-size:21px;line-height:1.25;}
.cec-badge-placeholder small {display:block;color:#BAC4D3;font-size:12px;line-height:1.4;margin-top:14px;}
.baula-footer-art {position:relative;margin:56px calc(-1 * var(--footer-inset)) 0;overflow:hidden;line-height:0;}
.baula-footer-art img {display:block;position:relative;width:66.6667%;min-width:calc(100% - 2 * var(--footer-inset));max-width:none;height:auto;margin-inline:auto;opacity:.5;transform:translateY(1%);}
html body#baula-site .baula-footer-legal {margin-top:56px;border-top:0;padding:20px 0 0;display:flex;gap:24px;flex-wrap:wrap;align-items:center;color:#BAC4D3;font-size:12px;line-height:1.5;}
.baula-footer-legal>div {margin-left:auto;display:flex;gap:24px;}
html body#baula-site .baula-footer-legal a {font-size:12px;}
@media(max-width:800px) {
 html body#baula-site.v4-page .baula-footer {--footer-inset:24px;padding:45px var(--footer-inset) 0;}
 html body#baula-site .baula-footer-grid {grid-template-columns:1fr 1fr;gap:38px 24px;}
 .baula-footer-identity {grid-column:1/-1;}
 .baula-footer-membership {justify-content:flex-start;}
 .cec-badge-placeholder {padding:15px;}
 .cec-badge-placeholder span {font-size:18px;}
 .baula-footer-art {margin-top:36px;}
 html body#baula-site .baula-footer-legal {gap:12px;flex-direction:column;align-items:flex-start;}
 .baula-footer-legal>div {margin-left:0;}
}
/* Contact and standalone legal pages retain the V4 type and site margins. */
html body#baula-site .contact-opening,html body#baula-site .contact-faq,html body#baula-site .legal-content {padding:90px var(--gutter);margin:0;max-width:none;}
html body#baula-site .contact-opening h1 {margin:0 0 50px;}
.contact-layout {display:grid;grid-template-columns:3fr 2fr;gap:90px;}
.contact-form {display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.contact-form label {display:flex;flex-direction:column;gap:8px;font-size:14px;}
.contact-form .full {grid-column:1/-1;}
html body#baula-site .contact-form input,html body#baula-site .contact-form select,html body#baula-site .contact-form textarea {width:100%;border:1px solid #AAB2BF;border-radius:0;padding:14px;background:#fff;color:#0B1022;font:16px/1.4 'Instrument Sans',Arial,sans-serif;}
.contact-form textarea {resize:vertical;min-height:140px;}
html body#baula-site .contact-form .form-note {font-size:13px;line-height:1.5;margin:0;}
html body#baula-site .contact-address {font-style:normal;font-size:20px;line-height:1.7;}
html body#baula-site .contact-address p {font-size:20px;line-height:1.7;margin:0 0 20px;}
html body#baula-site .contact-faq {background:#F2F2F2;}
html body#baula-site .contact-faq h2 {margin:0 0 35px;}
.contact-faq details {border-top:1px solid #AAB2BF;}
.contact-faq details:last-child {border-bottom:1px solid #AAB2BF;}
.contact-faq summary {padding:24px 48px 24px 0;cursor:pointer;list-style:none;position:relative;font-size:20px;}
.contact-faq summary::-webkit-details-marker {display:none;}
.contact-faq summary::after {content:'+';position:absolute;right:10px;top:20px;font-size:27px;color:#315BC6;}
.contact-faq details[open] summary::after {content:'−';}
html body#baula-site .contact-faq details p {font-size:18px;line-height:1.6;margin:0;padding:0 45px 24px 0;max-width:800px;}
html body#baula-site .legal-content {max-width:1100px;margin:auto;}
html body#baula-site .legal-content h2 {font-size:26px;margin:36px 0 16px;}
html body#baula-site .legal-content p {font-size:17px;line-height:1.65;}
.legal-draft {border-left:3px solid #3E6AE1;padding:16px 22px;background:#F2F2F2;}
@media(max-width:800px){
 html body#baula-site .contact-opening,html body#baula-site .contact-faq,html body#baula-site .legal-content {padding:60px 24px;}
 .contact-layout {grid-template-columns:1fr;gap:40px;}
 .contact-form {grid-template-columns:1fr;gap:20px;}
 .contact-form label {grid-column:1;}
 .contact-faq summary {font-size:18px;}
}
/* Override the older page-wide heading rules within this compact footer. */
html body#baula-site.v4-page .baula-footer-menu h2 {font-family:'Roboto',Arial,sans-serif !important;font-size:14px !important;font-weight:400 !important;line-height:1.4 !important;letter-spacing:.12em !important;margin:0 0 10px !important;}
html body#baula-site.v4-page .baula-footer-descriptor {font-size:14px !important;line-height:1.5 !important;}
html body#baula-site.v4-page .contact-form {margin:0;padding:0;gap:20px 24px;}
html body#baula-site.v4-page .contact-form label {margin:0;padding:0;}
html body#baula-site.v4-page .contact-form .form-note {font-size:13px !important;line-height:1.5 !important;}
html body#baula-site.v4-page .contact-form button {margin:0;}
html body#baula-site.v4-page .contact-form label span {display:inline;}
html body#baula-site.v4-page footer#contact.baula-footer .baula-footer-menu h2 {font-family:'Roboto',Arial,sans-serif !important;font-size:14px !important;font-weight:400 !important;line-height:1.4 !important;letter-spacing:.12em !important;margin:0 0 10px !important;}

/* Keep the footer menu independent of the mobile header navigation. */
html body#baula-site.v4-page footer.baula-footer .baula-footer-menu {position:static;inset:auto;width:auto;padding:0;background:transparent;box-shadow:none;border:0;transform:none;opacity:1;visibility:visible;}
html body#baula-site .baula-footer-membership .cec-member-logo {display:block;width:184px;max-width:100%;height:auto;}

/* Icon-only social link with a comfortable keyboard and pointer target. */
html body#baula-site .baula-footer .baula-footer-linkedin { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; margin:8px 0 0 -4px; }
.baula-footer-linkedin svg { display:block; width:24px; height:24px; fill:currentColor; }

/* Soft header-scale grid and a solid blue decorative wordmark. */
html body#baula-site.v4-page .baula-footer {
 background-image:linear-gradient(to right,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.06) 1px,transparent 1px);
 background-size:240px 240px; background-position:var(--footer-inset) 0;
}
html body#baula-site .baula-footer-art img {opacity:.2;}

/* Oversized wordmark: only its upper portion remains in the footer frame. */
html body#baula-site .baula-footer-art {height:clamp(70px,8vw,170px);margin-top:64px;}
html body#baula-site .baula-footer-art img {width:120%;min-width:120%;max-width:none;margin:0 0 0 -10%;transform:none;opacity:.2;}

/* Navigation leads the footer, followed by identity and membership. */
html body#baula-site .baula-footer-grid {grid-template-columns:1fr 2fr 1fr;}
html body#baula-site .baula-footer-menu {grid-column:1;grid-row:1;}
html body#baula-site .baula-footer-identity {grid-column:2;grid-row:1;}
html body#baula-site .baula-footer-membership {grid-column:3;grid-row:1;}
@media(max-width:800px) {
 html body#baula-site .baula-footer-grid {grid-template-columns:1fr 1fr;}
 html body#baula-site .baula-footer-menu {grid-column:1;grid-row:1;}
 html body#baula-site .baula-footer-identity {grid-column:2;grid-row:1;}
 html body#baula-site .baula-footer-membership {grid-column:2;grid-row:2;}
 html body#baula-site .baula-footer-descriptor {overflow-wrap:anywhere;}
}
html body#baula-site .baula-footer-membership .cec-member-logo {width:147.2px;}

/* Quiet footer: navigation left, contact and membership stacked right. */
html body#baula-site .baula-footer-grid {grid-template-columns:minmax(0,1fr) 232px;column-gap:60px;row-gap:26px;}
html body#baula-site .baula-footer-menu {grid-column:1;grid-row:1 / 3;}
html body#baula-site .baula-footer-identity {grid-column:2;grid-row:1;text-align:right;}
html body#baula-site .baula-footer-membership {grid-column:2;grid-row:2;justify-content:flex-end;}
html body#baula-site .baula-footer .baula-footer-linkedin {margin:8px -4px 0 0;}
html body#baula-site .baula-footer-legal {margin-top:32px;}
@media(max-width:600px){
 html body#baula-site .baula-footer-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;row-gap:24px;}
 html body#baula-site .baula-footer-identity {text-align:right;}
}

/* Contact details and the smaller member badge share one aligned row. */
html body#baula-site .baula-footer-grid {grid-template-columns:minmax(0,1fr) minmax(160px,232px) 117.76px;column-gap:48px;row-gap:24px;}
html body#baula-site .baula-footer-menu {grid-column:1;grid-row:1;}
html body#baula-site .baula-footer-identity {grid-column:2;grid-row:1;text-align:left;}
html body#baula-site .baula-footer-membership {grid-column:3;grid-row:1;justify-content:flex-end;}
html body#baula-site .baula-footer-membership .cec-member-logo {width:117.76px;}
html body#baula-site .baula-footer .baula-footer-linkedin {margin:8px 0 0 -4px;}
@media(max-width:600px){
 html body#baula-site .baula-footer-grid {grid-template-columns:minmax(0,1fr) 117.76px;column-gap:24px;row-gap:32px;}
 html body#baula-site .baula-footer-menu {grid-column:1 / -1;grid-row:1;}
 html body#baula-site .baula-footer-identity {grid-column:1;grid-row:2;}
 html body#baula-site .baula-footer-membership {grid-column:2;grid-row:2;}
}

/* Two balanced navigation columns on tablet and desktop only. */
@media(min-width:601px){
 html body#baula-site .baula-footer-menu {display:grid;grid-template-rows:repeat(3,auto);grid-auto-flow:column;grid-template-columns:max-content max-content;column-gap:32px;row-gap:13px;align-content:start;}
 html body#baula-site .baula-footer-grid {grid-template-columns:minmax(280px,1fr) minmax(130px,232px) 117.76px;column-gap:32px;}
}
@media(min-width:601px) and (max-width:760px){
 html body#baula-site .baula-footer-grid {grid-template-columns:1fr 117.76px;row-gap:32px;}
 html body#baula-site .baula-footer-menu {grid-column:1 / -1;grid-row:1;}
 html body#baula-site .baula-footer-identity {grid-column:1;grid-row:2;}
 html body#baula-site .baula-footer-membership {grid-column:2;grid-row:2;}
}

/* Four evenly spaced footer groups, with the menu occupying the first two. */
@media(min-width:601px){
 html body#baula-site .baula-footer-grid {grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(16px,3vw,48px);}
 html body#baula-site .baula-footer-menu {grid-column:1 / span 2;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(16px,3vw,48px);}
 html body#baula-site .baula-footer-identity {grid-column:3;grid-row:1;}
 html body#baula-site .baula-footer-membership {grid-column:4;grid-row:1;justify-content:flex-end;}
}


/* Solid navy footer with the established faint grid. */
html body#baula-site.v4-page .baula-footer {
 background-color:#0b1022;
 background-image:linear-gradient(to right,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.06) 1px,transparent 1px);
 background-size:240px 240px;background-position:var(--gutter) 0;
}

/* A visible navy-to-blue gradient across the footer. */
html body#baula-site.v4-page .baula-footer {
 background-image:linear-gradient(to right,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(180deg,#0b1022 0%,#172b63 48%,#3e6ae1 100%);
 background-size:240px 240px,240px 240px,100% 100%;
 background-position:var(--gutter) 0,var(--gutter) 0,0 0;
 background-repeat:repeat,repeat,no-repeat;
}

/* One continuous gradient across the closing invitation and footer. */
html body#baula-site#baula-site#baula-site :is(.site-closing-cta,.baula-footer) {
 background-color:#0b1022;
 background-image:linear-gradient(to right,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(160deg,#0b1022 0%,#172b63 48%,#3e6ae1 100%);
 background-size:240px 240px,240px 240px,100% var(--closing-ground-height,100%);
 background-position:var(--gutter) var(--closing-ground-offset,0px),var(--gutter) var(--closing-ground-offset,0px),0 var(--closing-ground-offset,0px);
 background-repeat:repeat,repeat,no-repeat;
}
