/* Wallex Knowledge Base public styles bundle. */

/**
 * KB browse/article layout (search, cards, sidebar tree).
 * Colors/radius: Wallex theme token-style when loaded; fallbacks below.
 */


.wallex-kb-article-shell {
	--wallex-kb-radius-s: var(--cornerRadiusM, 8px);
	--wallex-kb-radius-m: var(--cornerRadiusL, 12px);
	--wallex-kb-shadow-card: 0 1px 8px 0 rgba(0, 0, 0, 0.04), 0 3px 16px 0 rgba(0, 0, 0, 0.06);
	--wallex-kb-shadow-card-hover: rgba(0, 0, 0, 0.2) 0px 0px 2px, rgba(0, 0, 0, 0.1) 0px 4px 10px;

	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px;
	box-sizing: border-box;
	width: 100%;
}

body.wallex-kb-search-page .wallex-kb-article-shell,
body.wallex-kb-archive .wallex-kb-article-shell,
body.wallex-kb-tax-archive .wallex-kb-article-shell,
body.wallex-kb-singular .wallex-kb-article-shell {
	min-width: 0;
}

.wallex-kb-article-shell__inner {
	width: 100%;
}

/* Search form (not body.wallex-kb-search-page) */
.wallex-kb-search-form {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 24px;
	padding: 12px 16px;
	background: var(--color-bg);
	box-shadow: var(--wallex-kb-shadow-card);
	border: 1px solid var(--color-stroke);
	border-radius: var(--wallex-kb-radius-m, 12px);
}

.wallex-kb-search__input {
	flex: 1 1 220px;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-s, 8px);
	font-size: 15px;
	color: var(--color-text-1);
	background: var(--color-bg);
}

.wallex-kb-search__submit {
	padding: 9px 16px;
	border-radius: var(--wallex-kb-radius-s, 8px);
	border: 1px solid var(--color-primaryBrandStroke);
	background: var(--color-primaryBrandBg);
	color: var(--color-onColorLightText);
	font-weight: 600;
	cursor: pointer;
	font-size: 14px;
}

.wallex-kb-search__submit:hover {
	filter: brightness(1.05);
}

.wallex-kb-search-results {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	right: 16px;
	left: 16px;
	overflow: hidden;
	background: var(--color-bg);
	border: 1px solid var(--color-stroke);
	border-radius: var(--wallex-kb-radius-m, 12px);
	box-shadow: var(--wallex-kb-shadow-card-hover);
}

.wallex-kb-search-results[hidden] {
	display: none;
}

.wallex-kb-search-results__list {
	margin: 0;
	padding: 6px;
	list-style: none;
}

.wallex-kb-search-results__item {
	margin: 0;
}

.wallex-kb-search-results__link,
.wallex-kb-search-results__all {
	display: block;
	color: var(--color-text-1);
	text-decoration: none;
}

.wallex-kb-search-results__link {
	padding: 10px 12px;
	border-radius: var(--wallex-kb-radius-s, 8px);
}

.wallex-kb-search-results__link:hover,
.wallex-kb-search-results__all:hover {
	background: var(--color-bg-2);
}

.wallex-kb-search-results__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}

.wallex-kb-search-results__excerpt {
	display: block;
	margin-top: 2px;
	overflow: hidden;
	color: var(--color-text-2);
	font-size: 13px;
	line-height: 1.6;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wallex-kb-search-results__empty {
	margin: 0;
	padding: 14px 18px;
	color: var(--color-text-2);
	font-size: 14px;
}

.wallex-kb-search-results__all {
	padding: 12px 18px;
	border-top: 1px solid var(--color-stroke);
	color: var(--color-primaryBrandText);
	font-size: 14px;
	font-weight: 700;
}

/* Layout: grid keeps main + sidebar on one row (no wrap jump while loading). */
.wallex-kb-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 24px;
	align-items: start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.wallex-kb-article-layout__main {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
	width: 100%;
}

.wallex-kb-article-layout__aside {
	grid-column: 2;
	grid-row: 1;
	width: 380px;
	max-width: 380px;
	margin-left: 0;
	position: sticky;
	top: 75px;
}

[dir="rtl"] .wallex-kb-article-layout {
	grid-template-columns: 380px minmax(0, 1fr);
}

[dir="rtl"] .wallex-kb-article-layout__aside {
	grid-column: 1;
}

[dir="rtl"] .wallex-kb-article-layout__main {
	grid-column: 2;
}

@media (max-width: 900px) {
	.wallex-kb-article-layout {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
	}

	.wallex-kb-article-layout__aside {
		grid-column: auto;
		grid-row: auto;
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
		order: 3;
	}

	.wallex-kb-article-layout__main {
		grid-column: auto;
		grid-row: auto;
		order: 2;
		min-width: 0;
	}
}

/* Entry */
.wallex-kb-entry__breadcrumbs {
	margin: 0 0 10px;
}

.wallex-kb-breadcrumbs {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--color-text-2);
	flex-direction: row;
	overflow-y: scroll;
}

