/* ==========================================================================
   NaukariBot — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #F4F7F5;
	--surface: #FFFFFF;
	--surface2: #EDF4EF;
	--ink: #0D1B14;
	--ink2: #4B5B53;
	--line: #DCE6DF;
	--brand: #0A7A3D;
	--brand-strong: #065C2D;
	--brand-soft: #E2F3E8;
	--on-brand: #FFFFFF;
	--deep: #063F20;
	--on-deep: #D3EADD;
	--amber: #9A4A06;
	--amber-soft: #FDF0D9;
	--red: #B42318;
	--red-soft: #FDE8E6;
	--shadow: 0 1px 2px rgba(13, 27, 20, .05), 0 10px 28px rgba(13, 27, 20, .07);
	--radius: 18px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Devanagari", sans-serif;
	color-scheme: light;
}

html.dark {
	--bg: #0A110E;
	--surface: #111A15;
	--surface2: #17241D;
	--ink: #E6EFE9;
	--ink2: #A3B5AB;
	--line: #24352C;
	--brand: #3CC47F;
	--brand-strong: #7BE0AB;
	--brand-soft: #12301F;
	--on-brand: #03140A;
	--deep: #0C1F15;
	--on-deep: #BFE3CF;
	--amber: #F2B45B;
	--amber-soft: #2E2210;
	--red: #FF8A80;
	--red-soft: #35171A;
	--shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 28px rgba(0, 0, 0, .35);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15.5px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 10px; left: 10px; z-index: 999; width: auto; height: auto; clip: auto;
	background: var(--surface); color: var(--ink); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow);
}
.nb-icon { flex: none; display: inline-block; vertical-align: middle; }
.nb-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.nb-section { padding-top: 56px; }
.nb-section--tight { padding-top: 28px; }
.nb-center { display: flex; justify-content: center; margin-top: 28px; text-align: center; }
.nb-center.nb-title { display: block; margin-bottom: 20px; }
.nb-main { min-height: 50vh; padding-bottom: 72px; }
.nb-empty { margin: 0; padding: 18px; color: var(--ink2); font-size: 14px; }
.nb-link { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* WordPress core classes */
.alignleft { float: left; margin: 6px 22px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 22px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption, figcaption { font-size: 13px; color: var(--ink2); margin-top: 8px; }
.sticky, .bypostauthor { position: relative; }

/* ---------- Buttons, fields, badges ---------- */
.nb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
	background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 15px;
	cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; white-space: nowrap;
}
.nb-btn:hover { color: var(--on-brand); filter: brightness(1.08); }
.nb-btn:active { transform: translateY(1px); }
.nb-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.nb-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.nb-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.nb-btn--ghost:hover { color: var(--brand); border-color: var(--brand); filter: none; }
.nb-btn--light { background: #3CC47F; color: #03140A; }
.nb-btn--light:hover { color: #03140A; }
.nb-btn[disabled] { opacity: .6; cursor: wait; }

.nb-field {
	width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
.nb-field::placeholder { color: var(--ink2); opacity: .9; }
.nb-field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.nb-field { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.55; }
select.nb-field {
	appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px; background-repeat: no-repeat;
}
.nb-field--file { padding: 12px 16px; }

.nb-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .03em; line-height: 1.35; white-space: nowrap;
	text-transform: uppercase;
}
.nb-badge--lg { font-size: 12.5px; padding: 6px 12px; text-transform: none; letter-spacing: 0; font-weight: 650; }
a.nb-badge:hover { filter: brightness(.97); }
.b-green { background: var(--brand-soft); color: var(--brand-strong); }
.b-amber { background: var(--amber-soft); color: var(--amber); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-ink { background: var(--surface2); color: var(--ink); }
a.b-ink:hover { color: var(--brand); }

.nb-iconbox {
	width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
	display: inline-flex; align-items: center; justify-content: center;
}
.nb-iconbox--red { background: var(--red-soft); color: var(--red); }
.nb-iconbox--solid { background: var(--brand); color: var(--on-brand); width: 46px; height: 46px; }

.nb-iconbtn {
	width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
	color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.nb-iconbtn:hover { border-color: var(--brand); color: var(--brand); }

.nb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-bottom: 22px; }
.nb-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.nb-title { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; font-weight: 800; margin-top: 4px; }

/* ---------- Top bar ---------- */
.nb-topbar { background: var(--deep); color: var(--on-deep); font-size: 13px; }
.nb-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.nb-topbar__left { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.nb-topbar__date { display: inline-flex; align-items: center; gap: 8px; }
.nb-topbar__text { opacity: .9; }
.nb-topbar__date + .nb-topbar__text::before { content: "|"; margin-right: 16px; opacity: .5; }
.nb-topbar__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; font-weight: 600; }
.nb-topbar a { color: var(--on-deep); }
.nb-topbar a:hover { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.nb-header { background: var(--surface); border-bottom: 1px solid var(--line); z-index: 50; }
.nb-sticky .nb-header { position: sticky; top: 0; }
.admin-bar.nb-sticky .nb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.nb-sticky .nb-header { top: 0; } }
.nb-header__inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }

.nb-logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.nb-logo:hover { color: var(--ink); }
.nb-logo__mark {
	width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: var(--on-brand);
	display: flex; align-items: center; justify-content: center; flex: none;
}
.nb-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.nb-logo__name { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.nb-logo__name span { color: var(--brand); }
.nb-logo__tld { font-size: .62em; font-weight: 700; color: var(--ink2); letter-spacing: 0; margin-left: 1px; }
.nb-footer .nb-logo__tld { color: var(--on-deep); }
.nb-logo__tag { font-size: 11.5px; font-weight: 600; color: var(--ink2); letter-spacing: .02em; margin-top: 2px; }
.nb-logo__img { display: block; max-height: 52px; width: auto; }
.nb-logo__img--dark { display: none; }
html.dark .nb-logo__img--light { display: none; }
html.dark .nb-logo__img--dark { display: block; }

.nb-nav { flex: 1; min-width: 0; }
.nb-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nb-nav__menu > li { position: relative; }
.nb-nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.nb-nav__menu a:hover { background: var(--surface2); color: var(--brand); }
.nb-nav__menu .current-menu-item > a, .nb-nav__menu .current-menu-ancestor > a, .nb-nav__menu .current-category-ancestor > a { color: var(--brand); background: var(--brand-soft); }
.nb-nav__menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 60;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.nb-nav__menu li:hover > .sub-menu, .nb-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nb-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nb-theme-toggle span, .nb-menu-toggle span { display: inline-flex; }
.nb-theme-toggle .nb-theme-toggle__sun { display: none; }
html.dark .nb-theme-toggle .nb-theme-toggle__sun { display: inline-flex; }
html.dark .nb-theme-toggle .nb-theme-toggle__moon { display: none; }
.nb-menu-toggle { display: none; }
.nb-menu-toggle__close { display: none !important; }
.nb-menu-open .nb-menu-toggle__close { display: inline-flex !important; }
.nb-menu-open .nb-menu-toggle__open { display: none !important; }

.nb-searchpanel { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0 18px; }
.nb-searchpanel__form { display: flex; gap: 10px; position: relative; }
.nb-searchpanel__form .nb-field { padding-left: 46px; }
.nb-searchpanel__icon { position: absolute; left: 16px; top: 15px; color: var(--ink2); }
.nb-searchpanel__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--brand); }

@media (max-width: 1080px) {
	.nb-menu-toggle { display: inline-flex; }
	.nb-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 16px;
	}
	.nb-header { position: relative; }
	.nb-sticky .nb-header { position: sticky; }
	.nb-menu-open .nb-nav { display: block; }
	.nb-nav__menu { flex-direction: column; align-items: stretch; }
	.nb-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
}
@media (max-width: 560px) {
	.nb-logo__tag { display: none; }
	.nb-logo__name { font-size: 20px; }
	.nb-logo__mark { width: 38px; height: 38px; }
	.nb-topbar__text { display: none; }
	.nb-iconbtn { width: 42px; height: 42px; }
	.nb-actions { gap: 6px; }
}

