/* BART v0.1.2 – scoped layout correction; no horizontal viewport overflow */
body.bart-site-page{overflow-x:clip}
body.bart-site-page .wp-block-post-title,body.bart-site-page .entry-title,body.bart-site-page .page-title{display:none!important}
body.bart-site-page .wp-block-post-content,body.bart-site-page .entry-content,body.bart-site-page .wp-block-group:has(> .wp-block-post-content),body.bart-site-page main:has(.bart-wrap){max-width:none!important;width:100%!important}
body.bart-site-page .wp-site-blocks main:has(.bart-wrap),body.bart-site-page .wp-block-post-content:has(.bart-wrap){padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
body.bart-site-page .wp-block-post-content > .bart-wrap,body.bart-site-page .entry-content > .bart-wrap{max-width:none!important}
.bart-wrap,.bart-wrap *{box-sizing:border-box}
.bart-wrap{--bart-green:#006b3f;width:100%;max-width:100%;margin:0;background:#fff;color:#1b2924;font-family:Arial,sans-serif;overflow:hidden}
.bart-banner{background:var(--bart-green);color:#fff;text-align:center;padding:38px 16px 32px}
.bart-brand{font-size:clamp(42px,6vw,72px);font-weight:800;letter-spacing:3px;line-height:1.1}
.bart-tagline{font-size:15px;margin-top:12px}
.bart-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;background:#f4f7f5;border-bottom:1px solid #d7e5dc;padding:12px}
.bart-nav a{color:var(--bart-green);font-size:14px;font-weight:700;text-decoration:none;padding:10px 13px;border-radius:5px}
.bart-nav a:hover,.bart-nav a:focus{background:var(--bart-green);color:#fff}
.bart-header-gap{height:36px;background:#fff}
.bart-page-title{background:var(--bart-green);color:#fff;text-align:center;padding:20px 16px}
.bart-page-title h1{color:#fff!important;font-size:clamp(22px,3vw,32px);font-weight:700;margin:0!important;line-height:1.3}
.bart-content{padding:38px clamp(18px,4vw,52px);min-height:220px;width:100%;max-width:100%}
.bart-content p{line-height:1.7}
.bart-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}
.bart-cards article{border:1px solid #d8e5dc;border-radius:8px;padding:20px;min-width:0}
.bart-cards h2{font-size:20px;color:var(--bart-green)}
.bart-footer-gap{height:36px;background:#fff}
.bart-footer{background:var(--bart-green);color:#fff;text-align:center;padding:23px 16px;font-size:13px}
.bart-notice{border-left:4px solid var(--bart-green);padding:18px;background:#f3f8f5}
@media(max-width:650px){.bart-cards{grid-template-columns:1fr}.bart-nav{gap:2px;padding:8px}.bart-nav a{padding:9px 7px;font-size:13px}.bart-content{padding:24px 18px}.bart-header-gap,.bart-footer-gap{height:24px}}

/* v0.1.3 language switch */
.bart-banner{position:relative}
.bart-lang{display:flex;justify-content:flex-end;gap:7px;max-width:100%;padding:0 8px 8px}
.bart-lang a{font-size:13px;font-weight:700;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.5);border-radius:4px;padding:5px 8px;line-height:1.4}
.bart-lang a:hover,.bart-lang a:focus,.bart-lang a.bart-active{background:#fff;color:#006b3f}
@media(max-width:650px){.bart-lang{justify-content:center;padding-bottom:15px}}

/* v0.1.4: separate sign-in and registration information screens */
.bart-auth{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.bart-auth a{color:#006b3f;background:#fff;text-decoration:none;font-weight:700;font-size:13px;padding:8px 13px;border-radius:5px;border:1px solid #fff}
.bart-auth a:hover,.bart-auth a:focus{background:#e6f2eb}
.bart-auth-panel{max-width:660px;margin:0 auto;border:1px solid #d8e5dc;border-radius:8px;padding:clamp(18px,4vw,32px)}
.bart-auth-panel h2{color:#006b3f;font-size:23px;margin-top:0}
.bart-auth-actions{margin-top:22px}
.bart-auth-actions a{display:inline-block;background:#006b3f;color:white;text-decoration:none;padding:11px 20px;border-radius:5px;font-weight:700}
@media(max-width:650px){.bart-auth{justify-content:center}}

/* v0.1.4.1: ChWL-style visible login panel; preserve v0.1.4 header and navigation. */
.bart-banner{position:relative;min-height:292px;padding-right:290px;padding-left:16px}
.bart-header-signin{position:absolute;top:12px;right:16px;width:245px;padding:12px 14px;background:#fff;color:#143629;border:1px solid #d6e2da;border-radius:5px;text-align:left;z-index:2;font-size:13px;line-height:1.35}
.bart-header-signin h2{font-size:20px;font-weight:400;color:#143629;margin:0 0 8px}
.bart-header-signin label:not(.bart-header-remember){display:block;margin:7px 0 3px}
.bart-header-signin input[type=text],.bart-header-signin input[type=password]{display:block;width:100%;height:32px;padding:5px;border:1px solid #bcd0c5;border-radius:4px;background:#f6f8f7}
.bart-header-signin .bart-header-remember{display:flex;align-items:center;gap:4px;margin:8px 0}
.bart-header-signin button{display:block;background:#006b3f;color:white;border:0;border-radius:4px;padding:6px 12px;opacity:.65;cursor:not-allowed}
.bart-header-signin a{display:block;color:#006b3f;font-size:13px;margin-top:8px}
.bart-header-signin .bart-login-pending{font-size:11px;color:#596e63;line-height:1.3;margin:7px 0}
.bart-banner .bart-lang{justify-content:flex-start}
@media(max-width:750px){.bart-banner{padding:22px 16px;min-height:0}.bart-header-signin{position:static;width:100%;max-width:340px;margin:0 auto 20px}.bart-banner .bart-lang{justify-content:center}}

/* v0.1.4.2: keep sign-in fully INSIDE green header, remove panel registration link. */
.bart-banner{min-height:300px;padding:30px 292px 30px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.bart-banner .bart-brand,.bart-banner .bart-tagline{max-width:100%}
.bart-header-signin{position:absolute;top:12px;right:16px;bottom:auto;width:252px;max-height:calc(100% - 24px);overflow:auto;padding:9px 12px;font-size:12px;line-height:1.2}
.bart-header-signin h2{font-size:17px;margin:0 0 4px}
.bart-header-signin label:not(.bart-header-remember){margin:4px 0 2px}
.bart-header-signin input[type=text],.bart-header-signin input[type=password]{height:29px;padding:3px 6px;margin:0}
.bart-header-signin .bart-header-remember{margin:6px 0;font-size:12px}
.bart-header-signin button{padding:5px 10px;font-size:12px}
.bart-header-signin .bart-login-pending{margin:4px 0;font-size:10px}
.bart-header-signin a{margin-top:4px;font-size:12px}
.bart-banner .bart-lang{position:absolute;left:20px;top:15px;right:292px;justify-content:center;padding:0}
@media(max-width:750px){.bart-banner{padding:20px 16px;min-height:0}.bart-header-signin{position:static;width:min(100%,300px);max-height:none;overflow:visible;margin:16px auto 0;order:3}.bart-banner .bart-lang{position:static;order:0;margin-bottom:15px}.bart-banner .bart-brand{order:1}.bart-banner .bart-tagline{order:2}}

/* v0.1.4.4: language buttons OUTSIDE white login panel, on green below it. */
.bart-banner{min-height:300px}
.bart-header-signin{max-height:calc(100% - 55px);overflow:auto}
.bart-banner .bart-lang-under-login{position:absolute;top:auto;bottom:9px;left:auto;right:16px;width:252px;display:flex;justify-content:flex-start;gap:6px;padding:0;margin:0;z-index:2}
.bart-banner .bart-lang-under-login a{font-size:12px;padding:4px 7px;color:#fff;border-color:rgba(255,255,255,.6)}
.bart-banner .bart-lang-under-login a.bart-active,.bart-banner .bart-lang-under-login a:hover,.bart-banner .bart-lang-under-login a:focus{background:#fff;color:#006b3f}
@media(max-width:750px){.bart-banner{min-height:0}.bart-header-signin{max-height:none;overflow:visible;margin-bottom:8px}.bart-banner .bart-lang-under-login{position:static;order:4;width:auto;justify-content:center;margin:0 auto 8px}}

/* v0.1.4.7: text-free white BART symbol on the green header, left side. */
.bart-banner .bart-symbol{position:absolute;left:clamp(18px,3vw,55px);top:50%;transform:translateY(-50%);display:block;width:clamp(90px,12vw,170px);height:auto;max-height:68%;object-fit:contain;z-index:1;pointer-events:none}
@media(max-width:1100px){.bart-banner .bart-symbol{width:85px;left:15px;top:54%}}
@media(max-width:750px){.bart-banner .bart-symbol{position:static;transform:none;width:84px;max-height:none;margin:0 auto 12px;order:1}.bart-banner .bart-brand{order:2}.bart-banner .bart-tagline{order:3}}

/* v0.1.4.8: align BART heading to the exact horizontal center of the full green header. */
@media (min-width:751px){
 .bart-banner .bart-heading-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(430px,calc(100% - 660px));min-width:240px;text-align:center;z-index:1}
 .bart-banner .bart-heading-center .bart-brand{font-size:clamp(42px,5vw,72px)}
 .bart-banner .bart-heading-center .bart-tagline{font-size:clamp(11px,1vw,15px)}
}
@media (max-width:750px){.bart-banner .bart-heading-center{order:2;width:100%;text-align:center}.bart-banner .bart-symbol{order:1}}

/* v0.1.4.13: central-login navigation, no local credential collection */
.bart-header-signin .bart-central-explain{font-size:13px;line-height:1.4;margin:8px 0 12px}
.bart-header-signin a.bart-central-link{display:inline-block;background:#006b3f;color:#fff;text-decoration:none;border-radius:4px;padding:9px 12px;font-weight:700;font-size:12px;margin:0}
.bart-header-signin a.bart-central-link:hover,.bart-header-signin a.bart-central-link:focus{background:#00512f;color:#fff}
.bart-header-signin .bart-central-warning{font-size:11px;line-height:1.4;margin:10px 0 0;color:#52685b}

/* Member portal v0.1.4.15 */
.bart-member-summary{margin:24px 0;padding:20px;border:1px solid #d9e7df;border-radius:6px;background:#fff}.bart-member-summary h2{margin:0 0 16px}.bart-member-table{width:100%;border-collapse:collapse}.bart-member-table th,.bart-member-table td{padding:12px;border-bottom:1px solid #e5ebe7;text-align:left;vertical-align:top}.bart-member-table th{width:38%;font-weight:600}@media(max-width:600px){.bart-member-table th{width:45%}.bart-member-summary{padding:14px}}
