/* Editorial and representative directory: responsive, readable Bengali layout. */
.nb-family-page{width:100%;max-width:100%;padding:28px 0 46px;background:#fff;overflow:hidden}
.nb-family-directory{width:100%;max-width:1320px;margin:0 auto;padding:0 20px;color:#202a35;font-family:"HindSiliguri","Shurjo","SolaimanLipi",Arial,sans-serif}
.nb-family-titlebar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px;margin:0 0 22px;padding:10px 18px;background:linear-gradient(100deg,#f2f5f7 0%,#f8fafb 100%);border-left:5px solid #b52b31;border-radius:0 8px 8px 0;overflow:visible}
.nb-family-titlebar h1{min-width:0;margin:0;font-family:"Shurjo","HindSiliguri","SolaimanLipi",sans-serif;font-size:36px;line-height:1.4;font-weight:700;color:#1d2935;letter-spacing:.1px}
.nb-family-brand-logo{display:block;flex:0 0 auto;width:190px;max-width:34%;height:72px;object-fit:contain;object-position:right center;position:relative;right:-18px;top:20px}
.nb-family-category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 19px}
.nb-family-category-button{appearance:none;display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;border:1px solid #d9e4e9;border-radius:7px;background:#f3f7f8;color:#23424d;padding:9px 12px;font-family:inherit;font-size:16px;font-weight:700;line-height:1.35;text-align:center;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;box-shadow:0 2px 6px rgba(16,42,55,.05)}
.nb-family-category-button:hover{background:#e6f3f4;border-color:#8bcbd1;transform:translateY(-1px)}
.nb-family-category-button.is-active{background:#c9322d;border-color:#c9322d;color:#fff;box-shadow:0 4px 12px rgba(201,50,45,.18)}
.nb-family-filter-intro{margin:0 0 8px;color:#455965;font-size:16px;font-weight:700}
.nb-family-filter-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;margin:0 0 18px;align-items:center;padding:14px;background:#f7f9fa;border:1px solid #e6ecef;border-radius:9px}
.nb-family-filter-row select{width:100%;height:46px;min-width:0;padding:8px 13px;border:1px solid #d5dfe4;border-radius:6px;background:#fff;color:#263943;font-family:inherit;font-size:16px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.nb-family-filter-row select:focus{border-color:#2699a8;box-shadow:0 0 0 3px rgba(38,153,168,.13)}
.nb-family-filter-row select:disabled{background:#f0f2f3;color:#858d92;cursor:not-allowed}
.nb-family-reset{height:46px;padding:0 20px;border:0;border-radius:6px;background:#176b78;color:#fff;font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .18s ease}
.nb-family-reset:hover{background:#10535e}
.nb-family-results-count{margin:0 0 12px;color:#64747d;font-size:15px;font-weight:600}
.nb-family-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nb-rep-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e1e7ea;border-radius:11px;background:#fff;box-shadow:0 7px 24px rgba(24,48,60,.09);transition:transform .2s ease,box-shadow .2s ease}
.nb-rep-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,48,60,.14)}
.nb-rep-card[hidden]{display:none!important}
.nb-rep-card-image{width:100%;aspect-ratio:1/1;overflow:hidden;background:#edf1f3}
.nb-rep-card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.nb-rep-no-image{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#89979e;font-size:16px}
.nb-rep-card-name{display:flex;min-height:76px;align-items:center;justify-content:center;padding:10px 9px;text-align:center}
.nb-rep-card-name h2{margin:0;color:#202e39;font-family:"Shurjo","HindSiliguri","SolaimanLipi",sans-serif;font-size:20px;font-weight:700;line-height:1.48;overflow-wrap:anywhere}
.nb-rep-card-designation{margin-top:auto;padding:8px 8px;background:linear-gradient(90deg,#246b3d,#2e8049);color:#fff;text-align:center;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.nb-family-empty,.nb-family-no-results{grid-column:1/-1;margin:12px 0;padding:20px;border:1px dashed #cbd5da;border-radius:8px;background:#f8fafb;color:#52636c;text-align:center;font-size:16px}
.nb-family-no-results[hidden]{display:none}
.nb-family-results-count:empty{display:none}
@media(max-width:1100px){.nb-family-directory{padding-left:16px;padding-right:16px}.nb-family-card-grid{gap:15px}.nb-rep-card-name h2{font-size:19px}.nb-family-category-button{font-size:15px;padding-left:8px;padding-right:8px}}
@media(max-width:850px){.nb-family-category-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.nb-family-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.nb-family-page{padding:18px 0 30px}.nb-family-directory{padding:0 12px}.nb-family-titlebar{min-height:66px;gap:8px;margin-bottom:16px;padding:8px 10px}.nb-family-titlebar h1{font-size:27px;line-height:1.35}.nb-family-brand-logo{width:126px;max-width:40%;height:52px;right:-8px;top:12px}.nb-family-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.nb-family-category-button{min-height:46px;padding:8px 7px;font-size:14px;line-height:1.35}.nb-family-filter-intro{font-size:15px}.nb-family-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;margin-bottom:14px}.nb-family-filter-row select{height:44px;padding:7px 8px;font-size:14px}.nb-family-reset{grid-column:1/-1;width:100%;height:42px;font-size:15px}.nb-family-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nb-rep-card{border-radius:9px}.nb-rep-card-image{aspect-ratio:1/1.05}.nb-rep-card-name{min-height:66px;padding:8px 6px}.nb-rep-card-name h2{font-size:16px;line-height:1.42}.nb-rep-card-designation{padding:7px 5px;font-size:14px;line-height:1.35}}
@media(max-width:360px){.nb-family-directory{padding-left:9px;padding-right:9px}.nb-family-titlebar h1{font-size:24px}.nb-family-brand-logo{width:108px;height:44px;right:-5px;top:10px}.nb-family-category-button{font-size:13px}.nb-family-card-grid{gap:9px}.nb-rep-card-name h2{font-size:15px}.nb-rep-card-designation{font-size:13px}}