.wallex-kb-breadcrumbs__item {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	margin: 0;
	flex-direction: row;
	flex-wrap: nowrap;
	min-width: fit-content;
}

.wallex-kb-breadcrumbs__item:not(:last-child)::after {
	color: var(--color-text-3, currentColor);
	content: ">";
}

.wallex-kb-breadcrumbs__link {
	color: inherit;
	text-decoration: none;
}

.wallex-kb-breadcrumbs__link:hover,
.wallex-kb-breadcrumbs__link:focus {
	color: var(--color-primaryBrand, currentColor);
	text-decoration: underline;
}
.wallex-kb-entry__title {
	margin: 0 0 16px;
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.25;
}

.wallex-kb-entry__content {
	font-size: 16px;
	line-height: 1.65;
}

/* Aside card */
.wallex-kb-aside-card {
	position: sticky;
	top: 16px;
	padding: 16px;
	background: var(--color-bg);
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-m, 12px);
	box-shadow: var(--wallex-kb-shadow-card);
	max-height: calc(100vh - 32px);
	overflow: auto;
}

.wallex-kb-aside-card__title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text-2);
}

.wallex-kb-article-toc-slot {
	display: block;
	margin-bottom: 16px;
}

.wallex-kb-article-toc-slot:empty {
	display: none;
}

.wallex-kb-article-toc {
	padding: 16px;
	background: var(--color-bg);
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-m, 12px);
	box-shadow: var(--wallex-kb-shadow-card);
	max-height: min(360px, calc(100vh - 260px));
	overflow: auto;
}

.wallex-kb-article-toc__title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text-2);
}

.wallex-kb-article-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.55;
}

.wallex-kb-article-toc__item {
	margin: 0;
}

.wallex-kb-article-toc__item + .wallex-kb-article-toc__item {
	margin-top: 8px;
}

.wallex-kb-article-toc__link {
	display: block;
	padding: 4px 8px;
	margin: 0 -8px;
	border-radius: var(--cornerRadiusS, 4px);
	color: var(--color-text-2);
	text-decoration: none;
}

.wallex-kb-article-toc__link:hover,
.wallex-kb-article-toc__link:focus {
	color: var(--color-text-1);
	background: var(--color-bg-2);
	text-decoration: none;
}

.wallex-kb-entry__content h2[id] {
	scroll-margin-top: 96px;
}

@media (max-width: 900px) {
	.wallex-kb-article-toc-slot {
		display: none;
	}
}

/* Tree */
.wallex-kb-tree {
	font-size: 14px;
	line-height: 1.4;
}

.wallex-kb-tree__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wallex-kb-tree__list--root>.wallex-kb-tree__item {
	margin-bottom: 18px;
}

.wallex-kb-tree__row {
	display: flex;
	align-items: flex-start;
	gap: 4px;
	min-height: 28px;
}

.wallex-kb-tree__toggle {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	padding: 0;
	margin: 2px 0 0;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--color-text-2);
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wallex-kb-tree__toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.wallex-kb-tree__toggle-icon .wallex-kb-tree__chevron {
	display: block;
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease;
	transform: rotate(90deg);
}

.wallex-kb-tree__toggle[aria-expanded="true"] .wallex-kb-tree__chevron,
.wallex-kb-tree__item.is-open>.wallex-kb-tree__row .wallex-kb-tree__chevron {
	transform: rotate(0deg);
}

