/* Athena CredXpert — New Knowledge page */

/* ========== Page Background ========== */
.acx-new-knowledge,
.acx-new-knowledge .nk-hero,
.acx-new-knowledge .nk-hub {
	background: var(--bg-2) !important;
}

.acx-new-knowledge section {
	padding-top: 72px;
	padding-bottom: 72px;
}

.acx-new-knowledge [data-nk-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}
.acx-new-knowledge [data-nk-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ========== Hero ========== */
.acx-new-knowledge .nk-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 56px;
	border-bottom: 1px solid var(--line);
}

.acx-new-knowledge .nk-hero .wrap {
	position: relative;
	z-index: 1;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: center;
}

.acx-new-knowledge .nk-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	max-width: 720px;
	width: 100%;
}

.acx-new-knowledge .nk-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--amber);
	font-weight: 700;
	font-size: 13.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.acx-new-knowledge .nk-hero__eyebrow i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 0 3px rgba(252, 163, 17, .18);
}

.acx-new-knowledge .nk-hero__title {
	margin: 0;
	font-size: clamp(36px, 4.8vw, 52px);
	line-height: 1.02;
	letter-spacing: -.035em;
	font-weight: 800;
	color: var(--navy);
}
.acx-new-knowledge .nk-hero__title span {
	color: var(--amber);
}

.acx-new-knowledge .nk-hero__lead {
	margin: 0 auto;
	max-width: 58ch;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink-2);
}

/* ========== Hub + Tabs ========== */
.acx-new-knowledge .nk-hub {
	padding-top: 40px;
	padding-bottom: 88px;
	scroll-margin-top: 88px;
}

/* Default: constrained container (used by Decoding Credit, FAQs, etc.) */
.acx-new-knowledge .nk-hub .wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

/* Full-width ONLY when the Blogs panel is visible.
   The panel is toggled via the `hidden` attribute, so :not([hidden]) is
   the most reliable signal. If your JS also adds `.is-active`, both work. */
.acx-new-knowledge .nk-hub:has(#nk-panel-blogs:not([hidden])) .wrap {
	max-width: 100%;
	width: 100%;
	padding: 0 40px;
}

/* Fallback for browsers without :has() — JS toggles `.is-blogs-active`
   on `.nk-hub` when the blogs tab is selected. Harmless if unused. */
.acx-new-knowledge .nk-hub.is-blogs-active .wrap {
	max-width: 100%;
	width: 100%;
	padding: 0 40px;
}

.acx-new-knowledge .nk-tabs {
	position: static;
	z-index: auto;
    margin: 0 0 10px; 
    padding: 10px 0 0px; 
	background: transparent;
}

.acx-new-knowledge .nk-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	padding: 6px;
	border-radius: 999px;
	background: rgba(15, 22, 40, .55);
	border: 1px solid rgba(38, 48, 74, .9);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
	max-width: 640px;
	margin: 0 auto;
}

.acx-new-knowledge .nk-tabs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	/* flex-basis: 0 (not auto) so every tab gets an equal share of the
	   pill's width, regardless of how long its label is. */
	flex: 1 1 0;
	min-width: 0;
	white-space: nowrap;
	padding: 11px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink-2);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.acx-new-knowledge .nk-tabs__btn svg {
	width: 14px;
	height: 14px;
	flex: none;
}
.acx-new-knowledge .nk-tabs__btn:hover,
.acx-new-knowledge .nk-tabs__btn:focus-visible {
	color: var(--navy);
}
.acx-new-knowledge .nk-tabs__btn.is-active {
	background: var(--amber);
	color: #19294A;
	box-shadow: 0 6px 16px -8px rgba(252, 163, 17, .55);
}

.acx-new-knowledge .nk-panel[hidden] {
	display: none;
}