/* ---------- Announcement bar ---------- */
.nb-noticebar { font-size: 14.5px; font-weight: 600; }
.nb-noticebar__inner { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.nb-noticebar__text { flex: 1 1 260px; }
.nb-noticebar__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 13.5px; }
.nb-noticebar--green { background: var(--brand-soft); color: var(--brand-strong); }
.nb-noticebar--green .nb-noticebar__btn { background: var(--brand); color: var(--on-brand); }
.nb-noticebar--amber { background: var(--amber-soft); color: var(--amber); }
.nb-noticebar--amber .nb-noticebar__btn { background: var(--amber); color: var(--surface); }
.nb-noticebar--red { background: var(--red-soft); color: var(--red); }
.nb-noticebar--red .nb-noticebar__btn { background: var(--red); color: var(--surface); }
.nb-noticebar__btn:hover { filter: brightness(1.08); color: inherit; }
.nb-noticebar--green .nb-noticebar__btn:hover { color: var(--on-brand); }
.nb-noticebar--amber .nb-noticebar__btn:hover, .nb-noticebar--red .nb-noticebar__btn:hover { color: var(--surface); }

/* ---------- Your own content ---------- */
.nb-custom__body { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.nb-custom__item + .nb-custom__item { margin-top: 20px; }
.nb-custom__title { font-size: 20px; font-weight: 800; margin-bottom: 10px; }

/* ---------- Ticker ---------- */
.nb-ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.nb-ticker__inner { display: flex; align-items: center; gap: 14px; height: 48px; }
.nb-ticker__label { flex: none; font-size: 12px; padding: 5px 12px; }
.nb-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.nb-ticker__track { display: flex; gap: 40px; width: max-content; animation: nb-marquee 45s linear infinite; }
.nb-ticker__track:hover { animation-play-state: paused; }
.nb-ticker__dup { display: flex; gap: 40px; }
.nb-ticker a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 600; font-size: 14px; }
.nb-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--brand); flex: none; }
@keyframes nb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.nb-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.nb-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 60px; }
.nb-hero__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.nb-pill {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: var(--brand-soft); color: var(--brand-strong); font-size: 13px; font-weight: 700;
}
.nb-hero__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.nb-hero__title span { color: var(--brand); }
.nb-hero__text { margin: 0; font-size: 18px; color: var(--ink2); max-width: 620px; }
.nb-hero__search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 660px; }
.nb-hero__field { flex: 1 1 300px; position: relative; color: var(--ink2); }
.nb-hero__field .nb-icon { position: absolute; left: 16px; top: 16px; }
.nb-hero__field .nb-field { padding-left: 46px; min-height: 52px; }
.nb-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nb-hero__poplabel { font-size: 13px; font-weight: 700; color: var(--ink2); margin-right: 4px; }
.nb-hero__finder { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand); margin-left: 6px; }

