/* Knowledge Base shared styles */
.kb-page {
	background: linear-gradient(180deg, #f9fbff 0%, #f3f6fb 40%, #ffffff 100%);
	color: #1f2933;
	min-height: 100vh;
	position: relative;
}

.kb-page::before {
	content: "";
	position: fixed;
	top: -140px;
	right: -120px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle at center, rgba(208,2,40,0.12) 0%, rgba(208,2,40,0) 70%);
	z-index: -1;
	filter: blur(.3px);
}

.kb-page #navi_bg {
	background: url(../images/navi_bg.png) repeat-x center center;
}

.kb-container,
.kb-hero-inner,
.kb-utility,
.kb-hero a,
.kb-breadcrumbs a,
.kb-card h2 a,
.kb-card p a,
.kb-meta a,
.kb-cta a,
.kb-toc a,
.kb-article-content a,
.kb-related-list a {
	color: inherit;
}

.kb-article-content a {
	color: #d00228;
	text-decoration: underline;
}
.kb-cta,
.kb-detail-wrapper,
.kb-related,
.kb-feedback {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 18px;
	box-sizing: border-box;
}

.kb-hero {
	background: radial-gradient(circle at left top, rgba(208,2,40,0.16), transparent 60%), #ffffff;
	border-bottom: 1px solid rgba(222,7,45,0.12);
	padding: 46px 0 36px;
	position: relative;
	overflow: hidden;
}

.kb-hero-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 18px;
}

.kb-utility,
.kb-wrap {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 18px;
	box-sizing: border-box;
}

.kb-hero h1 {
	margin: 0;
	font-size: 34px;
	color: #c50f2f;
	letter-spacing: 0.02em;
	text-shadow: 0 6px 20px rgba(197,15,47,0.2);
}

.kb-hero p {
	margin: 8px 0 0;
	max-width: 620px;
	color: #4a5568;
}