.wallex-kb-tree__toggle--spacer {
	visibility: hidden;
	pointer-events: none;
}

.wallex-kb-tree__toggle:focus-visible {
	outline: 2px solid var(--color-primaryBrandStroke);
	border-radius: var(--cornerRadiusS, 4px);
}

.wallex-kb-tree__cat {
	flex: 1;
	font-weight: 600;
	color: var(--color-text-1);
	text-decoration: none;
	border-radius: 4px;
	padding: 2px 4px;
	margin: -2px -4px;
}

.wallex-kb-tree__cat:hover {
	text-decoration: underline;
}

.wallex-kb-tree__sub {
	padding-left: 4px;
	margin-top: 4px;
	border-right: 1px solid var(--color-stroke-3);
	margin-right: 10px;
}

.wallex-kb-tree__list--nested {
	padding-left: 6px;
}

.wallex-kb-tree__list--posts {
	padding: 4px 6px 4px 0;
}

.wallex-kb-tree__post {
	margin: 2px 0;
}

.wallex-kb-tree__article {
	color: var(--color-text-2);
	text-decoration: none;
	font-weight: 400;
	display: block;
	padding: 2px 4px;
	border-radius: 4px;
	margin-top: 12px;

}

.wallex-kb-tree__article:hover {
	color: var(--color-text-1);
}

.wallex-kb-tree__post.is-current .wallex-kb-tree__article {
	color: var(--color-text-1);
	font-weight: 600;
	padding: 5px 15px 5px 0px;
}

.wallex-kb-tree__post.is-current::before {
	content: "";
	position: absolute;
	right: 25px;
	height: 25px;
	width: 3px;
	background: var(--color-primaryBrandStroke);
}

.wallex-kb-tree__empty {
	margin: 0;
	color: var(--color-text-2);
	font-size: 13px;
}

/* Panels */
.wallex-kb-panel[hidden] {
	display: none !important;
}

.wallex-kb-panel--cards {
	min-height: 0;
}

.wallex-kb-panel-cards-inner {
	position: relative;
}

.wallex-kb-panel__back {
	margin-bottom: 16px;
	cursor: pointer;
}

.wallex-kb-cards__loading-state {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 256px;
	padding: 40px 16px;
	box-sizing: border-box;
}

.wallex-kb-cards__loading {
	margin: 0;
	color: var(--color-text-2);
	font-size: 15px;
}

.wallex-kb-panel-cards-inner.is-loading>.wallex-kb-cards {
	opacity: 0.45;
	pointer-events: none;
	user-select: none;
}

.wallex-kb-panel-cards-inner.is-loading .wallex-kb-cards__loading-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 40px;
	background: var(--color-bg);
	opacity: 0.92;
	pointer-events: none;
	box-sizing: border-box;
}

.wallex-kb-panel__error {
	color: var(--color-criticalText);
	margin: 8px 0 0;
}

/* Card grid (AJAX) */
.wallex-kb-cards__heading {
	margin: 0 0 16px;
	font-size: 22px;
}

.wallex-kb-cards__intro {
	margin: 0 0 20px;
	color: var(--color-text-2);
	font-size: 15px;
	line-height: 1.6;
}

.wallex-kb-cards__intro p:last-child {
	margin-bottom: 0;
}

.wallex-kb-tree__item.is-current-term>.wallex-kb-tree__row .wallex-kb-tree__cat {
	font-weight: 700;
	color: var(--color-text-1);
}

.wallex-kb-cards__empty {
	color: var(--color-text-2);
	margin: 0;
	text-align: center;
}

.wallex-kb-cards__count {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--color-text-2);
}

.wallex-kb-cards__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.wallex-kb-cards__empty a {
	color: var(--color-primaryBrandText);
	text-decoration: none;
	font-weight: 600;
}

.wallex-kb-cards__empty a:hover {
	text-decoration: underline;
}

.wallex-kb-cards__pagination .page-numbers li {
	display: contents;
	list-style-type: none;
}

.wallex-kb-cards__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.wallex-kb-cards__pagination .page-numbers {
	display: inline-block;
	margin: 2px;
	padding: 6px 10px;
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-s, 8px);
	color: var(--color-text-2);
	text-decoration: none;
	font-size: 14px;
}