.nb-today { flex: 1 1 380px; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nb-today__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; }
.nb-today__head h2 { font-size: 16px; font-weight: 800; flex: 1; }
.nb-today__head a { font-size: 13px; font-weight: 700; color: var(--brand); }
.nb-live { width: 10px; height: 10px; border-radius: 99px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); animation: nb-pulse 2s ease-in-out infinite; }
@keyframes nb-pulse { 50% { box-shadow: 0 0 0 7px var(--brand-soft); } }
.nb-row--today { background: var(--surface); }
.nb-today__badge { min-width: 92px; justify-content: center; margin-top: 2px; }

/* ---------- Rows & boxes ---------- */
.nb-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.nb-row:hover { background: var(--surface2); color: var(--ink); }
.nb-row:hover .nb-row__title { color: var(--brand); }
.nb-row__chev { margin-top: 4px; color: var(--brand); }
.nb-row__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.nb-row__title { font-weight: 650; font-size: 14.5px; line-height: 1.4; }
.nb-row__meta { font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.nb-row--rank { align-items: center; }
.nb-rank {
	width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--brand-soft); color: var(--brand-strong);
	font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}

.nb-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.nb-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.nb-box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; }
.nb-box__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nb-box__title h2 { font-size: 18px; font-weight: 800; }
.nb-box__all { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.nb-box__foot { margin-top: auto; border-top: 1px solid var(--line); padding: 14px 18px; text-align: center; font-weight: 700; font-size: 14px; color: var(--brand); }
.nb-box__foot:hover { background: var(--surface2); }
.nb-box--solid .nb-box__head { background: var(--brand); color: var(--on-brand); }
.nb-box--solid .nb-box__head h2 { font-size: 19px; }
.nb-box--solid .nb-box__all, .nb-box--solid .nb-box__all:hover { color: var(--on-brand); }
.nb-box--solid .nb-box__icon { display: inline-flex; }
.nb-box--solid .nb-box__head + .nb-row { border-top: 0; }
.nb-box--soft .nb-box__icon {
	width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand);
	display: inline-flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Category tiles ---------- */
.nb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.nb-tile {
	display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface);
	border: 1px solid var(--line); border-radius: 16px; transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.nb-tile:hover { transform: translateY(-3px); border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow); color: var(--ink); }
