/* Spinal Frontiers: nspine.com corporate identity layer.
   Loaded after every page's own styles. Tokens taken from the live nspine.com WordPress theme:
   standard system fonts (Helvetica/Arial), red #ae1f23, dark red #800d10, grey body text #686868. */

:root {
  --nsp-red: #ae1f23;
  --nsp-red-dark: #800d10;
  --nsp-text: #686868;
  --nsp-text-strong: #333333;
  --nsp-blue: #2c627d;
  --nsp-blue-dark: #214c61;
  --nsp-line: #e4e4e4;
  --nsp-panel: #f6f6f6;
  --nsp-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nsp-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nsp-w: 1170px;
  --sf-font: var(--nsp-body);
  --sf-w: 1170px;
  color-scheme: light;
}

html, body { background: #fff !important; color: var(--nsp-text) !important; font-family: var(--nsp-body) !important; line-height: 1.7 !important; }
body::before { background: #fff !important; }
.sf, .sf *, .wrap, .wrap *, main, main * { font-family: inherit; }
body, .sf, .wrap, main { font-family: var(--nsp-body) !important; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .sf h1, .sf h2, .sf h3, .sf h4 { font-family: var(--nsp-head) !important; color: var(--nsp-red) !important; letter-spacing: 0 !important; text-transform: none !important; }
h1, .sf-title { font-weight: 700 !important; font-size: clamp(32px, 4.2vw, 46px) !important; line-height: 1.2 !important; }
h2, .sf h2 { font-weight: 700 !important; font-size: 24px !important; line-height: 1.3 !important; margin: 0 0 14px !important; }
h3, .sf h3 { font-weight: 700 !important; font-size: 18px !important; line-height: 1.3 !important; }
.sf h3, .sf-card .nm { color: var(--nsp-text-strong) !important; }
.sf-card .nm { font-family: var(--nsp-head) !important; font-weight: 700 !important; font-size: 18px !important; }
.sf-kicker, .kicker, .sf-card .lab, .ch, .sf .sf-grouphead, .sf-2min .k, .sft-lab { font-family: var(--nsp-head) !important; color: var(--nsp-text) !important; font-weight: 700 !important; letter-spacing: .08em !important; }
.sf-kicker, .kicker { color: var(--nsp-red) !important; }
.sf-lede, .dek { font-size: 14px !important; color: var(--nsp-text) !important; line-height: 1.6 !important; }
p, li, dd { color: inherit; }
b, strong { color: var(--nsp-text-strong); font-weight: 700; }

a, .sf a, .wrap a { color: var(--nsp-red); text-decoration-color: rgba(174, 31, 35, .4); text-underline-offset: 3px; }
a:hover, .sf a:hover, .wrap a:hover { color: var(--nsp-red-dark); }
.sf-row .t, .pt, .sf-card .nm, .sfx .sfx-panel a b { color: var(--nsp-text-strong); }
.sf-row > summary:hover .t, details.paper > summary:hover .pt { color: var(--nsp-red) !important; }
:focus-visible { outline-color: var(--nsp-red) !important; }

/* ---------- Width: match the nspine.com 1170px container ---------- */
.sf-wrap, .sfx-in, .wrap { max-width: var(--nsp-w) !important; padding-left: max(20px, env(safe-area-inset-left, 0px)) !important; padding-right: max(20px, env(safe-area-inset-right, 0px)) !important; }
.sfx.sfx-bar .sfx-in { max-width: var(--nsp-w) !important; }

/* ---------- NSpine site header (logo + main site links), as on nspine.com ---------- */
.nsp-top { background: #fff; border-bottom: 1px solid var(--nsp-line); }
.nsp-top .nsp-in { max-width: var(--nsp-w); margin: 0 auto; padding: 0 20px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nsp-logo img { height: 52px; width: auto; display: block; }
.nsp-nav { display: flex; gap: 28px; }
.nsp-nav a { font-family: var(--nsp-body); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #222; text-decoration: none; }
.nsp-nav a:hover { color: var(--nsp-red); text-decoration: underline; }
@media (max-width: 760px) { .nsp-top .nsp-in { height: 64px; } .nsp-logo img { height: 40px; } .nsp-nav { gap: 14px; } .nsp-nav a { font-size: 11px; } }
@media (max-width: 520px) { .nsp-nav { display: none; } }

/* ---------- Spinal Frontiers section bar ---------- */
.sfx, .sfx * { font-family: var(--nsp-body) !important; }
.sfx.sfx-bar { background: var(--nsp-red) !important; border-bottom: 0 !important; }
.sfx.sfx-bar.sfx-compact { box-shadow: 0 4px 14px rgba(0, 0, 0, .18) !important; }
.sfx a.sfx-brand { font-family: var(--nsp-head) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 17px !important; font-weight: 700 !important; flex-direction: row !important; gap: 5px; align-items: center; line-height: 1 !important; }
.sfx a.sfx-brand b { color: #fff !important; font-weight: 300 !important; }
.sfx a.sfx-brand .sfx-icon { height: 30px; width: auto; display: block; margin-right: 6px; }
.sfx.sfx-bar.sfx-compact a.sfx-brand .sfx-icon { height: 24px; }
.sfx a.sfx-brand span { display: none !important; }
.sfx .sfx-nav { flex-wrap: nowrap !important; }
.sfx.sfx-bar .sfx-in { gap: 8px 14px !important; }
.sfx .sfx-nav { gap: 0 !important; }
.sfx .sfx-nav .sfx-dd > summary, .sfx .sfx-nav a.sfx-top { color: #fff !important; font-size: 13px !important; font-weight: 400; padding: 10px 7px !important; text-transform: none !important; letter-spacing: 0 !important; border-bottom-color: transparent !important; }
.sfx .sfx-nav .sfx-dd > summary::after { margin-left: 6px !important; }
@media (min-width: 821px) and (max-width: 1500px) { .sfx .sfx-sbtn span { display: none; } .sfx .sfx-sbtn { padding: 0 9px !important; } }
.sfx .sfx-nav .sfx-dd > summary:hover, .sfx .sfx-nav a.sfx-top:hover, .sfx .sfx-nav .sfx-dd[open] > summary { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.sfx .sfx-nav .sfx-dd > summary.sfx-cur, .sfx .sfx-nav a.sfx-top[aria-current] { color: #fff !important; background: var(--nsp-blue); border-radius: 4px; border-bottom-color: transparent !important; }
.sfx .sfx-panel { background: #fff !important; border: 1px solid var(--nsp-line) !important; border-top: 3px solid var(--nsp-red) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .14) !important; border-radius: 0 0 5px 5px; }
.sfx .sfx-panel a { color: var(--nsp-text-strong) !important; }
.sfx .sfx-panel a b { color: var(--nsp-text-strong) !important; text-transform: none !important; letter-spacing: 0 !important; }
.sfx .sfx-panel a span { color: var(--nsp-text) !important; }
.sfx .sfx-panel a:hover { background: var(--nsp-panel) !important; }
.sfx .sfx-panel a:hover b { color: var(--nsp-red) !important; }
.sfx .sfx-panel a[aria-current] { background: var(--nsp-blue) !important; border-left-color: var(--nsp-blue) !important; }
.sfx .sfx-panel a[aria-current] b, .sfx .sfx-panel a[aria-current] span { color: #fff !important; }
.sfx .sfx-panel a[aria-current]:hover b { color: #fff !important; }
.sfx a.sfx-cta, .sfx .sfx-bar a.sfx-cta { background: #fff !important; color: var(--nsp-red) !important; border: 1px solid #fff !important; border-radius: 5px !important; text-transform: uppercase; font-size: 13px !important; letter-spacing: .04em; padding: 9px 16px !important; }
.sfx a.sfx-cta:hover { background: transparent !important; color: #fff !important; }
.sfx .sfx-sbtn, .sfx .sfx-menu { color: #fff !important; border: 1px solid rgba(255, 255, 255, .55) !important; border-radius: 5px; background: transparent !important; }
.sfx .sfx-sbtn:hover, .sfx .sfx-menu:hover, .sfx .sfx-sbtn[aria-expanded="true"] { border-color: #fff !important; }
.sfx-sform { background: #fff !important; border-bottom: 1px solid var(--nsp-line) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.sfx-sform input { background: #fff !important; color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; border-radius: 5px; }
.sfx-sform input:focus { border-color: var(--nsp-red) !important; }
.sfx-sform button { background: var(--nsp-red) !important; border-radius: 5px; }
.sfx.sfx-bar .sfx-in::after { background: linear-gradient(90deg, rgba(174, 31, 35, 0), var(--nsp-red)) !important; }
@media (max-width: 820px) {
  .sfx.sfx-bar.sfx-open .sfx-dd > summary, .sfx.sfx-bar.sfx-open a.sfx-top { border-bottom: 1px solid rgba(255, 255, 255, .25) !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel { background: transparent !important; border: 0 !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a, .sfx.sfx-bar.sfx-open .sfx-panel a b { color: #fff !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a span { color: rgba(255, 255, 255, .8) !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a:hover { background: rgba(255, 255, 255, .12) !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a[aria-current] { background: var(--nsp-blue) !important; border-radius: 4px; }
  .sfx.sfx-bar.sfx-open .sfx-dd > summary.sfx-cur { background: var(--nsp-blue); border-radius: 4px; padding-left: 10px !important; }
}

/* ---------- Page header ---------- */
.sf-head, .wrap > header { border-bottom: 1px solid var(--nsp-line) !important; padding-top: 48px !important; padding-bottom: 28px !important; }
.sf-meta { color: var(--nsp-text) !important; }
.sff-share { color: var(--nsp-text-strong) !important; font-weight: 700 !important; font-size: 14px !important; }
.sff-share a, .sff-share button { color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; border-radius: 5px; background: #fff !important; font-weight: 400 !important; }
.sff-share a:hover, .sff-share button:hover { border-color: var(--nsp-blue) !important; color: var(--nsp-blue) !important; }

/* ---------- Panels, cards, boxes ---------- */
.sf-main { gap: 56px !important; }
.sf-card, .sf-box, .sf-2min, .lwp, .sf-comment, .sfx-signup, .sf-row .body, .pb, .sf-done, .sf-tablewrap { border-radius: 5px; }
.sf-card { border: 1px solid var(--nsp-line) !important; background: #fff !important; transition: box-shadow .2s, border-color .2s; }
.sf-card:hover { background: #fff !important; border-color: #cfcfcf !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sf-card .ds { color: var(--nsp-text) !important; font-size: 15px !important; }
.sf-card .go { color: var(--nsp-red) !important; font-weight: 500; }
.sf-box, .sf-2min, .lwp, .sfx-signup, .sf-row .body, .pb { background: var(--nsp-panel) !important; border-color: var(--nsp-line) !important; }
.sf-2min { border-top: 3px solid var(--nsp-red) !important; }
.sf-2min .x { font-size: 16px !important; color: var(--nsp-text) !important; }
.sf-2min .x b { color: var(--nsp-text-strong) !important; }
.sf-2min .sub { color: var(--nsp-text) !important; font-size: 15px !important; }
.sf-2min li.sf-2min-alert { background: rgba(174, 31, 35, .06) !important; border: 1px solid rgba(174, 31, 35, .35) !important; border-radius: 5px; }
.sf-2min li.sf-2min-alert .k, .sf-2min li.sf-2min-alert::before { color: var(--nsp-red) !important; }
.sf-2min li.sf-2min-alert b { color: var(--nsp-red-dark) !important; }
.sf-tag { border-radius: 3px; }
.sf-tag.red, .tag.ret { background: var(--nsp-red) !important; border-color: var(--nsp-red) !important; color: #fff !important; }
.sf th { background: var(--nsp-panel) !important; color: var(--nsp-text-strong) !important; }

/* ---------- Tab bars and tool rows ---------- */
.sft, .sft-sticky, .tools { background: #fff !important; border-bottom: 1px solid var(--nsp-line) !important; }
.sft button, .tools button { border-radius: 5px; color: var(--nsp-text-strong) !important; border-color: #cfcfcf !important; }
.sft button:hover, .tools button:hover { color: var(--nsp-red) !important; border-color: var(--nsp-red) !important; }
.sft button[aria-selected="true"] { background: var(--nsp-red) !important; border-color: var(--nsp-red) !important; color: #fff !important; }
.sft button[aria-selected="true"] span { color: rgba(255, 255, 255, .8) !important; }
.sft-search input, .tools input, .tools select, .sf-form input[type=email], .sf-form input[type=text], .sf-form select { background: #fff !important; color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; border-radius: 5px; }
.sft-search input:focus, .tools input:focus, .sf-form input:focus, .sf-form select:focus { border-color: var(--nsp-red) !important; }

/* ---------- Buttons ---------- */
.sf-btn, .sfx-sform button, .sff-nav button { font-family: var(--nsp-body) !important; border-radius: 5px; }
.sf-btn { background: var(--nsp-red) !important; color: #fff !important; }
.sf-btn:hover { background: var(--nsp-red-dark) !important; }
.sf-btn.ghost { background: #fff !important; color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; }
.sff-nav button { color: var(--nsp-text-strong) !important; background: rgba(255, 255, 255, .96) !important; border: 1px solid #cfcfcf !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .15) !important; }
.sff-cal button, .sff-cal a { background: #fff !important; color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; border-radius: 4px; }
.sfx-theme { display: none !important; }
html[data-theme=light], html[data-theme=light] * { filter: none !important; }

/* ---------- Footer, as on nspine.com: light, quiet ---------- */
.sfx.sfx-foot { background: var(--nsp-panel) !important; border-top: 1px solid var(--nsp-line) !important; color: var(--nsp-text) !important; }
.sfx-signup { background: #fff !important; border: 1px solid var(--nsp-line) !important; border-left: 3px solid var(--nsp-red) !important; color: var(--nsp-text-strong) !important; }
.sfx .sfx-foot a.sfx-cta { background: var(--nsp-red) !important; color: #fff !important; border-color: var(--nsp-red) !important; }
.sfx .sfx-foot a.sfx-cta:hover { background: var(--nsp-red-dark) !important; border-color: var(--nsp-red-dark) !important; }
.sfx-cols b { color: var(--nsp-red) !important; font-family: var(--nsp-head) !important; text-transform: uppercase !important; }
.sfx .sfx-cols a { color: var(--nsp-text-strong) !important; }
.sfx .sfx-cols a:hover { color: var(--nsp-red) !important; }
.sfx-links { border-top: 1px solid var(--nsp-line) !important; }
.sfx .sfx-links a { color: var(--nsp-text) !important; }
.sfx-mail { color: var(--nsp-text-strong) !important; }
.nsp-foot { background: #fff; border-top: 1px solid var(--nsp-line); text-align: center; font-size: 14px; padding: 26px 20px; color: var(--nsp-text); }
.nsp-foot a { color: var(--nsp-red); }

/* ---------- Home: "This week in two minutes" ---------- */
.sf-week { background: var(--nsp-panel); border-radius: 8px; padding: 32px 32px 28px; }
.sf-week-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.sf-week-head h2 { margin: 0 !important; }
.sf-week-head .sub { margin: 0; color: var(--nsp-text); font-size: 15px; }
.sf-week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sf-wk { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--nsp-line); border-radius: 6px; padding: 0 20px 16px; overflow: hidden; text-decoration: none !important; color: var(--nsp-text) !important; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.sf-wk:hover { border-color: #cfcfcf; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sf-wk .k { margin: 0 -20px 10px; padding: 9px 20px; background: var(--nsp-red); color: #fff; font-family: var(--nsp-head); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sf-wk .h { font-family: var(--nsp-head); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--nsp-text-strong); }
.sf-wk .x { font-size: 15px; line-height: 1.55; }
.sf-wk .go { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--nsp-blue); }
.sf-wk:hover .h { color: var(--nsp-blue); }
.sf-wk-alert { border-color: rgba(174, 31, 35, .35); }
@media (max-width: 760px) { .sf-week { padding: 22px 16px 18px; border-radius: 6px; } .sf-week-grid { grid-template-columns: 1fr; gap: 10px; } .sf-wk { padding: 0 16px 14px; } .sf-wk .k { margin: 0 -16px 8px; padding: 8px 16px; font-size: 14px; } .sf-wk .h { font-size: 17px; } }

/* ---------- Section bar: one line on laptops, Menu button on tablets and phones ---------- */
/* 2 Nov 2026 (SM): menu always collapsed behind the Menu button at every width, not only below 1100px. */
@media (min-width: 0px) {
  .sfx .sfx-menu { display: inline-flex !important; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 0 12px; height: 36px; margin-left: auto !important; cursor: pointer; }
  .sfx.sfx-bar .sfx-nav { display: none !important; }
  .sfx.sfx-bar.sfx-open .sfx-nav { display: flex !important; flex-direction: column; align-items: stretch; flex-wrap: nowrap !important; overflow-x: visible; overflow-y: auto; max-height: calc(100vh - 70px); margin-left: 0; padding: 4px 0 12px; order: 9; flex: 0 0 100%; }
  .sfx.sfx-bar.sfx-open .sfx-panel { position: static !important; max-height: none !important; box-shadow: none !important; border: 0 !important; padding: 0 0 8px 10px !important; background: transparent !important; width: auto !important; min-width: 0 !important; }
  .sfx.sfx-bar.sfx-open .sfx-dd > summary, .sfx.sfx-bar.sfx-open a.sfx-top { font-size: 16px !important; padding: 12px 4px !important; border-bottom: 1px solid rgba(255, 255, 255, .25) !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a, .sfx.sfx-bar.sfx-open .sfx-panel a b { color: #fff !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a span { color: rgba(255, 255, 255, .8) !important; }
  .sfx.sfx-bar.sfx-open .sfx-panel a:hover { background: rgba(255, 255, 255, .12) !important; }
  .sfx.sfx-bar .sfx-in::after { display: none !important; }
  .sfx .sfx-sbtn span { display: none; }
  .sfx .sfx-sbtn { padding: 0 9px !important; margin-left: 0 !important; }
  .sfx.sfx-bar a.sfx-brand { margin-right: 0 !important; }
  .sfx.sfx-bar a.sfx-cta { margin-left: 0 !important; }
}

/* ---------- Home: category tiles ---------- */
.sf-explore { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.sf-tile { grid-column: span 3; }
.sf-tile:nth-child(n+5) { grid-column: span 4; }
.sf-tile { position: relative; display: flex; align-items: flex-end; height: 190px; border-radius: 6px; overflow: hidden; text-decoration: none !important; background: var(--nsp-red-dark) var(--img) center / cover no-repeat; isolation: isolate; }
.sf-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72) 100%); transition: background .2s; z-index: 0; }
.sf-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--nsp-blue); z-index: 1; }
.sf-tile span { position: relative; z-index: 1; padding: 16px 18px; color: #fff; font-family: var(--nsp-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.sf-tile:hover::before { background: linear-gradient(180deg, rgba(44, 98, 125, .15) 0%, rgba(44, 98, 125, .88) 100%); }
@media (max-width: 1000px) { .sf-explore { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sf-tile, .sf-tile:nth-child(n+5) { grid-column: span 2; } .sf-tile:nth-child(n+4) { grid-column: span 3; } }
@media (max-width: 700px) { .sf-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sf-tile, .sf-tile:nth-child(n+4), .sf-tile:nth-child(n+5) { grid-column: span 1; height: 130px; } .sf-tile:last-child { grid-column: span 2; } .sf-tile span { font-size: 16px; padding: 12px 14px; } }
@media (max-width: 400px) { .sf-explore { grid-template-columns: 1fr; } .sf-tile, .sf-tile:last-child { grid-column: span 1; height: 140px; } }

/* ---------- Home: logo as title, Explore rule, compact "how it works" and newsletter ---------- */
.sf-logo-title { margin: 0 0 14px !important; line-height: 0 !important; }
.sf-logo-title img { width: min(420px, 100%); height: auto; display: block; }
.sf-kicker, .kicker { color: var(--nsp-blue) !important; }
.sf h2#in, .sf h2#how { position: relative; padding-bottom: 12px; margin-bottom: 18px !important; }
.sf h2#in::after, .sf h2#how::after { content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 3px; background: var(--nsp-blue); }
.sf-how ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; font-size: 10px; line-height: 1.45; color: var(--nsp-text); }
.sf-how li b { color: var(--nsp-text-strong); }
.sf-how a { color: var(--nsp-blue); }
@media (max-width: 900px) { .sf-how ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sf-how ul { grid-template-columns: 1fr; } }
.sf-sub { background: var(--nsp-blue); color: #fff; border-radius: 8px; padding: 22px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px 32px; align-items: center; }
.sf-sub h2 { color: #fff !important; font-size: 18px !important; margin: 0 0 4px !important; }
.sf-sub p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.sf-form-slim { gap: 8px !important; }
.sf-form-slim .row { display: flex; gap: 8px; }
.sf-form-slim .row label { flex: 1; margin: 0; }
.sf-form-slim .sr { position: absolute; left: -9999px; }
.sf-form-slim input[type=email] { border: 0 !important; padding: 11px 12px !important; }
.sf-form-slim .sf-btn { background: var(--nsp-red) !important; padding: 11px 18px !important; white-space: nowrap; }
.sf-form-slim .sf-btn:hover { background: var(--nsp-red-dark) !important; }
.sf-sub .sf-consent { color: rgba(255, 255, 255, .9) !important; font-size: 12px !important; padding: 0 !important; }
.sf-sub .sf-consent a { color: #fff; }
.sf-sub .sf-check input { accent-color: var(--nsp-red); }
.sf-sub .sf-err { color: #ffd9d9 !important; margin: 0; min-height: 0 !important; }
.sf-sub .sf-err:empty { display: none; }
.sf-sub .sf-done { background: #fff; color: var(--nsp-text); border: 0 !important; border-radius: 6px; }
.sf-sub .sf-done b { color: var(--nsp-blue) !important; }
@media (max-width: 760px) { .sf-sub { grid-template-columns: 1fr; padding: 18px 16px; } .sf-form-slim .row { flex-direction: column; } }

/* ---------- Category landing pages ---------- */
.sf-cat-head { position: relative; border-bottom: 0 !important; padding: 0 !important; margin-top: 28px; }
.sf-cat-hero { position: relative; height: 240px; border-radius: 8px; overflow: hidden; background: var(--nsp-red-dark) var(--img) center / cover no-repeat; display: flex; align-items: flex-end; }
.sf-cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7) 100%); }
.sf-cat-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--nsp-blue); }
.sf-cat-hero h1 { position: relative; color: #fff !important; margin: 0 !important; padding: 22px 28px; text-transform: uppercase; letter-spacing: .02em !important; font-size: clamp(26px, 3.4vw, 36px) !important; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.sf-cat-head .sf-lede { margin: 18px 0 0 !important; }
.sf-cat-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)) !important; gap: 16px !important; }
.sf-cat-grid .sf-card { padding: 22px 22px 18px !important; gap: 8px !important; border-top: 3px solid var(--nsp-blue) !important; }
.sf-cat-card .ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(44, 98, 125, .1); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: background .2s; }
.sf-cat-card .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--nsp-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.sf-cat-card:hover .ic { background: var(--nsp-blue); }
.sf-cat-card:hover .ic svg { stroke: #fff; }
.sf-cat-card:hover { border-top-color: var(--nsp-red) !important; }
.sf-cat-grid .sf-card .nm { font-size: 17px !important; }
.sf-cat-grid .sf-card .ds { font-size: 14px !important; line-height: 1.55; }
.sf-cat-grid .sf-card .go { color: var(--nsp-blue) !important; font-weight: 700; }
.sf-cat-grid .sf-card:hover .nm { color: var(--nsp-red) !important; }
@media (max-width: 600px) { .sf-cat-hero { height: 160px; } .sf-cat-hero h1 { padding: 14px 16px; } }

/* ---------- Back link at the top of every page ---------- */
.sf-back { display: inline-block; margin: 22px 0 -14px; font-size: 14px; font-weight: 700; color: var(--nsp-blue) !important; text-decoration: none !important; }
.sf-back:hover { color: var(--nsp-red) !important; text-decoration: underline !important; }
.wrap > .sf-back { margin-bottom: 8px; }
.sf-back-only .sf-back { margin-bottom: 0; }
.sf-cat-head { margin-top: 18px !important; }

/* ---------- Literature Watch (and sibling list pages built on .wrap) ---------- */
.wrap > header { display: block !important; }
.dek.small { font-size: 13px !important; margin-top: 6px !important; }
.lwp { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 36px 0 12px !important; }
.lwp h2 { padding-bottom: 12px; margin-bottom: 14px !important; position: relative; }
.lwp h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 3px; background: var(--nsp-blue); }
.lwp .lwp-dek { font-size: 14px !important; color: var(--nsp-text) !important; margin: 0 0 18px !important; max-width: 80ch; }
.lwp ol { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px !important; }
.lwp li { background: #fff; border: 1px solid var(--nsp-line); border-top: 3px solid var(--nsp-blue); border-radius: 6px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s; }
.lwp li:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.lwp .lwp-top { margin-bottom: 2px !important; }
.lwp .lwp-v { border: 0 !important; border-radius: 3px; padding: 3px 8px !important; color: #fff !important; background: var(--nsp-blue); font-size: 10.5px !important; }
.lwp .lwp-v.v-read { background: var(--nsp-red); }
.lwp .lwp-v.v-adds { background: var(--nsp-blue); }
.lwp .lwp-v.v-supports { background: #2e7d4f; }
.lwp .lwp-v.v-early { background: #b7791f; }
.lwp .lwp-j { font-size: 12px !important; color: var(--nsp-text) !important; }
.lwp li a { font-size: 15px; line-height: 1.4; color: var(--nsp-text-strong) !important; text-decoration: none !important; }
.lwp li a:hover { color: var(--nsp-red) !important; text-decoration: underline !important; }
.lwp li p { font-size: 13.5px !important; line-height: 1.55; color: var(--nsp-text) !important; margin: 2px 0 0 !important; }
@media (max-width: 760px) { .lwp ol { grid-template-columns: 1fr; } }
#cats { margin-top: 24px; }
details.cat { border-bottom: 1px solid var(--nsp-line) !important; }
details.cat > summary { padding: 18px 0 16px !important; align-items: center !important; }
details.cat > summary::before { color: var(--nsp-blue) !important; font-size: 20px; width: 22px !important; }
details.cat > summary .ch { font-size: 17px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--nsp-text-strong) !important; font-weight: 700 !important; }
details.cat[open] > summary .ch { color: var(--nsp-red) !important; }
details.cat > summary .cn { background: var(--nsp-panel); border-radius: 999px; padding: 2px 9px; font-size: 12px !important; color: var(--nsp-text) !important; }
details.cat .list { padding-bottom: 12px !important; }
details.paper { border-top: 1px solid var(--nsp-line) !important; }
details.paper > summary { padding: 11px 10px 11px 24px !important; border-radius: 4px; }
details.paper > summary:hover { background: var(--nsp-panel); }
details.paper > summary::before { left: 8px !important; top: 17px !important; border-color: var(--nsp-blue) !important; }
details.paper > summary .pt { font-size: 15px !important; font-weight: 600 !important; color: var(--nsp-text-strong) !important; }
details.paper > summary:hover .pt { color: var(--nsp-red) !important; }
details.paper > summary .pj { font-size: 12px !important; color: var(--nsp-text) !important; }
details.paper .pb { background: var(--nsp-panel) !important; border-left: 3px solid var(--nsp-blue) !important; border-radius: 0 6px 6px 0; margin: 4px 0 14px 24px !important; padding: 14px 18px !important; }
details.paper .pb p { font-size: 14px; }
details.paper .pb .au { font-size: 12.5px !important; }
details.paper .pb .more { color: var(--nsp-red); }
.corr h2 { font-size: 20px !important; letter-spacing: 0 !important; text-transform: none !important; border-bottom: 0 !important; }

/* ---------- Trials Watch: highlights as cards ---------- */
#hl-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0 !important; align-items: start; }
#hl-list .sf-row { background: #fff; border: 1px solid var(--nsp-line) !important; border-top: 3px solid var(--nsp-blue) !important; border-radius: 6px; transition: box-shadow .2s; }
#hl-list .sf-row:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
#hl-list .sf-row > summary { display: flex !important; flex-direction: column; gap: 6px !important; padding: 16px 18px 14px !important; align-items: flex-start !important; }
#hl-list .sf-row > summary::before { display: none !important; }
#hl-list .sf-row > summary .r { order: -1; font-size: 10.5px !important; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #fff !important; background: var(--nsp-blue); border-radius: 3px; padding: 3px 8px; white-space: normal !important; }
#hl-list .sf-row > summary .t { font-size: 15px !important; line-height: 1.4; color: var(--nsp-text-strong) !important; flex: none !important; }
#hl-list .sf-row > summary:hover .t { color: var(--nsp-red) !important; }
#hl-list .sf-row > summary .why { font-size: 13.5px; line-height: 1.55; color: var(--nsp-text); font-weight: 400; }
#hl-list .sf-row > summary::after { content: "Details ▾"; font-size: 13px; font-weight: 700; color: var(--nsp-red); margin-top: 4px; }
#hl-list .sf-row[open] > summary::after { content: "Hide details ▴"; }
#hl-list .sf-row .body { margin: 0 14px 14px !important; border-left: 3px solid var(--nsp-blue) !important; border-radius: 0 6px 6px 0; font-size: 14px; }
#hl-list .sf-row .body .tw-why { display: none; }
.tw-head-row .sf-btn.ghost { border-radius: 5px; font-size: 13px !important; padding: 8px 14px !important; }
.tw-sum { gap: 12px !important; background: none !important; border: 0 !important; }
.tw-sum a { background: #fff !important; border: 1px solid var(--nsp-line); border-top: 3px solid var(--nsp-blue); border-radius: 6px; }
.tw-sum a:hover { background: var(--nsp-panel) !important; }
.tw-sum b { color: var(--nsp-red); }
.tw-chip { border-radius: 5px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; color: var(--nsp-text-strong) !important; border-color: #cfcfcf !important; }
.tw-chip:hover { color: var(--nsp-red) !important; border-color: var(--nsp-red) !important; }
.tw-chip[aria-pressed=true] { background: var(--nsp-red) !important; border-color: var(--nsp-red) !important; color: #fff !important; }
.tw-lab input, .tw-lab select { background: #fff !important; border: 1px solid #cfcfcf !important; border-radius: 5px !important; color: var(--nsp-text-strong) !important; }
@media (max-width: 760px) { #hl-list { grid-template-columns: 1fr; } }

/* ---------- Patent Watch: compact patent cards ---------- */
.sec { gap: 14px !important; margin-top: 28px !important; }
.sec h3 { font-size: 16px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--nsp-text-strong) !important; border-bottom: 1px solid var(--nsp-line) !important; }
.part { margin-top: 36px !important; }
.part h2.ph { font-size: 24px !important; }
.sec article { background: #fff !important; border: 1px solid var(--nsp-line) !important; border-top: 3px solid var(--nsp-blue) !important; border-radius: 6px; grid-template-columns: 150px minmax(0, 1fr) !important; gap: 18px !important; padding: 16px 18px !important; transition: box-shadow .2s; }
.sec article:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sec article figure { margin: 0; }
.sec article .sheet { background: var(--nsp-panel) !important; border-radius: 4px; min-height: 120px !important; padding: 8px !important; font-size: 12px !important; }
.sec article .sheet img { max-height: 150px !important; }
.sec article figcaption { font-size: 11px; color: var(--nsp-text); margin-top: 6px; }
.sec article .body { gap: 8px !important; }
.sec article h2 { font-size: 17px !important; color: var(--nsp-text-strong) !important; margin: 0 !important; }
.sec article .tag { border-radius: 3px; font-size: 10.5px !important; padding: 3px 8px !important; border: 0 !important; background: var(--nsp-panel); color: var(--nsp-text-strong) !important; }
.sec article .tag.grant { background: var(--nsp-red) !important; color: #fff !important; }
.sec article .tag.app { background: var(--nsp-blue) !important; color: #fff !important; }
.sec article .meta { font-size: 13px !important; }
.sec article dl.who { font-size: 13px; margin: 0; }
.pw-more { font-size: 14px; }
.pw-more > summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--nsp-red); padding: 2px 0; }
.pw-more > summary::-webkit-details-marker { display: none; }
.pw-more > summary::after { content: " ▾"; }
.pw-more[open] > summary::after { content: " ▴"; }
.pw-more > p { margin: 10px 0 0; }
.pw-more .claim { background: var(--nsp-panel) !important; border: 0 !important; border-left: 3px solid var(--nsp-blue) !important; border-radius: 0 6px 6px 0; padding: 10px 14px !important; }
.pw-more .label { color: var(--nsp-blue) !important; }
.pw-more .more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--nsp-red); }
@media (max-width: 600px) { .sec article { grid-template-columns: 1fr !important; } .sec article .sheet { min-height: 90px !important; } }

/* ---------- Regulatory Watch and Guideline Library cards ---------- */
.sfn-grid { gap: 14px !important; }
.sfc { background: #fff !important; border: 1px solid var(--nsp-line) !important; border-top: 3px solid var(--nsp-blue) !important; border-radius: 6px; padding: 16px 18px 14px !important; gap: 8px !important; transition: box-shadow .2s; }
.sfc:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sfc.hi { border-top-color: var(--nsp-red) !important; }
.sfc-top { gap: 6px !important; }
.sfc-top .d { font-size: 11px; letter-spacing: .04em !important; }
.sfc-chip { border: 0 !important; border-radius: 3px; padding: 3px 8px !important; font-size: 10.5px !important; font-weight: 700; letter-spacing: .08em; background: var(--nsp-panel); color: var(--nsp-text-strong) !important; }
.sfc-chip.red { background: var(--nsp-red) !important; color: #fff !important; }
.sfc-chip.green { background: #2e7d4f !important; color: #fff !important; }
.sfc-chip.amber { background: #b7791f !important; color: #fff !important; }
.sfc h3 { font-size: 15.5px !important; line-height: 1.4 !important; color: var(--nsp-text-strong) !important; }
.sfc h3 a { text-decoration: none !important; }
.sfc h3 a:hover { color: var(--nsp-red) !important; text-decoration: underline !important; }
.sfc > p { font-size: 13.5px !important; line-height: 1.55 !important; color: var(--nsp-text) !important; }
.sfc .sub { font-size: 12.5px !important; }
.sfc .pw-more > p { font-size: 13.5px; line-height: 1.55; color: var(--nsp-text); margin: 8px 0 0; }
.sfc .pw-more dl { margin-top: 8px; }
.sfc .pw-more dt { color: var(--nsp-blue) !important; }
.sfc-src { padding-top: 6px !important; }
.sfc-src a { color: var(--nsp-red) !important; text-decoration: none !important; }
.sfc-src a:hover { text-decoration: underline !important; }
.sfn-group > h2 { font-size: 20px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--nsp-red) !important; border-bottom: 0 !important; padding-bottom: 0 !important; }
.sfn-alert { background: rgba(174, 31, 35, .06) !important; border: 1px solid rgba(174, 31, 35, .35) !important; border-radius: 6px; }
.sfn-notes h2 { font-size: 20px !important; }

/* ---------- Paging ---------- */
.pg-off { display: none !important; }
.sf-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 6px; font-size: 14px; }
.sf-pager button { font: inherit; font-size: 14px; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid #cfcfcf; border-radius: 5px; background: #fff; color: var(--nsp-text-strong); cursor: pointer; }
.sf-pager button:hover:not([disabled]) { border-color: var(--nsp-blue); color: var(--nsp-blue); }
.sf-pager button[aria-current] { background: var(--nsp-blue); border-color: var(--nsp-blue); color: #fff; }
.sf-pager button[disabled] { opacity: .4; cursor: default; }
.sf-pager span { margin-left: auto; color: var(--nsp-text); font-size: 13px; }

/* ---------- Body & Mind: three section buttons ---------- */
.sf-bm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.sf-bm-btn { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--nsp-line); border-top: 3px solid var(--nsp-blue); border-radius: 6px; padding: 22px 22px 18px; text-decoration: none !important; color: var(--nsp-text) !important; transition: box-shadow .2s, border-color .2s; }
.sf-bm-btn:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-top-color: var(--nsp-red); }
.sf-bm-btn .ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(44, 98, 125, .1); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: background .2s; }
.sf-bm-btn .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--nsp-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf-bm-btn:hover .ic { background: var(--nsp-blue); }
.sf-bm-btn:hover .ic svg { stroke: #fff; }
.sf-bm-btn .nm { font-size: 19px; font-weight: 700; color: var(--nsp-text-strong); }
.sf-bm-btn:hover .nm { color: var(--nsp-red); }
.sf-bm-btn .ds { font-size: 13.5px; line-height: 1.5; }
.sf-bm-btn .go { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--nsp-blue); }
@media (max-width: 760px) { .sf-bm-grid { grid-template-columns: 1fr; } }

/* ---------- Jump buttons (Patent Watch: United States / Europe) ---------- */
.sf-jump { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 4px; }
.sf-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border: 2px solid var(--nsp-blue); border-radius: 6px; color: var(--nsp-blue) !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .2s, color .2s; }
.sf-jump a .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--nsp-blue); display: inline-flex; align-items: center; justify-content: center; }
.sf-jump a .ic svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-jump a:hover { background: var(--nsp-blue); color: #fff !important; }
.part { scroll-margin-top: 150px; }

/* ---------- Home: guest editor call-out ---------- */
.sf-ge { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.sf-ge-this, .sf-ge-call { background: #fff; border: 1px solid var(--nsp-line); border-top: 3px solid var(--nsp-blue); border-radius: 6px; padding: 22px 24px; }
.sf-ge-call { background: var(--nsp-panel); }
.sf-ge-kicker { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nsp-blue); }
.sf-ge h2 { margin: 0 0 8px !important; font-size: 22px !important; }
.sf-ge h3 { margin: 0 0 8px !important; font-size: 18px !important; color: var(--nsp-blue) !important; }
.sf-ge p { font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; max-width: none; }
.sf-ge .sf-btn { font-size: 14px; padding: 10px 16px; border-radius: 5px; }
.sf-ge-call a { color: var(--nsp-red); font-weight: 700; }
@media (max-width: 760px) { .sf-ge { grid-template-columns: 1fr; } }

/* ---------- NSpine events band (home) ---------- */
.sf-ev { margin: 26px 0 0; }
.sf-ev-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--nsp-red); border-radius: 5px 5px 0 0; padding: 7px 16px; }
.sf-ev-head h2 { margin: 0 !important; font-size: 12px !important; letter-spacing: .08em; color: #fff !important; }
.sf-ev-all { color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.sf-ev-all:hover { text-decoration: underline !important; }
.sf-ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 1px solid var(--nsp-line); border-top: 0; border-radius: 0 0 5px 5px; background: #fff; }
.sf-ev-card { padding: 0; display: flex; flex-direction: column; }
.sf-ev-card + .sf-ev-card { border-left: 1px solid var(--nsp-line); }
.sf-ev-img { display: block; aspect-ratio: 2.25 / 1; overflow: hidden; background: var(--nsp-panel); }
.sf-ev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-ev-body { padding: 14px 18px 16px; }
.sf-ev-when { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nsp-blue); }
.sf-ev-card h3 { margin: 0 0 5px !important; font-size: 13px !important; color: var(--nsp-text-strong) !important; }
.sf-ev-card p:not(.sf-ev-when) { font-size: 13px; font-weight: 400; line-height: 1.5; margin: 0 0 12px; max-width: none; }
.sf-ev-card .sf-btn { font-size: 14px; padding: 10px 18px; border-radius: 5px; }
/* One event: banner at its own proportions on the left, text beside it */
.sf-ev-card:only-child { flex-direction: row; align-items: center; }
.sf-ev-card:only-child .sf-ev-img { flex: 0 0 40%; aspect-ratio: 2.25 / 1; align-self: stretch; }
.sf-ev-card:only-child .sf-ev-img img { object-fit: contain; background: #fff; }
.sf-ev-card:only-child .sf-ev-body { flex: 1 1 auto; padding: 14px 22px; }
@media (max-width: 760px) { .sf-ev-card + .sf-ev-card { border-left: 0; border-top: 1px solid var(--nsp-line); } .sf-ev-card:only-child { flex-direction: column; align-items: stretch; } .sf-ev-card:only-child .sf-ev-img { flex: none; } }

/* ---------- Site-wide event strip under the red bar ---------- */
.sf-strip { background: var(--nsp-panel); border-bottom: 1px solid var(--nsp-line); }
.sf-strip-in { max-width: var(--nsp-w, 1170px); margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--nsp-text-strong); }
.sf-strip-tag { background: var(--nsp-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; flex: 0 0 auto; }
.sf-strip-text { flex: 1 1 auto; min-width: 0; }
.sf-strip-link { color: var(--nsp-red) !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.sf-strip-link:hover { text-decoration: underline !important; }
.sf-strip-x { font: inherit; font-size: 20px; line-height: 1; color: var(--nsp-text); background: none; border: 0; cursor: pointer; padding: 0 2px; flex: 0 0 auto; }
@media (max-width: 520px) { .sf-strip-in { flex-wrap: wrap; font-size: 12px; } .sf-strip-text { flex-basis: 100%; order: 3; } }

/* ===== 30 Oct 2026: agreed changes (guest editor first, slim NSpine list, spotlight, hub cross-links, NSpine menu item) ===== */
.sf-ge-top { margin: 4px 0 26px; }
.sf-ge-top .sf-ge-this { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: start; border-top: 4px solid var(--nsp-red); }
.sf-ge-photo img, .sf-ge-initials { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block; }
.sf-ge-initials { display: grid; place-items: center; background: var(--nsp-panel); border: 1px solid var(--nsp-line); color: var(--nsp-blue); font-size: 38px; font-weight: 700; letter-spacing: .04em; }
.sf-ge-top h2 { font-size: 26px !important; }
.sf-ge-quote { font-size: 17px !important; font-style: italic; color: var(--nsp-text-strong) !important; border-left: 3px solid var(--nsp-red); padding-left: 12px; }
@media (max-width: 560px) { .sf-ge-top .sf-ge-this { grid-template-columns: 1fr; } .sf-ge-photo img, .sf-ge-initials { width: 96px; height: 96px; font-size: 28px; } }

.sf-ev-slim .sf-ev-head { background: var(--nsp-panel); border: 1px solid var(--nsp-line); border-bottom: 0; }
.sf-ev-slim .sf-ev-head h2 { color: var(--nsp-red) !important; }
.sf-ev-slim .sf-ev-all { color: var(--nsp-red) !important; }
.sf-ev-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--nsp-line); border-radius: 0 0 5px 5px; background: #fff; }
.sf-ev-list li { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: baseline; padding: 10px 16px; font-size: 14px; }
.sf-ev-list li + li { border-top: 1px solid var(--nsp-line); }
.sf-ev-list .sf-ev-when { font-weight: 700; color: var(--nsp-red); font-variant-numeric: tabular-nums; }
.sf-ev-list .sf-ev-name { font-weight: 700; color: #333; }
.sf-ev-list .sf-ev-where { color: var(--nsp-text, #686868); }
.sf-ev-list a { font-weight: 700; color: var(--nsp-blue); white-space: nowrap; }
@media (max-width: 640px) { .sf-ev-list li { grid-template-columns: 1fr; gap: 2px; } }

.sf-spot { margin: 30px 0 6px; border: 1px solid var(--nsp-line); border-left: 4px solid var(--nsp-blue); border-radius: 6px; padding: 22px 24px; background: #fff; }
.sf-spot-kicker { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nsp-blue); }
.sf-spot h2 { margin: 0 0 8px !important; font-size: 24px !important; }
.sf-spot-head p { max-width: 75ch; font-size: 15px; line-height: 1.6; }
.sf-spot-three { margin: 14px 0 10px; padding-left: 22px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.sf-spot-three li::marker { color: var(--nsp-red); font-weight: 700; }
.sf-spot-three a, .sf-spot-all a { color: var(--nsp-blue); font-weight: 700; white-space: nowrap; }
.sf-spot-all { margin: 0; font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.sf-spot-all span { color: var(--nsp-text, #686868); font-style: italic; }

.sf-also { margin-top: 26px; }
.sf-also h2 { font-size: 15px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--nsp-blue) !important; }

.sfx .sfx-nav a.sfx-nsp { margin-left: 10px; border-left: 1px solid rgba(255,255,255,.45); padding-left: 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1100px) { .sfx .sfx-nav a.sfx-nsp { margin-left: 0; border-left: 0; padding-left: 4px; } }
/* longer section names (30 Oct): two-line labels on laptop widths so all sections stay on one bar */
@media (min-width: 1101px) and (max-width: 1599px) {
  .sfx .sfx-nav .sfx-dd > summary, .sfx .sfx-nav a.sfx-top { white-space: normal !important; max-width: 8.6em; line-height: 1.15; padding-inline: 6px !important; text-align: left; }
  .sfx .sfx-nav { align-items: center; gap: 0 2px; }
  .sfx .sfx-nav a.sfx-nsp { max-width: 7.2em; margin-left: 6px; padding-left: 10px !important; }
}
@media (min-width: 1101px) and (max-width: 1599px) { .sfx .sfx-nav a.sfx-nsp { max-width: 8.4em; } }
@media (min-width: 1101px) and (max-width: 1239px) { .sfx .sfx-nav .sfx-dd > summary, .sfx .sfx-nav a.sfx-top { font-size: 12px !important; padding-inline: 4px !important; } .sfx-brand { font-size: 15px !important; } }
.jb-side span { overflow-wrap: anywhere; }

/* 31 Oct: long single words in page titles (e.g. German compound nouns) wrap on phones */
h1.sf-title{overflow-wrap:anywhere;hyphens:auto}

/* 31 Oct: home sign-up is the weekly update alert, with optional sections and a plain privacy line */
.sf-sub .sf-sub-privacy { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.85); }
.sf-sub-pick { margin: 2px 0 2px; }
.sf-sub-pick summary { cursor: pointer; font-size: 13px; color: #fff; font-weight: 600; }
.sf-sub-checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 14px; margin-top: 6px; }
.sf-sub .sf-check { color: #fff; font-size: 13px; }
.sf-sub .sf-check a { color: #fff; text-decoration: underline; }
@media (max-width: 700px) { .sf-sub { grid-template-columns: 1fr; padding: 18px; } .sf-form-slim .row { flex-direction: column; } }

/* 31 Oct: section tick-boxes in the blue sign-up box must be white */
.sf-sub .sf-sub-checks .sf-check, .sf-sub .sf-sub-checks .sf-check span { color: #fff !important; }

/* ===== sf-enhance: start (29 Oct 2026) — styles for sf-enhance.js and the search results page ===== */

/* ---------- Header search panel ---------- */
.sfx-sform .sfe-sclose { flex: none; width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: var(--nsp-text-strong) !important; background: transparent !important; border: 1px solid transparent !important; border-radius: 5px; cursor: pointer; padding: 0 !important; }
.sfx-sform .sfe-sclose:hover, .sfx-sform .sfe-sclose:focus-visible { color: var(--nsp-red) !important; border-color: var(--nsp-line) !important; }

/* ---------- Filter dropdowns ---------- */
.sfe-replaced, .sfe-off { display: none !important; }
.sfe-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0; }
.sfe-bar-solo { margin: 0 0 16px; }
.sfe-bar-solo.sfe-inflex { margin: 0; align-self: flex-end; }
.sfe-dd { position: relative; display: inline-flex; align-items: center; min-height: 46px; max-width: 100%; background: #fff; border: 1px solid #cfcfcf; border-radius: 5px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sfe-dd:hover { border-color: #9a9a9a; }
.sfe-dd:focus-within { border-color: var(--nsp-red); box-shadow: 0 0 0 3px rgba(174, 31, 35, .14); }
.sfe-dd.is-set { border-color: var(--nsp-red); background: #fdf4f4; }
.sfe-dd-l { flex: none; padding-left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nsp-text); white-space: nowrap; pointer-events: none; }
.sfe-dd.is-set .sfe-dd-l { color: var(--nsp-red); }
.sfe-dd select { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--nsp-text-strong); padding: 10px 38px 10px 8px; cursor: pointer; text-overflow: ellipsis; }
.sfe-dd::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--nsp-red); border-bottom: 2px solid var(--nsp-red); transform: rotate(45deg); pointer-events: none; }
.sfe-bar .sfe-search { flex: 1 1 260px; min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.sfe-bar .sfe-search input { flex: 1 1 220px; min-height: 46px; border-radius: 5px; }
.sfe-bar .sfe-search .sft-status:empty { display: none; }
.sfe-clear { align-self: center; flex: none; background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 14px; font-weight: 700; color: var(--nsp-blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sfe-clear:hover { color: var(--nsp-red); }
.sfe-box { padding: 12px 0 !important; }
@media (max-width: 700px) {
  .sfe-bar { gap: 8px; }
  .sfe-bar .sfe-dd { flex: 1 1 100%; }
  .sfe-dd select { flex: 1; width: 100%; font-size: 16px; }
  .sfe-bar .sfe-search { flex-basis: 100%; }
}

/* ---------- Landing on a search result ---------- */
mark.sfe-mark { background: #ffe58a; color: inherit; padding: 0 1px; border-radius: 2px; }
.sfe-hit { outline: 2px solid var(--nsp-red) !important; outline-offset: 6px; animation: sfe-pulse 1.4s ease-out 1; scroll-margin-top: 140px; }
tr.sfe-hit { outline: 0 !important; animation: none; }
tr.sfe-hit > td, tr.sfe-hit > th { background: #fff6dc !important; box-shadow: inset 0 2px 0 var(--nsp-red), inset 0 -2px 0 var(--nsp-red); }
tr.sfe-hit > td:first-child { box-shadow: inset 3px 0 0 var(--nsp-red), inset 0 2px 0 var(--nsp-red), inset 0 -2px 0 var(--nsp-red); }
@keyframes sfe-pulse { 0% { box-shadow: 0 0 0 0 rgba(174, 31, 35, .30); } 100% { box-shadow: 0 0 0 16px rgba(174, 31, 35, 0); } }
.sfe-nav { position: fixed; z-index: 95; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; max-width: calc(100vw - 24px); padding: 6px 6px 6px 16px; background: #fff; border: 1px solid var(--nsp-line); border-top: 3px solid var(--nsp-red); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); font-size: 14px; color: var(--nsp-text-strong); }
.sfe-nav-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.sfe-nav-t b { color: var(--nsp-red); }
.sfe-nav button, .sfe-nav a { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border: 1px solid #cfcfcf; border-radius: 5px; background: #fff; color: var(--nsp-text-strong) !important; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.sfe-nav a { font-size: 13px; font-weight: 700; }
.sfe-nav button:hover, .sfe-nav a:hover { border-color: var(--nsp-red); color: var(--nsp-red) !important; }
.sfe-nav .sfe-x { border-color: transparent; font-size: 22px; }
@media (max-width: 600px) {
  .sfe-nav { left: 12px; right: 12px; transform: none; bottom: 70px; padding-left: 12px; }
  .sfe-nav-t { flex: 1; font-size: 13px; }
  .sfe-nav a { display: none; }
}
@media print { .sfe-nav { display: none; } }

/* ---------- Search results page ---------- */
#sfq-n { margin: 14px 0 6px; font-size: 15px; color: var(--nsp-text); }
#sfq-n b { color: var(--nsp-text-strong); }
#sfq-r .sfr-tools { margin: 6px 0 4px; }
#sfq-r .sfr-g { margin: 30px 0 0; }
#sfq-r .sfr-gh { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--nsp-red); }
#sfq-r .sfr-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nsp-blue); }
#sfq-r h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 !important; font-size: 22px !important; line-height: 1.25; letter-spacing: 0 !important; text-transform: none !important; color: var(--nsp-red) !important; }
#sfq-r h2 a { color: inherit !important; text-decoration: none !important; }
#sfq-r h2 a:hover { color: var(--nsp-red-dark) !important; }
#sfq-r .sfr-n { font-size: 13px; font-weight: 700; color: var(--nsp-text); background: var(--nsp-panel); border: 1px solid var(--nsp-line); border-radius: 20px; padding: 1px 9px; }
#sfq-r .sfr-list { list-style: none; margin: 0; padding: 0; }
#sfq-r .sfr-i { position: relative; padding: 14px 12px; margin: 0 -12px; border-bottom: 1px solid var(--nsp-line); border-radius: 5px; background: transparent !important; transition: background .15s; }
#sfq-r .sfr-i:hover { background: var(--nsp-panel) !important; }
#sfq-r .sfr-i[hidden] { display: none; }
#sfq-r a { text-decoration: none !important; }
#sfq-r .sfr-t { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.4; color: var(--nsp-text-strong) !important; }
#sfq-r .sfr-t::after { content: ""; position: absolute; inset: 0; }
#sfq-r .sfr-i:hover .sfr-t { color: var(--nsp-red) !important; }
#sfq-r .sfr-s { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--nsp-text); max-width: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#sfq-r .sfr-m { max-width: none !important; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: #8a8a8a; }
#sfq-r .sfr-src { position: relative; z-index: 1; color: var(--nsp-blue) !important; font-weight: 700; }
#sfq-r .sfr-src:hover { color: var(--nsp-red) !important; }
#sfq-r mark { background: #ffe58a; color: inherit; padding: 0 1px; border-radius: 2px; }
#sfq-r .sfr-more { margin: 12px 0 0; background: #fff; border: 1px solid #cfcfcf; border-radius: 5px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 700; color: var(--nsp-text-strong); cursor: pointer; }
#sfq-r .sfr-more:hover { border-color: var(--nsp-red); color: var(--nsp-red); }
/* ---------- Share bar: icon buttons ---------- */
.sff-share.sfe-share { display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; }
.sff-share.sfe-share .sfe-share-l { font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: .01em; color: var(--nsp-text) !important; }
.sfe-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sff-share.sfe-share .sfe-ic { width: 40px; height: 40px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cfcfcf !important; border-radius: 50%; background: #fff !important; color: var(--nsp-text-strong) !important; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.sff-share.sfe-share .sfe-ic svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.sff-share.sfe-share .sfe-ic:hover, .sff-share.sfe-share .sfe-ic:focus-visible { color: var(--nsp-red) !important; border-color: var(--nsp-red) !important; background: #fdf4f4 !important; }
.sff-share.sfe-share .sfe-ic.is-done { color: #2e7d4f !important; border-color: #2e7d4f !important; background: #f1f8f4 !important; }
.sff-share.sfe-share .sfe-share-s { font-size: 13px; font-weight: 400; color: var(--nsp-text) !important; overflow-wrap: anywhere; }
/* ---------- Current section and hover in the red menu bar: dark red shade, no underline ---------- */
.sfx .sfx-nav .sfx-dd > summary, .sfx .sfx-nav a.sfx-top { border-radius: 5px; border-bottom-color: transparent !important; text-decoration: none !important; box-shadow: none !important; transition: background-color .15s; }
.sfx .sfx-nav .sfx-dd > summary:hover, .sfx .sfx-nav a.sfx-top:hover, .sfx .sfx-nav .sfx-dd[open] > summary, .sfx .sfx-nav .sfx-dd > summary:focus-visible { background: var(--nsp-red-dark) !important; color: #fff !important; text-decoration: none !important; }
.sfx .sfx-nav .sfx-dd > summary.sfx-cur, .sfx .sfx-nav a.sfx-top[aria-current] { background: var(--nsp-red-dark) !important; color: #fff !important; font-weight: 700 !important; border-bottom-color: transparent !important; text-decoration: none !important; box-shadow: none !important; }
.sfx.sfx-bar.sfx-open .sfx-dd > summary, .sfx.sfx-bar.sfx-open a.sfx-top { padding-left: 10px !important; padding-right: 10px !important; }

/* ---------- A page's own search bar moved under the filter dropdowns ---------- */
.sft .sfe-tools-row { position: static !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 10px 0 0; padding: 0 !important; border: 0 !important; background: transparent !important; }
.sft .sfe-tools-row > input { flex: 2 1 260px; min-width: 0; min-height: 46px; font: inherit !important; font-size: 15px !important; color: var(--nsp-text-strong) !important; background: #fff !important; border: 1px solid #cfcfcf !important; border-radius: 5px; padding: 10px 12px !important; }
.sft .sfe-tools-row > input:focus { border-color: var(--nsp-red) !important; outline: 0; box-shadow: 0 0 0 3px rgba(174, 31, 35, .14); }
.sft .sfe-tools-row .sfe-dd { flex: 1 1 220px; }
.sft .sfe-tools-row .sfe-dd select { flex: 1; width: 100%; min-height: 0; padding: 10px 38px 10px 8px !important; background: transparent !important; border: 0 !important; color: var(--nsp-text-strong) !important; font-size: 15px !important; }
.sft .sfe-tools-row > button { flex: none; min-height: 46px; border-radius: 5px; padding: 0 16px !important; }
@media (max-width: 700px) { .sft.sfe-has-tools { position: static !important; } .sft .sfe-tools-row > input, .sft .sfe-tools-row .sfe-dd { flex-basis: 100%; } }

/* ---------- "Powered by NSpine" badge ---------- */
.sf-powered { margin: 10px 0 0 !important; }
.sf-powered a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border: 1px solid var(--nsp-line); border-radius: 6px; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.sf-powered a:hover, .sf-powered a:focus-visible { border-color: var(--nsp-red); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.sf-powered span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nsp-text); }
.sf-powered img { display: block; height: 32px; width: auto; }
/* ---------- Topic tabs as paperbacks on a shelf (.bk-bar.sfe-shelf) ---------- */
.bk-bar.sfe-shelf { --bh: 172px; --row: calc(var(--bh) + 34px); display: grid !important; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); grid-auto-rows: var(--row); column-gap: 16px; row-gap: 0; padding: 0 14px; border: 0 !important; border-radius: 4px; background-color: transparent !important;
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--row) - 16px), #c9a174 calc(var(--row) - 16px) calc(var(--row) - 13px), #a97c51 calc(var(--row) - 13px) calc(var(--row) - 4px), #7a5434 calc(var(--row) - 4px) var(--row)) !important; }
.bk-bar.sfe-shelf a { --bk: #9e1c20; position: relative; align-self: end; margin-bottom: 16px; height: var(--bh); min-width: 0; display: flex !important; flex-direction: column; gap: 2px; padding: 14px 12px 12px 18px !important; color: #fff !important; text-decoration: none !important; border-radius: 2px 5px 5px 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.30) 0, rgba(0,0,0,.12) 6px, rgba(255,255,255,.16) 7px, rgba(255,255,255,0) 10px), linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%), var(--bk) !important;
  box-shadow: 2px 3px 7px rgba(0,0,0,.28), inset -1px 0 0 rgba(255,255,255,.10); transition: transform .18s ease, box-shadow .18s ease; }
.bk-bar.sfe-shelf a:nth-child(6n+2) { --bk: #2c627d; }
.bk-bar.sfe-shelf a:nth-child(6n+3) { --bk: #2f6a4b; }
.bk-bar.sfe-shelf a:nth-child(6n+4) { --bk: #8a5a00; }
.bk-bar.sfe-shelf a:nth-child(6n+5) { --bk: #46525f; }
.bk-bar.sfe-shelf a:nth-child(6n+6) { --bk: #6b3a5b; }
.bk-bar.sfe-shelf a:nth-child(4n+2) { height: calc(var(--bh) - 10px); }
.bk-bar.sfe-shelf a:nth-child(4n+3) { height: calc(var(--bh) - 4px); }
.bk-bar.sfe-shelf a:nth-child(4n+4) { height: calc(var(--bh) - 8px); }
.bk-bar.sfe-shelf a:hover, .bk-bar.sfe-shelf a:focus-visible { transform: translateY(-7px); box-shadow: 3px 10px 14px rgba(0,0,0,.30), inset -1px 0 0 rgba(255,255,255,.10); outline: none; }
.bk-bar.sfe-shelf a:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--nsp-red); }
.bk-bar.sfe-shelf b { color: #fff !important; font-size: 28px !important; line-height: 1 !important; font-weight: 700; }
.bk-bar.sfe-shelf b::after { content: "books"; display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.bk-bar.sfe-shelf span { margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.38); color: #fff !important; font-size: 13.5px !important; font-weight: 700; line-height: 1.25; overflow-wrap: break-word; hyphens: manual; }
.bk-bar.sfe-shelf a.one b::after { content: "book"; }
@media (max-width: 1100px) { .bk-bar.sfe-shelf span { font-size: 12.5px !important; } }
/* a short shelf (Bookshelf, 9 topics): five books per shelf, centred */
@media (min-width: 900px) { .bk-bar.sfe-shelf--compact { grid-template-columns: repeat(5, 150px); justify-content: center; column-gap: 26px; } }
@media (max-width: 700px) {
  .bk-bar.sfe-shelf { --bh: 156px; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 128px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; background-attachment: local !important; padding-top: 10px; scrollbar-width: thin; }
  .bk-bar.sfe-shelf a { scroll-snap-align: start; padding: 13px 9px 11px 15px !important; }
  .bk-bar.sfe-shelf span { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) { .bk-bar.sfe-shelf a { transition: none; } .bk-bar.sfe-shelf a:hover { transform: none; } }
/* ---------- Core Library finder: empty state before a search or topic ---------- */
.bk-empty { margin: 14px 0 0; padding: 22px 20px; background: var(--nsp-panel); border: 1px dashed #d6d6d6; border-radius: 6px; color: var(--nsp-text); font-size: 15px; text-align: center; }
.bk-empty[hidden] { display: none; }
/* ---------- "Just published" on Bookshelf: long tiles stacked as a list (.bk-hl.sfe-list) ---------- */
.bk-hl.sfe-list { display: flex !important; flex-direction: column; gap: 10px !important; background: transparent !important; border: 0 !important; }
.bk-hl.sfe-list a { position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab side" "nm side" "au side"; column-gap: 28px; row-gap: 3px; align-items: center; padding: 14px 44px 14px 20px !important; background: #fff !important; border: 1px solid var(--nsp-line); border-left: 3px solid var(--nsp-red); border-radius: 6px; text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.bk-hl.sfe-list a::after { content: "\2197"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #b5b5b5; transition: color .15s; }
.bk-hl.sfe-list a:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #d6d6d6; border-left-color: var(--nsp-red); }
.bk-hl.sfe-list a:hover::after { color: var(--nsp-red); }
.bk-hl.sfe-list .lab { grid-area: lab; font-size: 11px; }
.bk-hl.sfe-list .nm { grid-area: nm; font-size: 17px; color: var(--nsp-text-strong) !important; }
.bk-hl.sfe-list a:hover .nm { color: var(--nsp-red) !important; }
.bk-hl.sfe-list .ds { grid-area: au; font-size: 13.5px; }
.bk-hl.sfe-list .ds:last-child { grid-area: side; text-align: right; white-space: nowrap; font-size: 13px; }
@media (max-width: 700px) {
  .bk-hl.sfe-list a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lab" "nm" "au" "side"; padding: 13px 40px 13px 16px !important; }
  .bk-hl.sfe-list .ds:last-child { text-align: left; white-space: normal; }
}
/* ---------- Home page "This week": tile summaries as bullet points ---------- */
.sf-wk .sf-wk-pts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.45; }
.sf-wk .sf-wk-pts li { position: relative; padding-left: 15px; }
.sf-wk .sf-wk-pts li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 6px; height: 6px; border-radius: 1px; background: var(--nsp-red); }
/* ---------- Book search under the shelf (Bookshelf: section.sfe-finder) ---------- */
section#find { scroll-margin-top: 84px; }
.sfe-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sfe-finder .bk-tools { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(0, .9fr); gap: 10px !important; margin: 0 0 12px !important; }
.sfe-finder .bk-lab { display: flex !important; gap: 0 !important; min-width: 0; margin: 0; }
.sfe-finder .bk-lab-q input { width: 100%; min-height: 48px; font-size: 16px !important; color: var(--nsp-text-strong) !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23888888' stroke-width='2'/%3E%3Cpath d='M15.5 15.5 21 21' stroke='%23888888' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 14px 50% !important; border: 1px solid #cfcfcf !important; border-radius: 5px !important; padding: 11px 14px 11px 42px !important; }
.sfe-finder .bk-lab-q input:focus { border-color: var(--nsp-red) !important; box-shadow: 0 0 0 3px rgba(174, 31, 35, .14); outline: 0; }
.sfe-finder .bk-lab.sfe-dd { min-height: 48px; }
.sfe-finder .bk-lab.sfe-dd select { flex: 1; width: 100%; min-width: 0; background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 10px 38px 10px 8px !important; font-size: 15px !important; color: var(--nsp-text-strong) !important; }
.sfe-finder .bk-chips { gap: 8px !important; margin: 0 0 6px !important; }
.sfe-finder .bk-chip { min-height: 36px !important; padding: 6px 14px !important; border: 1px solid #cfcfcf !important; border-radius: 999px !important; background: #fff !important; color: var(--nsp-text-strong) !important; font-size: 13.5px !important; letter-spacing: 0 !important; text-transform: none !important; }
.sfe-finder .bk-chip:hover { border-color: var(--nsp-red) !important; color: var(--nsp-red) !important; }
.sfe-finder .bk-chip[aria-pressed="true"] { background: var(--nsp-red) !important; border-color: var(--nsp-red) !important; color: #fff !important; }
@media (max-width: 700px) { .sfe-finder .bk-tools { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Home page: centred top section ---------- */
.sf-head--center { text-align: center; }
.sf-head--center .sf-kicker { max-width: none !important; margin-left: auto !important; margin-right: auto !important; }
.sf-head--center .sf-logo-title img { margin: 0 auto; }
.sf-head--center .sf-lede { margin-left: auto !important; margin-right: auto !important; max-width: 60ch !important; font-size: 16px !important; }
.sf-head--center .sf-meta:empty { display: none; }
.sf-head--center .sff-share.sfe-share { align-items: center; margin-left: auto; margin-right: auto; }
.sf-head--center .sfe-share-row { justify-content: center; }
/* ---------- Home page: 'This week' strapline in italics ---------- */
.sf-week-head .sub { font-style: italic; }
/* ===== sf-enhance: end ===== */

/* ===================== 2 Nov 2026 (SM) review fixes ===================== */

/* Footer: seven columns on one row on laptops, four on tablets, two on phones */
.sfx .sfx-cols { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 16px 14px !important; }
@media (max-width: 1099px) { .sfx .sfx-cols { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 640px)  { .sfx .sfx-cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px !important; } .sfx .sfx-cols a { font-size: 13px; } }
.sfx .sfx-cols b { overflow-wrap: anywhere; }

/* Bottom strip: disclaimer on one centred line on every page */
.nsp-foot .sf-disc-line { max-width: none !important; margin: 0 auto 6px !important; text-align: center !important; color: #666 !important; }
.nsp-foot .sf-disc-line a { color: #666 !important; }

/* NSpine notice banner: same width and padding on every page */
.sf-strip-in { box-sizing: border-box !important; }

/* Contrast (WCAG AA): small grey and coloured labels */
.sfnw-m, .sf-spot-why { color: #666 !important; }
.sf-wrap .sf-pb > span, .wrap .sf-pb > span { color: #666 !important; }
.v-early, .lwp-v.v-early { background: #8a5a12 !important; color: #fff !important; }
.chk { color: #1f6b44 !important; }

/* Buttons: one secondary style (blue outline) for every non-primary button */
#all, .sfm-load, .sfg-bar button {
  font: inherit !important; font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
  color: var(--nsp-blue) !important; background: #fff !important; border: 1px solid var(--nsp-blue) !important; border-radius: 4px !important;
  padding: 5px 12px !important; cursor: pointer;
}
#all:hover, .sfm-load:hover, .sfg-bar button:hover { background: var(--nsp-blue) !important; color: #fff !important; }
button.sf-btn { border: 0 !important; font-family: var(--nsp-body) !important; font-size: 14px !important; font-weight: 700 !important; }

/* Category page heroes: title white on the photo, as intended */
html body .sf-cat-hero h1.sf-title, html body .sf-cat-hero h1 { color: #fff !important; }

/* Search page: search box matches the rest of the site */
html body #sfq { background: #fff !important; border: 1px solid #cfcfcf !important; border-radius: 5px !important; }
html body #sfq:focus { border-color: var(--nsp-red) !important; outline: 2px solid rgba(174, 31, 35, .15); }

/* Bookshelf tabs: site font and colours instead of the old serif and cream */
html body .bk-switch4 a { font-family: var(--nsp-body) !important; background: #fff !important; color: var(--nsp-text-strong) !important; border: 1px solid #cfcfcf !important; font-weight: 600 !important; }
html body .bk-switch4 a[aria-current] { background: var(--nsp-red) !important; border-color: var(--nsp-red) !important; color: #fff !important; }

/* Phone header: keep brand, Menu, search and sign-up on one row */
@media (max-width: 480px) {
  .sfx.sfx-bar .sfx-in { flex-wrap: nowrap !important; gap: 6px !important; }
  .sfx.sfx-bar .sfx-wm .sfx-pb { display: none !important; }
  .sfx .sfx-menu { font-size: 0 !important; padding: 0 10px !important; min-width: 40px; justify-content: center; }
  .sfx .sfx-menu span { font-size: 18px !important; }
  .sfx.sfx-bar a.sfx-cta { font-size: 10.5px !important; line-height: 1.15 !important; padding: 5px 8px !important; letter-spacing: .02em !important;
    white-space: normal !important; max-width: 104px; text-align: center; flex: 0 1 auto; }
}
/* Grey counts on light grey rows */
.n, .r, summary .n, summary .r { color: #666 !important; }
@media (max-width: 360px) {
  .sfx.sfx-bar a.sfx-brand { min-width: 0 !important; flex: 1 1 auto !important; overflow: hidden; }
  .sfx.sfx-bar .sfx-wm .sfx-name { font-size: 13px !important; }
  .sfx.sfx-bar .sfx-in { gap: 4px !important; }
  .sfx.sfx-bar a.sfx-cta { max-width: 92px; }
}
@media (max-width: 340px) { .sfx.sfx-bar .sfx-wm { display: none !important; } }
/* 2 Nov 2026 (SM): contrast for status chips inside collapsed sections */
.chip.soon,.e .flag{color:#8a5a12!important;border-color:#8a5a12!important}
.chip.open{color:#1f6b44!important;border-color:#1f6b44!important}
#ab-list .sfc-chip.amber{background:#8a5a12!important;border-color:#8a5a12!important}


/* ---------- Mobile fix, 4 Nov 2026: on phones (480px and narrower) the open menu sat beside the header
   instead of below it, which made the page twice as wide and cut the menu off. Let the header row wrap
   while the menu is open, so the menu drops underneath at full width. ---------- */
@media (max-width: 480px) {
  .sfx.sfx-bar.sfx-open .sfx-in { flex-wrap: wrap !important; }
}

/* 4 Nov 2026: wide screens. Page column grows from 1170px to 1440px (screens 1500px+) and 1600px (1800px+);
   card grids go to four columns. Paragraph text keeps its own reading width. */
@media (min-width: 1500px) {
  html:root { --nsp-w: 1440px; }
  html:root body .sfx-in,
  html:root body .sfx.sfx-bar .sfx-in,
  html:root body .sf-strip-in,
  html:root body .sf-wrap,
  html:root body .wrap,
  html:root body .sf-wrap.sf-back-only,
  html:root body #sfc>section,
  html:root body #sfc>p.sf-coi,
  html:root body #sfc>nav.sf-toc,
  html:root body #sfc>.sft,
  html:root body #sfc>.sfe-box,
  html:root body #sfc>.is-compile { max-width: 1440px !important; }
  html:root body .sfn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (min-width: 1800px) {
  html:root { --nsp-w: 1600px; }
  html:root body .sfx-in,
  html:root body .sfx.sfx-bar .sfx-in,
  html:root body .sf-strip-in,
  html:root body .sf-wrap,
  html:root body .wrap,
  html:root body .sf-wrap.sf-back-only,
  html:root body #sfc>section,
  html:root body #sfc>p.sf-coi,
  html:root body #sfc>nav.sf-toc,
  html:root body #sfc>.sft,
  html:root body #sfc>.sfe-box,
  html:root body #sfc>.is-compile { max-width: 1600px !important; }
}

/* 4 Nov 2026: the Report a Device Problem box on Implant Systems sits outside the page column; give it the column's width and margins */
html:root body > aside.sfd-report { max-width: var(--nsp-w, 1170px); margin: 32px auto !important; padding-left: max(20px, env(safe-area-inset-left, 0px)) !important; padding-right: max(20px, env(safe-area-inset-right, 0px)) !important; box-sizing: border-box; }

/* design tweaks 2026-11-06 */
.sf-strip-tag{display:inline-flex!important;flex-direction:column;align-items:center;line-height:1.05;text-decoration:none!important;color:#fff!important}
a.sf-strip-tag:hover{background:#8d171b!important}
.sf-strip-tag small{display:block;font-size:8.5px;font-weight:600;letter-spacing:.04em;text-transform:none;opacity:.92;margin-top:2px}
.sf-strip-more{display:block;margin-top:2px;font-size:12px;font-weight:600;color:var(--nsp-red)!important;text-decoration:none!important}
.sf-strip-more:hover{text-decoration:underline!important}
.sfx-bar.sfx-open{background:rgba(174,31,35,.86)!important;-webkit-backdrop-filter:blur(7px) saturate(120%);backdrop-filter:blur(7px) saturate(120%)}
.sfx-bar.sfx-open .sfx-in::after{display:none!important}
@media (max-width:420px){.sfx.sfx-bar a.sfx-brand{font-size:15px!important}.sfx.sfx-bar a.sfx-brand .sfx-icon{height:26px!important}.sfx-in{gap:8px!important}}
@media (max-width:380px){.sfx.sfx-bar .sfx-wm .sfx-name{font-size:12.5px!important}}