.kb-breadcrumbs {
	font-size: 13px;
	color: #6b7280;
}
.avone li a {
    display: block;
    padding: 16px 16px 16px 16px	!important;
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    color: #ffffff;
}
/* Listing utilities */
.kb-utility {
	margin: 24px auto;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.kb-search {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
}

.kb-search input {
	flex: 1;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid rgba(148,163,184,0.6);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.kb-search button {
	padding: 12px 20px;
	border: none;
	border-radius: 12px;
	background: #d00228;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.kb-search button:hover {
	background: #a7001f;
	transform: translateY(-1px);
}

.kb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kb-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(208,2,40,0.2);
	color: #c50f2f;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.kb-pill.is-active,
.kb-pill:hover {
	background: #d00228;
	color: #fff;
	border-color: #d00228;
}

@media (max-width: 768px) {
	.kb-hero-inner,
	.kb-utility,
	.kb-wrap {
		padding: 0 16px;
	}
}

.kb-wrap {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	margin-bottom: 42px;
}

.kb-side {
	flex: 0 0 260px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 45px rgba(15,23,42,0.08);
	border: 1px solid rgba(148,163,184,0.25);
}

.kb-side h3 {
	margin: 0;
	padding: 18px 20px 14px;
	font-size: 16px;
	border-bottom: 1px solid rgba(148,163,184,0.2);
}

.kb-cats {
	list-style: none;
	margin: 0;
	padding: 10px 0;
}

.kb-cats li a {
	display: block;
	padding: 10px 20px;
	text-decoration: none;
	color: #1f2933;
	font-size: 15px;
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
}

.kb-cats li a:hover {
	background: rgba(208,2,40,0.06);
}

.kb-cats li a.active {
	background: rgba(208,2,40,0.12);
	border-left-color: #d00228;
	font-weight: 600;
}

.kb-list {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kb-card {
	background: #fff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 24px 45px rgba(15,23,42,0.08);
	border: 1px solid rgba(148,163,184,0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kb-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 32px 55px rgba(15,23,42,0.12);
}

.kb-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #15223c;
}

.kb-card h2 a {
	text-decoration: none;
	color: inherit;
}

.kb-card p {
	margin: 0 0 14px;
	line-height: 1.6;
	color: #4a5568;
}

.kb-meta {
	font-size: 13px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 12px;
}

.kb-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.kb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.kb-tags li {
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(208,2,40,0.08);
	color: #c50f2f;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.kb-tags--detail {
	margin-top: 18px;
}

.kb-tags--detail li {
	background: rgba(21,34,60,0.08);
	color: #1f2933;
}

.kb-empty {
	padding: 40px 24px;
	text-align: center;
	background: #fff;
	border-radius: 18px;
	border: 1px dashed rgba(208,2,40,0.4);
	color: #4a5568;
}

.kb-cta {
	margin: 0 auto 60px;
	background: #ffe4e9;
	border-radius: 18px;
	padding: 24px 26px;
	border: 1px solid rgba(208,2,40,0.22);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.kb-cta strong {
	font-size: 18px;
	color: #15223c;
}

.kb-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 999px;
	background: #d00228;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

/* Detail page */
.kb-detail-hero {
	padding: 36px 0 28px;
	background: #fff;
	border-bottom: 1px solid rgba(148,163,184,0.2);
}

.kb-detail-title {
	margin: 12px 0 16px;
	font-size: 34px;
	color: #15223c;
	line-height: 1.2;
}

.kb-detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 14px;
	color: #6b7280;
}

.kb-detail-actions {
	margin-top: 20px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.kb-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(148,163,184,0.4);
	background: #fff;
	cursor: pointer;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.kb-btn.primary {
	background: #d00228;
	color: #fff;
	border-color: #d00228;
}

.kb-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 25px rgba(15,23,42,0.12);
}

.kb-share {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.kb-share-toggle::after {
	content: "\f067";
	font-family: "FontAwesome";
	font-size: 12px;
	margin-left: 6px;
}

.kb-share-popover {
	position: absolute;
	top: 110%;
	right: 0;
	background: #fff;
	border: 1px solid rgba(148,163,184,0.2);
	border-radius: 14px;
	box-shadow: 0 22px 45px rgba(15,23,42,0.18);
	min-width: 220px;
	padding: 12px;
	display: none;
	flex-direction: column;
	gap: 10px;
	z-index: 10;
}

.kb-share-popover a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	color: #15223c;
}

.kb-share-popover a:hover {
	background: rgba(208,2,40,0.08);
	color: #d00228;
}

.kb-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #fff;
	font-size: 15px;
}

.kb-share-icon.fa-facebook { background: #1877f2; }
.kb-share-icon.fa-linkedin { background: #0a66c2; }
.kb-share-icon.fa-twitter { background: #1d9bf0; }
.kb-share-icon.fa-instagram { background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 75%, #515bd4 100%); }
.kb-share-icon.fa-youtube-play { background: #ff0000; }
.kb-share-icon.fa-reddit-alien { background: #ff4500; }

.kb-share.is-open .kb-share-popover {
	display: flex;
}

.kb-share.is-open .kb-share-toggle::after {
	content: "\f068";
}

.kb-share .kb-share-toggle {
	background: linear-gradient(90deg, #d00228 0%, #a7001f 100%);
	color: #fff;
	border-color: #d00228;
}

.kb-share .kb-share-toggle:hover {
	box-shadow: 0 12px 25px rgba(208,2,40,0.25);
}

.kb-detail-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	margin: 42px auto 36px;
}

.kb-toc {
	flex: 0 0 260px;
	position: sticky;
	top: 120px;
	background: #fff;
	border-radius: 18px;
	border: 1px solid rgba(148,163,184,0.25);
	box-shadow: 0 18px 40px rgba(15,23,42,0.08);
	padding: 20px;
	max-height: calc(100vh - 160px);
	overflow-y: auto;
}

.kb-toc h3 {
	margin: 0 0 12px;
	font-size: 16px;
}

.kb-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kb-toc a {
	text-decoration: none;
	color: #1f2933;
	font-size: 14px;
	line-height: 1.4;
	border-left: 3px solid transparent;
	padding-left: 10px;
}

.kb-toc a:hover {
	border-left-color: #d00228;
	color: #c50f2f;
}

.kb-article {
	flex: 1;
	background: #fff;
	border-radius: 22px;
	padding: 36px 38px;
	box-shadow: 0 32px 55px rgba(15,23,42,0.1);
	border: 1px solid rgba(148,163,184,0.25);
}

.kb-article-content {
	font-size: 17px;
	line-height: 1.78;
	color: #243240;
}

.kb-article-content h2,
.kb-article-content h3,
.kb-article-content h4 {
	margin-top: 32px;
	margin-bottom: 14px;
	color: #15223c;
}

.kb-article-content h2 {
	font-size: 28px;
}

.kb-article-content h3 {
	font-size: 22px;
}

.kb-article-content p {
	margin-bottom: 16px;
}

.kb-article-content ul,
.kb-article-content ol {
	margin: 0 0 20px 24px;
}

.kb-article-content li {
	margin-bottom: 8px;
}

.kb-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 16px 35px rgba(15,23,42,0.12);
	margin: 22px 0;
}

.kb-article-content pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 16px;
	border-radius: 14px;
	overflow: auto;
	font-size: 14px;
	line-height: 1.6;
	margin: 26px 0;
}

.kb-article-content code {
	background: rgba(15,23,42,0.08);
	padding: 2px 6px;
	border-radius: 6px;
}

.kb-article-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.kb-article-content th,
.kb-article-content td {
	border: 1px solid rgba(148,163,184,0.4);
	padding: 12px;
	text-align: left;
}

.kb-highlight {
	border-left: 4px solid #d00228;
	background: rgba(208,2,40,0.08);
	padding: 14px 18px;
	border-radius: 14px;
	margin: 24px 0;
}

.kb-qa-card {
	border: 1px solid rgba(148,163,184,0.25);
	border-radius: 16px;
	padding: 18px;
	margin: 24px 0;
	background: #fff5f7;
}

.kb-qa-card strong {
	display: block;
	margin-bottom: 12px;
	color: #c50f2f;
}

.kb-feedback {
	margin-bottom: 42px;
	padding: 28px 24px;
	background: #fff;
	border-radius: 20px;
	border: 1px solid rgba(148,163,184,0.2);
	box-shadow: 0 18px 40px rgba(15,23,42,0.08);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.kb-feedback-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.kb-feedback-actions button {
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(148,163,184,0.4);
	background: #fff;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s ease;
}

.kb-feedback-actions button:hover {
	background: #d00228;
	color: #fff;
	border-color: #d00228;
}

.kb-feedback-actions button.is-disabled {
	opacity: 0.55;
	cursor: default;
}

.kb-feedback-state {
	flex: 1 1 100%;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #1f2933;
}

.kb-feedback-state.is-success {
	color: #047857;
}

.kb-feedback-state.is-error {
	color: #b91c1c;
}

.kb-related {
	margin-bottom: 60px;
}

.kb-related h3 {
	margin: 0 0 18px;
	color: #15223c;
}

.kb-related-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.kb-related-list a {
	display: block;
	padding: 18px 20px;
	background: #fff;
	border-radius: 18px;
	border: 1px solid rgba(148,163,184,0.25);
	text-decoration: none;
	color: #1f2933;
	transition: all 0.2s ease;
}

.kb-related-list a:hover {
	background: rgba(208,2,40,0.06);
	border-color: #d00228;
}

@media (max-width: 960px) {
	.kb-wrap {
		flex-direction: column;
	}
	.kb-side {
		flex: none;
		width: 100%;
	}
	.kb-detail-wrapper {
		flex-direction: column;
	}
	.kb-toc {
		position: static;
		max-height: none;
		width: 100%;
	}
}

@media (max-width: 640px) {
	.kb-hero h1 {
		font-size: 26px;
	}
	.kb-search {
		flex-direction: column;
	}
	.kb-search button {
		width: 100%;
	}
	.kb-btn,
	.kb-feedback-actions button {
		width: 100%;
		justify-content: center;
	}
	.kb-article {
		padding: 28px 22px;
	}
	.kb-detail-title {
		font-size: 28px;
	}
}