.wallex-kb-cards__pagination .page-numbers.current {
	background: var(--color-primaryBrandBg);
	border-color: var(--color-primaryBrandStroke);
	color: var(--color-onColorLightText);
}

.wallex-kb-cards__pagination .page-numbers:hover:not(.current) {
	border-color: var(--color-primaryBrandStroke);
	color: var(--color-primaryBrandText);
}

.wallex-kb-cards__grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 16px;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wallex-kb-article-shell .wallex-kb-cards__grid>.wallex-kb-card,
.wallex-kb-article-shell article.wallex-kb-card {
	display: block;
	width: auto;
	max-width: none;
	float: none;
	clear: none;
	margin: 0;
}

.wallex-kb-card {
	margin: 0;
	border: 1px solid var(--color-stroke);
	border-radius: var(--wallex-kb-radius-m, 12px);
	overflow: hidden;
	background: var(--color-bg-2);
	transition: box-shadow 0.15s ease;
	box-sizing: border-box;
}

.wallex-kb-card:hover {
	box-shadow: var(--wallex-kb-shadow-card-hover);
}

.wallex-kb-card__link {
	background: var(--color-bg);
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 14px;
}

.wallex-kb-card__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.wallex-kb-card__thumb img {
	width: 75%;
	height: 75%;
	object-fit: scale-down;
	display: block;
}

.wallex-kb-card__title {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	text-align: center;
	min-height: 40px;
}

.wallex-kb-card__excerpt {
	margin: 0;
	padding: 14px;
	font-size: 13px;
	color: var(--color-text-2);
	line-height: 1.45;
}

.wallex-kb-card__link_excerpt {
	display: block;
	text-decoration: none;
	text-align: center;
}


/**
 * Front-end voting + shortlink (inside .wallex-kb-article-shell).
 *
 * @package Wallex\KnowledgeBase
 */

.wallex-kb-vote,
.wallex-kb-shortlink {
	--wallex-kb-radius-s: var(--cornerRadiusM, 8px);
	--wallex-kb-radius-m: var(--cornerRadiusL, 12px);
}

.wallex-kb-vote {
	display: flex;
	flex-direction: row;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	margin: 16px 0;
	padding: 20px 24px;
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-m, 12px);
	background: var(--color-bg);
}

.wallex-kb-vote__prompt {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text-1);
}

.wallex-kb-vote__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wallex-kb-vote__inner {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wallex-kb-vote__icon--img img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.wallex-kb-vote__icon--emoji {
	font-size: 18px;
	line-height: 1;
}

.wallex-kb-vote__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--wallex-kb-radius-s, 8px);
	border: 1px solid var(--color-stroke-2);
	background: var(--color-bg-2);
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	color: var(--color-text-2);
}

.wallex-kb-vote__btn:hover:not(:disabled) {}

.wallex-kb-vote__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.wallex-kb-vote__btn--like:hover {
	background-color: var(--color-approveBg-4);
}

.wallex-kb-vote__btn--dislike:hover {
	background-color: var(--color-criticalBg-4);
}

.wallex-kb-vote__btn--like.is-active {
	border-color: var(--color-approveStroke);
	background: var(--color-approveBg-3);
}

.wallex-kb-vote__btn--dislike.is-active {
	border-color: var(--color-criticalStroke);
	background: var(--color-criticalBg-3);
}

.wallex-kb-vote__count {
	font-weight: 600;
	color: var(--color-text-2);
}

.wallex-kb-vote__message:not(.screen-reader-text) {
	margin: 0 !important;
	font-size: 14px;
	color: var(--color-approveText);
}

/* Short link */
.wallex-kb-shortlink {
	padding: 16px 20px;
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-m, 12px);
	background: var(--color-bg);
}

.wallex-kb-share {
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--color-stroke-2);
	display: flex;
	flex-direction: row;
	align-items: center;
	align-content: center;
	justify-content: space-between;
}

.wallex-kb-share__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-1);
}

.wallex-kb-share__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wallex-kb-share__link {
	align-items: center;
	background: var(--color-bg-2);
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-s, 8px);
	color: var(--color-text-2);
	display: inline-flex;
	padding: 7px;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.wallex-kb-share__icon {
	display: block;
	height: 20px;
	width: 20px;
}