.nb-tile:hover .nb-tile__name { color: var(--brand); }
.nb-tile__icon { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.nb-tile:hover .nb-tile__icon { background: var(--brand); color: var(--on-brand); }
.nb-tile__text { display: flex; flex-direction: column; min-width: 0; }
.nb-tile__name { font-weight: 800; font-size: 16px; }
.nb-tile__desc { font-size: 13px; color: var(--ink2); }

/* ---------- Browse ---------- */
.nb-browse { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.nb-browse__head { padding: 24px 24px 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.nb-browse__head .nb-head { margin-bottom: 14px; }
.nb-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.nb-tab {
	padding: 12px 18px; border: 0; background: transparent; color: var(--ink2); font-size: 15px; font-weight: 700;
	cursor: pointer; border-bottom: 3px solid transparent; min-height: 46px;
}
.nb-tab:hover { color: var(--brand); }
.nb-tab.is-on { color: var(--brand); border-bottom-color: var(--brand); }
.nb-browse__panel { padding: 22px 24px 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.nb-browse__panel[hidden] { display: none; }
.nb-chiplink { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; min-height: 52px; font-weight: 700; font-size: 14.5px; }
.nb-chiplink span { flex: 1; }
.nb-chiplink__icon { color: var(--brand); }
.nb-chiplink__chev { color: var(--ink2); }
.nb-chiplink:hover { border-color: var(--brand); background: var(--brand-soft); }

/* ---------- Chips & cards ---------- */
.nb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-chip {
	display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px;
}
.nb-chip:hover { border-color: var(--brand); color: var(--brand); }
.nb-chip.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

.nb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.nb-cards.is-loading { opacity: .5; pointer-events: none; }
.nb-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.nb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.nb-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.nb-card__link:hover { color: var(--ink); }
.nb-card__link:hover .nb-card__title { color: var(--brand); }
.nb-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface2); }
.nb-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-card__ph {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 16px);
}
.nb-card__ph span { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; padding: 0 16px; text-align: center; line-height: 1.1; }
.nb-card__ph small { position: absolute; right: 14px; bottom: 12px; font-size: 12px; font-weight: 700; opacity: .85; }
.nb-card__cat { position: absolute; left: 14px; top: 14px; background: #fff; color: #063F20; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.nb-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nb-card__title { font-size: 17px; line-height: 1.4; font-weight: 800; }
.nb-card__excerpt { font-size: 14px; color: var(--ink2); }
.nb-card__meta { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink2); }
.nb-card__date { display: inline-flex; align-items: center; gap: 6px; }
.nb-card__more { font-weight: 700; color: var(--brand); }

/* ---------- Panels, tables, split ---------- */
.nb-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.nb-panel--flush { padding: 0; overflow: hidden; }
.nb-panel h2 { font-size: 18px; font-weight: 800; }
.nb-panel p { margin: 6px 0 0; color: var(--ink2); font-size: 14px; }
.nb-panel ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink2); font-size: 14.5px; display: grid; gap: 8px; }
.nb-panel__head { padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.nb-panel__title { display: flex; align-items: center; gap: 12px; }
.nb-panel__title p { margin: 0; font-size: 13px; }
.nb-panel__plaintitle { font-size: 17px !important; padding: 16px 18px; }
.nb-panel__h { margin-bottom: 12px !important; font-size: 16px !important; }
.nb-panel__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.nb-panel--warn { background: var(--amber-soft); display: flex; gap: 12px; align-items: flex-start; }
.nb-panel--warn .nb-icon { color: var(--amber); margin-top: 2px; }
.nb-panel--warn p { color: var(--ink); margin: 0; }

.nb-split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.nb-split__main { flex: 999 1 560px; min-width: 0; }
.nb-split__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.nb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nb-table { border-collapse: collapse; width: 100%; }
.nb-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink2); text-align: left; font-weight: 700; padding: 12px 16px; background: var(--surface2); white-space: nowrap; }
.nb-table td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.nb-table tr:hover td { background: var(--surface2); }
.nb-table__post a { font-weight: 700; }
.nb-table__muted { color: var(--ink2); }
.nb-table__date { white-space: nowrap; font-weight: 600; }

