.bs50-full-app,.bs50-full-app .bs-ref-content{background:#fff!important}.bs50-content-full{padding:0!important}.bs50-content-full .bs-ref-module{margin:0!important}.bsc50-dashboard,.bsc50-public-profile{--n:#052e50;--n2:#001f39;--g:#d78905;--gl:#f5b72d;--r:#bd171e;--line:#ead8bd;color:#082b4a;background:#fff;font-family:Inter,Arial,sans-serif}.bsc50-dash-hero{min-height:330px;padding:40px max(5vw,48px);display:grid;grid-template-columns:1.35fr .65fr;align-items:center;gap:40px;color:#fff;background:linear-gradient(90deg,rgba(0,31,57,.98),rgba(0,47,80,.86) 48%,rgba(0,31,57,.35)),url('assets/images/heritage-flag.png') center/cover no-repeat}.bsc50-person{display:flex;align-items:center;gap:30px}.bsc50-avatar{width:160px;height:160px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 8px 28px #001b2f}.bsc50-kicker{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#f5c04b;font-weight:800}.bsc50-person h1{font:700 clamp(38px,5vw,68px)/.98 Georgia,serif;margin:8px 0 15px;color:#fff}.bsc50-person h1 em{font-style:normal;color:#f4c363}.bsc50-person p{font-size:19px;font-weight:700;margin:0 0 8px}.bsc50-person small{font-size:14px;color:#e9f0f4}.bsc50-hero-promise{border-left:2px solid #d99416;padding-left:28px}.bsc50-hero-promise strong{display:block;font:700 36px/1.1 Georgia,serif;color:#f5d184}.bsc50-hero-promise span{display:block;margin-top:15px;color:#fff}.bsc50-completion{position:relative;z-index:3;width:min(1420px,94%);margin:-20px auto 18px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(8,43,74,.09);padding:18px 22px;display:grid;grid-template-columns:90px 1.1fr 1.5fr 180px 210px;align-items:center;gap:20px}.bsc50-ring{--p:50;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--g) calc(var(--p)*1%),#f0eadf 0);position:relative}.bsc50-ring:before{content:'';position:absolute;inset:10px;background:#fff;border-radius:50%}.bsc50-ring b{z-index:1;font-size:19px}.bsc50-completion h3{font:700 21px Georgia,serif;margin:0 0 4px}.bsc50-completion p{font-size:13px;margin:0;color:#586879}.bsc50-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;font-size:12px}.bsc50-checks span{color:#5b6874}.bsc50-checks .done{color:#0d8a49}.bsc50-goldbtn{display:inline-flex!important;align-items:center;justify-content:center;background:linear-gradient(#e59b14,#bd7000)!important;color:#fff!important;text-decoration:none!important;border:0!important;border-radius:8px!important;padding:13px 18px!important;font-weight:800!important}.bsc50-member-meta{display:grid;gap:5px;font-size:12px}.bsc50-member-meta a{color:#082b4a;text-decoration:none}.bsc50-tabs{width:min(1420px,94%);margin:0 auto 14px;display:flex;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 7px 22px rgba(8,43,74,.05)}.bsc50-tabs a{flex:1;min-width:125px;text-align:center;padding:12px 9px;color:#0a3154;text-decoration:none;font-size:12px;white-space:nowrap}.bsc50-tabs a.active{background:#073653;color:#fff;border-radius:9px}.bsc50-tabs i{font-style:normal;margin-right:6px}.bsc50-stats{width:min(1420px,94%);margin:0 auto 14px;display:grid;grid-template-columns:repeat(8,1fr);border:1px solid var(--line);border-radius:12px;background:#fff}.bsc50-stats>div{padding:13px;text-align:center;border-right:1px solid #eee2d0}.bsc50-stats>div:last-child{border:0}.bsc50-stats i{display:block;color:#e28700;font-style:normal;font-size:25px}.bsc50-stats b{font-size:20px;margin-right:5px}.bsc50-stats span{display:block;font-size:10px}.bsc50-dash-grid{width:min(1420px,94%);margin:0 auto 50px;display:grid;grid-template-columns:2fr 1fr;gap:14px}.bsc50-panel,.bsc50-box{border:1px solid var(--line);border-radius:12px;background:#fff;padding:15px;box-shadow:0 5px 18px rgba(8,43,74,.04)}.bsc50-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.bsc50-panel h3,.bsc50-box h2{font:700 19px Georgia,serif;margin:0;color:#082b4a}.bsc50-panel header a{color:#c5161d;font-size:12px;font-weight:800;text-decoration:none}.bsc50-event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.bsc50-event-grid article{border:1px solid #ead8bd;border-radius:10px;overflow:hidden;padding-bottom:12px}.bsc50-event-grid img,.bsc50-ph{width:100%;height:120px;object-fit:cover}.bsc50-ph{display:grid;place-items:center;background:#f5ead7;font-size:28px}.bsc50-event-grid h4,.bsc50-event-grid p,.bsc50-event-grid a{margin:8px 12px}.bsc50-event-grid a{display:block;background:#d98706;color:#fff;text-align:center;padding:8px;border-radius:7px;text-decoration:none;font-weight:700}.bsc50-action,.bsc50-sidebtn{display:block;width:100%;box-sizing:border-box;border:1px solid #e2a03b;background:#fff;color:#082b4a!important;border-radius:7px;padding:10px 12px;margin:7px 0;text-decoration:none;text-align:left;font-weight:700}.bsc50-listrow{display:grid;padding:10px;border-bottom:1px solid #eee;text-decoration:none;color:#082b4a}.bsc50-listrow span{font-size:12px;color:#687583}.bsc50-people{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.bsc50-people a{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:8px;color:#082b4a;text-decoration:none}.bsc50-people img{width:54px;height:54px;border-radius:8px}.bsc50-people span{font-size:10px}.bsc50-empty{padding:22px;border:1px dashed #d7b67a;border-radius:10px;background:#fffaf1;text-align:center}.bsc50-empty strong,.bsc50-empty span{display:block}.bsc50-empty span{font-size:12px;color:#687583;margin-top:5px}
.bsc50-profile-cover{min-height:300px;padding:20px 5vw 24px;position:relative;color:#fff;background:linear-gradient(90deg,rgba(0,31,57,.96),rgba(0,47,80,.72) 52%,rgba(0,31,57,.25)),url('assets/images/heritage-flag.png') center/cover no-repeat}.bsc50-breadcrumb{font-size:12px;color:#f4c04b;margin-bottom:25px}.bsc50-profile-id{display:flex;align-items:center;gap:20px}.bsc50-profile-photo{width:170px;height:190px;border-radius:16px;object-fit:cover;border:4px solid #fff}.bsc50-profile-id h1{font:700 38px Georgia,serif;margin:8px 0 4px;color:#fff}.bsc50-profile-id b,.bsc50-profile-id strong{display:block}.bsc50-profile-id p{margin:7px 0}.bsc50-verified{display:inline-block;background:#d8f5e4;color:#087a45;border-radius:999px;padding:5px 10px;font-weight:800}.bsc50-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.bsc50-chips span{background:rgba(255,255,255,.92);color:#173a59;border-radius:999px;padding:5px 9px;font-size:10px}.bsc50-cover-promise{position:absolute;right:5vw;top:80px;max-width:280px;border-left:2px solid #d58c09;padding-left:20px}.bsc50-cover-promise strong{display:block;font:700 28px Georgia,serif;color:#f2c665}.bsc50-cover-promise span{font-size:12px}.bsc50-profile-actions{width:min(1420px,94%);margin:-22px auto 10px;position:relative;z-index:2;display:flex;justify-content:flex-end;gap:10px}.bsc50-profile-actions>a{background:#fff;border:1px solid #d7b67a;border-radius:8px;padding:11px 25px;color:#082b4a;text-decoration:none;font-weight:800}.bsc50-profile-tabs{width:min(1420px,94%);margin:0 auto 14px;display:flex;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px}.bsc50-profile-tabs a{flex:1;min-width:105px;text-align:center;padding:13px 8px;color:#082b4a;text-decoration:none;font-size:12px;border-bottom:3px solid transparent}.bsc50-profile-tabs a.active{border-color:#dc8a00}.bsc50-profile-grid{width:min(1420px,94%);margin:0 auto 50px;display:grid;grid-template-columns:3fr 1.05fr;gap:14px}.bsc50-profile-grid main,.bsc50-profile-grid aside{display:grid;align-content:start;gap:12px}.bsc50-box h2{margin-bottom:12px}.bsc50-box p{font-size:13px;line-height:1.65;color:#334d65}.bsc50-keygrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bsc50-keygrid div{background:#faf9f6;border:1px solid #eee5d8;border-radius:8px;padding:10px}.bsc50-keygrid span,.bsc50-keygrid b{display:block}.bsc50-keygrid span{font-size:10px;color:#647282}.bsc50-keygrid b{font-size:12px;margin-top:4px}.bsc50-tagcloud{display:flex;flex-wrap:wrap;gap:8px}.bsc50-tagcloud span{background:#f1f5fa;border-radius:999px;padding:7px 12px;font-size:11px}.bsc50-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bsc50-posts article{border:1px solid #eee0cc;border-radius:9px;overflow:hidden;padding-bottom:10px}.bsc50-posts img{width:100%;height:120px;object-fit:cover}.bsc50-posts h3,.bsc50-posts p{padding:0 10px}.bsc50-posts h3{font-size:13px}.bsc50-community-cta{background:#fff1dc;border:1px solid #efd1a3;border-radius:12px;padding:22px}.bsc50-community-cta h2{font:700 25px Georgia,serif;margin:0}.bsc50-community-cta a{display:block;background:#d98505;color:#fff;text-align:center;padding:11px;border-radius:7px;text-decoration:none;font-weight:800}
@media(max-width:1050px){.bsc50-completion{grid-template-columns:80px 1fr 1fr}.bsc50-member-meta,.bsc50-completion>.bsc50-goldbtn{grid-column:auto}.bsc50-stats{grid-template-columns:repeat(4,1fr)}.bsc50-profile-grid{grid-template-columns:1fr}.bsc50-cover-promise{display:none}}
@media(max-width:720px){.bsc50-dash-hero{grid-template-columns:1fr;padding:28px 20px}.bsc50-person{display:block}.bsc50-avatar{width:110px;height:110px}.bsc50-hero-promise{display:none}.bsc50-completion{grid-template-columns:70px 1fr;width:92%}.bsc50-checks,.bsc50-member-meta,.bsc50-completion>.bsc50-goldbtn{grid-column:1/-1}.bsc50-stats{grid-template-columns:repeat(2,1fr)}.bsc50-dash-grid{grid-template-columns:1fr}.bsc50-event-grid,.bsc50-posts,.bsc50-keygrid{grid-template-columns:1fr}.bsc50-profile-cover{padding:18px 20px}.bsc50-profile-id{display:block}.bsc50-profile-photo{width:120px;height:135px}.bsc50-profile-actions{justify-content:flex-start;overflow:auto}.bsc50-profile-actions>a{white-space:nowrap}.bsc50-profile-grid{width:92%}}


/* Baniya Samriddhi Reference UI 6.0 — loaded by Core so internal screens never lose styling */
.bs-ref-module{font-family:Inter,Arial,sans-serif;color:#082d4b}.bs-ref-module>section,.bs-ref-module>.bsc-app{max-width:none}
.bs-ref-module .bsc-app,.bs-ref-module .bsc-directory,.bs-ref-module .bsc31-directory,.bs-ref-module .bsc32-directory,.bs-ref-module .bsc-heritage-shell,.bs-ref-module .bsc-knowledge-page{width:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.bs-ref-module .bsc-card,.bs-ref-module .bsc-panel,.bs-ref-module .bsc-form,.bs-ref-module .bsc-profile-form,.bs-ref-module .bsc-join-form,.bs-ref-module .bsc31-card,.bs-ref-module .bsc33-card{background:#fff;border:1px solid #ead8bd;border-radius:14px;box-shadow:0 7px 22px rgba(8,43,74,.055)}
.bs-ref-module .bsc-grid,.bs-ref-module .bsc-member-grid,.bs-ref-module .bsc31-member-grid,.bs-ref-module .bsc32-entity-grid{gap:16px}
.bs-ref-module input,.bs-ref-module select,.bs-ref-module textarea{min-height:46px;border:1px solid #ddcfb8!important;border-radius:9px!important;background:#fff!important;padding:11px 13px!important;color:#183750!important}
.bs-ref-module textarea{min-height:110px}.bs-ref-module button,.bs-ref-module input[type=submit],.bs-ref-module .bsc-button{border:0!important;border-radius:8px!important;background:#bd171e!important;color:#fff!important;font-weight:800!important;padding:12px 18px!important;text-decoration:none!important}
.bs-ref-module h1,.bs-ref-module h2,.bs-ref-module h3,.bs-ref-module h4{color:#082d4b}.bs-ref-module h2,.bs-ref-module h3{font-family:Georgia,serif}
.bs-ref-module .bsc-search,.bs-ref-module .bsc31-search{display:flex;gap:10px;background:#fff;border:1px solid #ead8bd;border-radius:13px;padding:12px;margin-bottom:18px;box-shadow:0 7px 22px rgba(8,43,74,.05)}
.bs-ref-module .bsc-search input,.bs-ref-module .bsc31-search input{flex:1;border:0!important;box-shadow:none!important}
.bs-ref-module .bsc-member-card,.bs-ref-module .bsc-business-card,.bs-ref-module .bsc-gotra-card,.bs-ref-module .bsc-archive-card{background:#fff;border:1px solid #ead8bd;border-radius:13px;padding:15px;box-shadow:0 5px 18px rgba(8,43,74,.04)}
.bs-ref-module .bsc-member-card img,.bs-ref-module .bsc-avatar img{border-radius:10px;object-fit:cover}
.bs-ref-module .bsc-filterbar{background:#fff;border:1px solid #ead8bd;border-radius:12px;padding:12px;display:flex;gap:10px;flex-wrap:wrap}
.bs-ref-module .bsc-product-hero,.bs-ref-module .bsc-signature-hero,.bs-ref-module .bsc-seva-hero,.bs-ref-module .bsc-virasat-hero,.bs-ref-module .bsc-vansh-hero{background:linear-gradient(110deg,#062f50,#0b4b72);color:#fff;border-radius:18px;padding:34px;margin-bottom:20px;overflow:hidden}
.bs-ref-module .bsc-product-hero h1,.bs-ref-module .bsc-signature-hero h1,.bs-ref-module .bsc-seva-hero h1,.bs-ref-module .bsc-virasat-hero h1,.bs-ref-module .bsc-vansh-hero h1{color:#fff}
.bs-page-member-hub .bs-ref-content,.bs-page-members.bs50-full-app .bs-ref-content{padding:0!important}.bs-page-member-hub .bs-ref-module,.bs-page-members.bs50-full-app .bs-ref-module{margin:0!important}
@media(max-width:900px){.bsc50-dash-hero{grid-template-columns:1fr}.bsc50-completion{grid-template-columns:75px 1fr}.bsc50-checks,.bsc50-member-meta{grid-column:1/-1}.bsc50-dash-grid,.bsc50-profile-grid{grid-template-columns:1fr}.bsc50-stats{grid-template-columns:repeat(4,1fr)}.bsc50-cover-promise{position:static;margin:20px 0 0 190px}.bsc50-completion .bsc50-goldbtn{grid-column:1/-1}.bsc50-keygrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.bsc50-person{align-items:flex-start}.bsc50-avatar{width:92px;height:92px}.bsc50-person h1{font-size:38px}.bsc50-completion{width:94%;grid-template-columns:1fr}.bsc50-stats{grid-template-columns:repeat(2,1fr)}.bsc50-event-grid,.bsc50-posts{grid-template-columns:1fr}.bsc50-profile-id{display:block}.bsc50-profile-photo{width:120px;height:135px}.bsc50-cover-promise{margin:20px 0 0}.bsc50-keygrid{grid-template-columns:1fr}}


/* ===== 7.0 ALL-PAGES REFERENCE MATCH ===== */
body.page-template-platform .bs-ref-mast,body.page-template-platform .bs-ref-toolbar,body.page-template-platform .bs-ref-section-head{display:none!important}
body.page-template-platform .bs-ref-content{padding:0!important;background:#fff!important}
body.page-template-platform .bs-ref-content>.bs-wrap{width:100%!important;max-width:none!important;margin:0!important}
body.page-template-platform .bs-ref-module{width:100%!important;max-width:none!important;margin:0!important}
body.page-template-platform .bsc-app,body.page-template-platform .bsc34-hero,body.page-template-platform .bsc34-grid,body.page-template-platform .bsc-directory,body.page-template-platform .bsc-ai23{width:min(1360px,92%)!important;margin-left:auto!important;margin-right:auto!important}
/* every module gets the approved warm-white/navy/gold visual system */
body.page-template-platform .bsc34-hero{position:relative;overflow:hidden;min-height:330px;margin-top:0!important;padding:54px 48px!important;border-radius:0 0 26px 26px!important;background:linear-gradient(90deg,rgba(4,36,61,.98),rgba(7,53,86,.91) 54%,rgba(7,53,86,.45)),url('../images/heritage-flag.png') center/cover no-repeat!important;color:#fff!important;box-shadow:0 18px 48px rgba(5,37,61,.12)}
body.page-template-platform .bsc34-hero:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 82% 40%,rgba(221,162,47,.18),transparent 32%);pointer-events:none}
body.page-template-platform .bsc34-hero .hi{font:800 clamp(38px,5vw,66px)/1.05 Georgia,serif;color:#f1c65d;margin:8px 0}
body.page-template-platform .bsc34-hero h2{font:800 clamp(38px,5vw,64px)/1.02 Georgia,serif;color:#fff!important;margin:5px 0 14px!important;max-width:760px}
body.page-template-platform .bsc34-hero p{font-size:17px;max-width:720px;color:#edf4f8!important}
body.page-template-platform .bsc34-eyebrow{color:#f1c65d!important;letter-spacing:.18em;font-weight:900}
body.page-template-platform .bsc34-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;padding:28px 0 60px!important}
body.page-template-platform .bsc34-card{background:#fff!important;border:1px solid #e8d6b8!important;border-radius:16px!important;padding:22px!important;min-height:155px!important;box-shadow:0 8px 24px rgba(5,37,61,.045)!important;text-decoration:none!important}
body.page-template-platform .bsc34-card h3{font:800 20px Georgia,serif!important;color:#073657!important;margin:0 0 10px!important}
body.page-template-platform .bsc34-card small{color:#b57500!important;font-weight:800!important}
/* Ask Samriddhi = reference page 29, no duplicate generic mast */
body.page-template-platform.bs-page-ask-samriddhi .bs-ref-content{padding-top:0!important}
.bs-page-ask-samriddhi .bsc-ai23{padding:42px 0 70px!important}
.bs-page-ask-samriddhi .bsc-ai23-hero{min-height:365px!important;border-radius:0 0 26px 26px!important;padding:56px 52px!important;background:linear-gradient(90deg,rgba(4,36,61,.98),rgba(4,42,70,.88) 55%,rgba(4,42,70,.38)),url('../images/heritage-flag.png') center/cover no-repeat!important;color:#fff!important}
.bs-page-ask-samriddhi .bsc-ai23-hero h1{font:800 clamp(46px,5vw,68px)/1 Georgia,serif!important;color:#fff!important;margin:10px 0 14px!important}
.bs-page-ask-samriddhi .bsc-ai23-hero p{max-width:760px!important;font-size:17px!important;color:#edf4f8!important}
.bs-page-ask-samriddhi .bsc-ai23-search{background:#fff!important;border-radius:14px!important;padding:10px!important;margin-top:26px!important;display:flex!important;gap:10px!important}
.bs-page-ask-samriddhi .bsc-ai23-search input{border:0!important;min-height:52px!important;padding:0 18px!important;flex:1!important}
.bs-page-ask-samriddhi .bsc-ai23-search button{border:0!important;border-radius:10px!important;background:#b5121b!important;color:#fff!important;padding:0 25px!important;font-weight:800!important}
.bs-page-ask-samriddhi .bsc-ai23-paths{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:14px!important;margin-top:18px!important}
.bs-page-ask-samriddhi .bsc-ai23-paths>div{background:#fff!important;border:1px solid #ead9bd!important;border-radius:15px!important;padding:22px!important;min-height:130px!important}
.bs-page-ask-samriddhi .bsc-ai23-paths strong{font:800 20px Georgia,serif!important;color:#082f4d!important;display:block!important;margin-bottom:8px!important}
/* directories: approved dense cards + filter panel */
.bs-page-members .bsc31-directory,.bs-page-businesses .bsc-directory{width:min(1360px,92%)!important;margin:0 auto!important;padding:34px 0 70px!important;background:#fff!important;border:0!important;box-shadow:none!important}
.bs-page-members .bsc31-dir-intro,.bs-page-businesses .bsc-directory:before{border-radius:20px!important;background:#073b60!important;color:#fff!important}
.bsc31-member-grid,.bsc-member-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.bsc31-card-id,.bsc-member-card{border:1px solid #ead8ba!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 24px rgba(5,37,61,.05)!important}
/* forms / jobs / projects / referrals / seva */
.bs-page-jobs .bsc-app,.bs-page-projects .bsc-app,.bs-page-referrals .bsc-app,.bs-page-opportunities .bsc-app,.bs-page-seva .bsc-app,.bs-page-profile .bsc-app,.bs-page-vanshavali .bsc-app,.bs-page-virasat .bsc-app,.bs-page-mentorship .bsc-app{padding:34px 0 70px!important}
body.page-template-platform .bsc-card,body.page-template-platform .bsc-form,body.page-template-platform .bsc-profile-form,body.page-template-platform .bsc-premium-form,body.page-template-platform .bsc-join-form{border:1px solid #ead8ba!important;border-radius:16px!important;box-shadow:0 8px 26px rgba(5,37,61,.05)!important}
body.page-template-platform input,body.page-template-platform select,body.page-template-platform textarea{border-color:#dfcfb4!important;border-radius:10px!important;min-height:46px}
body.page-template-platform button,body.page-template-platform .bsc-button{background:#b5121b!important;border-radius:10px!important;color:#fff!important;font-weight:800!important}
/* profile editor reference - full responsive width */
.bs-page-profile .bsc-profile-editor-premium{display:block!important;max-width:1050px;margin:0 auto!important}
.bs-page-profile .bsc-master-profile-editor{width:100%!important;max-width:1050px!important;margin:0 auto!important;display:block!important}
/* heritage pages use parchment visual language */
.bs-page-virasat .bsc-virasat-hero,.bs-page-vanshavali .bsc-vansh-hero,.bs-page-heritage-library .bsc-signature-hero{border-radius:0 0 24px 24px!important;background:linear-gradient(90deg,#5f1014,#9b2020 55%,#c68b35)!important;color:#fff!important}
/* footer exactly spans viewport like references */
body.page-template-platform .bs-footer{margin-top:0!important;background:#052f4e!important;border-top:4px solid #c78b18}
@media(max-width:980px){body.page-template-platform .bsc34-grid,.bs-page-ask-samriddhi .bsc-ai23-paths,.bsc31-member-grid,.bsc-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bs-page-profile .bsc-profile-editor-premium{grid-template-columns:1fr!important}}
@media(max-width:620px){body.page-template-platform .bsc34-grid,.bs-page-ask-samriddhi .bsc-ai23-paths,.bsc31-member-grid,.bsc-member-grid{grid-template-columns:1fr!important}body.page-template-platform .bsc34-hero,.bs-page-ask-samriddhi .bsc-ai23-hero{padding:36px 22px!important}}

/* ===== 7.1 VISUAL REGRESSION FIX =====
   Scope controls to module content only. Never paint the global header navigation. */
body.page-template-platform .bs-shell-header button.bs-shell-group-trigger,
body.page-template-platform .bs-shell-header button.bs-shell-toggle{
  background:transparent!important;color:#082d4b!important;border:0!important;border-radius:0!important;
  padding:0 10px!important;min-height:64px!important;box-shadow:none!important;
}
body.page-template-platform .bs-shell-header .bs-shell-group-trigger:hover,
body.page-template-platform .bs-shell-header .bs-shell-group-trigger:focus{background:#fff8ed!important;color:#a5131a!important}
body.page-template-platform .bs-shell-header .bs-shell-group-trigger span{background:transparent!important;color:inherit!important}
/* Restore the approved split masthead for directory/search pages. */
body.page-template-platform.bs-page-members .bs-ref-mast,
body.page-template-platform.bs-page-members .bs-ref-toolbar,
body.page-template-platform.bs-page-members .bs-ref-section-head,
body.page-template-platform.bs-page-businesses .bs-ref-mast,
body.page-template-platform.bs-page-businesses .bs-ref-toolbar,
body.page-template-platform.bs-page-businesses .bs-ref-section-head{display:block!important}
body.page-template-platform.bs-page-members .bs-ref-toolbar>.bs-wrap,
body.page-template-platform.bs-page-businesses .bs-ref-toolbar>.bs-wrap{display:flex!important}
body.page-template-platform.bs-page-members .bs-ref-section-head,
body.page-template-platform.bs-page-businesses .bs-ref-section-head{display:flex!important}
body.page-template-platform.bs-page-members .bs-ref-content,
body.page-template-platform.bs-page-businesses .bs-ref-content{padding:62px 0 90px!important}
body.page-template-platform.bs-page-members .bs-ref-content>.bs-wrap,
body.page-template-platform.bs-page-businesses .bs-ref-content>.bs-wrap{width:min(1220px,92%)!important;max-width:1220px!important;margin:auto!important}
body.page-template-platform.bs-page-members .bsc31-directory,
body.page-template-platform.bs-page-businesses .bsc-directory{width:100%!important;padding-top:10px!important}
/* Use the real theme flag asset for Core-rendered module heroes. */
body.page-template-platform .bsc34-hero,
.bs-page-ask-samriddhi .bsc-ai23-hero{background-image:linear-gradient(90deg,rgba(4,36,61,.98),rgba(7,53,86,.88) 54%,rgba(7,53,86,.38)),var(--bsc-heritage-flag)!important;background-position:center!important;background-size:cover!important}
/* Module action buttons only */
body.page-template-platform .bs-ref-module button,
body.page-template-platform .bs-ref-module input[type=submit],
body.page-template-platform .bs-ref-module .bsc-button{background:#b5121b!important;border-radius:10px!important;color:#fff!important;font-weight:800!important}
@media(max-width:900px){body.page-template-platform.bs-page-members .bs-ref-toolbar>.bs-wrap,body.page-template-platform.bs-page-businesses .bs-ref-toolbar>.bs-wrap{display:block!important}}

/* ===== 8.0 FINAL ALL-PAGE VISUAL LOCK ===== */
/* Global header is owned by the theme. Core must never skin it as an app button. */
body.page-template-platform .bs-header button,
body.page-template-platform .bs-header26 button,
body.page-template-platform .bs-nav button,
body.page-template-platform .bs-mega-trigger{
  background:transparent!important;color:#082d4b!important;border:0!important;border-radius:8px!important;
  box-shadow:none!important;padding:14px 10px!important;min-height:0!important;font-weight:700!important;
}
body.page-template-platform .bs-header .bs-btn,
body.page-template-platform .bs-header26 .bs-btn{background:#b5121b!important;color:#fff!important;border:1px solid #b5121b!important;border-radius:999px!important;padding:12px 18px!important}
body.page-template-platform .bs-nav button:hover,body.page-template-platform .bs-mega-trigger:hover{background:#f7f1e6!important;color:#a5131a!important}
/* Never allow module CSS to leak into header/footer */
body.page-template-platform .bs-header input,body.page-template-platform .bs-header select,body.page-template-platform .bs-header textarea,
body.page-template-platform .bs-header26 input,body.page-template-platform .bs-header26 select,body.page-template-platform .bs-header26 textarea{min-height:initial!important;border-radius:initial!important}
/* Approved internal-page shell */
body.page-template-platform .bs-ref-mast{display:block!important;background:#fbf5ea!important;border-bottom:1px solid #eadcc4!important}
body.page-template-platform .bs-ref-mast-grid{min-height:350px!important;display:grid!important;grid-template-columns:1.15fr .85fr!important;align-items:stretch!important}
body.page-template-platform .bs-ref-mast-copy{padding:48px 46px 46px 0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
body.page-template-platform .bs-ref-mast-copy h1{font:700 clamp(46px,5.4vw,78px)/.98 Georgia,serif!important;letter-spacing:-.035em!important;color:#073653!important;margin:14px 0 14px!important}
body.page-template-platform .bs-ref-mast-copy p{font-size:17px!important;max-width:690px!important;color:#536579!important}
body.page-template-platform .bs-ref-visual{display:block!important;position:relative!important;min-height:350px!important;overflow:hidden!important}
body.page-template-platform .bs-ref-visual img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.page-template-platform .bs-ref-visual-shade{position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(251,245,234,.18),rgba(4,35,58,.04))!important}
body.page-template-platform .bs-ref-visual strong{position:absolute!important;right:28px!important;bottom:24px!important;color:#fff!important;font:700 30px Georgia,serif!important;text-shadow:0 2px 14px rgba(0,0,0,.4)!important}
body.page-template-platform .bs-ref-toolbar{display:block!important;position:relative!important;z-index:5!important;margin-top:-25px!important;background:transparent!important}
body.page-template-platform .bs-ref-toolbar>.bs-wrap{display:flex!important;align-items:stretch!important;gap:10px!important}
body.page-template-platform .bs-ref-search{flex:1!important;display:grid!important;grid-template-columns:28px 1fr auto!important;align-items:center!important;background:#fff!important;border:1px solid #e4cda8!important;border-radius:14px!important;box-shadow:0 12px 30px rgba(6,31,53,.08)!important;padding:7px 8px 7px 16px!important}
body.page-template-platform .bs-ref-search input{border:0!important;outline:0!important;box-shadow:none!important;min-height:48px!important;background:transparent!important}
body.page-template-platform .bs-ref-search button{background:#bd171e!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:15px 25px!important}
body.page-template-platform .bs-ref-actions{display:flex!important;gap:8px!important}
body.page-template-platform .bs-ref-actions a{display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:#073653!important;border:1px solid #e1c99e!important;border-radius:10px!important;padding:0 18px!important;font-weight:800!important;text-decoration:none!important}
body.page-template-platform .bs-ref-content{display:block!important;background:#fff!important;padding:70px 0 96px!important}
body.page-template-platform .bs-ref-section-head{display:flex!important;align-items:end!important;justify-content:space-between!important;margin:0 0 34px!important}
body.page-template-platform .bs-ref-section-head span{color:#bd171e!important;font-size:12px!important;letter-spacing:.14em!important;font-weight:900!important}
body.page-template-platform .bs-ref-section-head h2{font:700 clamp(34px,4vw,50px)/1 Georgia,serif!important;color:#073653!important;margin:10px 0 0!important}
/* The two deliberately full-app screens are exceptions: member hub and public member profile. */
body.page-template-platform.bs-page-member-hub .bs-ref-mast,body.page-template-platform.bs-page-member-hub .bs-ref-toolbar,body.page-template-platform.bs-page-member-hub .bs-ref-section-head,
body.page-template-platform.bs-page-members.bs50-public-member .bs-ref-mast,body.page-template-platform.bs-page-members.bs50-public-member .bs-ref-toolbar,body.page-template-platform.bs-page-members.bs50-public-member .bs-ref-section-head{display:none!important}
/* Module grids: consistent reference density */
body.page-template-platform .bsc34-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.page-template-platform .bsc34-card,body.page-template-platform .bsc-card,body.page-template-platform .bsc-knowledge-sections article{background:#fff!important;border:1px solid #e8d6b9!important;border-radius:14px!important;box-shadow:0 6px 20px rgba(7,54,83,.045)!important}
body.page-template-platform .bsc34-card h3,body.page-template-platform .bsc-card h3,body.page-template-platform .bsc-knowledge-sections h3{font-family:Georgia,serif!important;color:#073653!important}
/* Content controls are scoped to content only. */
body.page-template-platform .bs-ref-module input,body.page-template-platform .bs-ref-module select,body.page-template-platform .bs-ref-module textarea{border:1px solid #dfcfb4!important;border-radius:10px!important;min-height:46px!important;background:#fff!important}
body.page-template-platform .bs-ref-module button,body.page-template-platform .bs-ref-module input[type=submit],body.page-template-platform .bs-ref-module .bsc-button{background:#b5121b!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:800!important}
/* Reference-specific families */
body.bs-page-virasat .bs-ref-mast,body.bs-page-vanshavali .bs-ref-mast,body.bs-page-gotras .bs-ref-mast,body.bs-page-surnames .bs-ref-mast,body.bs-page-ancestral-places .bs-ref-mast,body.bs-page-heritage-library .bs-ref-mast,body.bs-page-newspaper .bs-ref-mast{background:#fff7e9!important}
body.bs-page-ask-samriddhi .bsc-ai23-hero,body.bs-page-networks .bsc34-hero,body.bs-page-power-circles .bsc34-hero,body.bs-page-chapters .bsc34-hero{border-radius:22px!important;overflow:hidden!important}
/* Footer visual lock */
body.page-template-platform .bs-footer{background:#052f4e!important;border-top:4px solid #c78b18!important;color:#dbe6ed!important}
@media(max-width:900px){body.page-template-platform .bs-ref-mast-grid{grid-template-columns:1fr!important}body.page-template-platform .bs-ref-visual{min-height:240px!important}body.page-template-platform .bs-ref-mast-copy{padding:34px 0!important}body.page-template-platform .bs-ref-toolbar{margin-top:0!important}body.page-template-platform .bs-ref-toolbar>.bs-wrap{display:block!important}body.page-template-platform .bs-ref-actions{margin-top:8px!important}body.page-template-platform .bs-ref-actions a{min-height:46px!important}.bsc34-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.page-template-platform .bs-ref-mast-copy h1{font-size:44px!important}body.page-template-platform .bs-ref-search{grid-template-columns:24px 1fr!important}body.page-template-platform .bs-ref-search button{grid-column:1/-1!important;width:100%!important}.bsc34-grid{grid-template-columns:1fr!important}}