/* ========== Blogs ========== */
.acx-new-knowledge .nk-blogs__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.acx-new-knowledge .nk-blogs__sidebar {
	position: sticky;
	top: 96px;
	padding: 18px 16px 20px;
	border-radius: 1rem;
	border: 1px solid rgba(38, 48, 74, .95);
	background: linear-gradient(165deg, #1C2740 0%, #1A243A 48%, #18223A 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .04) inset,
		0 10px 28px -18px rgba(0, 0, 0, .55);
}

.acx-new-knowledge .nk-blogs__sidebar-title {
	margin: 0 0 14px;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--amber);
}
.acx-new-knowledge .nk-blogs__sidebar-title::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 8px;
	background: var(--amber);
	border-radius: 2px;
}

.acx-new-knowledge .nk-cats {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.acx-new-knowledge .nk-blogs__sidebar-title--sort {
	margin-top: 22px;
}

.acx-new-knowledge .nk-cats__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: .65rem;
	background: transparent;
	color: var(--ink-2);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.acx-new-knowledge .nk-cats__btn:hover,
.acx-new-knowledge .nk-cats__btn:focus-visible {
	background: rgba(252, 163, 17, .07);
	color: var(--navy);
}
.acx-new-knowledge .nk-cats__btn.is-active {
	background: rgba(252, 163, 17, .12);
	border-color: rgba(252, 163, 17, .38);
	color: var(--navy);
}

.acx-new-knowledge .nk-cats__label {
	flex: 1 1 auto;
	min-width: 0;
}

.acx-new-knowledge .nk-cats__count {
	flex: none;
	padding: 2px 9px;
	border-radius: 999px;
	background: rgba(38, 48, 74, .9);
	color: var(--ink-2);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.5;
}
.acx-new-knowledge .nk-cats__btn.is-active .nk-cats__count {
	background: var(--amber);
	color: #19294A;
}

.acx-new-knowledge .nk-blogs__more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.acx-new-knowledge .nk-blogs__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	border: 1.5px solid rgba(252, 163, 17, .55);
	border-radius: 999px;
	background: transparent;
	color: var(--amber);
	font-size: .9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.acx-new-knowledge .nk-blogs__more:hover {
	background: var(--amber);
	color: #19294A;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -12px rgba(252, 163, 17, .55);
}
.acx-new-knowledge .nk-blogs__more svg {
	width: 15px;
	height: 15px;
	transition: transform .2s ease;
}
.acx-new-knowledge .nk-blogs__more.is-open svg {
	transform: rotate(180deg);
}

.acx-new-knowledge .nk-blogs__more[hidden],
.acx-new-knowledge .nk-blog-card[hidden] {
	display: none !important;
}

.acx-new-knowledge .nk-blogs__grid {
	display: grid;
	/* auto-fill with a larger minimum width (320px) for wider cards */
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px; /* larger gap for larger cards */
	align-items: stretch;
}

.acx-new-knowledge .nk-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	border-radius: 1.05rem;
	border: 1px solid rgba(38, 48, 74, .95);
	background: linear-gradient(165deg, #1C2740 0%, #1A243A 48%, #18223A 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .04) inset,
		0 10px 28px -18px rgba(0, 0, 0, .55);
	text-decoration: none;
	color: inherit;
	transition: border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.acx-new-knowledge .nk-blog-card:hover {
	border-color: rgba(252, 163, 17, .38);
	transform: translateY(-3px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .05) inset,
		0 18px 40px -20px rgba(0, 0, 0, .65),
		0 0 0 1px rgba(252, 163, 17, .08);
}

.acx-new-knowledge .nk-blog-card__media {
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #0d1424;
	overflow: hidden;
}
.acx-new-knowledge .nk-blog-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center center;
}

.acx-new-knowledge .nk-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 1.05rem 1.1rem 1.15rem;
	flex: 1 1 auto;
	min-height: 0;
}

.acx-new-knowledge .nk-blog-card__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--amber);
	font-size: 12.5px;
	font-weight: 600;
}
.acx-new-knowledge .nk-blog-card__date svg {
	width: 13px;
	height: 13px;
}

.acx-new-knowledge .nk-blog-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.015em;
	color: var(--navy);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	min-height: calc(1.05rem * 1.35 * 3);
}