/* ---------- Alerts ---------- */
.nb-alerts { background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.nb-alerts__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.nb-alerts__title { font-size: 21px; font-weight: 800; color: #fff; }
.nb-alerts p { margin: 0; font-size: 14px; }
.nb-alerts .nb-field { background: #fff; color: #0D1B14; border-color: transparent; }
.nb-alerts .nb-field::placeholder { color: #5C6B63; }
.nb-subscribe { display: flex; flex-direction: column; gap: 10px; }
.nb-alerts__social { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-alerts__social .nb-btn { flex: 1 1 140px; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.nb-alerts .nb-notice { margin: 0; }

/* ---------- Trust & FAQ ---------- */
.nb-trust__head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.nb-trust__head p { color: var(--ink2); margin: 8px 0 0; }
.nb-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.nb-trust__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.nb-trust__item h3 { font-size: 17px; font-weight: 800; margin-top: 4px; }
.nb-trust__item p { margin: 0; font-size: 14px; color: var(--ink2); }
.nb-faq__inner { max-width: 900px; }
.nb-faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-top: 10px; }
.nb-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-weight: 700; font-size: 16px; }
.nb-faq__item summary::-webkit-details-marker { display: none; }
.nb-faq__chev { color: var(--brand); transition: transform .2s; }
.nb-faq__item[open] .nb-faq__chev { transform: rotate(90deg); }
.nb-faq__item p { margin: 0 0 18px; color: var(--ink2); }

/* ---------- Page head ---------- */
.nb-pagehead { background: var(--deep); color: var(--on-deep); }
.nb-pagehead .nb-container { padding-top: 40px; padding-bottom: 44px; }
.nb-pagehead__title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; font-weight: 800; color: #fff; }
.nb-pagehead__sub { margin: 10px 0 0; font-size: 16px; max-width: 680px; }
.nb-pagehead .nb-crumbs { color: var(--on-deep); margin: 0 0 12px; }
.nb-pagehead .nb-crumbs a:hover { color: #fff; }
.nb-pagehead .nb-crumbs [aria-current] { color: #fff; }

.nb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin: 20px 0 0; }
.nb-crumbs [aria-current] { color: var(--ink); }
.nb-crumbs a:hover { color: var(--brand); }

/* ---------- Single ---------- */
.nb-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 20px; }
.nb-article { flex: 999 1 640px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.4vw, 40px); }
.nb-single--full .nb-article { max-width: 920px; margin: 0 auto; }
.nb-article__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nb-article__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 16px; }
.nb-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13.5px; color: var(--ink2); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.nb-postmeta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.nb-postmeta__item { display: inline-flex; align-items: center; gap: 6px; }
.nb-avatar { width: 36px; height: 36px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nb-avatar--lg { width: 54px; height: 54px; font-size: 18px; background: var(--brand); color: var(--on-brand); }
.nb-featured { margin: 24px 0 4px; }
.nb-featured img { width: 100%; border-radius: 16px; display: block; }
.nb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 24px; }
.nb-share__label { font-size: 13px; font-weight: 700; color: var(--ink2); margin-right: 4px; }

.nb-jobbox { margin: 8px 0 24px; }
.nb-jobbox__title { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.nb-kv { border-collapse: collapse; width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.nb-kv th, .nb-kv td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: middle; }
.nb-kv tr:first-child th, .nb-kv tr:first-child td { border-top: 0; }
.nb-kv th { width: 42%; font-weight: 700; background: var(--surface2); }

.nb-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--amber-soft); margin: 24px 0 8px; }
.nb-note .nb-icon { color: var(--amber); margin-top: 3px; }
.nb-note p { margin: 0; font-size: 15px; }
.nb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.nb-tags__label { font-size: 13px; font-weight: 700; color: var(--ink2); }
.nb-authorbox { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--brand-soft); }
.nb-authorbox__name { font-weight: 800; font-size: 16px; }
.nb-authorbox p { margin: 4px 0 0; font-size: 14px; color: var(--ink2); }
.nb-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; }
.nb-postnav__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.nb-postnav__item span { font-size: 12px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .06em; }
.nb-postnav__item:hover { border-color: var(--brand); }
.nb-postnav__item--next { text-align: right; }
.nb-related { background: var(--surface); border-top: 1px solid var(--line); margin-top: 56px; padding: 48px 0 8px; }
.nb-related .nb-title { margin-bottom: 20px; }
.nb-related .nb-card { background: var(--bg); }

