/* Editorial discovery and reading within the established Nebrix identity. */
.nb-page{background:#edf3f5;color:#102b40}
.nb-wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto;box-sizing:border-box}
.nb-page a{color:#00769c;text-underline-offset:4px}
.nb-page a:focus-visible,.nb-page button:focus-visible,.nb-page input:focus-visible{outline:3px solid #00769c;outline-offset:4px}
.nb-page ::selection{background:#c7e9f1;color:#102b40}
.nb-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;padding-block:30px 22px}
.nb-intro h1{font-size:clamp(30px,3vw,42px);line-height:1.15;letter-spacing:-.025em;margin:0;max-width:22ch;text-wrap:pretty}
.nb-search label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.nb-search>div{display:flex;gap:8px}
.nb-search input{min-width:0;width:100%;min-height:48px;background:#fff;border:1px solid #8ba4b2;border-radius:4px;color:#102b40;font-size:16px;padding:10px 12px;caret-color:#00769c}
.nb-search input::placeholder{color:#465f70;opacity:1}
.nb-search button{min-height:48px;background:#00769c;color:#fff;font-size:15px;font-weight:600;border-radius:4px;padding:10px 18px}
.nb-search button:hover{background:#005f80}
.nb-topics{display:flex;gap:6px 12px;flex-wrap:wrap;padding-bottom:20px}
.nb-topics a{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1px solid #b8cbd5;border-radius:4px;padding:8px 12px;box-sizing:border-box;color:#102b40;text-decoration:none;font-size:14px}
.nb-topics a[aria-current=page]{background:#102b40;color:#fff;border-color:#102b40}
.nb-topics a:hover{background:#dfe9ee;color:#102b40}
.nb-topics span{font-size:12px;font-variant-numeric:tabular-nums}
.nb-spotlight{margin-bottom:28px}
body .nb-card{background:#fff;border:1px solid #d5e0e6;border-radius:12px;overflow:hidden;margin:0;padding:0;display:flex;flex-direction:column;min-width:0;box-shadow:none}
.nb-card-image{display:block;height:190px;overflow:hidden;background:#dfe9ee;flex-shrink:0}
.nb-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.nb-card-body{padding:16px 20px 24px;display:flex;flex-direction:column;flex:1;min-width:0}
.nb-card-meta{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;color:#465f70;font-size:13px;line-height:1.5}
.nb-card-meta a{font-weight:600;display:inline-flex;align-items:center;min-height:44px}
.nb-feature-label{font-weight:600;color:#102b40}
.nb-card h2,.nb-card h3{font-size:22px;line-height:1.3;letter-spacing:-.015em;margin:0;text-wrap:pretty}
.nb-card h2 a,.nb-card h3 a{color:#102b40;text-decoration:none;display:inline-block;min-height:44px}
.nb-card h2 a:hover,.nb-card h3 a:hover{text-decoration:underline}
.nb-featured .nb-card-body>p{font-size:16px;line-height:1.65;color:#465f70;margin:12px 0 0;max-width:64ch}
body .nb-featured{display:grid;grid-template-columns:340px minmax(0,1fr)}
.nb-featured .nb-card-image{height:100%;min-height:235px;max-height:285px}
.nb-featured .nb-card-body{padding:24px 28px;justify-content:center}
.nb-featured h2{font-size:29px;max-width:28ch}
.nb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nb-section-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:16px}
.nb-section-heading h2{font-size:24px;line-height:1.2;margin:0}
.nb-section-heading>span{font-size:13px;color:#465f70}
.nb-results{font-size:15px;line-height:1.6;margin:0 0 20px;overflow-wrap:anywhere}
.nb-results a,.nb-empty a{display:inline-flex;align-items:center;min-height:44px}
.nb-empty{background:#fff;border:1px solid #d5e0e6;border-radius:12px;padding:28px}
.nb-empty h3{font-size:23px;margin-bottom:12px}.nb-empty p{color:#465f70}
.nb-library{padding-bottom:48px}
.nb-page .pagination{margin:28px 0}.nb-page .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid #b8cbd5;border-radius:4px;background:#fff;margin:3px;padding:8px;box-sizing:border-box}
.nb-page .page-numbers.current{background:#102b40;color:#fff}
/* The cover spans the page; prose keeps a comfortable reading measure. */
.nb-single-cover{background:#102b40;color:#fff}
.nb-single .nb-wrap{max-width:1120px}
.nb-breadcrumbs{padding-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px;color:#c5dbe7}
.nb-single-cover a{color:#a5ddf0;display:inline-flex;align-items:center;min-height:44px}
.nb-single-cover a:hover{color:#fff}
.nb-single-cover a:focus-visible{outline-color:#a5ddf0}
.nb-article-header{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:center;padding-block:18px 32px}
.nb-article-header h1{font-size:clamp(32px,3.3vw,44px);line-height:1.15;letter-spacing:-.025em;margin:0 0 22px;color:#fff;max-width:24ch;text-wrap:pretty}
.nb-byline{font-size:14px;line-height:1.6;color:#c5dbe7;margin:0;display:flex;gap:6px 20px;flex-wrap:wrap}
.nb-article-image{margin:0;height:270px;border-radius:10px;overflow:hidden;background:#dfe9ee}
.nb-article-image img{display:block;width:100%;height:100%;object-fit:cover}
.nb-reading{width:min(840px,calc(100% - 64px));margin-inline:auto;box-sizing:border-box}
body .nb-article{background:transparent;border:0;border-radius:0;padding:36px 0 0;margin-inline:auto;box-shadow:none}
.nb-article-body{font-size:18px;line-height:1.8;color:#102b40;max-width:76ch;margin-inline:auto;overflow-wrap:anywhere}
.nb-article-body p{margin:0 0 22px}.nb-article-body p:last-child{margin-bottom:0}
.nb-article-body h2{font-size:28px;line-height:1.3;color:#005f80;margin:32px 0 14px;letter-spacing:-.015em;text-wrap:pretty}.nb-article-body h3{font-size:23px;line-height:1.35;margin:26px 0 12px;color:#005f80}
.nb-article-body ul,.nb-article-body ol{margin:0 0 24px;padding-left:24px}.nb-article-body li{margin:8px 0}
.nb-article-body img{max-width:100%;height:auto}.nb-article-body table{display:block;max-width:100%;overflow-x:auto}
.nb-related{border-top:1px solid #b8cbd5;padding-block:26px 44px;margin-top:32px}
.nb-related h2{font-size:24px;margin:0 0 10px;line-height:1.3}
.nb-related ul{list-style:none;padding:0;margin:0}.nb-related li{margin:0}
.nb-related a{display:inline-flex;align-items:center;min-height:44px;font-size:17px;line-height:1.5}
@media(max-width:1000px){.nb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .nb-featured{grid-template-columns:260px minmax(0,1fr)}.nb-featured h2{font-size:25px}.nb-intro{gap:28px}.nb-article-header{gap:28px}.nb-article-header h1{font-size:34px}}
@media(max-width:767px){
 .nb-wrap,.nb-reading{width:calc(100% - 40px)}.nb-intro{grid-template-columns:1fr;gap:16px;padding-block:22px 16px}.nb-intro h1{font-size:28px}
 body .nb-featured{display:flex;flex-direction:column}.nb-featured .nb-card-body{order:0;padding:16px}.nb-featured .nb-card-image{order:1;min-height:0;height:80px}.nb-featured .nb-card-image img{object-position:center 75%}.nb-featured h2{font-size:23px}.nb-featured .nb-card-body>p{font-size:14px;line-height:1.5;margin-top:8px}
 .nb-spotlight{margin-bottom:22px}.nb-topics{gap:6px;padding-bottom:14px}.nb-topics a{font-size:13px;padding:8px}
 .nb-article-header{grid-template-columns:1fr;gap:22px;padding-block:10px 24px}.nb-article-header h1{font-size:30px;margin-bottom:16px;max-width:26ch}.nb-article-image{height:190px}
 body .nb-article{padding-top:26px}.nb-article-body{font-size:17px;line-height:1.75}.nb-article-body h2{font-size:25px}.nb-article-body h3{font-size:22px}.nb-related a{font-size:16px}
}
@media(max-width:600px){.nb-grid{grid-template-columns:1fr;gap:16px}.nb-search button{padding:10px 14px}.nb-search label{font-size:13px}.nb-card-image{height:185px}.nb-card-body{padding:12px 18px 20px}.nb-card h3{font-size:22px}.nb-section-heading h2{font-size:22px}.nb-article-header h1{font-size:29px}.nb-article-image{height:175px}.nb-library{padding-bottom:32px}}
@media(prefers-reduced-motion:reduce){.nb-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
