/* News & blog (/news-and-blog/): announcements read in place, the latest blog articles with their covers whole, topics.
   Same language as Resources: navy hero, red kicker, a sticky bar, straight edges. Covers are never cropped: blog banners
   (1200×627, title set in the image) keep their own ratio; announcement covers of any shape sit whole in a frame whose
   backdrop is the same image, blurred. */
.nb { --nb-bar: 60px; }
.nb main svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nb main p { margin: 0; }
.nb main h2 { margin: 0; font-size: clamp(30px, 2.5vw, 44px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.nb main h3, .nb main h4 { margin: 0; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.nb-k { margin: 0 0 12px !important; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #e0343c; }
.nb-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--navy); font: inherit; font-size: 15px; font-weight: 800; color: #fff; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.nb-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 28, 77, .22); }
.nb-btn svg { transition: translate .2s; }
.nb-btn:hover svg { translate: 3px 0; }

/* ---------- hero ---------- */
.nb-hero { position: relative; overflow: hidden; color: #c9d4f2; background: radial-gradient(50% 70% at 80% 40%, rgba(80, 120, 230, .28), transparent 70%), linear-gradient(180deg, #0f1c4d, #152560); }
.nb-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.nb-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 40px; align-items: center; min-height: clamp(440px, 31vw, 540px); padding-block: 36px 52px; }
.nb-crumb { display: flex; gap: 10px; margin-bottom: 36px; font-size: 12px; color: #9fb0de; }
.nb-crumb a { color: #c9d4f2; }
.nb-hero .nb-k { color: #ff7a80; }
.nb .nb-hero h1 { margin: 0; font-size: clamp(44px, 3.9vw, 70px); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.nb-lede { max-width: 560px; margin-top: 22px !important; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.6; color: #c9d4f2; }
.nb-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.nb-jump a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 7px; border-radius: 999px; background: #ffffff12; box-shadow: inset 0 0 0 1px #ffffff26; font-size: 14.5px; font-weight: 800; color: #fff; transition: background .2s; }
.nb-jump a:hover { background: #ffffff22; }
.nb-jump b { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-size: 13px; color: var(--navy); }
/* three covers fanned out: an announcement, the newest article, the GSA price list */
.nb-stack { position: relative; height: clamp(330px, 25vw, 430px); }
.nb-sheet { position: absolute; top: 50%; left: 50%; display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(3, 10, 40, .5), 0 0 0 1px #ffffff1f; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.nb-sheet img { display: block; width: 100%; height: auto; }
.nb-sheet.s0 { width: 62%; transform: translate(-96%, -78%) rotate(-7deg); }
.nb-sheet.s2 { width: 34%; transform: translate(18%, -54%) rotate(6deg); }
.nb-sheet.s1 { width: 70%; z-index: 2; transform: translate(-58%, -18%) rotate(-1.5deg); }
.nb-hero:hover .nb-sheet.s0 { transform: translate(-100%, -80%) rotate(-9deg); }
.nb-hero:hover .nb-sheet.s2 { transform: translate(22%, -56%) rotate(8deg); }

/* ---------- sticky bar ---------- */
.nb-bar { position: sticky; top: var(--nb-header, 76px); z-index: 30; background: #fffffff5; backdrop-filter: blur(14px); border-bottom: 1px solid #dce3f1; }
.nb-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nb-bar); }
.nb-tabs { display: flex; gap: 6px; }
.nb-tabs a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #596685; transition: background .2s, color .2s; }
.nb-tabs a:hover { background: #f1f4fa; color: var(--navy); }
.nb-tabs a[aria-current="true"] { background: var(--navy); color: #fff; }
.nb-media { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--navy); }
.nb-media i { color: #2f5fd0; }

/* ---------- sections ---------- */
.nb-sec { padding: clamp(56px, 5vw, 88px) 0; scroll-margin-top: calc(var(--nb-header, 76px) + var(--nb-bar)); }
.nb-pale { background: #f3f5fb; }
.nb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(28px, 2.6vw, 44px); }
.nb-head > p { max-width: 520px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.nb-head a, .nb-body a, .nb-src a { color: #2f5fd0; text-decoration: underline; text-underline-offset: 3px; }
.nb-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; font-weight: 700; color: #7b86a8; }
.nb-tag { padding: 4px 10px; border-radius: 999px; background: #eef2fa; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #2f5fd0; }
.nb-latest { padding: 4px 10px; border-radius: 999px; background: #fdecee; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #d62c35; }
.nb-ex { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* a cover of any shape, shown whole */
.nb-frame { position: relative; isolation: isolate; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #e9eef8; }
.nb-blur { position: absolute; inset: -30px; z-index: -1; background: center / cover no-repeat; filter: blur(22px) saturate(1.1); opacity: .6; }
.nb-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- news: the latest, then the rest by year ---------- */
.nb-lead { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(30px, 4vw, 72px); align-items: center; padding: clamp(24px, 2.4vw, 40px); border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #e1e6f2, 0 24px 60px rgba(15, 28, 77, .08); }
.nb-lead-art { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.nb-frame.doc { aspect-ratio: 4 / 4.2; padding: clamp(18px, 2vw, 30px); background: linear-gradient(160deg, #e7edf9, #d6e0f3); }
.nb-frame.doc .nb-blur { display: none; }
.nb-frame.doc img { border-radius: 4px; box-shadow: 0 18px 40px rgba(15, 28, 77, .22); transform: rotate(-2deg); transition: transform .4s; }
.nb-lead-art:hover .nb-frame.doc img { transform: rotate(0deg) scale(1.02); }
.nb-lead-copy h3 { margin-top: 16px !important; font-size: clamp(24px, 2vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.nb-lead-copy .nb-ex { margin-top: 16px !important; font-size: 16.5px; }
.nb-lead-copy .nb-btn { margin-top: 26px; }
.nb-years { margin-top: clamp(34px, 3vw, 52px); display: grid; gap: 30px; }
.nb-year { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: start; }
.nb .nb-y { position: sticky; top: calc(var(--nb-header, 76px) + var(--nb-bar) + 20px); padding-top: 18px; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: #c3cde6; }
.nb-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e1e6f2; }
.nb-list li { border-bottom: 1px solid #e1e6f2; }
.nb-item { display: grid; grid-template-columns: clamp(180px, 15vw, 250px) minmax(0, 1fr) 44px; gap: clamp(18px, 2vw, 32px); align-items: center; padding: 18px 12px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.nb-item:hover { background: #f5f7fc; }
.nb-item-art { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.nb-item h4 { margin-top: 10px !important; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.3; }
.nb-item h4 button { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.nb-item .nb-ex { margin-top: 8px !important; font-size: 14.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nb-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); box-shadow: inset 0 0 0 1px #d6def0; transition: background .2s, color .2s; }
.nb-item:hover .nb-go { background: var(--navy); color: #fff; }

/* ---------- blog ---------- */
.nb-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-topics span { padding: 3px 9px; border-radius: 6px; background: #eef2fa; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: #2f5fd0; }
.nb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; font-weight: 600; color: #7b86a8; }
.nb-meta > * + *::before { content: '·'; margin: 0 9px; color: #b7c1da; }
.nb-meta span:first-child { font-weight: 800; color: #4c5578; }
.nb-cover { display: block; overflow: hidden; background: #0f1c4d; }
.nb-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 627; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nb-post:hover .nb-cover img { transform: scale(1.025); }
.nb-post h3 a { color: inherit; transition: color .2s; }
.nb-post h3 a:hover { color: #2f5fd0; }
.nb-post-lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 60px); align-items: center; }
.nb-post-lead .nb-cover { border-radius: 16px; box-shadow: 0 30px 60px rgba(15, 28, 77, .18); }
.nb-post-lead h3 { margin-top: 14px !important; font-size: clamp(24px, 2vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.nb-post-lead .nb-ex { margin-top: 14px !important; font-size: 16px; }
.nb-post-lead .nb-meta { margin-top: 18px; }
.nb-post-lead .nb-btn { margin-top: 24px; }
.nb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 28px); margin-top: clamp(40px, 3.4vw, 60px); }
.nb-grid .nb-post { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #e1e6f2, 0 14px 34px rgba(15, 28, 77, .06); }
.nb-grid .nb-post-copy { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.nb-grid h3 { margin-top: 12px !important; font-size: 18px; line-height: 1.3; }
.nb-grid .nb-ex { margin: 10px 0 18px !important; font-size: 14.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.nb-grid .nb-meta { margin-top: auto; }
.nb-more { margin-top: clamp(34px, 3vw, 52px); padding: clamp(22px, 2vw, 32px); border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #e1e6f2; }
.nb .nb-more h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7b86a8; }
.nb-more ol { margin: 14px 0 0; padding: 0; list-style: none; }
.nb-more li + li { border-top: 1px solid #e8ecf5; }
.nb-more li a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 18px; gap: 18px; align-items: center; padding: 14px 8px; border-radius: 10px; transition: background .2s; }
.nb-more li a:hover { background: #f5f7fc; }
.nb-more time { font-size: 13px; font-weight: 700; color: #7b86a8; }
.nb-more b { font-size: 15.5px; line-height: 1.35; color: var(--navy); }
.nb-more li span { padding: 3px 9px; border-radius: 6px; background: #eef2fa; font-size: 11.5px; font-weight: 800; color: #2f5fd0; white-space: nowrap; }
.nb-more li i { color: #9aa6c6; }
.nb-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 2px; font-size: 15px; font-weight: 800; color: var(--navy); border-bottom: 2px solid color-mix(in srgb, #e0343c 60%, transparent); }

/* ---------- topics ---------- */
.nb-topic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.nb-topic-list a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #e1e6f2; transition: box-shadow .2s, transform .2s; }
.nb-topic-list a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #c8d3ec, 0 14px 30px rgba(15, 28, 77, .08); }
.nb-topic-list b { font-size: 16px; color: var(--navy); }
.nb-topic-list span { grid-row: 2; font-size: 13px; font-weight: 600; color: #7b86a8; }
.nb-topic-list i { grid-row: span 2; color: #9aa6c6; }

/* ---------- closing band ---------- */
.nb-cta { background: linear-gradient(180deg, #0f1c4d, #152560); color: #c9d4f2; }
.nb-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(40px, 3.6vw, 60px); }
.nb .nb-cta h2 { font-size: clamp(24px, 2vw, 34px); color: #fff; }
.nb-cta p { margin-top: 8px !important; font-size: 16px; }
.nb-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-btn.light { background: #fff; color: var(--navy); }
.nb-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff66; }

/* ---------- reader ---------- */
.nb-reader { width: min(860px, 100% - 32px); max-height: min(92vh, 100% - 32px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px rgba(3, 10, 40, .45); }
.nb-reader::backdrop { background: rgba(9, 17, 48, .62); backdrop-filter: blur(4px); }
.nb-reader[open] { display: flex; flex-direction: column; overflow: hidden; }
.nb-reader-in { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.nb-reader-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(22px, 3.4vw, 56px) clamp(30px, 3vw, 48px); }
/* the close button has its own row above the scrolling text, so nothing slides under it */
.nb-x { flex: none; align-self: flex-end; z-index: 2; width: 44px; height: 44px; margin: 14px 14px 0 0; border: 0; border-radius: 50%; background: #f1f4fa; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.nb-x:hover { background: #e3e9f5; }
.nb .nb-x svg { width: 20px; height: 20px; stroke-width: 2.2; }
.nb .nb-r-title { margin-top: 10px; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.18; letter-spacing: -.02em; }
.nb-r-art { margin-top: 24px; aspect-ratio: 16 / 9; max-height: 420px; width: 100%; }
.nb-body { margin-top: 26px; font-size: 16.5px; line-height: 1.72; color: #2b3354; }
.nb .nb-body p { margin: 0 0 16px; }
.nb .nb-body h3 { margin: 30px 0 10px; font-size: 18px; }
.nb-body ul, .nb-body ol { margin: 0 0 18px; padding-left: 24px; list-style: disc; }
.nb-body ol { list-style: decimal; }
.nb-body li::marker { color: #e0343c; }
.nb-body li { margin-bottom: 6px; }
.nb-body blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid #e0343c; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.nb .nb-body blockquote p { margin: 0; }
.nb .nb-src { margin-top: 26px; padding-top: 18px; border-top: 1px solid #e1e6f2; font-size: 13.5px; color: #7b86a8; }

/* ---------- responsive ---------- */
@media (max-width: 1250px) { .nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .nb-hero-in { grid-template-columns: 1fr; min-height: 0; }
  .nb-stack { display: none; }
  .nb-lead, .nb-post-lead { grid-template-columns: 1fr; }
  .nb-lead-art { max-width: 380px; }
  .nb-head { flex-direction: column; align-items: flex-start; }
  .nb-year { grid-template-columns: 1fr; gap: 8px; }
  .nb .nb-y { position: static; padding-top: 0; font-size: 32px; }
}
@media (max-width: 700px) {
  .nb-grid { grid-template-columns: 1fr; }
  .nb-item { grid-template-columns: 1fr; gap: 14px; }
  .nb-go { display: none; }
  .nb-more li a { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .nb-more time { grid-column: 1 / -1; }
  .nb-more li i { display: none; }
  .nb-bar-in { gap: 10px; }
  .nb-media { display: none; }
  .nb-cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1100px) and (min-width: 701px) { .nb-topic-list > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .nb-more li a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "t s" "b b"; gap: 6px 10px; }
  .nb-more time { grid-area: t; grid-column: auto; }
  .nb-more li span { grid-area: s; justify-self: start; }
  .nb-more b { grid-area: b; }
  .nb-grid .nb-ex { display: none; }
  .nb-grid h3 { margin-bottom: 14px !important; }
  .nb-lead-copy .nb-ex, .nb-post-lead .nb-ex { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .nb-topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nb-topic-list a { padding: 14px; grid-template-columns: 1fr; }
  .nb-topic-list i { display: none; }
  .nb-topic-list b { font-size: 14.5px; }
  /* the reader as a full-screen sheet */
  .nb-reader { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .nb-sheet, .nb-cover img, .nb-frame.doc img, .nb-btn, .nb-topic-list a { transition: none; } }