/* Entry content */
.nb-entry { font-size: 16.5px; line-height: 1.75; overflow-wrap: break-word; }
.nb-entry > *:first-child { margin-top: 0; }
.nb-entry p { margin: 0 0 16px; }
.nb-entry h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: 800; margin: 36px 0 14px; scroll-margin-top: 100px; }
.nb-entry h3 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; scroll-margin-top: 100px; }
.nb-entry h4 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.nb-entry ul, .nb-entry ol { margin: 0 0 16px; padding-left: 24px; }
.nb-entry li { margin: 6px 0; }
.nb-entry a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nb-entry a.nb-btn { color: var(--on-brand); text-decoration: none; }
.nb-entry blockquote { margin: 20px 0; padding: 16px 20px; border-radius: 14px; background: var(--surface2); font-size: 16px; }
.nb-entry img { border-radius: 12px; }
.nb-entry hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.nb-entry pre, .nb-entry code { background: var(--surface2); border-radius: 8px; font-size: 14px; }
.nb-entry pre { padding: 14px 16px; overflow-x: auto; }
.nb-entry code { padding: 2px 6px; }
.nb-entry .nb-table-wrap, .nb-entry .wp-block-table { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.nb-entry table { border-collapse: collapse; width: 100%; margin: 0; font-size: 15px; line-height: 1.55; }
.nb-entry th, .nb-entry td { padding: 11px 14px; border: 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.nb-entry thead th, .nb-entry thead td { background: var(--brand); color: var(--on-brand); border-top: 0; font-weight: 700; }
.nb-entry tbody tr:first-child td, .nb-entry tbody tr:first-child th { border-top: 0; }
.nb-entry thead + tbody tr:first-child td { border-top: 1px solid var(--line); }
.nb-entry tbody tr:nth-child(even) td { background: var(--surface2); }
.nb-entry tbody th { background: var(--surface2); font-weight: 700; }
.nb-entry .wp-block-table table { border: 0; }
.nb-entry .wp-block-table figcaption { padding: 8px 14px; margin: 0; }
.nb-entry .wp-block-button__link { background: var(--brand); color: var(--on-brand); border-radius: 12px; text-decoration: none; font-weight: 700; }
.nb-entry .wp-block-image { margin: 20px 0; }
.nb-entry--wide { max-width: none; }
.nb-entry .nb-contact h2 { font-size: 18px; margin: 0 0 4px; letter-spacing: 0; }
.nb-entry .nb-contact p { margin: 6px 0 0; }
.nb-entry .nb-contact .nb-form p { margin: 0; }
.nb-entry .nb-contact ul { margin: 10px 0 0; padding-left: 20px; }
.nb-entry .nb-contact li { margin: 0; }
.nb-entry .nb-contact .nb-notice { margin: 0 0 20px; }

.nb-pagelinks { margin-top: 20px; display: flex; gap: 8px; align-items: center; font-weight: 700; }

/* Sidebar */
.nb-sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nb-sidesearch { display: flex; gap: 8px; }
.nb-sidesearch .nb-btn { padding: 0 14px; min-width: 50px; }
.nb-box--side .nb-row { padding: 12px 16px; }
.nb-box--side .nb-row__title { font-size: 14px; }
.nb-taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-toc__list a { display: block; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink2); border-top: 1px solid var(--line); }
.nb-toc__list a:hover, .nb-toc__list a.is-active { color: var(--brand); background: var(--surface2); }
.nb-toc__list a.is-h3 { padding-left: 32px; font-size: 13.5px; }
.nb-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.nb-widget__title { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.nb-widget ul { list-style: none; margin: 0; padding: 0; }
.nb-widget li { padding: 8px 0; border-top: 1px solid var(--line); }
.nb-widget li:first-child { border-top: 0; }
.nb-widget h2, .nb-widget h3, .nb-widget .wp-block-heading { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.nb-widget .wp-block-search__label { display: block; font-weight: 800; margin-bottom: 8px; }
.nb-widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.nb-widget .wp-block-search__input { flex: 1; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.nb-widget .wp-block-search__button { min-height: 46px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--brand); color: var(--on-brand); font-weight: 700; cursor: pointer; }
.nb-widget a:hover { color: var(--brand); }
.nb-widget select { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; }
.nb-ad { margin: 20px auto; text-align: center; overflow: hidden; }
.nb-ad--sidebar { margin: 0; }

/* ---------- Pages ---------- */
.nb-page { margin-top: 28px; }
.nb-article--page { max-width: 920px; margin: 0 auto; }
.nb-info { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 32px; }
.nb-sidemenu { flex: 1 1 260px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.nb-sidemenu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nb-sidemenu__list a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.nb-sidemenu__list a:hover { background: var(--surface2); }
.nb-sidemenu__list .current-menu-item > a, .nb-sidemenu__list .current_page_item > a { background: var(--brand); color: var(--on-brand); }
.nb-article--info { flex: 999 1 640px; }
.nb-updated { font-size: 13.5px; color: var(--ink2); margin: 0 0 20px; }
.nb-wide { margin-top: 32px; }

/* Contact & bug forms */
.nb-contact { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.nb-contact__card { flex: 999 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); scroll-margin-top: 100px; }
.nb-contact__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 1.6; }
.nb-contact__aside .nb-panel h2 { margin-bottom: 4px; }
.nb-contact__aside a.nb-link { font-size: 17px; display: inline-block; margin-top: 6px; }
.nb-form { display: flex; flex-direction: column; gap: 18px; font-size: 15px; line-height: 1.5; }
.nb-form p { margin: 0; }
.nb-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.nb-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.nb-req { color: var(--red); }
.nb-opt { font-weight: 500; color: var(--ink2); }
.nb-check label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink2); }
.nb-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.nb-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.nb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nb-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: 15px; }
.nb-notice--ok { background: var(--brand-soft); color: var(--brand-strong); }
.nb-notice--err { background: var(--red-soft); color: var(--red); }

