/* ============================================================================================
   NIB public site, inner pages (nibsite.css)
   Loaded by Views/Shared/_LayoutSite.cshtml after landing.css.  The home page's own design lives in
   landing.css; this file makes every other public page speak the same language, using the tokens
   landing.css defines on .landing (--lp-ink, --lp-body, --lp-muted, --lp-on-dark, --lp-navy) and the
   flag tokens in obrs.css.  Nothing here touches the signed-in application.

   The pieces: a navy hero band (landing-dark: glows and grid), white rounded cards with soft shadows
   and a gradient accent that grows on hover, gradient numerals, pill filters, and the same reveal
   motion (landing.js).  Contrast follows landing.css: white only on --obrs-primary or darker; green
   text uses --obrs-secondary-text.
   Stacking: no container here uses transform, filter or backdrop-filter that could trap a Bootstrap
   overlay; the dropdowns of the menu live in the header, outside every card.
   ============================================================================================ */

/* ── Menu: NIB dropdowns inside the OBRS header ─────────────────────────────────────── */
.ns-dropdown { min-width: 17rem; padding: .5rem; border: 1px solid rgba(10, 31, 51, .08); border-radius: 14px; box-shadow: var(--shadow-lg); }
.ns-dropdown .dropdown-item { border-radius: 9px; padding: .5rem .8rem; font-size: .9rem; font-weight: 600; color: #374151; white-space: normal; }
.ns-dropdown .dropdown-item:hover, .ns-dropdown .dropdown-item:focus { background: var(--obrs-primary-light); color: var(--obrs-primary-dark); }
/* A menu that gathers several of the Board's sections shows them side by side, each under its own heading. */
.ns-dropdown.ns-mega.show { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(14rem, 1fr); gap: .25rem 1rem; min-width: 0; padding: 1rem; }
.ns-dropdown.ns-mega .dropdown-item { font-weight: 500; padding: .4rem .7rem; }
.ns-col-title { display: block; padding: .2rem .7rem .55rem; margin-bottom: .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--obrs-primary-dark); border-bottom: 2px solid rgba(var(--obrs-primary-rgb), .15); }
.ns-col-title:hover { color: var(--obrs-primary); }

