/* NTR Knowledge Hub — inherits the site's fonts; brand colours as variables. */
.ntr-kh {
	--kh-accent: #ee9700;
	--kh-accent-ink: #f5a623;
	--kh-ink: #ffffff;
	--kh-muted: rgba(255, 255, 255, .72);
	--kh-line: rgba(255, 255, 255, .16);
	--kh-soft: rgba(255, 255, 255, .06);
	--kh-card: rgba(255, 255, 255, .04);
	--kh-field: #ffffff;
	--kh-field-ink: #1d1d1f;
	--kh-radius: 12px;
	color: var(--kh-ink);
	max-width: 860px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.6;
}
.ntr-kh *, .ntr-kh *::before, .ntr-kh *::after { box-sizing: border-box; }
.ntr-kh a { color: var(--kh-accent-ink); }
.ntr-kh .ntr-kh-tile, .ntr-kh .ntr-kh-tile *, .ntr-kh .ntr-kh-path, .ntr-kh .ntr-kh-path *, .ntr-kh .ntr-kh-most a, .ntr-kh .ntr-kh-results a, .ntr-kh .ntr-kh-results a *, .ntr-kh .ntr-kh-others a, .ntr-kh .ntr-kh-btn, .ntr-kh .ntr-kh-crumbs a, .ntr-kh .ntr-kh-more a { text-decoration: none !important; }
.ntr-kh .ntr-kh-short a, .ntr-kh .ntr-kh-full a, .ntr-kh .ntr-kh-sources a, .ntr-kh .ntr-kh-related a, .ntr-kh .ntr-kh-disclaimer a { text-decoration: underline; }
.ntr-kh .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ntr-kh-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--kh-muted); margin: 0 0 6px; }

/* Breadcrumb and intro */
.ntr-kh-crumbs { font-size: 14px; color: var(--kh-muted); margin: 0 0 16px; }
.ntr-kh-crumbs a { color: var(--kh-muted); text-decoration: none; }
.ntr-kh-crumbs a:hover { text-decoration: underline; }
.ntr-kh-intro { font-size: 18px; color: var(--kh-muted); margin: 0 0 24px; }

/* Search */
.ntr-kh-search { position: relative; margin: 0 0 28px; }
.ntr-kh-search input[type="search"] {
	width: 100%; font: inherit; font-size: 17px; padding: 14px 16px 14px 46px;
	border: 2px solid transparent; border-radius: 999px; background: var(--kh-field)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235f6368' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
	color: var(--kh-field-ink); -webkit-appearance: none; appearance: none;
}
.ntr-kh-search input[type="search"]:focus { outline: none; border-color: var(--kh-accent); box-shadow: 0 0 0 4px rgba(238, 151, 0, .15); }
.ntr-kh-results:empty { display: none; }
.ntr-kh-results { margin-top: 8px; border: 1px solid var(--kh-line); border-radius: var(--kh-radius); background: #1c1c1e; overflow: hidden; }
.ntr-kh-results ul { list-style: none; margin: 0; padding: 0; }
.ntr-kh-results li + li { border-top: 1px solid var(--kh-line); }
.ntr-kh-results a { display: block; padding: 12px 16px; color: var(--kh-ink) !important; }
.ntr-kh-results a:hover, .ntr-kh-results a:focus { background: var(--kh-soft); }
.ntr-kh-results strong { display: block; font-weight: 600; }
.ntr-kh-results small { display: block; color: var(--kh-muted); font-size: 14px; }
.ntr-kh-results .ntr-kh-cat { color: var(--kh-accent-ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ntr-kh-empty { padding: 14px 16px; font-size: 15px; }
.ntr-kh-empty button { font: inherit; color: var(--kh-accent-ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Hub tiles */
.ntr-kh-tiles { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 36px; }
@media (min-width: 640px) { .ntr-kh-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ntr-kh-tiles { grid-template-columns: 1fr 1fr 1fr; } }
.ntr-kh-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--kh-line); border-radius: var(--kh-radius); text-decoration: none; color: var(--kh-ink) !important; background: var(--kh-card); transition: border-color .15s, transform .15s; }
.ntr-kh-tile:hover, .ntr-kh-tile:focus { border-color: var(--kh-accent); transform: translateY(-2px); }
.ntr-kh-tile h2 { font-size: 20px !important; line-height: 1.25; margin: 0 !important; color: var(--kh-ink) !important; }
.ntr-kh-tile p { font-size: 15px; color: var(--kh-muted); margin: 0; flex: 1; }
.ntr-kh-count { font-size: 13px; font-weight: 700; color: var(--kh-accent-ink); }

.ntr-kh-most { margin: 0 0 36px; }
.ntr-kh-most h2 { font-size: 22px; margin: 0 0 12px; color: var(--kh-ink); }
.ntr-kh-most ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--kh-line); }
.ntr-kh-most li { border-bottom: 1px solid var(--kh-line); }
.ntr-kh-most a { display: block; padding: 12px 0; font-weight: 600; color: var(--kh-ink) !important; }
.ntr-kh-most a::after { content: " →"; color: var(--kh-accent); }

/* Questions */
.ntr-kh-list { border-top: 1px solid var(--kh-line); margin: 0 0 32px; }
.ntr-kh-item { border-bottom: 1px solid var(--kh-line); scroll-margin-top: 110px; }
.ntr-kh-q { color: var(--kh-ink); margin: 0 !important; font-size: 19px !important; line-height: 1.35 !important; font-weight: 600 !important; }
.ntr-kh-q button {
	display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 16px;
	padding: 18px 0; margin: 0; border: 0 !important; background: none !important; font: inherit; color: var(--kh-ink) !important; text-align: left; cursor: pointer;
	text-transform: none; letter-spacing: normal; box-shadow: none; border-radius: 0;
}
.ntr-kh-q button:hover, .ntr-kh-q button:focus { background: none !important; color: var(--kh-accent-ink) !important; }
.ntr-kh-q button:focus-visible { outline: 2px solid var(--kh-accent); outline-offset: 4px; }
.ntr-kh-icon { flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(238, 151, 0, .18); position: relative; }
.ntr-kh-icon::before, .ntr-kh-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--kh-accent-ink); transition: transform .2s; }
.ntr-kh-icon::after { transform: rotate(90deg); }
.ntr-kh-item.is-open .ntr-kh-icon::after { transform: rotate(0); }
.ntr-kh-panel { padding: 0 0 22px; }
/* Without JavaScript (and for crawlers) every answer is shown. */
.ntr-kh-js .ntr-kh-item:not(.is-open) .ntr-kh-panel { display: none; }
.ntr-kh-hidden { display: none !important; }

