/*
Theme Name: Bertum Community
Author: Bertum
Description: A clean full-width WordPress theme with a community-style header, editable horizontal menus and no sidebar.
Version: 1.3.83
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bertum-community
*/
:root{--bc-accent:#2563eb;--bc-header:#fff;--bc-ink:#19283b;--bc-bg:#f5f6f8;--bc-border:#e5e7eb}*{box-sizing:border-box}body{margin:0;background:var(--bc-bg);color:var(--bc-ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--bc-accent);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,summary{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--bc-accent);outline-offset:3px}.screen-reader-text,.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:16px;top:8px;z-index:99999;background:white;padding:10px}.bc-header{background:var(--bc-header);border-bottom:1px solid var(--bc-border);z-index:100}.bc-sticky{position:sticky;top:0}.admin-bar .bc-sticky{top:32px}.bc-header-inner{max-width:1440px;margin:auto;padding:0 28px;min-height:76px;display:flex;align-items:center;gap:28px}.bc-brand{flex:0 1 230px;min-width:100px;font-size:22px;font-weight:700;line-height:1.25}.bc-brand a{color:var(--bc-ink)}.custom-logo{display:block;max-width:100%;width:auto;max-height:46px}.bc-nav{flex:1;min-width:0}.bc-menu{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;list-style:none;margin:0;padding:0}.bc-menu li{position:relative}.bc-menu a{display:block;padding:12px 14px;color:var(--bc-ink);font-size:15px;font-weight:500;border-radius:7px;overflow-wrap:anywhere}.bc-menu a:hover,.bc-menu .current-menu-item>a{background:var(--bc-bg);color:var(--bc-accent);text-decoration:none}.bc-menu .sub-menu{display:none;position:absolute;top:100%;inset-inline-start:0;min-width:220px;max-width:300px;margin:0;padding:7px;list-style:none;background:var(--bc-header);border:1px solid var(--bc-border);border-radius:9px;box-shadow:0 8px 25px #19283b14;z-index:20}.bc-menu li:hover>.sub-menu,.bc-menu li:focus-within>.sub-menu{display:block}.bc-menu .sub-menu .sub-menu{position:static;box-shadow:none;border:0;padding-inline-start:12px}.bc-menu .menu-item-has-children>a:after{content:'⌄';margin-inline-start:8px}.bc-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.bc-account,.bc-search{position:relative}.bc-actions summary{list-style:none;display:flex;align-items:center;gap:8px;font-size:14px}.bc-actions summary::-webkit-details-marker{display:none}.avatar{border-radius:50%;vertical-align:middle}.bc-popover{position:absolute;top:calc(100% + 16px);inset-inline-end:0;background:var(--bc-header);padding:14px;border:1px solid var(--bc-border);border-radius:10px;box-shadow:0 8px 25px #19283b14;width:250px;z-index:30}.bc-popover a{display:block;padding:8px;color:var(--bc-ink)}.bc-search-form{display:flex;gap:8px}.bc-search-form input{width:100%;min-width:0;padding:8px;border:1px solid var(--bc-border);border-radius:5px}.bc-button,.bc-search-form button{background:var(--bc-accent);color:#fff;border:0;border-radius:6px;padding:8px 14px}.bc-toggle{display:none;border:1px solid var(--bc-border);background:transparent;color:var(--bc-ink);border-radius:6px;padding:7px 10px}.bc-main{max-width:1180px;margin:36px auto;min-height:65vh;padding:0 24px}.bc-post{background:white;border:1px solid var(--bc-border);border-radius:10px;padding:clamp(20px,4vw,48px);margin-bottom:24px;overflow-wrap:normal}.bc-post h1{line-height:1.25;margin-top:0;font-size:clamp(28px,4vw,38px)}.bc-post img,.bc-post video{max-width:100%;height:auto}.bc-post iframe{max-width:100%}.bc-meta{font-size:14px;color:#64748b}.bc-footer{max-width:1180px;margin:32px auto;padding:24px;border-top:1px solid var(--bc-border);font-size:14px}.bc-footer .bc-menu{justify-content:flex-start}.alignwide{max-width:100%}.alignfull{width:100%;margin-inline:0}.wp-caption{max-width:100%}.sticky{border-top:3px solid var(--bc-accent)}.gallery-caption,.wp-caption-text{font-size:14px}.bypostauthor{font-weight:500}.comment-list{padding-inline-start:22px}.comment-form textarea{max-width:100%;width:100%}.comment-form input{max-width:100%}
@media(max-width:1000px){.bc-header-inner{gap:16px;padding:14px 20px;flex-wrap:wrap}.bc-brand{flex:1}.bc-toggle{display:block}.bc-nav{flex-basis:100%;order:4}.js .bc-nav:not(.is-open){display:none}.bc-menu{justify-content:flex-start}.bc-nav .bc-menu{display:block}.bc-nav .sub-menu{display:block;position:static;box-shadow:none;border:0;max-width:none;padding-inline-start:20px}.bc-account-name{display:none}.bc-main{padding:0 14px;margin-top:20px}}@media(max-width:782px){.admin-bar .bc-sticky{top:46px}}@media(max-width:600px){.admin-bar .bc-sticky{top:0}.bc-header-inner{gap:12px}.bc-brand{font-size:18px}.bc-actions{gap:12px}.bc-popover{position:fixed;top:auto;inset-inline:12px;width:auto;margin-top:18px}.bc-search-label{display:none}}

.bc-account .bc-menu{display:block}.bc-account .bc-menu a{font-size:14px;padding:8px}

/* 1.1: compact full-width content, polished controls and colour modes. */
:root{--bc-surface:#fff;--bc-muted:#64748b;--bc-shadow:0 4px 12px #2563eb22;color-scheme:light}
html[data-bc-mode="dark"]{--bc-header:#17202e;--bc-ink:#e7edf7;--bc-bg:#0e1520;--bc-border:#303b4c;--bc-surface:#17202e;--bc-muted:#aab8ce;--bc-accent:#83adff;color-scheme:dark}
body{min-height:100vh;display:flex;flex-direction:column}
.bc-header-inner{max-width:none;padding-inline:20px;min-height:68px}
.bc-main{flex:1;width:100%;max-width:none;margin:0;padding:0;min-height:0}
.bc-post{background:var(--bc-surface);margin:0;border:0;border-radius:0;padding:14px 20px 24px;min-width:0}
.bc-post+.bc-post{border-top:1px solid var(--bc-border)}
.bc-post h1,.bc-post>h2,.bc-main>h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.3;text-align:center;margin:0 0 16px;padding:4px 0 10px;position:relative;overflow-wrap:normal;word-break:normal}
.bc-post h1:after,.bc-main>h1:after{content:'';display:block;width:44px;height:3px;background:var(--bc-accent);border-radius:3px;margin:10px auto 0}
.bc-main>h1{padding-top:16px;margin-bottom:0}
.bc-meta{color:var(--bc-muted);text-align:center;margin:0 0 16px}
.entry-content>:first-child{margin-top:0}
.entry-content{width:100%;max-width:none}
.entry-content>.alignfull{margin-inline:-20px;width:calc(100% + 40px);max-width:none}
body.elementor-page .bc-post{padding:12px 0 0}
body.elementor-page .bc-post>h1{padding-inline:16px}
.bc-button,.bc-search-form button,.bc-toggle,.bc-post input[type=submit],.bc-post button:not([class]){display:inline-flex;justify-content:center;align-items:center;min-height:42px;gap:8px;padding:9px 18px;background:#2563eb;border:1px solid #2563eb;border-radius:9px;color:#fff;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;box-shadow:var(--bc-shadow);transition:background .16s,transform .16s,box-shadow .16s;white-space:normal}
.bc-button:hover,.bc-search-form button:hover,.bc-toggle:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff;text-decoration:none;box-shadow:0 6px 18px #2563eb30;transform:translateY(-1px)}
.bc-button-outline{background:transparent;color:var(--bc-accent);border-color:var(--bc-accent);box-shadow:none}
.bc-button-outline:hover{background:var(--bc-accent);color:var(--bc-bg)}
.bc-icon-button,.bc-actions summary{min-height:40px;min-width:40px;justify-content:center;border:1px solid var(--bc-border);background:transparent;color:var(--bc-ink);border-radius:10px;padding:8px}
.bc-icon-button{display:inline-flex;align-items:center;cursor:pointer}
.bc-icon-button[hidden]{display:none}
.bc-icon-button:hover,.bc-actions summary:hover{background:var(--bc-bg)}
.bc-sun{display:none}html[data-bc-mode="dark"] .bc-sun{display:block}html[data-bc-mode="dark"] .bc-moon{display:none}
.bc-popover{background:var(--bc-surface)}.bc-popover a:hover{background:var(--bc-bg);border-radius:6px}.bc-search-form input{background:var(--bc-bg);color:var(--bc-ink)}
.bc-footer{width:100%;max-width:none;margin:0;padding:28px 24px 0;background:var(--bc-surface);border-top:1px solid var(--bc-border)}
.bc-footer-upper{display:flex;flex-wrap:wrap;gap:28px;padding-bottom:24px}.bc-footer-brand{flex:1 1 260px}.bc-footer-brand>a{font-size:22px;color:var(--bc-ink);font-weight:700}.bc-footer-brand p{color:var(--bc-muted);margin:8px 0 0}.bc-footer-column{flex:1 1 180px}.bc-footer-heading{font-size:16px;margin:0 0 12px}.bc-footer-widget ul{list-style:none;padding:0;margin:0}.bc-footer-widget li{margin-bottom:7px}.bc-footer-widget a{color:var(--bc-ink)}.bc-footer-bottom{border-top:1px solid var(--bc-border);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}.bc-footer-bottom p{margin:0;color:var(--bc-muted)}.bc-footer-bottom .bc-menu a{font-size:14px;padding:6px 10px}
@media(max-width:1000px){.bc-header-inner{padding:10px 14px;gap:12px}.bc-actions{gap:8px}.bc-brand{font-size:22px}.bc-main{margin:0;padding:0}.bc-toggle{display:block}.bc-post{padding:12px 14px 20px}.entry-content>.alignfull{margin-inline:-14px;width:calc(100% + 28px)}}
@media(max-width:480px){.bc-brand{flex-basis:100%;text-align:center}.custom-logo-link{display:inline-block}.bc-actions{flex:1;justify-content:flex-end;flex-wrap:wrap}.bc-button{padding:9px 12px}.bc-footer{padding-inline:14px}.bc-footer-bottom{justify-content:center;text-align:center}}
@media(prefers-reduced-motion:reduce){.bc-button,.bc-toggle,.bc-search-form button{transition:none}.bc-button:hover,.bc-toggle:hover,.bc-search-form button:hover{transform:none}}

/* Guest actions live at the bottom of the expanded mobile navigation. */
.bc-mobile-auth{display:none}.bc-desktop-auth{display:flex;align-items:center;gap:10px}
@media(max-width:1000px){.bc-desktop-auth{display:none}.bc-mobile-auth{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--bc-border);margin-top:12px;padding:16px 0 6px}.bc-mobile-auth .bc-button{flex:1;min-width:120px}.bc-nav{max-height:65vh;overflow-y:auto}}

/* 1.1.2: community-style single-row mobile header. */
@media(max-width:1000px){
 .bc-header-inner{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;min-height:68px;padding:10px 14px;align-items:center}
 .bc-toggle{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:5px;background:transparent;color:var(--bc-ink);border:1px solid var(--bc-muted);border-radius:9px;box-shadow:none}
 .bc-toggle:hover{color:var(--bc-accent);background:var(--bc-bg);border-color:var(--bc-accent);box-shadow:none;transform:none}
 .bc-brand{grid-column:2;grid-row:1;min-width:0;width:100%;text-align:start;font-size:22px}
 .custom-logo-link{display:block}.custom-logo{max-height:42px;max-width:100%;width:auto;object-fit:contain;object-position:left center}
 .bc-actions{grid-column:3;grid-row:1;display:flex;flex-wrap:nowrap;gap:7px;justify-content:flex-end;align-items:center}
 .bc-nav{grid-column:1 / -1;grid-row:2;order:initial;width:100%;min-width:0}
 .bc-actions .bc-icon-button,.bc-actions summary{border:0;background:transparent;padding:4px;min-width:32px;min-height:36px;border-radius:7px}
 .bc-actions .bc-icon-button svg,.bc-search summary svg{width:23px;height:23px}
 .bc-actions summary:hover,.bc-actions .bc-icon-button:hover{background:var(--bc-bg)}
 .bc-account>summary{position:relative;padding:0 0 0 2px;min-width:36px}
 .bc-account>summary .avatar{width:34px;height:34px}
 .bc-account>summary>span[aria-hidden]{position:absolute;bottom:-3px;inset-inline-end:-3px;font-size:13px;line-height:15px;background:var(--bc-surface);border-radius:50%;width:15px;height:15px;text-align:center}
 .bc-account-name{display:none}.bc-desktop-auth{display:none}
}
@media(max-width:360px){.bc-header-inner{padding-inline:8px;gap:7px;grid-template-columns:34px minmax(0,1fr) auto}.bc-actions{gap:3px}.bc-brand{font-size:22px}.bc-toggle{width:32px}.bc-actions .bc-icon-button,.bc-actions summary{min-width:29px}.custom-logo{max-height:38px}}

/* 1.1.3: no theme title area or top content gap. */
.bc-main,.bc-post,body.elementor-page .bc-post{margin-top:0;padding-top:0}
.entry-content{margin-top:0;padding-top:0}
.entry-content>:first-child{margin-top:0}
@media(min-width:1001px){.bc-header .bc-toggle{display:none}}

/* 1.1.4: stable mobile header with an overlay navigation panel. */
.bc-header{position:relative}.bc-header.bc-sticky{position:sticky}
.bc-avatar-wrap{display:inline-flex;position:relative;flex:none;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:var(--bc-bg);color:var(--bc-ink);overflow:hidden}
.bc-avatar-wrap .avatar{position:relative;z-index:1;width:34px;height:34px;object-fit:cover;display:block}
.bc-avatar-fallback{position:absolute;width:28px;height:28px}
.bc-account-identity{margin:0 0 8px;padding:6px 8px 12px;border-bottom:1px solid var(--bc-border);font-weight:600;overflow-wrap:anywhere;color:var(--bc-ink)}
.bc-menu-backdrop{display:none}
@media(max-width:1000px){
 .bc-header-inner{grid-template-columns:76px minmax(0,1fr) auto;column-gap:8px;row-gap:0;min-height:68px;padding:10px 12px}
 .bc-toggle{width:76px;min-height:38px;padding:6px;gap:5px;font-size:14px;line-height:1;border-color:var(--bc-border);border-radius:9px;transition:none;transform:none}
 .bc-toggle svg{width:19px;height:19px;flex:none}.bc-toggle:hover,.bc-toggle:active{transform:none;box-shadow:none}
 .bc-brand{min-width:0;line-height:1.2;overflow-wrap:normal;word-break:normal}
 .bc-actions{gap:5px}.bc-actions .bc-icon-button,.bc-actions summary{min-width:30px}
 .js .bc-header .bc-nav{position:absolute;top:100%;inset-inline:0;grid-column:auto;grid-row:auto;z-index:102;max-height:calc(100vh - var(--bc-header-bottom,80px) - 12px);max-height:calc(100dvh - var(--bc-header-bottom,80px) - 12px);margin:0;padding:12px 16px 18px;background:var(--bc-header);border:1px solid var(--bc-border);border-top:0;border-radius:0 0 14px 14px;box-shadow:0 14px 24px #00000024;overflow-y:auto;overscroll-behavior:contain}
 .js .bc-header .bc-nav:not(.is-open){display:none}.js .bc-header .bc-nav.is-open{display:block}
 .bc-nav .bc-menu>li>a{padding:11px 12px;border-radius:8px}.bc-nav .bc-menu>li+li{margin-top:3px}
 .bc-header .bc-account-name{display:none}.bc-account>summary .bc-avatar-wrap{display:inline-flex}
 .bc-menu-backdrop:not([hidden]){display:block;position:fixed;inset:var(--bc-header-bottom,80px) 0 0;background:#0c172a45;z-index:99;border:0;padding:0;cursor:default}
 .bc-header .bc-popover{position:absolute;top:calc(100% + 16px);inset-inline-start:auto;inset-inline-end:0;width:min(280px,calc(100vw - 24px));margin-top:0;z-index:104}
}
@media(max-width:360px){.bc-header-inner{grid-template-columns:70px minmax(0,1fr) auto;padding-inline:8px;column-gap:5px}.bc-toggle{width:70px;gap:4px}.bc-actions{gap:2px}.bc-actions .bc-icon-button,.bc-actions summary{min-width:28px}.bc-actions .bc-icon-button svg,.bc-search summary svg{width:21px;height:21px}.bc-avatar-wrap,.bc-avatar-wrap .avatar{width:30px;height:30px}}

/* 1.1.5: phone content uses the available width; tables retain readable columns. */
@media(max-width:1000px){
 .bc-main,.bc-main>.bc-post,body.elementor-page .bc-main>.bc-post{padding-inline:0;padding-top:0;margin:0;width:100%;max-width:none}
 .bc-main .entry-content{width:100%;max-width:none;margin:0;padding:0;min-width:0}
 .entry-content>.alignfull{width:100%;margin-inline:0}
 .entry-content>.elementor{margin-top:0!important;padding-top:0!important;width:100%;max-width:none}
 .entry-content>.elementor>.elementor-section:first-child,
 .entry-content>.elementor>.e-con:first-child{margin-top:0!important;padding-top:0!important;--padding-top:0px;--margin-top:0px}
 .entry-content>.elementor>.elementor-section>.elementor-container,
 .entry-content>.elementor>.e-con>.e-con-inner{width:100%;max-width:none}
 .entry-content>.elementor>.elementor-section:first-child>.elementor-container>.elementor-column>.elementor-widget-wrap,
 .entry-content>.elementor>.e-con:first-child>.e-con-inner{padding-top:0!important;margin-top:0!important}
 .entry-content>.elementor>.elementor-section:first-child .elementor-widget:first-child,
 .entry-content>.elementor>.e-con:first-child>.elementor-widget:first-child,
 .entry-content>.elementor>.e-con:first-child>.e-con-inner>.elementor-widget:first-child{margin-top:0!important;--container-widget-spacing:0px}
 .entry-content>.elementor>.elementor-section:first-child .elementor-widget:first-child>.elementor-widget-container,
 .entry-content>.elementor>.e-con:first-child>.elementor-widget:first-child>.elementor-widget-container,
 .entry-content>.elementor>.e-con:first-child>.e-con-inner>.elementor-widget:first-child>.elementor-widget-container{margin-top:0!important;padding-top:0!important}
 .entry-content .elementor-widget-heading{margin-block:0 12px!important}
 .entry-content .elementor-heading-title{margin-top:0!important;padding-top:0!important}
 .entry-content .elementor-widget-shortcode>.elementor-widget-container{margin-top:0!important;padding-top:0!important}
 .entry-content .elementor-widget-wrap{padding-inline:6px!important}
}

/* 1.1.6: community-style identity card and three account actions only. */
.bc-account .bc-account-popover{width:310px;max-width:calc(100vw - 24px);padding:16px 12px;border-radius:12px;box-shadow:0 10px 30px #17283b1a}
.bc-account-card{display:flex;align-items:center;gap:12px;padding:8px 8px 18px;margin-bottom:6px;border-bottom:1px solid var(--bc-border)}
.bc-avatar-wrap.bc-avatar-large,.bc-avatar-large .avatar{width:52px;height:52px}.bc-avatar-large .bc-avatar-fallback{width:40px;height:40px}
.bc-account-text{min-width:0;display:flex;flex-direction:column;line-height:1.4}.bc-account-text strong{font-size:16px;font-weight:650;color:var(--bc-ink);overflow-wrap:anywhere}.bc-account-text>span{font-size:14px;color:var(--bc-muted);overflow-wrap:anywhere}
.bc-account-popover a.bc-account-link{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:8px;font-size:16px;line-height:1.4;color:var(--bc-ink)}
.bc-account-link svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.bc-account-link:hover{text-decoration:none;background:var(--bc-bg)}
@media(max-width:1000px){.bc-header .bc-brand .custom-logo{max-height:32px;max-width:min(150px,100%);width:auto}.bc-header .bc-account .bc-account-popover{width:310px;max-width:calc(100vw - 24px);padding:16px 12px}}

/* Reference-theme 404; the normal page content still starts without top padding. */
.bc-not-found{width:100%;max-width:100%;padding:80px 20px;text-align:center;color:var(--bc-ink)}
.bc-not-found h1{font-size:48px;line-height:1.2;margin:0 0 20px;overflow-wrap:normal;word-break:normal}
.bc-not-found p{font-size:18px;margin:0;line-height:1.6}
.bc-not-found-actions{margin-top:30px}.bc-not-found .bc-go-back{padding:12px 25px;background:#0a7cff;border-color:#0a7cff;border-radius:6px;font-size:16px;font-weight:500;box-shadow:none}
.bc-not-found .bc-go-back:hover{background:#0069df;border-color:#0069df}
@media(max-width:600px){.bc-not-found{padding:40px 16px}.bc-not-found h1{font-size:48px}}

/* Standard WordPress image alignment and captions from the reference theme. */
.entry-content .aligncenter{display:block;margin-inline:auto}
.entry-content .alignleft{float:left;margin:5px 20px 20px 0}
.entry-content .alignright{float:right;margin:5px 0 20px 20px}
.entry-content:after{content:'';display:table;clear:both}
.entry-content .wp-caption{max-width:100%;padding:5px;border:1px solid var(--bc-border);background:var(--bc-surface);text-align:center}
.entry-content .wp-caption-text,.entry-content figcaption{color:var(--bc-muted);font-size:14px;line-height:1.5;margin:6px 0 0}
@media(max-width:600px){.entry-content .alignleft,.entry-content .alignright{float:none;margin:8px auto 16px;max-width:100%}}
/* Footer recreated from the supplied navy footer reference. */
.bc-hub-footer{width:100%;background:#0e254e;color:#fff;border:1px solid #627084;padding:56px 26px 28px;font-size:16px;line-height:1.65}
.bc-hub-footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px;align-items:center}
.bc-hub-footer-column{min-width:0}.bc-hub-footer p{margin:0 0 18px;color:#fff}.bc-hub-footer-column:not(.bc-footer-copyright){display:flex;flex-direction:column;align-self:stretch;justify-content:space-between}
.bc-footer-cta{display:table;align-self:center;background:#e52d00;color:#fff;border-radius:3px;font-size:14px;font-weight:600;line-height:1.4;padding:11px 24px;margin-top:18px;text-align:center}
.bc-footer-cta:hover{background:#c52700;color:#fff;text-decoration:none}
.bc-footer-socials{display:flex;justify-content:center;gap:5px;margin-top:18px}.bc-social{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:4px;color:#fff}.bc-social:hover{color:#fff;filter:brightness(1.12)}.bc-social-linkedin{background:#0077b5}.bc-social-youtube{background:#d71920}.bc-social-facebook{background:#3b5998}.bc-footer-copyright{text-align:center}.bc-footer-copyright p:last-child{margin-bottom:0}
@media(max-width:767px){.bc-hub-footer{padding:28px 16px;font-size:16px}.bc-hub-footer-grid{grid-template-columns:1fr;gap:28px}.bc-hub-footer-column{text-align:center}.bc-hub-footer-column p{margin-bottom:12px}.bc-footer-cta,.bc-footer-socials{margin-top:8px}}

/* Full header-width search overlay, independent of the account dropdown. */
.bc-header .bc-search{position:static}
.bc-header .bc-search .bc-wide-search{position:absolute;inset-inline:16px;top:100%;width:auto;max-width:none;margin:0;padding:14px;background:var(--bc-header);border:1px solid var(--bc-border);border-radius:0 0 12px 12px;z-index:105;box-shadow:0 12px 24px #17283b1a}
.bc-wide-search .bc-search-form{display:flex;width:100%;align-items:stretch;gap:10px;margin:0}
.bc-wide-search .bc-search-form input{flex:1 1 0;width:100%;min-width:0;min-height:46px;padding:10px 14px;border-radius:8px}
.bc-wide-search .bc-search-form button{flex:0 0 auto;min-height:46px;padding:10px 24px}
@media(max-width:1000px){.bc-header .bc-search .bc-wide-search{inset-inline:8px;top:100%;width:auto;padding:10px}.bc-wide-search .bc-search-form button{padding-inline:16px}}

/* Page-name title bars: compact, centred and independent of the content editor. */
.bc-post>.bc-page-titlebar{width:100%;margin:0 0 14px;padding:16px 14px;background:linear-gradient(115deg,#0e254e,#135da5);border-bottom:3px solid #3b93f5;text-align:center;color:#fff;box-shadow:0 3px 10px #0e254e12}
.bc-post>.bc-page-titlebar>.bc-page-title{color:#fff;font-family:inherit;font-size:28px;font-weight:700;line-height:1.35;letter-spacing:.01em;margin:0;padding:0;text-align:center;word-break:normal;overflow-wrap:normal;hyphens:none}
.bc-page-titlebar>.bc-page-title:after{content:none}
html[data-bc-mode="dark"] .bc-post>.bc-page-titlebar{background:linear-gradient(115deg,#142b4c,#183f68);border-bottom-color:#83adff}
@media(max-width:1000px){.bc-post>.bc-page-titlebar{padding:12px 10px;margin-bottom:10px}.bc-post>.bc-page-titlebar>.bc-page-title{font-size:28px}}

/* Bold navigation names and automatic page/post titles. */
.bc-header .bc-nav .bc-menu a,.bc-header .bc-account-name{font-weight:700!important}
.bc-post>.bc-page-titlebar>.bc-page-title{font-weight:700!important}

/* 1.2.7: consistent breathing room without boxing wide layouts. */
body{--bc-content-gutter:32px}
.bc-main>.bc-post,body.elementor-page .bc-main>.bc-post{padding:0 var(--bc-content-gutter) 24px}
.bc-main>.bc-post>.entry-content{width:100%;max-width:none;margin:0;padding:0;min-width:0}
.bc-main>.bc-post>.entry-content>.alignfull{width:calc(100% + var(--bc-content-gutter)*2);max-width:none;margin-inline:calc(-1 * var(--bc-content-gutter))}
/* Long prose gets a comfortable reading width; tables and builder layouts stay wide. */
.bc-post>.entry-content>p,.bc-post>.entry-content>ul,.bc-post>.entry-content>ol,.bc-post>.entry-content>blockquote{max-width:76ch;margin-inline:auto}
.bc-post>.entry-content>.elementor{width:100%;max-width:none}
.bc-header-inner{padding-inline:var(--bc-content-gutter)}
.bc-hub-footer{padding-inline:var(--bc-content-gutter)}
@media(min-width:768px) and (max-width:1000px){body{--bc-content-gutter:24px}.bc-header-inner{padding-inline:20px}}
@media(max-width:767px){body{--bc-content-gutter:14px}.bc-header-inner{padding-inline:12px}.bc-main>.bc-post,body.elementor-page .bc-main>.bc-post{padding:0 var(--bc-content-gutter) 20px}.bc-hub-footer{padding-inline:16px}
 .bc-post>.entry-content .elementor-widget-wrap{padding-inline:0!important}
}
@media(max-width:360px){body{--bc-content-gutter:12px}.bc-header-inner{padding-inline:8px}}
/* Three-quarter width title bar, centred with rounded corners. */
.bc-post>.bc-page-titlebar{width:75%;max-width:75%;margin:10px auto 14px;border-radius:14px;overflow:hidden}
@media(max-width:1000px){.bc-post>.bc-page-titlebar{width:75%;max-width:75%;margin:8px auto 10px;border-radius:12px}}

/* Title width follows this page's rendered main content container. */
.bc-post>.bc-page-titlebar,html[data-bc-mode="dark"] .bc-post>.bc-page-titlebar{box-sizing:border-box;width:100%;max-width:100%;margin:8px 0 12px;padding:9px 14px;border:0;border-radius:11px;background:#0d6efd;color:#fff;box-shadow:0 3px 7px #0d6efd26}
.bc-post>.bc-page-titlebar>.bc-page-title{font-size:24px;line-height:1.35;color:#fff;font-weight:700!important;margin:0;padding:0;letter-spacing:0}
.bc-post>.bc-page-titlebar>.bc-page-title:after{content:none}
@media(max-width:1000px){.bc-post>.bc-page-titlebar{width:100%;max-width:100%;margin:6px 0 10px;padding:9px 12px;border-radius:10px}.bc-post>.bc-page-titlebar>.bc-page-title{font-size:24px}}

/* Give Ninja Tables its native responsive display and column behaviour. */


/* Mobile: logo left, utility controls centre, labelled menu right. */
@media(max-width:1000px){
 .bc-header-inner{grid-template-columns:minmax(0,1fr) auto minmax(76px,1fr);gap:8px}
 .bc-header .bc-brand{grid-column:1;grid-row:1;justify-self:start;text-align:start}
 .bc-header .bc-brand .custom-logo{max-width:min(150px,100%);max-height:32px}
 .bc-header .bc-actions{grid-column:2;grid-row:1;justify-self:center;justify-content:center;gap:5px}
 .bc-header .bc-toggle{grid-column:3;grid-row:1;justify-self:end;width:76px}
 .bc-header .bc-nav{grid-column:auto;grid-row:auto}
 .bc-header .bc-account .bc-account-popover{position:fixed;top:var(--bc-header-bottom,68px);inset-inline-start:auto;inset-inline-end:12px;width:310px;max-width:calc(100vw - 24px);margin:0}
}
@media(max-width:360px){.bc-header-inner{grid-template-columns:minmax(0,1fr) auto minmax(70px,1fr);gap:5px}.bc-header .bc-toggle{width:70px}.bc-header .bc-actions{gap:2px}}

/* Search totals and a button that never wraps its label. */
.bc-search-results-summary{padding:14px var(--bc-content-gutter);font-size:20px;line-height:1.4;font-weight:700;color:var(--bc-ink)}
.bc-search-form{min-width:0;max-width:100%}
.bc-search-form button,.bc-wide-search .bc-search-form button{white-space:nowrap;word-break:normal;overflow-wrap:normal;flex:0 0 auto;min-width:max-content}
.bc-search-form input,.bc-wide-search .bc-search-form input{flex:1 1 0;min-width:0;width:0}
@media(max-width:600px){.bc-search-form{display:flex;gap:6px}.bc-search-form button,.bc-wide-search .bc-search-form button{padding-inline:12px;font-size:15px}.bc-wide-search .bc-search-form input{padding-inline:10px}}

/* Mobile menu footer: mode, search and account stay together like the reference. */
@media(max-width:1000px){
 .js .bc-header-inner{grid-template-columns:minmax(0,1fr) 76px}
 .js .bc-header .bc-toggle{grid-column:2;grid-row:1}
 .js .bc-header .bc-nav>.bc-actions{display:flex;position:static;width:100%;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-top:16px;padding:16px 0 0;border-top:1px solid var(--bc-border)}
 .bc-nav>.bc-actions>.bc-icon-button,.bc-nav>.bc-actions>.bc-search>summary{width:40px;min-width:40px;min-height:40px;border:1px solid var(--bc-border);border-radius:10px;padding:8px}
 .bc-nav>.bc-actions>.bc-account{flex:1;min-width:0}
 .bc-nav>.bc-actions>.bc-account>summary{display:flex;position:relative;justify-content:flex-start;gap:8px;padding:7px 9px;min-height:48px;border:1px solid var(--bc-border);border-radius:10px}
 .bc-nav>.bc-actions .bc-account-name{display:block;min-width:0;font-size:14px;line-height:1.3;white-space:normal;word-break:normal;overflow-wrap:normal}
 .bc-nav>.bc-actions .bc-account>summary>span[aria-hidden]{position:static;background:transparent;width:auto;height:auto;margin-inline-start:auto;flex:none}
 .bc-nav>.bc-actions .bc-desktop-auth{display:flex;flex:1;gap:8px;flex-wrap:wrap}
 .bc-nav>.bc-actions .bc-desktop-auth .bc-button{flex:1;padding-inline:12px;white-space:nowrap}
 .bc-header .bc-nav>.bc-actions .bc-account .bc-account-popover{position:static;width:100%;max-width:100%;margin-top:10px;padding:10px 4px;box-shadow:none}
 .bc-header .bc-nav>.bc-actions .bc-account[open]{flex-basis:100%}
 .bc-header .bc-nav>.bc-actions .bc-search{position:static}
 .bc-header .bc-nav>.bc-actions .bc-search[open]{flex:1 0 100%}
 .bc-header .bc-nav>.bc-actions .bc-wide-search{position:static;width:100%;max-width:100%;padding:10px 0 0;border:0;margin:0;box-shadow:none;background:transparent}
 .bc-header .bc-nav>.bc-actions .bc-search[open]>summary{margin-bottom:4px}
}
@media(max-width:360px){.js .bc-header-inner{grid-template-columns:minmax(0,1fr) 70px}.bc-nav>.bc-actions{gap:7px}}

/* Non-interactive identity with a directly visible Sign Out link. */
.bc-user-inline{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:6px 10px;border:1px solid var(--bc-border);border-radius:10px;min-width:0}
.bc-user-identity{display:flex;align-items:center;gap:8px;min-width:0}.bc-user-name{font-size:14px;line-height:1.4;font-weight:700;color:var(--bc-ink);word-break:normal;overflow-wrap:normal}
.bc-signout-inline{display:inline-flex;align-items:center;gap:6px;color:var(--bc-accent);font-size:14px;line-height:1.4;font-weight:600;white-space:nowrap;padding:6px 0}.bc-signout-inline svg{flex:none}
@media(max-width:1000px){.bc-nav>.bc-actions>.bc-user-inline{flex:1 1 180px;min-width:0;justify-content:space-between}.bc-user-identity{flex:1 1 auto}.bc-user-name{display:block}}

/* Hide mobile utility controls until they are placed inside the closed menu. */
@media(max-width:1000px){.js .bc-header-inner>.bc-actions{display:none}.bc-header .bc-nav:not(.is-open){display:none}}

/* Photo/name on row one; logout icon/label aligned on row two. */
.bc-user-inline{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:8px;row-gap:2px;align-items:center}
.bc-user-inline .bc-user-identity{display:contents}
.bc-user-inline .bc-avatar-wrap{grid-column:1;grid-row:1}
.bc-user-inline .bc-user-name{grid-column:2;grid-row:1}
.bc-user-inline .bc-signout-inline{display:grid;grid-template-columns:34px minmax(0,1fr);grid-column:1 / -1;grid-row:2;gap:8px;padding:3px 0;align-items:center}
.bc-signout-inline svg{justify-self:center}.bc-signout-inline>span{justify-self:start}
@media(max-width:1000px){
 .bc-header .bc-nav>.bc-actions .bc-search,.bc-header .bc-nav>.bc-actions .bc-search[open]{flex:0 0 40px;width:40px;position:static}
 .bc-header .bc-nav>.bc-actions .bc-search[open]>summary{margin-bottom:0}
 .bc-header .bc-nav>.bc-actions>.bc-wide-search{position:static;flex:1 0 100%;order:10;width:100%;max-width:100%;margin:0;padding:10px 0 0;border:0;box-shadow:none;background:transparent}
 .bc-header .bc-nav>.bc-actions>.bc-wide-search[hidden]{display:none}
 .bc-header .bc-nav>.bc-actions>.bc-user-inline{display:grid;flex:1 1 160px;justify-content:normal}
}
/* Footer copy keeps a natural reading alignment on every screen. */
.bc-hub-footer .bc-hub-footer-column:not(.bc-footer-copyright)>p{text-align:start}
/* Grey strip applies only to an authored Elementor heading matching this page name. */
.bc-existing-page-heading{width:100%;box-sizing:border-box;background:#ededed;color:#73808e;text-align:center;padding:12px 16px;margin:0 0 12px;border:0;border-radius:0}
.bc-existing-page-heading .elementor-heading-title,.bc-existing-page-heading h1,.bc-existing-page-heading h2,.bc-existing-page-heading h3,.bc-existing-page-heading p{margin:0!important;padding:0!important;font-family:inherit;font-size:16px!important;font-weight:600!important;line-height:1.5;letter-spacing:0;text-align:center!important;color:#73808e!important}
.bc-existing-page-heading h1:after,.bc-existing-page-heading h2:after,.bc-existing-page-heading h3:after{content:none}
html[data-bc-mode="dark"] .bc-existing-page-heading{background:#283444;color:#c6ceda}
html[data-bc-mode="dark"] .bc-existing-page-heading .elementor-heading-title,html[data-bc-mode="dark"] .bc-existing-page-heading :is(h1,h2,h3,p){color:#c6ceda!important}
/* Keep only the inner authored-title strip; no surrounding grey frame. */
.bc-existing-page-heading,html[data-bc-mode="dark"] .bc-existing-page-heading{background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;margin:0 0 12px}
.bc-existing-page-heading .elementor-heading-title,.bc-existing-page-heading :is(h1,h2,h3,p){display:block;box-sizing:border-box;width:100%;background:#dedede;padding:10px 12px!important;border:0;border-radius:0;box-shadow:none}
html[data-bc-mode="dark"] .bc-existing-page-heading .elementor-heading-title,html[data-bc-mode="dark"] .bc-existing-page-heading :is(h1,h2,h3,p){background:#283444}
/* Single grey title strip; support headings and plain Text Editor content alike. */
.entry-content .bc-existing-page-heading{display:block;box-sizing:border-box;width:100%;background:#dedede!important;color:#73808e;border:0!important;outline:0;box-shadow:none!important;border-radius:0;padding:10px 12px!important;margin:0 0 12px;text-align:center}
.entry-content .bc-existing-page-heading .elementor-heading-title,.entry-content .bc-existing-page-heading :is(h1,h2,h3,p){background:transparent!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
html[data-bc-mode="dark"] .entry-content .bc-existing-page-heading{background:#283444!important;color:#c6ceda}

/* Tables retain plugin column sizing; words wrap only at normal word boundaries. */
.bc-post .entry-content table,.bc-post .entry-content th,.bc-post .entry-content td,.bc-post .entry-content td a,.bc-post .entry-content th a{overflow-wrap:normal;word-break:normal;hyphens:none}
.entry-content .bc-existing-page-heading{padding:8px 12px!important;min-height:0!important;height:auto!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-weight:600;line-height:1.5}
.entry-content .bc-existing-page-heading .elementor-heading-title,.entry-content .bc-existing-page-heading :is(h1,h2,h3,p){font-family:inherit!important;line-height:1.5!important;min-height:0!important}

/* Signed-in header action: Sign Out only. */
.bc-user-inline{display:flex;align-items:center;gap:0;padding:6px 10px;width:auto;min-width:0}
.bc-user-inline .bc-signout-inline{display:inline-flex;align-items:center;gap:7px;padding:4px 0;white-space:nowrap}
@media(max-width:1000px){.bc-header .bc-nav>.bc-actions>.bc-user-inline{display:flex;flex:0 0 auto;width:auto;justify-content:flex-start}}

/* Desktop: give navigation the remaining header width before wrapping whole items. */
@media(min-width:1001px){
 .bc-header-inner{padding-inline:16px;gap:12px}
 .bc-header .bc-brand{flex:0 1 auto;min-width:100px;max-width:180px}
 .bc-header .bc-nav{flex:1 1 0;min-width:0}
 .bc-header .bc-nav>.bc-menu{column-gap:2px;row-gap:0;align-items:center;flex-wrap:wrap}
 .bc-header .bc-nav>.bc-menu>li{flex:0 0 auto}
 .bc-header .bc-nav>.bc-menu>li>a{padding-inline:10px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
 .bc-header .bc-actions{gap:10px}
}

/* Compact authored title highlight, including titles pasted inside pre/code markup. */
.entry-content .bc-existing-page-heading{padding:4px 10px!important;margin-block:0 8px!important;line-height:1.4!important}
.entry-content .bc-existing-page-heading *{margin-block:0!important;padding-block:0!important;min-height:0!important;background:transparent!important;box-shadow:none!important;border:0!important;font-family:inherit!important;line-height:1.4!important}
.entry-content .bc-existing-page-heading :is(pre,code){display:block;white-space:normal;padding:0!important;font-size:16px!important;font-weight:600!important;color:inherit!important;text-align:center}

/* Separate authored titles from the header and following content on every screen. */
.entry-content .bc-existing-page-heading{margin-block:16px 20px!important}

/* Dedicated light/dark logos; inherits existing responsive logo dimensions. */
.bc-mode-logo .bc-logo-dark{display:none}
html[data-bc-mode="dark"] .bc-mode-logo .bc-logo-light{display:none}
html[data-bc-mode="dark"] .bc-mode-logo .bc-logo-dark{display:block}

.bc-community-link{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}

/* Footer shares the Explore Community button accent in both colour modes. */
.bc-hub-footer{background:var(--bc-accent);color:#fff;border-color:var(--bc-accent)}
html[data-bc-mode="dark"] .bc-hub-footer,html[data-bc-mode="dark"] .bc-hub-footer p{color:#19283b}

/* Shared typography for the community button and all footer text. */
:root{--bc-community-font-size:15px;--bc-community-font-weight:600}
.bc-community-link,.bc-hub-footer,.bc-hub-footer p,.bc-hub-footer a{font-size:var(--bc-community-font-size);font-weight:var(--bc-community-font-weight);font-family:inherit}

/* Footer outer edges and inner gutters match the header at every breakpoint. */
.bc-hub-footer{width:100%;max-width:none;margin-inline:0;box-sizing:border-box;border-inline:0;padding-inline:16px}
@media(min-width:768px) and (max-width:1000px){.bc-hub-footer{padding-inline:20px}}
@media(max-width:767px){.bc-hub-footer{padding-inline:12px}}
@media(max-width:360px){.bc-hub-footer{padding-inline:8px}}

/* Give the left footer column breathing room without moving the right column. */
.bc-hub-footer-grid>.bc-hub-footer-column:first-child{padding-left:24px}
@media(max-width:767px){.bc-hub-footer-grid>.bc-hub-footer-column:first-child{padding-left:8px}}

/* Guest authentication and signed-in profile menu. */
.bc-auth-links{display:flex;align-items:center;gap:10px}
.bc-auth-links .bc-button{white-space:nowrap}
.bc-profile{position:relative}
.bc-actions .bc-profile>summary{border:0;padding:0;background:transparent;min-width:40px;min-height:40px;list-style:none}
.bc-profile-avatar,.bc-profile-avatar .avatar{width:40px;height:40px}
.bc-profile-panel{position:absolute;top:calc(100% + 12px);right:0;width:320px;max-width:calc(100vw - 24px);padding:14px;background:var(--bc-header);color:var(--bc-ink);border:1px solid var(--bc-border);border-radius:12px;box-shadow:0 12px 30px #19283b22;z-index:110}
.bc-profile:not([open])>.bc-profile-panel{display:none}
.bc-profile-identity{display:flex;align-items:center;gap:12px;padding:8px 4px 18px;margin-bottom:6px;border-bottom:1px solid var(--bc-border)}
.bc-profile-identity .bc-profile-avatar,.bc-profile-identity .avatar{width:48px;height:48px;flex:none}
.bc-profile-identity>div{min-width:0;line-height:1.4}
.bc-profile-identity strong{display:block;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.bc-profile-identity>div>span{display:block;font-size:13px;color:var(--bc-muted);overflow-wrap:anywhere}
.bc-profile-panel .bc-profile-link{display:flex;align-items:center;gap:12px;padding:12px 8px;border-radius:8px;color:var(--bc-ink);font-size:15px;font-weight:600;text-decoration:none}
.bc-profile-link:hover{background:var(--bc-bg)}
.bc-profile-link svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1000px){
 .bc-header .bc-nav>.bc-actions .bc-profile{width:100%}
 .bc-profile-panel{position:static;width:100%;max-width:100%;margin-top:10px;box-shadow:none}
 .bc-auth-links{width:100%;flex-wrap:wrap}
 .bc-auth-links .bc-button{flex:1}
}

/* A centred disclosure indicator beneath the profile photo. */
.bc-actions .bc-profile>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 0}
.bc-profile-chevron{display:block;flex:none;color:var(--bc-ink)}
.bc-profile[open]>summary .bc-profile-chevron{transform:rotate(180deg)}

/* Front-end account settings. */
.bc-settings{width:100%;max-width:850px;margin:24px auto;padding:24px;background:var(--bc-header);color:var(--bc-ink);border:1px solid var(--bc-border);border-radius:16px}
.bc-settings h1{font-size:28px;font-weight:750;margin:0 0 8px}
.bc-settings h2{font-size:21px;margin:24px 0 8px}
.bc-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bc-settings label{display:block;font-weight:600;margin-bottom:16px;min-width:0}
.bc-settings input{display:block;width:100%;min-width:0;margin-top:6px;padding:11px 12px;border:1px solid var(--bc-border);border-radius:8px;background:var(--bc-bg);color:var(--bc-ink)}
.bc-settings small{font-weight:400}.bc-settings-notice{padding:12px 16px;border:1px solid var(--bc-border);border-radius:8px;background:var(--bc-bg)}
.bc-settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:12px}
@media(max-width:600px){.bc-settings{margin:16px 0;padding:18px 14px}.bc-settings-grid{grid-template-columns:1fr;gap:0}}

/* Authentication: shared theme chrome with a focused, responsive form. */
.bc-auth-page{padding:32px 16px 40px;background:radial-gradient(ellipse at top,#2563eb0d,transparent 70%);width:100%}
.bc-auth-card{width:100%;max-width:520px;margin:auto;padding:32px;border:1px solid var(--bc-border);border-radius:20px;background:var(--bc-header);color:var(--bc-ink);box-shadow:0 12px 40px #19283b0b}
.bc-auth-eyebrow{display:block;color:var(--bc-accent);font-size:13px;font-weight:700;margin-bottom:10px}
.bc-auth-card h1{font-size:30px;line-height:1.25;letter-spacing:-.5px;font-weight:750;margin:0 0 12px}
.bc-auth-intro{margin:0 0 24px;color:var(--bc-muted)}
.bc-auth-field{display:block;font-size:15px;font-weight:600;margin-bottom:18px;min-width:0}
.bc-auth-field input{display:block;width:100%;min-width:0;min-height:46px;padding:11px 12px;margin-top:6px;border:1px solid var(--bc-border);border-radius:9px;background:var(--bc-bg);color:var(--bc-ink)}
.bc-auth-name-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bc-auth-options{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px;font-size:14px}
.bc-auth-options label{display:flex;align-items:center;gap:7px}.bc-auth-options input{width:16px;height:16px}
.bc-auth-card form>.bc-button{width:100%;min-height:46px;font-weight:700}
.bc-auth-help{font-size:13px;color:var(--bc-muted);margin:0 0 18px}
.bc-auth-notice,.bc-auth-error{border:1px solid var(--bc-border);border-left:4px solid #2563eb;border-radius:9px;padding:12px 14px;margin:0 0 20px;background:var(--bc-bg);font-size:14px}
.bc-auth-error{border-left-color:#dc2626}.bc-auth-error ul{margin:0;padding-left:18px}
.bc-auth-footer{display:flex;justify-content:center;gap:24px;margin-top:24px;padding-top:20px;border-top:1px solid var(--bc-border);font-size:14px}
.bc-auth-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.bc-auth-resend{display:block;margin:16px auto 12px;padding:8px 14px;color:var(--bc-accent);background:transparent;border:1px solid var(--bc-border);border-radius:8px;font-weight:600}
.bc-auth-restart{display:block;text-align:center;font-size:14px}
@media(max-width:600px){.bc-auth-page{padding:20px 12px 28px}.bc-auth-card{padding:24px 18px;border-radius:16px}.bc-auth-name-grid{grid-template-columns:1fr;gap:0}}

/* Mobile profile follows the last menu item and expands along the menu column. */
@media(max-width:1000px){
 .bc-header .bc-nav .bc-menu{display:flow-root;position:relative}
 .bc-menu-last-with-profile{padding-right:62px;min-height:54px}
 .bc-header .bc-nav .bc-mobile-profile-host{position:relative;list-style:none;margin:0!important;padding:0;clear:both}
 .bc-header .bc-nav .bc-mobile-profile-host>.bc-actions{display:block;margin:0;padding:0;border:0;width:100%}
 .bc-mobile-profile-host .bc-profile{position:static;width:100%}
 .bc-header .bc-mobile-profile-host .bc-profile>summary{position:absolute;right:10px;top:-54px;width:44px;min-height:50px;max-height:54px;padding:0;gap:2px}
 .bc-mobile-profile-host .bc-profile-avatar,.bc-mobile-profile-host .bc-profile-avatar .avatar{width:36px;height:36px}
 .bc-mobile-profile-host .bc-profile-panel{position:static;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;padding:8px 0 0;margin:0}
 .bc-mobile-profile-host .bc-profile-identity{padding:12px;margin:0 0 6px}
 .bc-mobile-profile-host .bc-profile-link{padding:11px 12px;font-size:15px;font-weight:700;line-height:1.65}
}

.bc-auth-field .bc-required{color:#dc2626;font-weight:800}
html[data-bc-mode="dark"] .bc-auth-field .bc-required{color:#fca5a5}

.bc-registration-consents { margin:18px 0; padding:14px; border:1px solid var(--bc-border,#dce3ec); border-radius:12px; min-width:0; }
.bc-registration-consents legend { font-weight:700; padding:0 6px; }
.bc-registration-consents label { display:flex; align-items:flex-start; gap:10px; margin:10px 0; font-size:14px; line-height:1.6; text-align:left; }
.bc-registration-consents input[type="checkbox"] { flex:0 0 18px; width:18px; height:18px; margin-top:3px; accent-color:#2563eb; }
.bc-registration-consents a { text-decoration:underline; font-weight:600; }

/* Refined authentication controls, scoped to theme-owned forms. */
.bc-auth-links .bc-button,
.bc-auth-card .bc-button,
.bc-settings .bc-button {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:46px;padding:11px 22px;border:1px solid transparent;border-radius:12px;
 background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;
 font-size:15px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;
 box-shadow:0 4px 12px #2563eb24;transition:background .18s,box-shadow .18s;
}
.bc-auth-links .bc-button-outline {
 background:var(--bc-header);color:var(--bc-ink);border-color:var(--bc-border);box-shadow:none;
}
.bc-auth-links .bc-button:hover,
.bc-auth-card .bc-button:hover,
.bc-settings .bc-button:hover {background:#1e40af;color:#fff;box-shadow:0 5px 16px #2563eb30;text-decoration:none}
.bc-auth-links .bc-button-outline:hover {background:var(--bc-bg);color:var(--bc-accent);border-color:var(--bc-accent);box-shadow:none}
.bc-auth-page {padding:28px 12px 40px;background:radial-gradient(ellipse at top,#2563eb12,transparent 65%)}
.bc-auth-card {position:relative;max-width:560px;padding:30px;border-radius:22px;border-top:4px solid #2563eb;box-shadow:0 12px 38px #0f172a0d}
.bc-auth-eyebrow {text-align:center;letter-spacing:.02em;font-size:13px;margin-bottom:10px}
.bc-auth-card h1 {text-align:center;font-size:30px;font-weight:800;letter-spacing:-.6px;margin-bottom:10px}
.bc-auth-intro {text-align:center;font-size:15px;line-height:1.65;margin-bottom:26px}
.bc-auth-field {font-size:14px;font-weight:650;line-height:1.5;margin-bottom:18px}
.bc-auth-field input,.bc-settings input {
 min-height:48px;padding:12px 14px;font-size:16px;line-height:1.5;border-radius:11px;
 background:var(--bc-header);border-color:var(--bc-border);box-shadow:inset 0 1px 2px #0f172a04;
 transition:border-color .18s,box-shadow .18s;
}
.bc-auth-field input:focus,.bc-settings input:focus {border-color:#2563eb;box-shadow:0 0 0 3px #2563eb20;outline:2px solid transparent;outline-offset:2px}
.bc-auth-field input[ name="code"] {text-align:center;font-weight:750;font-size:24px;letter-spacing:.25em}
.bc-auth-options {font-size:14px;gap:12px;margin:4px 0 20px}
.bc-auth-options input {accent-color:#2563eb}
.bc-auth-card form>.bc-button {min-height:50px}
.bc-auth-footer {gap:12px 24px;flex-wrap:wrap;font-weight:600}
.bc-auth-card .bc-registration-consents {border-radius:12px;padding:12px 14px;background:var(--bc-bg);margin:20px 0}
.bc-registration-consents legend {font-size:13px}
.bc-registration-consents label {font-size:14px;font-weight:400}
.bc-auth-resend {min-height:44px;border-radius:10px}
.bc-settings {max-width:820px;padding:30px;border-radius:22px;border-top:4px solid #2563eb;box-shadow:0 12px 38px #0f172a0d}
.bc-settings-eyebrow {display:block;color:var(--bc-accent);font-size:13px;font-weight:700;margin-bottom:6px}
.bc-settings h1 {font-weight:800;line-height:1.25;letter-spacing:-.5px}
.bc-settings>p,.bc-settings form>p {color:var(--bc-muted);font-size:15px}
.bc-settings h2 {border-top:1px solid var(--bc-border);padding-top:22px;font-weight:750}
.bc-settings label {font-size:14px}
.bc-settings small {display:block;margin-top:6px;color:var(--bc-muted);font-size:13px}
.bc-settings-actions {padding-top:18px;border-top:1px solid var(--bc-border)}
@media(max-width:600px) {
 .bc-auth-card {padding:24px 18px;border-radius:18px}
 .bc-auth-card h1 {font-size:28px}
 .bc-settings {padding:24px 18px;border-radius:18px}
 .bc-settings-actions .bc-button {width:100%;min-height:50px}
}
@media(prefers-reduced-motion:reduce) {
 .bc-auth-links .bc-button,.bc-auth-card .bc-button,.bc-settings .bc-button,
 .bc-auth-field input,.bc-settings input {transition:none}
}


.bc-not-found .bc-not-found-image{display:block;width:min(100%,340px);height:auto;max-height:300px;object-fit:contain;margin:0 auto 22px}

/* Initials remain beneath real photos, including when an image fails to load. */
.bc-avatar-wrap .bc-avatar-initials{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;font-size:15px;font-weight:750;line-height:1;letter-spacing:.02em}
.bc-profile-identity .bc-avatar-initials{font-size:18px}
.bc-not-found .bc-not-found-image{width:min(85%,640px);height:auto;max-height:none;object-fit:contain;margin:0 auto 24px}
@media(max-width:600px){.bc-not-found .bc-not-found-image{width:92%}}

/* A real photo replaces the initials completely. */
.bc-avatar-wrap.bc-has-photo .bc-avatar-initials{display:none}
.bc-avatar-wrap.bc-profile-avatar>img.avatar{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;border-radius:50%;object-fit:cover;z-index:1}

.bc-settings-photo{display:flex;align-items:flex-start;gap:22px;margin:24px 0;padding:20px;border:1px solid var(--bc-border);border-radius:14px;background:var(--bc-bg)}
.bc-settings-photo-preview{flex:none}
.bc-settings-photo-preview .bc-profile-avatar{width:88px;height:88px}
.bc-settings-photo-preview .bc-avatar-initials{font-size:28px}
.bc-settings-photo-controls{flex:1;min-width:0}
.bc-settings-photo-controls input[type=file]{max-width:100%;font-size:14px;padding:8px;background:var(--bc-header)}
.bc-settings-photo-controls input[type=file]::file-selector-button{padding:8px 12px;margin-right:10px;border:0;border-radius:7px;background:#2563eb;color:white;font:inherit;font-weight:600;cursor:pointer}
.bc-settings .bc-settings-remove-picture{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:600;margin:10px 0 0}
.bc-settings .bc-settings-remove-picture input{display:inline-block;flex:none;width:18px;min-height:18px;height:18px;margin:0;padding:0;accent-color:#2563eb}
.bc-settings-remove-picture small{flex-basis:100%}
.bc-settings textarea{display:block;width:100%;min-height:130px;resize:vertical;margin-top:6px;padding:12px 14px;border:1px solid var(--bc-border);border-radius:11px;background:var(--bc-header);color:var(--bc-ink);font:inherit;font-size:16px;line-height:1.6}
.bc-settings textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb20;outline:2px solid transparent}
@media(max-width:600px){.bc-settings-photo{flex-direction:column;gap:16px;padding:16px}.bc-settings-photo-controls{width:100%}}

/* Mobile navigation overlays content; it never participates in header sizing. */
@media(max-width:1000px){
 .bc-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;min-height:68px;gap:12px;padding:10px 12px!important}
 .bc-header .bc-brand{grid-column:1!important;grid-row:1!important;justify-self:start;min-width:0}
 .bc-header .bc-toggle{grid-column:2!important;grid-row:1!important;justify-self:end;display:inline-flex!important;align-items:center;gap:6px;width:auto!important;margin:0}
 .bc-header-inner>.bc-actions{display:none!important}
 .bc-header .bc-nav{position:fixed!important;top:var(--bc-header-bottom,68px)!important;bottom:0!important;left:0!important;right:auto!important;inset-inline-start:0!important;inset-inline-end:auto!important;width:min(360px,90vw)!important;max-width:90vw!important;height:auto!important;max-height:none!important;margin:0!important;padding:12px 14px 24px!important;box-sizing:border-box;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;background:var(--bc-header,#fff);color:var(--bc-ink,#19283b);border:0!important;border-right:1px solid var(--bc-border,#e5e7eb)!important;box-shadow:8px 12px 24px #0002;z-index:102;transform:none!important;text-align:left!important;transition:none!important}
 .bc-header .bc-nav:not(.is-open){display:none!important}
 .bc-header .bc-nav.is-open{display:block!important}
 .bc-header .bc-nav .bc-menu{display:block!important;width:100%;margin:0!important;padding:0!important;text-align:left!important}
 .bc-header .bc-nav .bc-menu>li{display:block;float:none!important;width:100%;margin:0!important;padding:0!important;text-align:left!important}
 .bc-header .bc-nav .bc-menu a{text-align:left!important;white-space:normal;overflow-wrap:normal;word-break:normal}
 .bc-header .bc-nav .sub-menu{position:static!important;width:auto;max-width:none;box-shadow:none}
 .bc-header .bc-nav>.bc-actions{display:flex;justify-content:flex-start!important;align-items:flex-start!important;width:100%;margin:12px 0 0;padding:12px 0 0;flex-wrap:wrap}
 .bc-header .bc-mobile-profile-host{position:static!important;float:none!important;clear:both;width:100%!important}
 .bc-header .bc-mobile-profile-host>.bc-actions{display:flex!important;justify-content:flex-start!important;align-items:flex-start!important;margin-top:12px}
 .bc-header .bc-menu-last-with-profile{padding-right:0!important}
 .bc-header .bc-profile{width:100%;text-align:left}
 .bc-header .bc-profile>summary{justify-content:flex-start}
 .bc-header .bc-profile-panel{position:static!important;width:100%!important;max-width:100%;box-sizing:border-box;box-shadow:none;text-align:left}
 .bc-menu-backdrop:not([hidden]){display:block!important;position:fixed;top:var(--bc-header-bottom,68px);bottom:0;left:0;right:0;background:#0c172a55;z-index:99;touch-action:none}
 .bc-menu-backdrop[hidden]{display:none!important}
}

/* The avatar belongs to the final menu row; its panel expands below that row. */
@media(max-width:1000px){
 .bc-header .bc-nav .bc-menu>li.bc-menu-profile-row{position:relative!important;min-height:54px}
 .bc-header .bc-nav .bc-menu>li.bc-menu-profile-row>a{padding-right:68px!important;min-height:54px;box-sizing:border-box}
 .bc-header .bc-nav .bc-menu>li.bc-menu-profile-row>.bc-actions{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;border:0!important}
 .bc-header .bc-menu-profile-row .bc-profile{position:static!important;width:100%;margin:0!important}
 .bc-header .bc-menu-profile-row .bc-profile>summary{display:flex!important;position:absolute!important;top:0!important;right:10px!important;left:auto!important;width:44px!important;min-width:44px;min-height:54px!important;margin:0!important;padding:0!important;flex-direction:column;align-items:center;justify-content:center;gap:2px}
 .bc-header .bc-menu-profile-row .bc-profile>summary .bc-profile-avatar{width:36px;height:36px}
 .bc-header .bc-menu-profile-row .bc-profile-panel{position:static!important;width:100%!important;max-width:100%;box-sizing:border-box;margin:0!important;padding:8px 0!important;border:0;border-radius:0;box-shadow:none;text-align:left}
 .bc-header .bc-menu-profile-row .bc-profile-link{display:flex;align-items:center;text-align:left;padding:11px 12px}
}

/* Announcement / advert editor output. Shared by the site and admin frame. */
.bc-advert{box-sizing:border-box;width:100%;background:var(--bc-ad-background,#1456a0);background-image:linear-gradient(115deg,#ffffff12,transparent 65%);color:var(--bc-ad-text,#fff);border-bottom:1px solid #ffffff26;font-family:inherit}
.bc-advert-inner{max-width:1440px;margin:0 auto;padding:13px 24px;display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}
.bc-advert-badge{flex:none;max-width:100%;padding:5px 11px;border:1px solid currentColor;border-radius:999px;font-size:12px;font-weight:750;letter-spacing:.03em;overflow-wrap:break-word}
.bc-advert-copy{flex:1 1 280px;min-width:0;font-size:15px;line-height:1.6;overflow-wrap:break-word}
.bc-advert-copy p{margin:0 0 6px}.bc-advert-copy p:last-child{margin-bottom:0}
.bc-advert-copy a{color:inherit;text-decoration:underline;font-weight:700}
.bc-advert-copy ul,.bc-advert-copy ol{margin:6px 0;padding-left:22px}
.bc-advert-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap;max-width:100%}
.bc-advert a.bc-advert-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 16px;border:1px solid var(--bc-ad-button,#fff);border-radius:9px;background:var(--bc-ad-button,#fff);color:var(--bc-ad-button_text,#1456a0);font-size:14px;font-weight:750;line-height:1.4;text-decoration:none;min-height:40px;max-width:100%;overflow-wrap:break-word}
.bc-advert a.bc-advert-button-secondary{background:transparent;color:var(--bc-ad-text,#fff);border-color:currentColor}
.bc-advert a.bc-advert-button:hover{filter:brightness(.94);text-decoration:none}
.bc-advert a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:600px){.bc-advert-inner{padding:12px;gap:9px 12px}.bc-advert-copy{flex-basis:100%;font-size:14px}.bc-advert-buttons{width:100%}.bc-advert a.bc-advert-button{flex:1 1 130px;padding:9px 12px}}

/* Dismissible announcement, with a reserved tap target. */
.bc-advert[hidden]{display:none!important}
.bc-advert-inner{position:relative}
.bc-advert-inner:has(>.bc-advert-close){padding-right:62px}
.bc-advert .bc-advert-close{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:1px solid #ffffff55;border-radius:50%;background:transparent;color:inherit;box-shadow:none;cursor:pointer}
.bc-advert .bc-advert-close:hover{background:#ffffff20}
.bc-advert .bc-advert-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:600px){.bc-advert .bc-advert-close{top:8px;transform:none}}

/* Native CPM 1.8 individual checkboxes in the theme authentication cards. */
.bc-auth-card .cpm-form-consent-groups{width:100%;margin:16px 0 22px;min-width:0}
.bc-auth-card .cpm-form-category-head{flex-wrap:wrap;text-align:left}
.bc-auth-card .cpm-form-category-head a{font-size:13px}
.bc-auth-card .cpm-form-document-check,.bc-auth-card .bc-consent-extra{display:flex!important;align-items:flex-start;gap:9px;font-size:14px;line-height:1.6;text-align:left;white-space:normal}
.bc-auth-card .cpm-form-document-check input[type=checkbox],.bc-auth-card .bc-consent-extra input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:3px 0 0;padding:0;accent-color:var(--bc-accent)}
.bc-auth-card .cpm-form-document-check span,.bc-auth-card .bc-consent-extra span{min-width:0;overflow-wrap:break-word}
html[data-bc-mode="dark"] .bc-auth-card .cpm-form-category{background:var(--bc-header);color:var(--bc-ink);border-color:var(--bc-border)}
html[data-bc-mode="dark"] .bc-auth-card .cpm-form-category-head{background:var(--bc-bg);border-color:var(--bc-border)}

/* Compact consent categories; expanded documents remain full width. */
.bc-auth-card .bc-consent-steps .cpm-form-category-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px}
.bc-auth-card .bc-consent-open {background:transparent;color:inherit;border:0;box-shadow:none;padding:4px 0;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.bc-auth-card .bc-consent-open::before {content:'▸';display:inline-block;margin-right:8px}
.bc-auth-card .bc-consent-open[aria-expanded=true]::before {content:'▾'}
.bc-auth-card .bc-consent-open:disabled {opacity:.55;cursor:not-allowed}
.bc-auth-card .bc-consent-panel[hidden] {display:none!important}
.bc-auth-card .bc-consent-panel {padding:8px 12px 14px}
.bc-auth-card .bc-consent-next {width:auto;max-width:100%;padding:10px 16px;border:0;border-radius:9px;background:#245cea;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.bc-auth-card .bc-consent-next:disabled {opacity:.5;cursor:not-allowed}
.bc-auth-card .bc-consent-status {font-size:13px;line-height:1.5;margin:10px 0}
