/* =====================================================================
   Entrepreneur India blog - public stylesheet (forked from the NIIR blog, Nov 2026)
   Reads as a magazine, not a consultancy: serif headlines, clean sans body, date-led cards.
   Three visual families, never mixed (site plan, design guidelines):
     editorial    white, no border, serif headlines            (articles, key facts, related)
     lead capture accent border 2px + accent tint, accent btn  (report snapshot, report teaser, lead form)
     own promos   second-colour tint, outline/own button       (newsletter, magazine, Business Finder, PR promo)
     paid         grey band + "Sponsored" badge, never accent  (press releases - PR desk, later phase)
   ===================================================================== */
:root {
  --ei-ink: #16191d;          /* text, masthead */
  --ei-ink-2: #3a4048;        /* secondary text */
  --ei-muted: #5d6570;        /* meta */
  --ei-rule: #e2e4e8;
  --ei-paper: #ffffff;
  --ei-quiet: #f6f6f4;        /* quiet editorial panels (inline Contents, key facts) */
  --ei-link: #0b4f6c;         /* editorial links */
  --ei-accent: #b23a12;       /* EI accent (lead capture only): distinct from niir.org indigo */
  --ei-accent-deep: #8c2c0c;
  --ei-accent-tint: #fcf1ec;
  --ei-own: #0e5e6f;          /* second brand colour (own promos) */
  --ei-own-deep: #0a4653;
  --ei-own-tint: #eaf4f6;
  --ei-paid: #f3f4f6;         /* paid content band (PR desk) */
  --ei-focus: #e3a33b;
  --ei-serif: "Source Serif 4", Georgia, "Noto Serif Devanagari", "Times New Roman", serif;
  --ei-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Arial, sans-serif;
  --nb-measure: 700px;
  --nb-sticky-offset: 0px;
  --nb-radius: 6px;
}