.acx-new-knowledge .nk-blog-card__author {
	margin: 0;
	font-size: .8125rem;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.acx-new-knowledge .nk-blog-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--amber);
	font-size: .8125rem;
	font-weight: 700;
}
.acx-new-knowledge .nk-blog-card__more svg {
	width: 14px;
	height: 14px;
	transition: transform .2s ease;
}
.acx-new-knowledge .nk-blog-card:hover .nk-blog-card__more svg {
	transform: translateX(3px);
}

.acx-new-knowledge .nk-blogs__empty {
	margin: 0;
	text-align: center;
	color: var(--ink-2);
	font-size: 1rem;
}

/* ========== Decoding Credit ========== */
.acx-new-knowledge .nk-decode {
	display: flex;
	flex-direction: column;
	gap: 64px;
	max-width: none;
	width: 100%;
	margin: 0;
}

.acx-new-knowledge .nk-decode__volume {
	display: grid;
	grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
	gap: 28px 72px;
	align-items: start;
	padding: 0;
	width: 100%;
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.acx-new-knowledge .nk-decode__media {
	width: 100%;
	overflow: visible;
	border-radius: .75rem;
	line-height: 0;
}
.acx-new-knowledge .nk-decode__media img {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: unset;
	border-radius: .75rem;
	box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .7);
}

.acx-new-knowledge .nk-decode__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	align-self: start;
	padding-top: .15rem;
}

.acx-new-knowledge .nk-decode__title {
	margin: 0 0 14px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--navy);
}
.acx-new-knowledge .nk-decode__title::after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 12px;
	background: var(--amber);
	border-radius: 2px;
}

.acx-new-knowledge .nk-decode__body {
	flex: 1 1 auto;
}
.acx-new-knowledge .nk-decode__body p {
	margin: 0 0 1.05rem;
	color: var(--ink-2);
	font-size: 1rem;
	line-height: 1.85;
}
.acx-new-knowledge .nk-decode__body p:last-child {
	margin-bottom: 0;
}
.acx-new-knowledge .nk-decode__body strong {
	color: var(--navy);
}

.acx-new-knowledge .nk-decode__cta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: 18px;
	padding: 12px 20px;
	border-radius: var(--r-pill);
	background: linear-gradient(180deg, #FFB84A 0%, var(--amber) 100%);
	color: #19294A;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 20px -8px rgba(252, 163, 17, .55);
	transition: transform .2s ease, filter .15s ease;
}
.acx-new-knowledge .nk-decode__cta svg {
	width: 14px;
	height: 14px;
}
.acx-new-knowledge .nk-decode__cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

/* ========== FAQs ========== */
.acx-new-knowledge .nk-faqs {
	max-width: 72rem;
	margin: 0 auto;
}

/* FAQ banner — same layout as default knowledge FAQs */
.acx-new-knowledge .nk-faq-banner {
	position: relative;
	overflow: hidden;
	margin: 0 0 28px;
	padding: 1.25rem 0 1.5rem;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.acx-new-knowledge .nk-faq-banner__shape {
	display: none;
}

.acx-new-knowledge .nk-faq-banner__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
	width: 100%;
	min-width: 0;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.acx-new-knowledge .nk-faq-banner__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	text-align: center;
}