.wallex-kb-share__link:hover,
.wallex-kb-share__link:focus {
	border-color: var(--color-primaryBrandStroke);
	color: var(--color-primaryBrand);
	text-decoration: none;
}
.wallex-kb-shortlink-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	align-content: center;
}

.wallex-kb-shortlink__title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-1);
}

.wallex-kb-shortlink__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.wallex-kb-shortlink__input {
	flex: 1 1 200px;
	text-align: left;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid var(--color-stroke-2);
	border-radius: var(--wallex-kb-radius-s, 8px);
	font-size: 13px;
	color: var(--color-text-2);
	background: var(--color-bg-2);
}

.wallex-kb-shortlink__copy.button {
	margin: 0;
	padding: 7px 14px;
	height: auto;
	line-height: 1.4;
	border-radius: var(--wallex-kb-radius-s, 8px);
	cursor: pointer;
	background: var(--color-bg-2);
	color: var(--color-text-2);
}

.wallex-kb-shortlink__feedback {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--color-approveText);
}

.wallex-kb-shortlink__feedback:not(.screen-reader-text) {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
}

@media (max-width: 768px) {
	.wallex-kb-vote {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		display: flex;
		align-content: center;
		gap: 10px;
	}
}


/**
 * Help Center home page layout (page template).
 *
 * @package Wallex\KnowledgeBase
 */

body.wallex-kb-home-center-page .wallex-kb-hc-shell.wallex-kb-article-shell {
	padding-top: 32px;
	padding-bottom: 48px;
}

.wallex-kb-hc {
	width: 100%;
}

.wallex-kb-hc-search.wallex-kb-search-form {
	max-width: 100%;
}

.wallex-kb-hc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
	margin-top: 8px;
}

.wallex-kb-hc-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--color-text-2, rgba(0, 0, 0, 0.6));
	margin: 0;
}

.wallex-kb-hc-grid>.wallex-kb-card.wallex-kb-hc-card {
	display: flex;
	flex-direction: column;
	min-height: 305px;
	height: 100%;
	margin: 0;
	border: 1px solid var(--color-stroke);
	border-radius: var(--wallex-kb-radius-m, 12px);
	overflow: hidden;
	background: var(--color-bg);
	transition: box-shadow 0.15s ease;
	box-sizing: border-box;
}

.wallex-kb-hc-grid>.wallex-kb-card.wallex-kb-hc-card:hover {
	box-shadow: var(--wallex-kb-shadow-card-hover);
}

.wallex-kb-hc-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wallex-kb-hc-card__head {
	background: var(--color-bg-2);
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.wallex-kb-hc-card__head .wallex-kb-card__thumb {
	aspect-ratio: auto;
	min-height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wallex-kb-hc-card__head .wallex-kb-card__thumb img {
	width: auto;
	height: auto;
	max-width: 72px;
	max-height: 72px;
	object-fit: contain;
}

.wallex-kb-hc-card__title {
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text-1);
	padding-bottom: 0;
	min-height: auto;
}

.wallex-kb-hc-card__links {
	list-style: none;
	margin: 0;
	padding: 8px 14px 14px;
	flex: 1;
	min-width: 0;
	text-align: center;
	height: 100%;
}

.wallex-kb-hc-card__links li {
	margin: 6px 0;
	line-height: 1.45;
	min-width: 0;
}

.wallex-kb-hc-card__link-item a,
.wallex-kb-hc-card__view-all a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	text-decoration: none;
	cursor: pointer;
	color: var(--color-text-2);
}

.wallex-kb-hc-card__link-item a:hover,
.wallex-kb-hc-card__view-all a:hover {
	text-decoration: underline;
}

.wallex-kb-hc-card__view-all {
	margin-top: 8px;
	padding: 8px;
	border-top: 1px solid var(--color-stroke-3, rgba(0, 0, 0, 0.08));
	text-align: center;
}

.wallex-kb-hc-card__view-all a {
	font-weight: 600;
	font-size: 14px;
}

@media (max-width: 960px) {
	.wallex-kb-hc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.wallex-kb-hc-grid {
		grid-template-columns: 1fr;
	}
}