.ntr-kh-short { font-size: 17px; margin: 0 0 12px; }
.ntr-kh-lead { font-size: 19px; padding: 16px 18px; background: var(--kh-soft); border-left: 4px solid var(--kh-accent); border-radius: 4px; margin: 0 0 24px; }
.ntr-kh-full > :first-child { margin-top: 0; }
.ntr-kh-full table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.ntr-kh-full th, .ntr-kh-full td { border: 1px solid var(--kh-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ntr-kh-full th { background: var(--kh-soft); }
.ntr-kh-more { margin: 4px 0 12px; font-weight: 600; }
.ntr-kh-more a { text-decoration: none; }

.ntr-kh-sources { margin: 16px 0 0; font-size: 15px; }
.ntr-kh-sources ul, .ntr-kh-related ul { margin: 0; padding-left: 18px; }
.ntr-kh-disclaimer { margin: 16px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--kh-ink); background: rgba(238, 151, 0, .12); border: 1px solid rgba(238, 151, 0, .45); border-radius: 8px; }
.ntr-kh-reviewed { margin: 12px 0 0; font-size: 13px; color: var(--kh-muted); }
.ntr-kh-related { margin: 18px 0 0; font-size: 15px; }

.ntr-kh-cta { margin: 16px 0 0; }
.ntr-kh-btn, .ntr-kh .ntr-kh-btn:visited {
	display: inline-block; padding: 11px 20px; border: 0; border-radius: 999px; background: var(--kh-accent); color: #fff !important;
	font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.3;
}
.ntr-kh-btn:hover, .ntr-kh-btn:focus { background: #d68800; color: #fff; }

/* Paths, other categories, suggest */
.ntr-kh-paths { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 32px; }
@media (min-width: 640px) { .ntr-kh-paths { grid-template-columns: 1fr 1fr; } }
.ntr-kh-path { display: block; padding: 18px 20px; border-radius: var(--kh-radius); background: var(--kh-soft); text-decoration: none; color: var(--kh-ink) !important; border: 1px solid transparent; }
.ntr-kh-path:hover, .ntr-kh-path:focus { border-color: var(--kh-accent); }
.ntr-kh-path strong { display: block; font-size: 18px; }
.ntr-kh-path span { display: block; font-size: 15px; color: var(--kh-muted); }
.ntr-kh-path strong::after { content: " →"; color: var(--kh-accent); }

.ntr-kh-others { margin: 0 0 32px; }
.ntr-kh-others ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ntr-kh-others a { display: inline-block; padding: 8px 14px; border: 1px solid var(--kh-line); border-radius: 999px; font-size: 15px; color: var(--kh-ink) !important; }
.ntr-kh-others a:hover { border-color: var(--kh-accent); }

.ntr-kh-suggest { padding: 20px; border: 1px dashed var(--kh-line); border-radius: var(--kh-radius); margin: 0 0 24px; }
.ntr-kh-suggest p { margin: 0 0 10px; font-size: 15px; }
.ntr-kh-suggest-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ntr-kh-suggest input[type="text"] { flex: 1 1 240px; min-width: 0; max-width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid transparent; border-radius: 999px; background: var(--kh-field); color: var(--kh-field-ink); }
.ntr-kh-suggest .ntr-kh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ntr-kh-suggest-msg { margin: 10px 0 0 !important; font-weight: 600; }
.ntr-kh-suggest-msg:empty { display: none; }

.ntr-kh-embed h2 { font-size: 24px; margin: 0 0 12px; }
.ntr-kh-embed .ntr-kh-q { font-size: 18px !important; }
.ntr-kh-single .ntr-kh-full { margin-bottom: 8px; }

@media (max-width: 640px) {
	.ntr-kh { font-size: 16px; }
	.ntr-kh-q { font-size: 17px !important; }
	.ntr-kh-tile h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ntr-kh-tile, .ntr-kh-icon::after { transition: none; } }