.ns-mm-group { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ns-mm-group > summary { cursor: pointer; list-style: none; padding: .85rem 0; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.ns-mm-group > summary::-webkit-details-marker { display: none; }
.ns-mm-group > summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; color: #8fcdfa; }
.ns-mm-group[open] > summary::after { content: "\2212"; }
.ns-mm-group > div { padding: 0 0 .7rem .9rem; }
.ns-mm-group > div a { display: block; padding: .4rem 0; font-size: .95rem; color: rgba(255, 255, 255, .82); text-decoration: none; }

/* ── Hero band ──────────────────────────────────────────────────────────────────────── */
.ns-hero { padding: 1.5rem 0 clamp(2.6rem, 5vw, 4.2rem); }
.ns-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .84rem; color: var(--lp-on-dark); margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.ns-crumbs a { color: #d4e9fb; text-decoration: none; }
.ns-crumbs a:hover { color: #fff; text-decoration: underline; }
.ns-crumbs i { font-size: .62rem; opacity: .6; }
.ns-hero-title { color: #fff; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); margin: .2rem 0 1rem; text-wrap: balance; }
.ns-hero-lead { margin-bottom: 0; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); }
.ns-hero-photo { aspect-ratio: 3 / 2; border-radius: 22px; background: var(--lp-navy-2, #0b2440) var(--ns-photo) center / cover no-repeat; box-shadow: 0 28px 60px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .14); }

/* ── Page body ──────────────────────────────────────────────────────────────────────── */
.ns-page { padding: clamp(2.4rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 5.5rem); }
.ns-body > * + * { margin-top: clamp(2.2rem, 4vw, 3.2rem); }

.ns-side { position: sticky; top: 6rem; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 18px; padding: .9rem; box-shadow: var(--shadow-sm); }
.ns-side h2 { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--obrs-primary-dark); margin: .35rem .6rem .6rem; }
.ns-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.ns-side a { display: block; padding: .55rem .75rem; border-radius: 10px; color: var(--lp-body, #374151); text-decoration: none; font-size: .91rem; font-weight: 600; line-height: 1.35; transition: background-color .15s, color .15s; }
.ns-side a:hover { background: var(--obrs-primary-light); color: var(--obrs-primary-dark); }
.ns-side a[aria-current="page"] { background: var(--obrs-brand-gradient); color: #fff; }
@media (max-width: 991.98px) {
    .ns-side { position: static; padding: .7rem; }
    .ns-side h2 { display: none; }
    .ns-side ul { display: flex; flex-wrap: wrap; gap: .4rem; }
    .ns-side a { padding: .4rem .85rem; border-radius: 50rem; background: var(--obrs-primary-light); color: var(--obrs-primary-dark); font-size: .84rem; }
}

.ns-h2 { position: relative; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: var(--lp-ink, #0a1f33); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); margin: 0 0 1.1rem; padding-bottom: .8rem; text-wrap: balance; }
.ns-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--obrs-primary), var(--obrs-secondary)); }
.ns-prose { max-width: 70ch; }
.ns-prose p { color: var(--lp-body, #374151); margin-bottom: 1.1em; }
.ns-intro { max-width: 70ch; color: var(--lp-muted, #4b5563); margin: 0 0 1.2rem; }
.ns-note { font-size: .88rem; color: var(--lp-muted, #4b5563); max-width: 70ch; margin: .9rem 0 0; }
.ns-date { display: block; font-size: .86rem; font-weight: 600; color: var(--obrs-primary-dark); margin-bottom: .35rem; font-variant-numeric: lining-nums; }
.ns-textlink { font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--obrs-primary-dark); }
.ns-textlink:hover { text-decoration: underline; }

.ns-list { max-width: 74ch; }
.ns-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ns-list li { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 12px; padding: .75rem 1rem; color: var(--lp-body, #374151); box-shadow: var(--shadow-xs); }
.ns-list li i { color: var(--obrs-secondary-text); font-size: 1.1rem; line-height: 1.5; flex-shrink: 0; }

/* Figures */
.ns-facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.ns-fact { background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-top: 4px solid var(--obrs-primary); border-radius: 16px; padding: 1.15rem 1.25rem 1.25rem; box-shadow: var(--shadow-sm); }
.ns-fact:nth-child(even) { border-top-color: var(--obrs-secondary); }
.ns-fig { display: block; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); color: var(--obrs-primary); font-variant-numeric: lining-nums; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ns-fig { background: linear-gradient(90deg, var(--obrs-primary) 0%, var(--obrs-secondary-text) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.ns-fig-label { display: block; margin-top: .4rem; font-size: .9rem; color: var(--lp-muted, #4b5563); line-height: 1.45; }

/* Cards */
.ns-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.ns-card { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 18px; padding: 1.3rem 1.35rem 1.4rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--lp-ease, ease); }
.ns-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--obrs-primary), var(--obrs-secondary)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lp-ease, ease); }
.ns-card:hover { box-shadow: var(--shadow-md); }
.ns-card:hover::before { transform: scaleX(1); }
.ns-card h3 { font-size: 1.06rem; font-weight: 800; letter-spacing: 0; line-height: 1.3; color: var(--lp-ink, #0a1f33); margin: 0 0 .45rem; }
.ns-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--lp-muted, #4b5563); }
.ns-card--link { display: block; text-decoration: none; color: inherit; }
.ns-card--link:hover { color: inherit; }
.ns-card-go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-size: .88rem; font-weight: 700; color: var(--obrs-primary-dark); }
.ns-card-go i { transition: transform .2s; }
.ns-card:hover .ns-card-go i { transform: translateX(4px); }
.ns-cards--photos { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.ns-cards--photos .ns-card { padding: 0 0 1.3rem; }
.ns-cards--photos .ns-card h3, .ns-cards--photos .ns-card p, .ns-cards--photos .ns-card-go { margin-left: 1.3rem; margin-right: 1.3rem; }
.ns-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--obrs-primary-light); margin-bottom: 1rem; }
.ns-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Steps */
.ns-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.ns-steps li { counter-increment: step; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 18px; padding: 1.3rem; box-shadow: var(--shadow-sm); }
.ns-steps li::before { content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; min-width: 2.7rem; height: 2.2rem; padding: 0 .6rem; border-radius: 10px; margin-bottom: .8rem; font-weight: 800; font-size: .92rem; color: #fff; background: var(--obrs-brand-gradient); font-variant-numeric: lining-nums; }
.ns-steps h3 { font-size: 1.04rem; font-weight: 800; color: var(--lp-ink, #0a1f33); margin: 0 0 .35rem; }
.ns-steps p { margin: 0; font-size: .9rem; color: var(--lp-muted, #4b5563); line-height: 1.55; }

/* Tables */
.ns-tablewrap { overflow-x: auto; background: #fff; border: 1px solid rgba(10, 31, 51, .09); border-radius: 18px; box-shadow: var(--shadow-sm); }
.ns-table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.55; min-width: 640px; }
.ns-table th { text-align: left; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--obrs-primary-dark); background: var(--obrs-primary-light); padding: .85rem 1.1rem; }
.ns-table td { padding: .9rem 1.1rem; border-top: 1px solid rgba(10, 31, 51, .07); vertical-align: top; color: var(--lp-body, #374151); }
.ns-table td:first-child { font-weight: 700; color: var(--lp-ink, #0a1f33); width: 22%; }
.ns-table tbody tr:hover td { background: #f8fbfe; }

.ns-remark { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--lp-muted, #4b5563); background: var(--obrs-primary-light); border-radius: 14px; padding: .8rem 1rem; max-width: 74ch; margin: 0; }
.ns-remark i { color: var(--obrs-primary); margin-top: .2rem; }

/* Files */
.ns-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 900px; }
.ns-files li { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow-xs); transition: box-shadow .2s, border-color .2s; }
.ns-files li:hover { box-shadow: var(--shadow-md); border-color: rgba(var(--obrs-primary-rgb), .3); }
.ns-files-icon { font-size: 1.5rem; color: var(--obrs-primary); flex-shrink: 0; }
.ns-files a { flex: 1; font-weight: 700; text-decoration: none; color: var(--lp-ink, #0a1f33); line-height: 1.35; }
.ns-files a:hover { color: var(--obrs-primary-dark); }
.ns-files .sub { display: block; font-weight: 400; color: var(--lp-muted, #4b5563); font-size: .9rem; margin-top: .15rem; }
.ns-files .meta { color: var(--lp-muted, #4b5563); font-size: .84rem; white-space: nowrap; font-variant-numeric: lining-nums; }
@media (max-width: 560px) { .ns-files li { flex-wrap: wrap; } .ns-files .meta { flex-basis: 100%; padding-left: 2.4rem; } }
.ns-group + .ns-group { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.ns-group h2 { font-weight: 800; letter-spacing: -.02em; font-size: 1.4rem; color: var(--lp-ink, #0a1f33); margin: 0 0 1rem; }

/* Closing links and calls to action */
.ns-next { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none; color: inherit; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-left: 5px solid var(--obrs-primary); border-radius: 16px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); max-width: 74ch; transition: box-shadow .2s; }
.ns-next:hover { box-shadow: var(--shadow-md); color: inherit; }
.ns-next strong { display: block; color: var(--lp-ink, #0a1f33); font-size: 1.02rem; line-height: 1.4; }
.ns-next small { display: block; margin-top: .2rem; color: var(--obrs-primary-dark); font-weight: 700; font-size: .9rem; }
.ns-next i { font-size: 1.3rem; color: var(--obrs-primary); transition: transform .2s; }
.ns-next:hover i { transform: translateX(4px); }
.ns-next--spaced { margin-top: 2.2rem; }
.ns-online { border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.4rem); max-width: 860px; }
.ns-online p { color: var(--lp-on-dark); font-size: 1.1rem; line-height: 1.55; max-width: 56ch; margin: 0 0 1.3rem; }
.ns-online .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* People */
.ns-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem 1.2rem; }
.ns-people--lead { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ns-person { background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.ns-person:hover { box-shadow: var(--shadow-md); }
.ns-person .pic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--obrs-primary-light); border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, var(--obrs-primary), var(--obrs-secondary)) 1; }
.ns-person .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ns-person h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: var(--lp-ink, #0a1f33); margin: .9rem 1rem .25rem; }
.ns-person p { margin: 0 1rem 1.1rem; color: var(--lp-muted, #4b5563); font-size: .88rem; line-height: 1.5; }

/* News */
.ns-newslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.ns-newslist > li { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 20px; padding: 1.3rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.ns-newslist > li:hover { box-shadow: var(--shadow-md); }
.ns-newslist time { display: block; font-size: .86rem; font-weight: 600; color: var(--obrs-primary-dark); margin-bottom: .35rem; font-variant-numeric: lining-nums; }
.ns-newslist h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .5rem; }
.ns-newslist h2 a { text-decoration: none; color: var(--lp-ink, #0a1f33); }
.ns-newslist h2 a:hover { color: var(--obrs-primary-dark); }
.ns-newslist p { margin: 0; color: var(--lp-muted, #4b5563); font-size: .95rem; line-height: 1.6; }
.ns-newslist .thumb { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--obrs-primary-light); display: block; }
.ns-newslist .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ns-newslist > li { grid-template-columns: 1fr; } .ns-newslist .thumb { grid-column: 1; grid-row: 1; max-width: 340px; } }

.ns-newscard { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.ns-newscard:hover { box-shadow: var(--shadow-lg); color: inherit; }
.ns-newscard-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--obrs-primary-light); display: block; }
.ns-newscard-img img { width: 100%; height: 100%; object-fit: cover; }
.ns-newscard-body { padding: 1.1rem 1.25rem 1.3rem; display: block; }
.ns-newscard-body time { display: block; font-size: .84rem; font-weight: 600; color: var(--obrs-primary-dark); margin-bottom: .3rem; }
.ns-newscard-body strong { display: block; font-size: 1.08rem; line-height: 1.3; color: var(--lp-ink, #0a1f33); margin-bottom: .4rem; }
.ns-newscard-body span { display: block; font-size: .9rem; color: var(--lp-muted, #4b5563); line-height: 1.55; }

.ns-article { max-width: 74ch; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 22px; padding: clamp(1.3rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.ns-article .lead-img { margin: 0 0 1.6rem; border-radius: 16px; overflow: hidden; }
.ns-article .lead-img img { width: 100%; height: auto; display: block; }
.ns-article p { color: var(--lp-body, #374151); }
.ns-article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; margin: 1.6rem 0; }
.ns-article-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--obrs-primary-light); }
.ns-article-nav { margin: 1.8rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(10, 31, 51, .08); }

/* FAQs */
.ns-faq { display: grid; gap: .6rem; max-width: 80ch; }
.ns-faq details { background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 14px; box-shadow: var(--shadow-xs); }
.ns-faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(var(--obrs-primary-rgb), .3); }
.ns-faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; color: var(--lp-ink, #0a1f33); position: relative; line-height: 1.4; }
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .7rem; font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--obrs-primary); }
.ns-faq details[open] summary::after { content: "\2212"; }
.ns-faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--lp-muted, #4b5563); }

/* Notices, projects, gallery, ledgers */
.ns-notice { max-width: 80ch; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 20px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.ns-notice + .ns-notice { margin-top: 1.1rem; }
.ns-notice h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 .5rem; color: var(--lp-ink, #0a1f33); }
.ns-notice .by { font-size: .88rem; color: var(--lp-muted, #4b5563); margin-bottom: .7rem; }
.ns-notice ul { margin: .4rem 0 .8rem 1.2rem; color: var(--lp-body, #374151); }
.ns-notice-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-top: 1rem; }
.ns-notice-pages img { width: 100%; border: 1px solid rgba(10, 31, 51, .1); border-radius: 12px; }

.ns-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.ns-filter button { font: inherit; font-size: .9rem; font-weight: 700; padding: .5rem 1.05rem; border: 1px solid rgba(10, 31, 51, .14); background: #fff; color: var(--lp-ink, #0a1f33); cursor: pointer; border-radius: 50rem; transition: background-color .15s, color .15s; }
.ns-filter button:hover { background: var(--obrs-primary-light); }
.ns-filter button[aria-pressed="true"] { background: var(--obrs-brand-gradient); color: #fff; border-color: transparent; }
#nsProjectCount { margin: 0 0 1.1rem; }
.ns-projects { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ns-project { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 16px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-xs); transition: box-shadow .2s; }
.ns-project:hover { box-shadow: var(--shadow-md); }
.ns-project[hidden] { display: none; }
.ns-project .sector { font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--obrs-primary-dark); background: var(--obrs-primary-light); border-radius: 50rem; padding: .35rem .6rem; }
.ns-project h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.3; margin: 0 0 .25rem; color: var(--lp-ink, #0a1f33); }
.ns-project p { margin: 0; color: var(--lp-muted, #4b5563); font-size: .92rem; line-height: 1.55; }
.ns-project .where { display: block; font-size: .84rem; color: var(--lp-muted, #4b5563); margin-top: .3rem; }
@media (max-width: 760px) { .ns-project { grid-template-columns: 1fr; gap: .5rem; } .ns-project .sector { justify-self: start; } }

.ns-gallery { columns: 3 260px; column-gap: 1rem; }
.ns-gallery a { display: block; break-inside: avoid; margin-bottom: 1rem; text-decoration: none; color: var(--lp-muted, #4b5563); font-size: .85rem; line-height: 1.45; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 16px; overflow: hidden; padding-bottom: .7rem; box-shadow: var(--shadow-xs); }
.ns-gallery a:hover { box-shadow: var(--shadow-md); color: var(--lp-ink, #0a1f33); }
.ns-gallery img { width: 100%; display: block; margin-bottom: .55rem; background: var(--obrs-primary-light); }
.ns-gallery a { padding-left: 0; padding-right: 0; }
.ns-gallery a > :not(img) { padding: 0 .8rem; }

.ns-ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-width: 880px; }
.ns-ledger li { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid rgba(10, 31, 51, .07); border-radius: 16px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-xs); }
.ns-ledger h2 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; margin: 0 0 .2rem; color: var(--lp-ink, #0a1f33); }
.ns-ledger p { margin: 0; color: var(--lp-muted, #4b5563); font-size: .92rem; }
.ns-ledger .status { font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--lp-muted, #4b5563); background: #eef1f4; border-radius: 50rem; padding: .3rem .8rem; white-space: nowrap; }
.ns-ledger .status.is-open { color: var(--obrs-secondary-text); background: var(--obrs-secondary-light); }
@media (max-width: 560px) { .ns-ledger li { flex-direction: column; align-items: flex-start; gap: .5rem; } }

@media print { .navbar-public, .obrs-footer, .ns-side, .ns-crumbs { display: none !important; } }