/* ---------- Job Finder ---------- */
.nb-finderpage { margin-top: 28px; }
.nb-finderpage__card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.nb-finderpage__card--compact { margin-bottom: 24px; padding: 18px; }
.nb-finderpage__intro { margin-bottom: 16px; font-size: 16px; color: var(--ink2); }
.nb-finder { display: flex; flex-direction: column; gap: 16px; }
.nb-finder__search { position: relative; display: flex; gap: 10px; }
.nb-finder__search .nb-field { padding-left: 46px; min-height: 52px; }
.nb-finder__search .nb-btn { min-height: 52px; }
.nb-finder__icon { position: absolute; left: 16px; top: 16px; color: var(--ink2); }
.nb-finder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.nb-finder__f label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.nb-finder__f .nb-field { min-height: 46px; font-size: 14.5px; background-color: var(--bg); }
.nb-finder--compact .nb-finder__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.nb-finder__reset { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--red); }
.nb-quickfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--ink2); }
.nb-results__title { margin: 36px 0 16px; }
.nb-results { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.nb-results__title + .nb-results { margin-top: 0; }
.nb-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .15s, box-shadow .15s; }
.nb-result:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.nb-result__main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nb-result__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-result__title { font-size: 17.5px; font-weight: 800; line-height: 1.35; }
.nb-result__title a:hover { color: var(--brand); }
.nb-result__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink2); }
.nb-result__meta span { display: inline-flex; align-items: center; gap: 6px; }
.nb-result__side { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nb-noresults { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nb-noresults h2 { font-size: 22px; font-weight: 800; }
.nb-noresults p { margin: 0 0 8px; color: var(--ink2); max-width: 520px; }
.nb-archive { margin-top: 28px; }
.nb-about-term { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.nb-about-term__title { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.nb-about-term .nb-entry { font-size: 16px; color: var(--ink2); }
.nb-about-term .nb-entry p:last-child { margin-bottom: 0; }
.nb-explore { margin-top: 32px; }
.nb-explore__title { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.nb-explore__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.nb-explore .nb-chiplink { background: var(--surface); }
.nb-noresults + .nb-results { margin-top: 0; }

/* Pagination */
.nb-pagination { margin-top: 32px; }
.nb-pagination .nav-links, .nb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nb-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.nb-pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.nb-pagination a.page-numbers:hover { border-color: var(--brand); }
.nb-pagination .dots { border: 0; background: transparent; }

/* Comments */
.nb-comments { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.nb-comments__title { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.nb-comments__list { list-style: none; margin: 0 0 24px; padding: 0; }
.nb-comments__list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nb-comments__list .children { list-style: none; padding-left: 24px; }
.nb-comments .avatar { border-radius: 99px; vertical-align: middle; margin-right: 8px; }
.nb-comments .comment-meta { font-size: 13px; color: var(--ink2); }
.comment-reply-title { font-size: 20px; font-weight: 800; margin: 10px 0; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 500; }

/* ---------- Footer ---------- */
.nb-footer { background: var(--deep); color: var(--on-deep); }
.nb-footer a { color: var(--on-deep); }
.nb-footer a:hover { color: #fff; text-decoration: underline; }
.nb-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 36px; }
@media (max-width: 960px) { .nb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .nb-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.nb-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.nb-footer__brand p { margin: 0; font-size: 14px; max-width: 360px; }
.nb-footer .nb-logo { color: #fff; }
.nb-footer .nb-logo:hover { text-decoration: none; }
.nb-footer .nb-logo__mark { background: #3CC47F; color: #03140A; width: 40px; height: 40px; }
.nb-footer .nb-logo__name { color: #fff; font-size: 22px; }
.nb-footer .nb-logo__name span { color: #3CC47F; }
.nb-footer__email { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.nb-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-footer__social a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; }
.nb-footer__social a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.nb-footer__title { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .02em; margin: 0 0 14px; }
.nb-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.nb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.nb-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 28px; font-size: 13px; }
.nb-footer__disclaimer { max-width: 720px; }

/* Scroll to top */
.nb-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 50px; height: 50px; border-radius: 999px;
	background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(6, 63, 32, .3); opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.nb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.nb-totop:hover { color: var(--on-brand); transform: translateY(-2px); }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	body { font-size: 15px; }
	.nb-section { padding-top: 40px; }
	.nb-hero__inner { padding-top: 32px; padding-bottom: 36px; gap: 28px; }
	.nb-hero__text { font-size: 16px; }
	.nb-hero__search .nb-btn { flex: 1 1 100%; }
	.nb-browse__head { padding: 18px 16px 0; }
	.nb-browse__panel { padding: 16px; grid-template-columns: 1fr 1fr; }
	.nb-chiplink { padding: 10px; gap: 8px; font-size: 13.5px; }
	.nb-chiplink__chev { display: none; }
	.nb-tab { padding: 10px 12px; font-size: 14px; }
	.nb-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.nb-tile { flex-direction: column; align-items: flex-start; padding: 14px; gap: 10px; }
	.nb-tile__icon { width: 42px; height: 42px; }
	.nb-tile__name { font-size: 15px; }
	.nb-boxes { grid-template-columns: 1fr; }
	.nb-cards { grid-template-columns: 1fr; }
	.nb-finder__search { flex-direction: column; }
	.nb-finder__grid { grid-template-columns: 1fr 1fr; }
	.nb-result__side { justify-content: space-between; width: 100%; }
	.nb-table th, .nb-table td { padding: 12px; }
	.nb-entry { font-size: 16px; }
	.nb-totop { width: 46px; height: 46px; right: 14px; bottom: 14px; }
	.nb-postnav__item--next { text-align: left; }
}