/* ---------- base ---------- */
body.nb-body { margin: 0; background: var(--ei-paper); color: var(--ei-ink); font-family: var(--ei-sans); }
.nb { color: var(--ei-ink); font-family: var(--ei-sans); font-size: 1rem; line-height: 1.6; background: var(--ei-paper); }
.nb *, .nb *::before, .nb *::after, .ei-mast *, .ei-foot *, .ei-sticky * { box-sizing: border-box; }
.nb img { max-width: 100%; height: auto; }
.nb a { color: var(--ei-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.nb a:hover { color: var(--ei-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ei-focus); outline-offset: 2px; border-radius: 2px; }
.nb-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px 64px; }
@media (min-width: 640px) { .nb-wrap { padding-left: 24px; padding-right: 24px; } }
.nb-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 14px; }
.nb-skip:focus { left: 12px; top: 12px; }
html { scroll-padding-top: calc(var(--nb-sticky-offset) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.nb h1, .nb h2, .nb h3, .nb-card__title, .ei-brand__name, .ei-lead__title, .ei-promo__title, .ei-report__name { font-family: var(--ei-serif); }

/* ---------- utility bar + masthead + nav ---------- */
.ei-util { background: var(--ei-ink); color: #c9ced4; font-size: 0.8125rem; }
.ei-util .nb-wrap, .ei-mast .nb-wrap, .ei-band .nb-wrap, .ei-foot .nb-wrap { padding-bottom: 0; }
.ei-util__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.ei-util a { color: #e8ebee; text-decoration: none; }
.ei-util a:hover { text-decoration: underline; }
.ei-util nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) { .ei-util nav a:nth-child(n+2):not(:last-child) { display: none; } }

.ei-mast { background: var(--ei-paper); border-bottom: 1px solid var(--ei-rule); font-family: var(--ei-sans); }
.ei-mast__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.ei-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ei-ink); min-width: 0; }
.ei-brand__name { font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.05; letter-spacing: -0.015em; }
.ei-brand__tag { margin-top: 4px; font-size: 0.875rem; color: var(--ei-muted); }
.ei-mast__search { display: none; }
@media (min-width: 820px) {
  .ei-mast__search { display: flex; width: 320px; border: 1px solid var(--ei-rule); border-radius: var(--nb-radius); overflow: hidden; }
  .ei-mast__search input { flex: 1; min-width: 0; border: 0; padding: 9px 12px; font: inherit; font-size: 0.9375rem; }
  .ei-mast__search input:focus { outline: none; }
  .ei-mast__search:focus-within { border-color: var(--ei-ink); }
  .ei-mast__search button { border: 0; background: var(--ei-ink); color: #fff; font: inherit; font-size: 0.875rem; font-weight: 600; padding: 0 14px; cursor: pointer; }
}
.ei-nav { border-top: 3px double var(--ei-ink); position: sticky; top: 0; z-index: 40; background: var(--ei-paper); }
.ei-nav__row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; align-items: center; min-height: 46px; }
.ei-nav__row::-webkit-scrollbar { display: none; }
.ei-nav a { flex-shrink: 0; padding: 12px 10px; font-size: 0.9375rem; font-weight: 600; color: var(--ei-ink); text-decoration: none; border-bottom: 3px solid transparent; }
.ei-nav a:hover { border-bottom-color: var(--ei-rule); }
.ei-nav a[aria-current="page"] { border-bottom-color: var(--ei-accent); }
.ei-nav a.ei-nav__cta { margin-left: auto; padding: 7px 14px; border: 1px solid var(--ei-own); border-radius: var(--nb-radius); color: var(--ei-own); }

/* ---------- breadcrumbs ---------- */
.nb-crumbs { padding: 18px 0 6px; font-size: 0.875rem; color: var(--ei-muted); }
.nb-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.nb-crumbs li { display: inline-flex; align-items: center; }
.nb-crumbs li + li::before { content: "/"; margin: 0 8px; color: #b8bdc4; }
.nb .nb-crumbs a { color: var(--ei-muted); text-decoration: none; }
.nb .nb-crumbs a:hover { color: var(--ei-ink); text-decoration: underline; }
@media (max-width: 640px) { .nb-crumbs li:last-child { display: none; } }

/* ---------- page heads ---------- */
.nb-pagehead { padding: 12px 0 24px; border-bottom: 1px solid var(--ei-rule); margin-bottom: 28px; }
.nb-pagehead h1 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.012em; max-width: 30ch; }
.nb-pagehead__intro { font-size: 1.0625rem; color: var(--ei-ink-2); max-width: 64ch; margin: 0 0 18px; }
.nb-pagehead--error { border-bottom: 0; padding-top: 40px; }
.nb-section-title { font-size: 1.35rem; line-height: 1.25; margin: 0 0 16px; padding-top: 10px; border-top: 2px solid var(--ei-ink); }
.nb .nb-section-title a { color: var(--ei-ink); text-decoration: none; }
.nb .nb-section-title a:hover { text-decoration: underline; }
.nb-count { color: var(--ei-muted); font-weight: 400; font-family: var(--ei-sans); font-size: 0.8em; }
.ei-tag { display: inline-block; margin: 0 0 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ei-ink); }
.nb a.ei-tag { color: var(--ei-ink); text-decoration: none; border-bottom: 2px solid var(--ei-ink); }
.ei-sections { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.nb .ei-sections a { padding: 6px 12px; border: 1px solid var(--ei-rule); border-radius: 999px; font-size: 0.875rem; color: var(--ei-ink); text-decoration: none; }
.nb .ei-sections a:hover, .nb .ei-sections a[aria-current="page"] { border-color: var(--ei-ink); }
.nb .ei-sections a[aria-current="page"] { background: var(--ei-ink); color: #fff; }

/* ---------- search ---------- */
.nb-search { display: flex; max-width: 560px; border: 1px solid var(--ei-rule); border-radius: var(--nb-radius); background: #fff; overflow: hidden; margin-bottom: 16px; }
.nb-search:focus-within { border-color: var(--ei-ink); }
.nb-search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ei-ink); background: transparent; }
.nb-search input:focus { outline: none; }
.nb-search button { border: 0; background: var(--ei-ink); color: #fff; font: inherit; font-weight: 600; padding: 0 20px; cursor: pointer; }

.nb-empty { padding: 24px; background: var(--ei-quiet); border-radius: var(--nb-radius); color: var(--ei-ink-2); }
.nb-empty p { margin: 0 0 14px; max-width: 60ch; }
.nb-empty p:last-child { margin-bottom: 0; }

/* ---------- pagination ---------- */
.nb-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 32px 0 0; }
.nb-pager ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nb-pager a, .nb-pager span[aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--ei-rule); border-radius: var(--nb-radius); text-decoration: none; font-variant-numeric: tabular-nums; }
.nb-pager a:hover { border-color: var(--ei-ink); }
.nb-pager span[aria-current] { background: var(--ei-ink); border-color: var(--ei-ink); color: #fff; font-weight: 700; }
.nb-pager__gap { align-self: center; color: var(--ei-muted); padding: 0 2px; }
.ei-pager-note { margin: 8px 0 40px; text-align: center; }

/* ---------- cards (editorial family: no border, date-led) ---------- */
.nb-cards { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 28px; }
@media (min-width: 640px) { .nb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nb-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nb-card__thumb { display: block; aspect-ratio: 16 / 9; background: var(--ei-quiet); overflow: hidden; border-radius: 4px; }
.nb-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nb-card__body { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--ei-rule); }
.nb-card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.8125rem; color: var(--ei-muted); }
.nb-card__meta time { font-weight: 600; color: var(--ei-ink-2); }
.nb a.nb-card__hub { font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--ei-muted); }
.nb-card__title { margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
.nb .nb-card__title a { color: var(--ei-ink); text-decoration: none; }
.nb .nb-card__title a:hover { text-decoration: underline; }
.nb-card__excerpt { margin: 0; font-size: 0.9375rem; color: var(--ei-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-latest { margin-bottom: 44px; }
.ei-front { margin-bottom: 40px; }
.nb-cards--lead { grid-template-columns: minmax(0, 1fr); }
.nb-cards--lead .nb-card__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; }
.nb-cards--lead .nb-card__excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; max-width: 62ch; }
.nb-cards--lead .nb-card__body { border-top: 3px solid var(--ei-ink); padding-top: 14px; }
@media (min-width: 820px) { .nb-cards--lead .nb-card:has(.nb-card__thumb) { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; } .nb-cards--lead .nb-card:has(.nb-card__thumb) .nb-card__body { border-top: 0; padding-top: 0; } }
.ei-row__more { margin: 14px 0 0; font-size: 0.9375rem; font-weight: 600; }

/* ---------- article layout ---------- */
.nb-post { display: grid; grid-template-columns: minmax(0, 1fr); }
.nb-post__main { min-width: 0; max-width: var(--nb-measure); }
.nb-post__side { display: none; }
@media (min-width: 1024px) {
  .nb-post--toc { grid-template-columns: minmax(0, var(--nb-measure)) 300px; column-gap: 56px; }
  .nb-post--toc .nb-post__side { display: block; }
  .nb-post--toc .nb-toc--inline { display: none; }
}
.nb-post__head { padding: 10px 0 22px; }
.nb-post__title { font-size: clamp(1.95rem, 1.35rem + 2.3vw, 2.9rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 14px; font-weight: 700; }
.ei-dek { margin: 0 0 18px; font-size: 1.1875rem; line-height: 1.5; color: var(--ei-ink-2); max-width: 60ch; }
.nb-byline { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.9375rem; color: var(--ei-muted); padding-top: 14px; border-top: 1px solid var(--ei-rule); }
.nb .nb-byline a { color: inherit; }
.nb-byline strong { color: var(--ei-ink); }
.nb-byline--photo { align-items: center; }
.nb-byline__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nb-post__figure { margin: 0 0 28px; overflow: hidden; background: var(--ei-quiet); }
.nb-post__figure img { display: block; width: 100%; height: auto; }

/* Key facts (editorial family) */
.ei-facts { margin: 0 0 28px; padding: 18px 20px; background: var(--ei-quiet); border-top: 3px solid var(--ei-ink); }
.nb .ei-facts__title { margin: 0 0 10px; font-size: 1rem; font-family: var(--ei-sans); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ei-facts__body > :last-child { margin-bottom: 0; }
.ei-facts__body ul { margin: 0; padding-left: 1.2em; }

/* ---------- Contents ---------- */
.nb-toc__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-weight: 700; }
.nb-toc__title span { font-weight: 400; font-size: 0.8125rem; color: var(--ei-muted); }
.nb-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: nbtoc; }
.nb-toc__list li { counter-increment: nbtoc; }
.nb .nb-toc__list a { display: grid; grid-template-columns: 1fr; padding: 7px 0 7px 12px; border-left: 2px solid var(--ei-rule); color: var(--ei-ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; }
.nb .nb-toc__list--num a { grid-template-columns: 2.1em 1fr; }
.nb-toc__list--num a::before { content: counter(nbtoc) "."; color: var(--ei-muted); font-variant-numeric: tabular-nums; }
.nb .nb-toc__list a:hover { border-left-color: var(--ei-ink); }
.nb .nb-toc__list a[aria-current="true"] { border-left-color: var(--ei-ink); font-weight: 600; }
.nb-toc--inline { margin: 0 0 30px; border: 1px solid var(--ei-rule); border-radius: var(--nb-radius); background: var(--ei-quiet); }
.nb-toc--inline summary { cursor: pointer; padding: 14px 16px; list-style: none; }
.nb-toc--inline summary::-webkit-details-marker { display: none; }
.nb-toc--inline summary .nb-toc__title::after { content: attr(data-show); margin-left: auto; font-weight: 600; font-size: 0.875rem; color: var(--ei-link); }
.nb-toc--inline[open] summary .nb-toc__title::after { content: attr(data-hide); }
.nb-toc--inline .nb-toc__list { padding: 0 16px 14px; }
.nb-toc--side .nb-toc__title { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--ei-ink); }

/* ---------- prose ---------- */
.nb-prose { font-size: 1.0625rem; line-height: 1.75; }
@media (min-width: 640px) { .nb-prose { font-size: 1.125rem; } }
.nb-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.nb-prose h2 { font-size: 1.6em; line-height: 1.22; margin: 1.9em 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
.nb-prose > h2:first-child { margin-top: 0; }
.nb-prose h3 { font-size: 1.25em; line-height: 1.3; margin: 1.6em 0 0.5em; font-weight: 700; }
.nb-prose h4 { font-size: 1.05em; margin: 1.4em 0 0.4em; }
.nb-prose ul, .nb-prose ol { padding-left: 1.4em; }
.nb-prose li { margin-bottom: 0.45em; }
.nb-prose li::marker { color: var(--ei-muted); }
.nb-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ei-ink); color: var(--ei-ink-2); font-family: var(--ei-serif); font-size: 1.1em; }
.nb-prose figure { margin: 1.6em 0; }
.nb-prose figcaption { font-size: 0.875rem; color: var(--ei-muted); margin-top: 8px; }
.nb-prose hr { border: 0; border-top: 1px solid var(--ei-rule); margin: 2.4em 0; }
.nb-prose code { font-size: 0.9em; background: var(--ei-quiet); padding: 0.1em 0.35em; border-radius: 3px; }
.nb-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.nb-prose a { word-break: break-word; }
/* NPCS trust note from the writers' docs: an editorial aside, not a promo */
.nb-prose aside.ei-note { padding: 12px 16px; border-left: 3px solid var(--ei-rule); background: var(--ei-quiet); font-size: 0.9375rem; color: var(--ei-ink-2); }
.nb-prose aside.ei-note > :last-child { margin-bottom: 0; }