.acx-new-knowledge .nk-faq-banner__title {
	margin: 0;
	font-size: clamp(22px, 3.2vw, 28px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	white-space: normal;
}

.acx-new-knowledge .nk-faq-banner__title-word {
	display: inline-block;
}

.acx-new-knowledge .nk-faq-banner__title-lead {
	position: relative;
	display: inline-block;
}

.acx-new-knowledge .nk-faq-banner__title-lead::after {
	content: "";
	position: absolute;
	left: 0;
	right: auto;
	bottom: -.55rem;
	width: 2.75rem;
	height: .22rem;
	border-radius: 9999px;
	background: var(--amber);
	transform: none;
}

.acx-new-knowledge .nk-faq-banner__title-accent {
	color: var(--amber);
}

.acx-new-knowledge .nk-faq-banner__media {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.acx-new-knowledge .nk-faq-banner__media img {
	display: block;
	width: 100%;
	max-width: min(100%, 22rem);
	height: auto;
	margin-inline: auto;
	object-fit: contain;
}

@media (min-width: 640px) {
	.acx-new-knowledge .nk-faq-banner {
		padding: 1.75rem 0 2rem;
	}

	.acx-new-knowledge .nk-faq-banner__media img {
		max-width: 26rem;
	}
}

@media (min-width: 1024px) {
	.acx-new-knowledge .nk-faq-banner {
		padding: 2rem 0 2.25rem;
		margin-bottom: 36px;
	}

	.acx-new-knowledge .nk-faq-banner__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 2rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.acx-new-knowledge .nk-faqs__list {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.acx-new-knowledge .nk-faq-banner__copy {
		align-items: flex-start;
		text-align: left;
	}

	.acx-new-knowledge .nk-faq-banner__title {
		white-space: nowrap;
	}

	.acx-new-knowledge .nk-faq-banner__media {
		justify-content: flex-end;
	}

	.acx-new-knowledge .nk-faq-banner__media img {
		max-width: 30rem;
	}
}

.acx-new-knowledge .nk-faqs__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 1.25rem;
	box-sizing: border-box;
}

.acx-new-knowledge .nk-faq-section {
	padding: 0;
	border-radius: .85rem;
	border: 1px solid rgba(38, 48, 74, .95);
	background: linear-gradient(165deg, #1C2740 0%, #1A243A 55%, #18223A 100%);
	overflow: hidden;
}

.acx-new-knowledge .nk-faq-section__heading {
	margin: 0;
}

.acx-new-knowledge .nk-faq-section__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 0;
	padding: .8rem 1.35rem;
	border: 0;
	background: transparent;
	color: var(--navy);
	font: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.acx-new-knowledge .nk-faq-section__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(252, 163, 17, .14);
	color: var(--amber);
	border: 1px solid rgba(252, 163, 17, .22);
	transition: transform .3s ease;
}

.acx-new-knowledge .nk-faq-section__icon svg {
	width: 16px;
	height: 16px;
}

.acx-new-knowledge .nk-faq-section.is-open .nk-faq-section__icon {
	transform: rotate(180deg);
}

.acx-new-knowledge .nk-faq-section__questions[hidden] {
	display: none;
}

.acx-new-knowledge .nk-faq-section__questions:not([hidden]) {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 1rem 1rem;
	/* Clips the questions while JS animates this container's height. */
	overflow: hidden;
}

.acx-new-knowledge .nk-faq {
	border-radius: .85rem;
	border: 1px solid rgba(38, 48, 74, .95);
	background: linear-gradient(165deg, #1C2740 0%, #1A243A 55%, #18223A 100%);
	overflow: hidden;
}

.acx-new-knowledge .nk-faq__heading {
	margin: 0;
}

.acx-new-knowledge .nk-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 3.75rem;
	padding: 1.2rem 1.35rem;
	border: 0;
	background: transparent;
	color: var(--navy);
	text-align: left;
	cursor: pointer;
}

.acx-new-knowledge .nk-faq__question {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.acx-new-knowledge .nk-faq__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(252, 163, 17, .14);
	color: var(--amber);
	border: 1px solid rgba(252, 163, 17, .22);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), background .3s ease, border-color .3s ease;
}
.acx-new-knowledge .nk-faq__icon svg {
	width: 16px;
	height: 16px;
	transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.acx-new-knowledge .nk-faq.is-open .nk-faq__icon {
	background: rgba(252, 163, 17, .22);
	border-color: rgba(252, 163, 17, .38);
	transform: none;
}
.acx-new-knowledge .nk-faq.is-open .nk-faq__icon svg {
	transform: rotate(180deg);
}

/*
 * Height is animated by JS (Web Animations API) between measured pixel
 * values, so do NOT transition height / grid-template-rows / padding here —
 * animating those layout properties together (on mismatched durations)
 * forced a full re-layout + gradient repaint of every sibling below the
 * panel on every frame, which is what made opening feel laggy/steppy.
 * Only compositor-friendly opacity/transform transition in CSS, and the
 * bottom padding lives on the (non-animated) inner wrapper so the panel's
 * content box never changes size while its height is being animated.
 */
.acx-new-knowledge .nk-faq__panel {
	height: 0;
	overflow: hidden;
	padding: 0 1.35rem;
	opacity: 0;
	transition: opacity .32s ease;
}
.acx-new-knowledge .nk-faq.is-open .nk-faq__panel {
	/* No height here: JS sets the final inline `height: auto` once the
	   animation finishes. Giving the open state a CSS height would snap
	   the panel to full height the instant the class is added, before
	   JS can measure the closed height to animate from. */
	opacity: 1;
}
.acx-new-knowledge .nk-faq__panel-inner {
	overflow: hidden;
	min-height: 0;
	padding-bottom: 1.2rem;
	opacity: 0;
	transform: translateY(-5px);
	transition:
		opacity .32s ease,
		transform .34s cubic-bezier(.22, 1, .36, 1);
}
.acx-new-knowledge .nk-faq.is-open .nk-faq__panel-inner {
	opacity: 1;
	transform: translateY(0);
}

.acx-new-knowledge .nk-faq__answer {
	margin: 0;
	color: var(--ink-2);
	font-size: .9375rem;
	line-height: 1.65;
	border-top: 1px solid rgba(38, 48, 74, .85);
	padding-top: .95rem;
}

@media (prefers-reduced-motion: reduce) {
	.acx-new-knowledge .nk-faq-section__icon,
	.acx-new-knowledge .nk-faq__icon,
	.acx-new-knowledge .nk-faq__icon svg,
	.acx-new-knowledge .nk-faq__panel,
	.acx-new-knowledge .nk-faq__panel-inner {
		transition: none;
	}
}

/* ========== Responsive ========== */

/* Prevent horizontal scroll from sticky tabs / grids */
.acx-new-knowledge {
	overflow-x: clip;
}

@media (max-width: 1200px) {
	.acx-new-knowledge .nk-decode__volume {
		grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
		gap: 24px 48px;
	}
	.acx-new-knowledge .nk-decode__body p {
		font-size: .975rem;
		line-height: 1.8;
	}
}

@media (max-width: 980px) {
	.acx-new-knowledge section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.acx-new-knowledge .nk-hero {
		padding: 76px 0 48px;
	}
	.acx-new-knowledge .nk-hero .wrap,
	.acx-new-knowledge .nk-hub .wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
	/* Blogs tab keeps its wider side padding */
	.acx-new-knowledge .nk-hub:has(#nk-panel-blogs:not([hidden])) .wrap,
	.acx-new-knowledge .nk-hub.is-blogs-active .wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
	.acx-new-knowledge .nk-hero__title {
		font-size: clamp(32px, 5.5vw, 44px);
	}
	.acx-new-knowledge .nk-hero__lead {
		font-size: 17px;
	}

	.acx-new-knowledge .nk-hub {
		padding-top: 32px;
		padding-bottom: 72px;
		scroll-margin-top: 80px;
	}

	.acx-new-knowledge .nk-tabs {
		margin-bottom: 22px;
	}
	.acx-new-knowledge .nk-tabs__list {
		max-width: 100%;
		gap: 6px;
	}
	.acx-new-knowledge .nk-tabs__btn {
		font-size: 13px;
		padding: 10px 12px;
		gap: 6px;
	}

	.acx-new-knowledge .nk-blogs__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.acx-new-knowledge .nk-blogs__sidebar {
		position: static;
	}
	.acx-new-knowledge .nk-cats {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.acx-new-knowledge .nk-cats__btn {
		width: auto;
		flex: 0 1 auto;
		padding: 8px 12px;
	}

	.acx-new-knowledge .nk-blogs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
	.acx-new-knowledge .nk-blog-card__title {
		font-size: 1rem;
		min-height: calc(1rem * 1.35 * 3);
	}

	.acx-new-knowledge .nk-decode {
		gap: 62px;
	}
	.acx-new-knowledge .nk-decode__volume {
		grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
		gap: 20px 36px;
	}
	.acx-new-knowledge .nk-decode__title {
		font-size: clamp(20px, 2.6vw, 24px);
		margin-bottom: 12px;
	}
	.acx-new-knowledge .nk-decode__body p {
		font-size: .9375rem;
		line-height: 1.75;
		margin-bottom: .85rem;
	}
	.acx-new-knowledge .nk-decode__cta {
		margin-top: 14px;
		padding: 10px 16px;
	}

	.acx-new-knowledge .nk-faqs {
		max-width: 100%;
	}
}

@media (max-width: 720px) {
	.acx-new-knowledge section {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.acx-new-knowledge .nk-hero {
		padding: 64px 0 40px;
	}
	.acx-new-knowledge .nk-hero .wrap,
	.acx-new-knowledge .nk-hub .wrap {
		padding-left: 16px;
		padding-right: 16px;
	}
	/* Blogs tab keeps its wider side padding */
	.acx-new-knowledge .nk-hub:has(#nk-panel-blogs:not([hidden])) .wrap,
	.acx-new-knowledge .nk-hub.is-blogs-active .wrap {
		padding-left: 16px;
		padding-right: 16px;
	}
	.acx-new-knowledge .nk-hero__copy {
		gap: 12px;
	}
	.acx-new-knowledge .nk-hero__eyebrow {
		font-size: 12px;
	}
	.acx-new-knowledge .nk-hero__title {
		font-size: clamp(28px, 8vw, 36px);
	}
	.acx-new-knowledge .nk-hero__lead {
		font-size: 15.5px;
		line-height: 1.55;
	}

	.acx-new-knowledge .nk-hub {
		padding-top: 24px;
		padding-bottom: 56px;
		scroll-margin-top: 72px;
	}

	.acx-new-knowledge .nk-tabs {
		padding: 8px 0 10px;
		margin-bottom: 18px;
	}
	/* FAQs tab only: pull accordion closer to the tab pill. */
	.acx-new-knowledge .nk-hub:has(#nk-panel-faqs:not([hidden])) .nk-tabs {
		margin-bottom: 8px;
		padding-bottom: 4px;
	}
	.acx-new-knowledge .nk-tabs__list {
		flex-wrap: nowrap;
		overflow: visible;
		justify-content: stretch;
		border-radius: 999px;
		max-width: 100%;
		width: 100%;
		gap: 4px;
	}
	/* Size tabs by label so "Decoding Credit" is not clipped. */
	.acx-new-knowledge .nk-tabs__btn {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 12px;
		padding: 10px 8px;
		white-space: nowrap;
		gap: 5px;
	}
	.acx-new-knowledge .nk-tabs__btn span {
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
	}
	.acx-new-knowledge .nk-tabs__btn svg {
		width: 13px;
		height: 13px;
		flex: none;
	}

	.acx-new-knowledge .nk-blogs__grid {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 420px;
		margin: 0 auto;
	}
	.acx-new-knowledge .nk-blogs__more {
		width: 100%;
		justify-content: center;
		max-width: 320px;
	}
	.acx-new-knowledge .nk-blog-card:hover {
		transform: none;
	}
	.acx-new-knowledge .nk-blog-card__body {
		padding: .95rem 1rem 1.05rem;
		gap: 8px;
	}
	.acx-new-knowledge .nk-blog-card__title {
		font-size: .975rem;
		min-height: 0;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	/* Stack Decoding Credit on phones for readability */
	.acx-new-knowledge .nk-decode {
		gap: 58px;
	}
	.acx-new-knowledge .nk-decode__volume {
		grid-template-columns: 1fr;
		gap: 20px;
		justify-items: center;
		text-align: left;
	}
	.acx-new-knowledge .nk-decode__media {
		width: min(240px, 72vw);
		margin: 0 auto;
	}
	.acx-new-knowledge .nk-decode__copy {
		width: 100%;
		padding-top: 0;
	}
	.acx-new-knowledge .nk-decode__title {
		font-size: 1.25rem;
		text-align: center;
	}
	.acx-new-knowledge .nk-decode__title::after {
		margin-left: auto;
		margin-right: auto;
	}
	.acx-new-knowledge .nk-decode__body p {
		font-size: .9rem;
		line-height: 1.7;
		margin-bottom: .8rem;
	}
	.acx-new-knowledge .nk-decode__cta {
		align-self: center;
		width: 100%;
		max-width: 280px;
		justify-content: center;
		margin-top: 12px;
	}

	.acx-new-knowledge .nk-faq-banner {
		margin-bottom: 20px;
		padding: 1rem 0 1.15rem;
		border-radius: 0;
	}
	.acx-new-knowledge .nk-faq-banner__inner {
		gap: 1rem;
		padding: 0 1rem;
	}
	.acx-new-knowledge .nk-faqs__list {
		padding: 0 1rem;
		gap: 10px;
	}
	.acx-new-knowledge .nk-faq-section__trigger {
		font-size: 1.05rem;
		padding: .75rem 1.1rem;
		gap: 12px;
	}
	.acx-new-knowledge .nk-faq-banner__title {
		font-size: clamp(18px, 5.5vw, 22px);
		white-space: normal;
	}
	.acx-new-knowledge .nk-faq-banner__media img {
		max-width: min(100%, 18rem);
	}
	.acx-new-knowledge .nk-faq__trigger {
		gap: 12px;
		min-height: 3.35rem;
		padding: 1.05rem 1.1rem;
	}
	.acx-new-knowledge .nk-faq__question {
		font-size: .9rem;
	}
	.acx-new-knowledge .nk-faq__panel {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}
	.acx-new-knowledge .nk-faq__panel-inner {
		padding-bottom: 1.05rem;
	}
	.acx-new-knowledge .nk-faq__answer {
		font-size: .85rem;
		line-height: 1.55;
	}
}

@media (max-width: 480px) {
	.acx-new-knowledge .nk-hero {
		padding: 56px 0 32px;
	}
	.acx-new-knowledge .nk-hero .wrap,
	.acx-new-knowledge .nk-hub .wrap {
		padding-left: 14px;
		padding-right: 14px;
	}
	/* Blogs tab keeps its wider side padding */
	.acx-new-knowledge .nk-hub:has(#nk-panel-blogs:not([hidden])) .wrap,
	.acx-new-knowledge .nk-hub.is-blogs-active .wrap {
		padding-left: 14px;
		padding-right: 14px;
	}
	.acx-new-knowledge .nk-hero__title {
		font-size: clamp(26px, 8.5vw, 32px);
	}
	.acx-new-knowledge .nk-hero__lead {
		font-size: 14.5px;
	}

	/* Drop icons on narrow phones so full tab labels fit on one line. */
	.acx-new-knowledge .nk-tabs__btn {
		font-size: 11.5px;
		padding: 9px 7px;
		gap: 0;
	}
	.acx-new-knowledge .nk-tabs__btn svg {
		display: none;
	}
	.acx-new-knowledge .nk-tabs__btn span {
		overflow: visible;
		text-overflow: clip;
	}

	.acx-new-knowledge .nk-blogs__grid {
		max-width: none;
	}
	.acx-new-knowledge .nk-blog-card {
		border-radius: .9rem;
	}

	.acx-new-knowledge .nk-decode__media {
		width: min(200px, 68vw);
	}
	.acx-new-knowledge .nk-decode__title {
		font-size: 1.125rem;
	}
	.acx-new-knowledge .nk-decode__body p {
		font-size: .875rem;
		line-height: 1.65;
	}
	.acx-new-knowledge .nk-decode__cta {
		max-width: none;
		font-size: .8125rem;
		padding: 11px 16px;
	}

	.acx-new-knowledge .nk-faq-section__trigger {
		font-size: .95rem;
		padding: .7rem 1rem;
		gap: 10px;
	}
	.acx-new-knowledge .nk-faq__icon {
		width: 26px;
		height: 26px;
	}
}

@media (hover: none) {
	.acx-new-knowledge .nk-blog-card:hover,
	.acx-new-knowledge .nk-decode__cta:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.acx-new-knowledge [data-nk-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.acx-new-knowledge .nk-blog-card,
	.acx-new-knowledge .nk-decode__cta,
	.acx-new-knowledge .nk-faq__icon {
		transition: none;
	}
}
