/*
Theme Name: Naseeha FX
Theme URI: https://naseehafx.com
Description: Arabic (RTL) broker-check theme: registry checks at /check/, case files at /case/, guides at /guide/. Sharp black, white and signal-red design with a sticky table of contents.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: naseehafx
*/

:root {
  --red: #d6001c;
  --red-dark: #a10015;
  --red-soft: #ffe5e8;
  --ink: #0e0e0f;
  --ink-2: #1c1c1e;
  --paper: #ffffff;
  --bg: #f2f1ee;
  --gray: #5f5f63;
  --line: #0e0e0f;
  --hair: #d8d6d0;
  --yellow: #ffd60a;
  --ok: #0a7a3d;
  --ok-soft: #e4f4ea;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-red: 6px 6px 0 var(--red);
  --font-body: "Cairo", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "Cairo", sans-serif;
  --stripes: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--ink) 14px 28px);
}

* { box-sizing: border-box; border-radius: 0; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 .9em; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 860px; }
.empty { padding: 30px; text-align: center; color: var(--gray); font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.btn {
  display: inline-block;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Hazard stripe ---------- */
.hazard { height: 10px; background: var(--stripes); }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--red); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 900; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--red); color: #fff;
  font-size: 1.5rem; font-weight: 900; line-height: 1;
  transform: skewX(-10deg);
}
.brand-word { font-size: 1.6rem; color: #fff; }
.brand-fx { font-family: var(--font-body); font-weight: 700; font-size: 1rem; background: #fff; color: var(--ink); padding: 0 6px; direction: ltr; }
.custom-logo-link img { max-height: 46px; width: auto; display: block; }
.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a {
  display: block; padding: 8px 14px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: #fff; border: 2px solid transparent;
}
.main-nav .menu a:hover, .main-nav .current-menu-item > a { border-color: var(--red); background: var(--red); }
.menu-toggle {
  display: none; background: var(--red); color: #fff; border: 2px solid #fff;
  font-family: var(--font-head); font-weight: 800; padding: 6px 14px; cursor: pointer;
}

/* ---------- Search ---------- */
.nsh-search { display: flex; max-width: 620px; border: 3px solid var(--ink); background: #fff; box-shadow: var(--shadow-red); }
.nsh-search input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink); background: transparent; }
.nsh-search input:focus { outline: none; background: #fffbe6; }
.nsh-search button {
  border: 0; border-inline-start: 3px solid var(--ink);
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1.05rem;
  padding: 0 26px; cursor: pointer;
}
.nsh-search button:hover { background: var(--red-dark); }

/* ---------- Front page hero (split) ---------- */
.hero { background: var(--ink); color: #fff; padding: 56px 0 64px; border-bottom: 6px solid var(--red); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.kicker {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  padding: 2px 12px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero h1::after { content: ""; display: block; width: 120px; height: 8px; background: var(--red); margin-top: 14px; }
.hero-sub { font-size: 1.15rem; color: #d6d6d6; max-width: 640px; margin-bottom: 26px; }
.hero .nsh-search { box-shadow: 6px 6px 0 var(--red); border-color: #fff; }
.hero-count { margin: 22px 0 0; color: #bdbdbd; }
.hero-count b { font-family: var(--font-head); font-size: 1.6rem; color: #fff; background: var(--red); padding: 0 10px; margin-inline-end: 6px; }

.hero-steps { background: #fff; color: var(--ink); border: 3px solid #fff; box-shadow: 10px 10px 0 var(--red); }
.steps-head { margin: 0; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; padding: 12px 18px; }
.hero-steps ol { list-style: none; counter-reset: st; margin: 0; padding: 6px 0; }
.hero-steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px 18px; border-bottom: 2px solid var(--bg); font-weight: 600; line-height: 1.6; }
.hero-steps li:last-child { border-bottom: 0; }
.hero-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 900; }

/* ---------- Blocks and their headers ---------- */
.block { padding: 60px 0; }
.block-dark { background: var(--ink); color: #fff; }
.block-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; border-bottom: 4px solid currentColor; padding-bottom: 10px; }
.block-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; margin: 0; }
.block-num { font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; background: var(--red); color: #fff; padding: 4px 10px; direction: ltr; }
.block-all { margin-inline-start: auto; font-family: var(--font-head); font-weight: 800; border: 2px solid currentColor; padding: 4px 14px; }
.block-all:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Checks: boxed grid with hard shadows */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.check-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  position: relative;
  transition: transform .1s, box-shadow .1s;
}
.check-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--red); }
.check-num { position: absolute; top: 0; left: 0; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding: 2px 8px; direction: ltr; }
.check-name { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; direction: ltr; text-align: right; margin-top: 10px; line-height: 1.25; }
.check-q { color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.check-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 2px dashed var(--hair); color: var(--gray); font-size: .82rem; font-weight: 600; }
.check-go { font-size: 1.3rem; color: var(--ink); line-height: 1; }

/* Case files: red warning strips */
.case-list { display: flex; flex-direction: column; gap: 12px; }
.case-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  background: var(--ink-2); color: #fff;
  border: 3px solid var(--red);
}
.case-list.on-light .case-row { background: #fff; color: var(--ink); box-shadow: var(--shadow-red); }
.case-flag {
  display: grid; place-items: center;
  background: var(--stripes); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: .9rem;
  padding: 0 16px; min-width: 120px; text-align: center;
  text-shadow: 0 0 6px var(--ink), 0 0 2px var(--ink);
}
.case-body { display: flex; flex-direction: column; padding: 14px 18px; }
.case-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.5; }
.case-sum { color: #bdbdbd; font-size: .93rem; }
.case-list.on-light .case-sum { color: var(--gray); }
.case-go { display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.5rem; padding: 0 18px; }
.case-row:hover .case-go { background: var(--red-dark); }

/* Guides: big numbers */
.guide-list { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.guide-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 3px solid var(--ink); }
.guide-num { font-family: var(--font-head); font-weight: 900; font-size: 3.6rem; line-height: 1; color: var(--red); direction: ltr; text-align: center; -webkit-text-stroke: 2px var(--ink); }
.guide-title { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.5; }
.guide-sum { display: block; color: var(--gray); }
.guide-item:hover .guide-title { color: var(--red); }

.rule-strip { background: var(--yellow); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); padding: 18px 0; }
.rule-strip p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.rule-strip b { font-family: var(--font-head); background: var(--ink); color: var(--yellow); padding: 0 8px; margin-inline-end: 6px; }

/* ---------- Page band (archives, single, search) ---------- */
.page-band { background: var(--ink); color: #fff; padding: 34px 0 40px; border-bottom: 6px solid var(--red); }
.page-band h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; max-width: 920px; }
.page-band p { color: #d0d0d0; max-width: 760px; }
.page-band .nsh-search { margin-top: 18px; border-color: #fff; }
.crumbs { font-size: .9rem; color: #a8a8a8; margin-bottom: 14px; }
.crumbs a { color: #fff; border-bottom: 2px solid var(--red); }
.crumbs span { margin: 0 4px; }
.type-tag { display: inline-block; font-family: var(--font-head); font-weight: 900; font-size: .85rem; padding: 2px 12px; margin-bottom: 12px; background: #fff; color: var(--ink); }
.type-tag.type-nsh_case { background: var(--red); color: #fff; }
.type-tag.type-nsh_guide { background: var(--yellow); color: var(--ink); }
.single-meta { font-weight: 700; color: #bdbdbd; margin: 0; }
.single-meta time { color: #fff; background: var(--red); padding: 0 8px; }
.big-404 { font-family: var(--font-head); font-weight: 900; font-size: 6rem; line-height: 1; color: var(--red); margin: 0; }

/* ---------- Single: content + sticky table of contents ---------- */
.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; padding-top: 40px; padding-bottom: 20px; }
.toc { position: sticky; top: 96px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.admin-bar .toc { top: 128px; }
.toc-head { margin: 0; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 900; padding: 10px 16px; }
.toc ol { list-style: none; margin: 0; padding: 6px 0; counter-reset: tc; }
.toc li { counter-increment: tc; }
.toc li a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 7px 16px; font-weight: 600; font-size: .93rem; line-height: 1.5; border-inline-start: 4px solid transparent; }
.toc li a::before { content: counter(tc); font-family: var(--font-head); font-weight: 900; color: var(--red); }
.toc li a:hover { background: var(--bg); }
.toc li a.is-on { border-inline-start-color: var(--red); background: var(--red-soft); }
.toc-check { display: block; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; padding: 10px 16px; border-top: 3px solid var(--ink); }
.toc-check:hover { background: var(--red-dark); }
.toc-empty ol { display: none; }

.entry-content { background: #fff; border: 3px solid var(--ink); padding: 30px 34px; font-size: 1.06rem; min-width: 0; }
.page-content { margin: 40px 0 60px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  font-size: 1.55rem; font-weight: 900; margin: 1.7em 0 .6em;
  padding-bottom: 8px; border-bottom: 4px solid var(--ink);
  scroll-margin-top: 100px;
}
.entry-content h2::before { content: ""; display: inline-block; width: 12px; height: 22px; background: var(--red); margin-inline-end: 10px; vertical-align: -3px; }
.entry-content h3 { font-size: 1.25rem; margin: 1.3em 0 .5em; }
.entry-content a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { background: var(--red); color: #fff; text-decoration: none; }
.entry-content ul { list-style: none; padding: 0; margin: 0 0 1em; }
.entry-content ul li { position: relative; padding-inline-start: 24px; margin-bottom: .5em; }
.entry-content ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 10px; height: 10px; background: var(--ink); }
.entry-content ol { list-style: none; counter-reset: ol; padding: 0; margin: 0 0 1em; }
.entry-content ol li { counter-increment: ol; position: relative; padding-inline-start: 46px; margin-bottom: .7em; min-height: 32px; }
.entry-content ol li::before { content: counter(ol); position: absolute; inset-inline-start: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 900; }
.entry-content strong { font-weight: 700; }
.entry-content blockquote { margin: 1.2em 0; padding: 12px 18px; border-inline-start: 6px solid var(--red); background: var(--bg); }

/* Content blocks marked by the import (class names on Gutenberg groups/paragraphs). */
.entry-content .nf-summary { background: var(--ink); color: #fff; padding: 18px 22px; margin: 0 0 1.6em; border-inline-start: 10px solid var(--red); }
.entry-content .nf-summary h2 { border-bottom-color: var(--red); color: #fff; margin-top: 0; }
.entry-content .nf-summary h2::before { background: var(--yellow); }
.entry-content .nf-summary p:last-child { margin-bottom: 0; }
p.nf-summary { font-size: 1.1rem; font-weight: 600; line-height: 1.75; }
.entry-content p.nf-summary strong:first-child { display: block; color: var(--yellow); font-family: var(--font-head); font-weight: 900; font-size: 1rem; margin-bottom: 4px; }
.entry-content .nf-quick { border: 3px solid var(--ink); background: var(--bg); padding: 4px 20px 10px; margin: 0 0 1.6em; }
.entry-content .nf-quick-title { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; margin: 10px 0 8px; padding-bottom: 6px; border-bottom: 3px solid var(--ink); }
.entry-content .nf-quick h2 { margin-top: .7em; }
.entry-content .nf-good { border: 3px solid var(--ok); background: var(--ok-soft); padding: 4px 20px 8px; margin: 1.4em 0; }
.entry-content .nf-good h2 { border-bottom-color: var(--ok); color: var(--ok); }
.entry-content .nf-good h2::before { background: var(--ok); }
.entry-content .nf-good ul li::before { background: var(--ok); }
.entry-content .nf-alert { border: 3px solid var(--red); background: var(--red-soft); padding: 4px 20px 8px; margin: 1.4em 0; }
.entry-content .nf-alert h2 { border-bottom-color: var(--red); color: var(--red-dark); }
.entry-content .nf-alert ul li::before { background: var(--red); }
.entry-content .nf-steps { border: 3px solid var(--ink); box-shadow: var(--shadow-red); padding: 4px 20px 10px; margin: 1.6em 0; }
.entry-content .nf-disclaimer { border: 3px dashed var(--ink); background: #fffbe6; padding: 14px 18px; font-size: .95rem; font-weight: 600; margin: 2em 0 1em; }
.entry-content .nf-sources { font-size: .88rem; color: var(--gray); }

/* ---------- Search results ---------- */
.result-list { display: flex; flex-direction: column; gap: 12px; }
.result { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: #fff; border: 3px solid var(--ink); padding: 14px 18px; box-shadow: var(--shadow); }
.result .type-tag { margin: 0; border: 2px solid var(--ink); }
.result-title { font-family: var(--font-head); font-weight: 800; }
.result-go { font-size: 1.4rem; color: var(--red); }
.result:hover { box-shadow: var(--shadow-red); }
.not-listed { background: #fff; border: 3px solid var(--ink); border-top: 10px solid var(--yellow); padding: 24px 28px; max-width: 760px; }
.not-listed-head { font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; }

.more-block { padding-top: 30px; }
.pagination { margin-top: 30px; }
.nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.page-numbers { padding: 6px 12px; border: 2px solid var(--ink); background: #fff; font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding-top: 40px; padding-bottom: 26px; }
.footer-brand { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-about { color: #a9a9a9; }
.footer-head { font-family: var(--font-head); font-weight: 900; color: #fff; border-bottom: 3px solid var(--red); display: inline-block; margin-bottom: 10px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; }
.site-footer .menu a { display: block; padding: 3px 0; }
.site-footer .menu a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.footer-legal { border-top: 2px solid #2b2b2e; padding-top: 18px; padding-bottom: 28px; font-size: .86rem; color: #9b9b9b; }
.footer-legal p { margin: 0 0 8px; }
.copyright { direction: ltr; text-align: right; color: #6f6f73; }
.footer-about { max-width: 520px; line-height: 1.8; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid #2b2b2e; }
.legal-links a { color: #fff; font-weight: 700; }
.legal-links a:hover { color: var(--red); }

/* ---------- Cookie notice ---------- */
.cookie-note {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 80;
  max-width: 560px; margin-inline-start: auto;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff;
  border: 3px solid #fff; box-shadow: 6px 6px 0 var(--red);
  padding: 12px 16px;
}
.cookie-note p { margin: 0; font-size: .92rem; font-weight: 600; flex: 1; }
.cookie-note a { color: var(--yellow); text-decoration: underline; }
.cookie-note button {
  background: var(--red); color: #fff; border: 2px solid #fff;
  font-family: var(--font-head); font-weight: 900; padding: 6px 18px; cursor: pointer;
}
.cookie-note button:hover { background: var(--red-dark); }
.nsh-missing { background: var(--yellow); color: var(--ink); padding: 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .single-grid { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; right: 0; left: 0; background: var(--ink); border-bottom: 4px solid var(--red); padding: 8px 18px 14px; }
  .main-nav.open { display: block; }
  .main-nav .menu { flex-direction: column; }
  .hero { padding: 36px 0 44px; }
  .block { padding: 44px 0; }
  .block-head { flex-wrap: wrap; }
  .entry-content { padding: 20px 18px; }
  .case-row { grid-template-columns: 1fr auto; }
  .case-flag { grid-column: 1 / -1; min-height: 34px; }
  .guide-item { grid-template-columns: 70px 1fr; gap: 12px; }
  .guide-num { font-size: 2.6rem; }
  .nsh-search button { padding: 0 16px; }
  .result { grid-template-columns: 1fr auto; }
  .result .type-tag { justify-self: start; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 480px) {
  .check-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .check-name { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Five-step company check ------------------------------------------------ */

.nsh-verify { margin: 10px 0 30px; }
.nsh-vf { border: 3px solid var(--ink); background: #fff; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 20px; }
.nsh-vname { display: grid; gap: 6px; font-weight: 600; }
.nsh-vname input { border: 2px solid var(--ink); padding: 10px 12px; font: inherit; width: 100%; max-width: 420px; background: #fff; }
.nsh-vq { border: 0; margin: 0; padding: 0; min-width: 0; }
.nsh-vq legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.nsh-vchoices { display: flex; flex-wrap: wrap; gap: 8px; }
.nsh-vc { position: relative; }
.nsh-vc input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nsh-vc span { display: inline-block; padding: 8px 18px; border: 2px solid var(--ink); background: #fff; font-weight: 600; }
.nsh-vc input:checked + span { background: var(--ink); color: #fff; }
.nsh-vc input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.nsh-vsearch { margin: 0; }
.nsh-vsearch a { font-weight: 700; color: var(--red-dark); }
.nsh-vout { margin-top: 20px; display: grid; gap: 14px; }
.nsh-vbox { border: 3px solid var(--ink); padding: 14px 18px; background: #fff; }
.nsh-vbox h3 { margin: 0 0 8px; font-size: 1.05rem; }
.nsh-vbox ul { margin: 0; padding-inline-start: 20px; }
.nsh-vbox li { margin: 0 0 6px; }
.nsh-vbox.is-red { background: var(--red-soft); border-color: var(--red); }
.nsh-vbox.is-yellow { background: #fff8d6; }
.nsh-vbox.is-green { background: var(--ok-soft); border-color: var(--ok); }
.nsh-vh { margin: 30px 0 10px; font-size: 1.2rem; }
.nsh-regs { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.nsh-regs a { display: block; padding: 10px 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; }
.nsh-regs a:hover { background: var(--yellow); }
.nsh-vfoot { color: var(--gray); font-size: .9rem; max-width: 760px; }