/* Tables */
.nb-table { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--ei-rule);
  background: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left/40px 100% no-repeat local,
              linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right/40px 100% no-repeat local,
              radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.12), transparent) left/12px 100% no-repeat scroll,
              radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.12), transparent) right/12px 100% no-repeat scroll; }
.nb-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; min-width: 520px; }
.nb-table caption { caption-side: top; text-align: left; font-weight: 700; padding: 12px 14px 0; }
.nb-table th, .nb-table td { padding: 9px 14px; border-bottom: 1px solid var(--ei-rule); text-align: left; vertical-align: top; }
.nb-prose .nb-table th > p, .nb-prose .nb-table td > p { margin: 0; font-size: inherit; line-height: inherit; }
.nb-prose .nb-table th > p + p, .nb-prose .nb-table td > p + p { margin-top: 0.4em; }
.nb-table thead th, .nb-table tr:first-child > th { background: var(--ei-ink); color: #fff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding-top: 11px; padding-bottom: 11px; border-bottom: 0; }
.nb-table tbody tr:nth-child(even) td { background: var(--ei-quiet); }
.nb-table tr:last-child td { border-bottom: 0; }
.nb-table td:first-child { font-weight: 600; }
.nb-table .nb-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nb-table td.nb-num { font-weight: 400; }
.nb-table .nb-serial { width: 1%; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nb-table td.nb-serial { color: var(--ei-muted); }

/* ---------- buttons ---------- */
.ei-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: var(--nb-radius); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 0.9375rem; line-height: 1.2; text-decoration: none !important; cursor: pointer; text-align: center; }
.ei-btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.875rem; }
.nb .ei-btn--accent, .ei-btn--accent { background: var(--ei-accent); color: #fff; }
.nb .ei-btn--accent:hover, .ei-btn--accent:hover { background: var(--ei-accent-deep); color: #fff; }
.nb .ei-btn--own { background: transparent; color: var(--ei-own); border-color: var(--ei-own); }
.nb .ei-btn--own:hover { background: var(--ei-own); color: #fff; }
.nb .ei-btn--ghost { background: transparent; color: var(--ei-ink); border-color: var(--ei-ink); }
.nb .ei-btn--ghost:hover { background: var(--ei-ink); color: #fff; }
.ei-btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- lead capture family (accent border + tint) ---------- */
.ei-lead { margin: 44px 0 0; padding: 24px 20px; border: 2px solid var(--ei-accent); background: var(--ei-accent-tint); border-radius: var(--nb-radius); }
@media (min-width: 640px) { .ei-lead { padding: 28px; } }
.ei-lead__kicker { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ei-accent-deep); }
.nb .ei-lead__title { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.25; font-weight: 700; color: var(--ei-ink); }
.ei-lead__text { margin: 0 0 18px; color: var(--ei-ink-2); max-width: 62ch; }
.ei-reports { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .ei-reports { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.ei-report { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid #efd3c6; border-radius: var(--nb-radius); }
.nb .ei-report__name { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.ei-report__sector { margin: 0; font-size: 0.8125rem; color: var(--ei-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ei-report__figs { margin: 4px 0 0; display: grid; gap: 6px; }
.ei-report__figs div { display: flex; justify-content: space-between; gap: 10px; font-size: 0.875rem; border-bottom: 1px dotted #e7c9bb; padding-bottom: 4px; }
.ei-report__figs dt { color: var(--ei-muted); }
.ei-report__figs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ei-report__note { margin: 2px 0 0; font-size: 0.75rem; color: var(--ei-muted); }
.ei-report__actions { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nb .ei-report__more { font-size: 0.875rem; color: var(--ei-ink-2); }

.ei-form { padding: 18px; background: #fff; border-radius: var(--nb-radius); border: 1px solid #efd3c6; }
.ei-form__title { margin: 0 0 12px; font-weight: 700; font-size: 1.0625rem; }
.ei-form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
@media (min-width: 640px) { .ei-form__grid { grid-template-columns: 1fr 1fr; } .ei-form__wide { grid-column: 1 / -1; } }
.ei-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--ei-ink); }
.ei-form input, .ei-form select, .ei-news__form input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c9ced4; border-radius: var(--nb-radius); font: inherit; font-size: 1rem; font-weight: 400; background: #fff; color: var(--ei-ink); }
.ei-form input:focus, .ei-form select:focus, .ei-news__form input:focus { border-color: var(--ei-ink); outline: 2px solid var(--ei-focus); outline-offset: 0; }
.ei-opt { font-weight: 400; color: var(--ei-muted); }
.ei-form__consent { margin: 10px 0 0; font-size: 0.8125rem; color: var(--ei-muted); }
.ei-form__status { margin: 10px 0 0; font-weight: 600; min-height: 1.4em; }
.ei-form__status.is-ok { color: #1d6b3a; }
.ei-form__status.is-bad { color: #a32020; }
.ei-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* sidebar */
.nb-side-sticky { position: sticky; top: calc(var(--nb-sticky-offset) + 24px); max-height: calc(100vh - var(--nb-sticky-offset) - 48px); overflow-y: auto; padding: 0 4px 8px 0; margin-top: 12px; scrollbar-width: thin; display: flex; flex-direction: column; gap: 20px; }
.nb-side-sticky .nb-toc--side { position: static; max-height: none; overflow: visible; margin-top: 0; padding-top: 4px; }
.ei-lead--side { margin: 0; padding: 18px; }
.nb .ei-lead--side .ei-lead__title { font-size: 1.125rem; }
.ei-side__fig { margin: 0 0 12px; font-size: 0.875rem; }

/* ---------- own promos family (second colour tint) ---------- */
.ei-promo { margin: 40px 0 0; padding: 22px 20px; background: var(--ei-own-tint); border-radius: var(--nb-radius); }
.ei-promo--side { margin: 0; padding: 18px; }
.nb .ei-promo__title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--ei-own-deep); }
.ei-promo__text { margin: 0 0 12px; font-size: 0.9375rem; color: var(--ei-ink-2); }
.nb .ei-promo__more { display: inline-block; margin-top: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--ei-own-deep); }
.ei-news__form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.ei-news__form input { flex: 1 1 220px; }
.ei-news__form .ei-form__status { flex-basis: 100%; margin: 0; }
.ei-news--side .ei-news__form { flex-direction: column; }
.ei-bf__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.nb .ei-bf__list a { display: block; padding: 9px 12px; background: #fff; border: 1px solid #cfe2e7; border-radius: var(--nb-radius); color: var(--ei-own-deep); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.nb .ei-bf__list a:hover { border-color: var(--ei-own); }
.ei-bf--wide { margin: 8px 0 0; }
@media (min-width: 820px) { .ei-bf--wide .ei-bf__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- author ---------- */
.nb-author { margin: 40px 0 0; padding: 20px 0 0; border-top: 2px solid var(--ei-ink); max-width: var(--nb-measure); }
.nb-author--photo { display: flex; gap: 20px; align-items: flex-start; }
.nb-author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nb-author__body { min-width: 0; }
.nb-author__label { margin: 0 0 4px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ei-muted); }
.nb-author__name { font-weight: 700; margin: 0 0 6px; font-family: var(--ei-serif); font-size: 1.2rem; }
.nb .nb-author__name a { color: var(--ei-ink); text-decoration: none; }
.nb-author__name span { display: block; font-weight: 400; font-size: 0.9375rem; color: var(--ei-muted); font-family: var(--ei-sans); }
.nb-author__bio { margin: 0 0 8px; }
.nb-author__policy { margin: 4px 0 12px; font-size: 0.875rem; }
.ei-authorhead--photo { display: flex; gap: 22px; align-items: flex-start; }
.ei-authorhead__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ei-authorhead__role { margin: 0 0 10px; color: var(--ei-muted); }
.ei-authorhead__links { margin: 0; font-size: 0.9375rem; }
@media (max-width: 480px) { .nb-author__photo, .ei-authorhead__photo { width: 72px; height: 72px; } }

.nb-related { margin-top: 56px; }
.nb-hubintro { margin-bottom: 40px; max-width: var(--nb-measure); }
.ei-policy { max-width: var(--nb-measure); padding-bottom: 20px; }
.ei-policy h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; margin: 8px 0 12px; }
.ei-thanks { padding-top: 48px; max-width: 640px; }

/* ---------- footer band, footer, sticky mobile bar ---------- */
.ei-band { background: var(--ei-own-tint); border-top: 1px solid #cfe2e7; font-family: var(--ei-sans); }
.ei-band__row { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 16px; padding-bottom: 16px; }
.ei-band a { color: var(--ei-own-deep); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.ei-band a:hover { text-decoration: underline; }
.ei-foot { background: var(--ei-ink); color: #c9ced4; font-family: var(--ei-sans); font-size: 0.9375rem; padding: 32px 0 calc(32px + 56px); }
@media (min-width: 820px) { .ei-foot { padding-bottom: 32px; } }
.ei-foot__brand { margin: 0 0 6px; font-family: var(--ei-serif); font-weight: 700; font-size: 1.5rem; color: #fff; }
.ei-foot__pub { margin: 0 0 16px; max-width: 70ch; }
.ei-foot a { color: #e8ebee; }
.ei-foot__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.ei-foot__copy { margin: 0; font-size: 0.8125rem; color: #9aa1a9; }

.ei-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); height: 56px; background: #fff; border-top: 1px solid var(--ei-rule); box-shadow: 0 -2px 10px rgba(0,0,0,.06); font-family: var(--ei-sans); }
.ei-sticky a { display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9375rem; text-decoration: none; color: var(--ei-ink); }
.ei-sticky a + a { border-left: 1px solid var(--ei-rule); }
.ei-sticky__wa { color: #136c37 !important; }
.ei-sticky__report { background: var(--ei-accent); color: #fff !important; }
@media (min-width: 820px) { .ei-sticky { display: none; } }

.nb-preview-bar { position: sticky; top: 0; z-index: 50; background: #fff4d6; color: #5a4300; border-bottom: 1px solid #f0d58a; padding: 10px 20px; font-size: 0.9375rem; text-align: center; }

/* ad slots: off on this site; kept so the dashboard preview can still outline a position */
.nb-ad { margin: 2.2em 0; padding: 10px 0 12px; border-top: 1px solid var(--ei-rule); border-bottom: 1px solid var(--ei-rule); }
.nb-ad__label { display: block; font-size: 0.75rem; color: var(--ei-muted); margin-bottom: 8px; text-align: center; }

@media print {
  .ei-util, .ei-nav, .ei-mast__search, .ei-band, .ei-sticky, .nb-search, .nb-toc, .ei-lead, .ei-promo, .nb-related, .nb-pager, .nb-crumbs, .nb-post__side { display: none !important; }
}
