/* AFSEI public pages only; keep admin and branch-specific design independent. */
body.nb-site:not(.nb-branch-site){--af-main:var(--af-primary,#8c242c);--af-navy:var(--af-dark,#10243b);--af-gold:var(--af-accent,#ffc34b);--bs-primary:var(--af-main);--bs-link-color:var(--af-main);}
body.nb-site:not(.nb-branch-site) :is(.sr-cover,.hni-career .hc-hero,.sv-apply-hero,.page-hero,.nb-inner-hero){background:linear-gradient(115deg,var(--af-navy),var(--af-main))!important;color:#fff!important;border-bottom:2px solid var(--af-gold);}
body.nb-site:not(.nb-branch-site) :is(.sr-cover,.hc-hero,.sv-apply-hero,.page-hero) :is(h1,h2,p){color:#fff!important;}
body.nb-site:not(.nb-branch-site) :is(.sr-card,.hc-card,.sv-apply-card,.legal-page-card){border:1px solid #e7ded3;border-radius:16px;box-shadow:0 5px 20px #10243b0b;}
body.nb-site:not(.nb-branch-site) :is(.sr-card,.hni-career,.sv-apply-card,.legal-content-section) .btn-primary{background:var(--af-main)!important;border-color:var(--af-main)!important;color:white!important;}
body.nb-site:not(.nb-branch-site) :is(.sr-card,.hni-career,.sv-apply-card) :is(input,select,textarea):focus{border-color:var(--af-main);box-shadow:0 0 0 3px #8c242c20;}
body.nb-site:not(.nb-branch-site) .hni-career :is(#openings,#placements,#registrations){scroll-margin-top:260px;}
body.nb-site:not(.nb-branch-site) .hni-career .hc-hero .btn-light{background:var(--af-gold);color:#182436!important;border-color:var(--af-gold);}
body.nb-site:not(.nb-branch-site) .hni-career .hc-hero .btn-outline-light{color:white!important;border-color:#fff;}
body.nb-site:not(.nb-branch-site) .hni-career .hc-hero .btn-outline-light:hover{color:var(--af-navy)!important;background:white;}
body.nb-site:not(.nb-branch-site) .af83-empty{padding:18px 20px;background:#fff9ed;border:1px solid #eddfc7;border-radius:12px;color:#39495a;}
body.nb-site .h50activity .h50box{--accent:#174e85;--pale:#edf4ff;}
body.nb-site .h50activity .h50-green{--accent:#086359;--pale:#e1f3ec;}
body.nb-site .h50activity .h50-purple{--accent:#65408a;--pale:#f1e9fa;}
body.nb-site .h50activity .h50box h3{background:linear-gradient(110deg,#10243b,var(--accent))!important;color:white!important;}
body.nb-site .h50activity .h50tabs button[aria-selected=true]{background:var(--accent)!important;color:white!important;}
body.nb-site .h50activity .h50scroll{height:216px;overflow:auto;}
body.nb-site .h50activity .h50empty{color:#485b70!important;}
body.nb-site .h50activity .h50more{color:var(--accent)!important;}
@media(max-width:900px){body.nb-site .h50activity .h50grid{grid-template-columns:1fr;}body.nb-site:not(.nb-branch-site) .hni-career :is(#openings,#placements,#registrations){scroll-margin-top:110px;}}
