/**
 * Help Center — Panduan Peserta Lisanul Arab
 * Identik dengan Salik Book Store, disesuaikan warna biru & font Inter
 *
 * @package Lisanularab
 * @since 1.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--hc-header-h:  61px;
	--hc-sidebar-w: 278px;
	--hc-toc-w:     224px;
	--hc-green:     #0055ff;
	--hc-green-lt:  #eff6ff;
	--hc-green-bd:  #bfdbfe;
	--hc-text:      #121317;
	--hc-muted:     #6b7280;
	--hc-subtle:    #9ca3af;
	--hc-bg:        #ffffff;
	--hc-bg-2:      #f9fafb;
	--hc-border:    #d3d8df;
	--hc-font:      "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Ubuntu", sans-serif;
}

html,
body {
	height: 100%;
	font-family: var(--hc-font);
	background: var(--hc-bg);
	color: var(--hc-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

/* =====================================================
   HEADER
   ===================================================== */

.hc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--hc-header-h);
	background: var(--hc-bg);
	border-bottom: 1px solid var(--hc-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px 0 0;
	z-index: 100;
}

.hc-sidebar-search {
	display: none;
}

.hc-header-left {
	display: flex;
	align-items: center;
	width: auto;
	min-width: var(--hc-sidebar-w);
	padding: 0 40px;
	flex-shrink: 0;
	gap: 10px;
}

.hc-ham {
	display: none;
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	color: #111;
	border-radius: 6px;
	align-items: center;
	transition: background .15s;
	box-shadow: none;
}
.hc-ham:hover  { background: transparent; color: #111; }
.hc-ham:active { background: transparent; color: #111; }
.hc-ham:focus  { background: transparent; color: #111; }

.hc-header-logo {
	display: flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	flex: 1;
}

.hc-logo-mark {
	width: 26px;
	height: 26px;
	background: var(--hc-green);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hc-logo-mark svg { width: 14px; height: 14px; }

.hc-logo-name {
	font-size: 16px;
	font-weight: 550;
	color: #121317;
	letter-spacing: -.01em;
	margin-left: 10px;
}

.hc-header-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 28px;
	gap: 10px;
}

.hc-header-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border: 1.5px solid var(--hc-border);
	border-radius: 10px;
	background: #ffffff;
	width: 320px;
	cursor: text;
	transition: border-color .15s;
}
.hc-header-search:focus-within { border-color: #d1d5db; }

.hc-header-search svg {
	color: #9ca3af;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
}

.hc-header-search input {
	border: none !important;
	outline: none !important;
	background: transparent;
	font-size: 14px;
	color: var(--hc-text);
	font-family: var(--hc-font);
	flex: 1;
	min-width: 0;
	height: 100%;
}
.hc-header-search input::placeholder       { color: #9ca3af; }
.hc-header-search input::placeholder:hover { border: none !important; }

.hc-search-kbd {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 11px;
	color: #6f7988;
	border: 1.5px solid var(--hc-border);
	border-radius: 5px;
	padding: 2px 6px;
	flex-shrink: 0;
	font-family: var(--hc-font);
	line-height: 1.4;
	white-space: nowrap;
}

/* =====================================================
   SEARCH RESULTS
   ===================================================== */

.hc-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: var(--hc-bg);
	border: 1.5px solid rgba(183, 191, 217, 0.6);
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .20);
	z-index: 200;
	overflow: hidden;
	max-height: 360px;
	overflow-y: auto;
	text-align: left;
}

.hc-search-result-item {
	display: block;
	padding: 10px 14px;
	text-decoration: none;
	border-bottom: 1px solid rgba(183, 191, 217, 0.6);
	transition: background .1s;
}
.hc-search-result-item:last-child { border-bottom: none; }
.hc-search-result-item:hover      { background: #eff6ff; }

.hc-search-result-title { font-size: 14px; font-weight: 500; color: var(--hc-text); }
.hc-search-result-cat   { font-size: 13px; color: var(--hc-subtle); margin-top: 2px; }
.hc-search-empty        { padding: 12px 14px; font-size: 14px; color: var(--hc-subtle); }

/* =====================================================
   BODY WRAP
   ===================================================== */

.hc-body-wrap {
	display: flex;
	position: fixed;
	top: var(--hc-header-h);
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

/* =====================================================
   SIDEBAR
   ===================================================== */

.hc-sidebar {
	width: var(--hc-sidebar-w);
	min-width: var(--hc-sidebar-w);
	height: 100%;
	background: var(--hc-bg-2);
	border-right: 1px solid var(--hc-border);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	flex-shrink: 0;
	transition: transform .25s ease;
}

.hc-nav {
	flex: 1;
	overflow-y: auto;
	padding: 12px 8px 8px;
	scrollbar-width: thin;
	scrollbar-color: #c0c4cc transparent;
}
.hc-nav::-webkit-scrollbar       { border-left: 1px solid #000 !important;}
.hc-nav::-webkit-scrollbar-track { border-left: 1px solid #000 !important}
.hc-nav::-webkit-scrollbar-thumb { background-color: #000; border-radius: 99px; border-left: 1px solid #000 !important}

.hc-nav-section       { margin-bottom: 2px; }

.hc-nav-section-title {
	font-size: 14px;
	font-weight: 600;
	color: #121317;
	text-transform: uppercase;
	letter-spacing: .0em;
	padding: 14px 16px 5px 16px;
}

.hc-nav-item {
	display: block;
	padding: 7px 16px 7px 20px;
	font-size: 14px;
	font-weight: 400;
	color: #374151;
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: background .12s, color .12s;
	line-height: 1.5;
}
.hc-nav-item:hover {
	background: rgba(0, 0, 0, .03);
	color: var(--hc-text);
	border-radius: 5px;
}
.hc-nav-item.active {
	background: rgba(0, 85, 255, .07);
	border-radius: 5px;
	color: var(--hc-green);
	font-weight: 500;
}

.hc-nav-back {
	font-size: 14px;
	color: #121317;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.hc-nav-divider {
	height: 1px;
	background: var(--hc-border);
	margin: 8px 16px;
}

.hc-sidebar-footer {
	padding: 15px 16px;
	border-top: 1px solid var(--hc-border);
	flex-shrink: 0;
	background: #000;
}
.hc-sidebar-footer a {
	display: flex;
	align-items: center !important;
	justify-content: center;
	gap: 7px;
	font-size: 14px;
	color: #fff !important;
	font-weight: 500 !important;
	text-decoration: none;
	transition: color .15s;
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

.hc-main {
	flex: 1;
	display: flex;
	overflow: hidden;
	min-width: 0;
}

.hc-content {
	flex: 1;
	min-width: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 44px 56px 80px 56px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
/* .hc-content::-webkit-scrollbar { display: none; } */

/* =====================================================
   BREADCRUMB
   ===================================================== */

.hc-breadcrumb {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: var(--hc-muted);
	margin-bottom: 20px;
}
.hc-breadcrumb a        { color: var(--hc-muted); text-decoration: none; transition: color .15s; }
.hc-breadcrumb a:hover  { color: var(--hc-text); }
.hc-breadcrumb span     { color: var(--hc-text); font-weight: 500; }

.hc-category-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	color: #0055ff;
	background: #eff6ff;
	border: 1px solid #0055ff;
	border-radius: 6px;
	padding: 3px 10px;
	margin-bottom: 14px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .02em;
}

/* =====================================================
   ARTIKEL
   ===================================================== */

.hc-article-title {
	font-size: 36px;
	font-weight: 500;
	color: #1f1f1f;
	line-height: 1.25;
	letter-spacing: -.0em;
	margin-bottom: 10px;
	max-width: 690px;
}

.hc-article-meta {
	font-size: 13px;
	color: #6B7280;
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--hc-border);
	max-width: 690px;
	letter-spacing: 0.01em;
}

.hc-article-body { max-width: 690px; }

.hc-article-body h2 {
	font-size: 26px;
	font-weight: 500;
	color: #1f1f1f;
	margin: 40px 0 12px;
	letter-spacing: -.015em;
	line-height: 1.3;
}
.hc-article-body h3 {
	font-size: 20px;
	font-weight: 500;
	color: #1f1f1f;
	margin: 28px 0 10px;
	line-height: 1.4;
}
.hc-article-body h4 {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--hc-text);
	margin: 20px 0 8px;
}
.hc-article-body p {
	font-size: 16px;
	line-height: 26px;
	color: #1f1f1f;
	margin-bottom: 16px;
	font-weight: 400;
}
.hc-article-body p strong { font-weight: 600; color: var(--hc-text); }

.hc-article-body ol,
.hc-article-body ul {
	padding-left: 22px;
	margin-bottom: 16px;
}
.hc-article-body ul { list-style: disc; }
.hc-article-body ol { list-style: decimal; }
.hc-article-body li {
	font-size: 16px;
	line-height: 26px;
	color: #1f1f1f;
	margin-bottom: 5px;
	font-weight: 400;
}
.hc-article-body li strong { font-weight: 600; color: var(--hc-text); }

.hc-article-body a {
	color: var(--hc-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hc-article-body a:hover { color: #1d4ed8; }

.hc-article-body code {
	font-size: 12.5px;
	background: #f3f4f6;
	border: 1px solid var(--hc-border);
	border-radius: 4px;
	padding: 1px 6px;
	font-family: 'SF Mono', 'Fira Code', monospace;
}

.hc-article-body blockquote {
	border-left: 3px solid var(--hc-green);
	padding-left: 16px;
	margin: 20px 0;
}
.hc-article-body blockquote p { 
	color: var(--hc-muted);
	font-size: 16px;
}

.hc-article-body img {
	max-width: 100%;
	border-radius: 8px;
	border: 1px solid var(--hc-border);
	margin: 20px 0;
}
.hc-article-body hr {
	border: none;
	border-top: 1px solid var(--hc-border);
	margin: 32px 0;
}

/* =====================================================
   HINT BOXES
   ===================================================== */

.hc-hint {
	border-left: 3px solid;
	padding: 12px 16px;
	margin: 16px 0;
	border-radius: 0 6px 6px 0;
}
.hc-hint.info    { border-color: #3b82f6; background: #eff6ff; }
.hc-hint.info p  { color: #1e40af; }
.hc-hint.warning { border-color: #f59e0b; background: #fffbeb; }
.hc-hint.warning p { color: #92400e; }
.hc-hint.success { border-color: var(--hc-green); background: var(--hc-green-lt); }
.hc-hint.success p { color: #1d4ed8; }

/* =====================================================
   WAS THIS HELPFUL
   ===================================================== */

.hc-helpful {
	max-width: 690px;
	margin-top: 52px;
	padding-top: 24px;
	border-top: 1px solid var(--hc-border);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.hc-helpful-label {
	font-size: 14px;
	color: var(--hc-muted);
	font-weight: 550;
}

.hc-helpful-btn {
	font-size: 13px;
	font-weight: 500;
	padding: 8px 16px;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	background: var(--hc-bg);
	color: var(--hc-muted);
	cursor: pointer;
	font-family: var(--hc-font);
	transition: all .15s;
	box-shadow: none;
	min-width: 80px;
	text-align: center;
}
.hc-helpful-btn:hover { border-color: #000; background: #000; color: #fff; }
.hc-helpful-btn.voted {
	background: var(--hc-green-lt);
	border-color: var(--hc-green-bd);
	color: var(--hc-green);
}

/* =====================================================
   ARTICLE NAV (PREV / NEXT)
   ===================================================== */

.hc-article-nav {
	max-width: 690px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 40px;
	margin-bottom: 60px;
}

.hc-article-nav-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	text-decoration: none;
	transition: border-color .15s, background .15s;
}
.hc-article-nav-item:hover {
	border-color: var(--hc-green);
	background: var(--hc-green-lt);
}
.hc-article-nav-item.next { text-align: right; }

.hc-article-nav-label {
	font-size: 13px;
	color: #6B7280;
	font-weight: 500;
	letter-spacing: .05em;
}
.hc-article-nav-title {
	font-size: 15px;
	font-weight: 500;
	color: #1f1f1f;
	line-height: 19px;
}

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */

.hc-toc {
	width: var(--hc-toc-w);
	min-width: var(--hc-toc-w);
	height: 100%;
	overflow-y: auto;
	padding: 24px 20px 40px 24px;
	flex-shrink: 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
	margin-right: 40px !important;
}
/* .hc-toc::-webkit-scrollbar { display: none; } */

.hc-toc-title {
	font-size: 14px;
	font-weight: 600;
	color: #121317;
	text-transform: uppercase;
	letter-spacing: .0em;
	margin-bottom: 12px;
}

.hc-toc-list { list-style: none; padding: 0.1; margin: 0; }

.hc-toc-item a {
	display: block;
	font-size: 15px;
	color: var(--hc-muted) !important;
	text-decoration: none;
	padding: 5px 8px;
	margin-bottom: 1px;
	border-radius: 5px;
	line-height: 1.3;
	transition: color .12s, background .12s;
	letter-spacing: 0.02em;
}
.hc-toc-item a:hover { color: var(--hc-text); background: rgba(0, 0, 0, .03); border-radius: 5px;}
.hc-toc-item.active a {
	color: var(--hc-green);
	background: rgba(0, 85, 255, .07);
	font-weight: 500;
	border-radius: 5px;
}
.hc-toc-h3 a { padding-left: 18px; font-size: 14px; }

/* =====================================================
   NO SIDEBAR (HOME & KATEGORI)
   ===================================================== */

.hc-no-sidebar .hc-sidebar { display: none; }
.hc-no-sidebar .hc-main    { justify-content: center; }
.hc-no-sidebar .hc-home    { max-width: 1000px; margin: 0 auto; width: 100%; }

/* =====================================================
   HOME / KATEGORI
   ===================================================== */

.hc-home {
	flex: 1;
	overflow-y: auto;
	padding: 52px 56px 72px;
	scrollbar-width: none;
}
/* .hc-home::-webkit-scrollbar { display: none; } */

.hc-home-hero {
	max-width: 800px;
	margin: 0 auto 32px;
	text-align: center;
}

.hc-home-title {
	font-size: 40px;
	font-weight: 500;
	color: #121317;
	letter-spacing: -.02em;
	margin-bottom: 10px;
}

.hc-home-sub {
	font-size: 15px;
	color: var(--hc-muted);
	line-height: 1.6;
	margin-bottom: 24px;
}

@media (min-width: 769px) {
	.hc-home-title {
		white-space: nowrap;
	}
	.hc-home-sub {
		white-space: nowrap;
	}
	.hc-logo-name {
		display: none;
	}
}

/* .hc-home-search-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 16px;
	border: 1.5px solid rgba(183, 191, 217, 0.6);
	border-radius: 10px;
	background: var(--hc-bg);
	max-width: 440px;
	margin: 0 auto;
	position: relative;
	transition: border-color .15s, box-shadow .15s;
}
.hc-home-search-wrap:focus-within {
	border-color: var(--hc-green);
	box-shadow: 0 0 0 3px rgba(0, 85, 255, .08);
}
.hc-home-search-wrap input {
	border: none;
	outline: none;
	font-size: 14px;
	font-family: var(--hc-font);
	color: #111827;
	flex: 1;
	background: transparent;
	box-shadow: none;
}
.hc-home-search-wrap input:focus       { border: none !important; }
.hc-home-search-wrap input::placeholder { color: var(--hc-subtle); } */

.hc-home-search-wrap {
	display: none;
}

.hc-cats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 100%;
	margin: auto;
	padding-top: 20px !important;
}

.hc-cat-card {
	display: block;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: var(--hc-bg);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hc-cat-card:hover {
	border-color: var(--hc-green);
	box-shadow: 0 4px 16px rgba(0, 85, 255, .08);
	transform: translateY(-1px);
}

.hc-cat-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: left;
	margin-bottom: 14px;
	flex-shrink: 0;
}
.hc-cat-card-icon svg { width: 32px; height: 32px; }
.hc-cat-card-icon svg path,
.hc-cat-card-icon svg rect,
.hc-cat-card-icon svg line,
.hc-cat-card-icon svg circle,
.hc-cat-card-icon svg polyline,
.hc-cat-card-icon svg polygon {
	stroke: var(--hc-green);
	fill: transparent;
}

.hc-cat-card-title { font-size: 17px; font-weight: 500; color: var(--hc-text); margin-bottom: 4px; }
.hc-cat-card-count { font-size: 14px; color: #6B7280; }

/* =====================================================
   OVERLAY MOBILE
   ===================================================== */

.hc-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	z-index: 90;
	backdrop-filter: blur(2px);
}
.hc-overlay.show { display: block; }

/* =====================================================
   RESPONSIVE — 1200px
   ===================================================== */

@media (max-width: 1200px) {
	.hc-toc { display: none; }
	.hc-content { padding: 40px 18px 72px !important; }
}

/* =====================================================
   RESPONSIVE — 1024px
   ===================================================== */

@media (max-width: 1024px) {
	.hc-content { padding: 36px 36px 60px; }
	.hc-home    { padding: 40px 0px 60px; }
}

/* =====================================================
   RESPONSIVE — 768px (mobile)
   ===================================================== */

@media (max-width: 768px) {
	.hc-no-sidebar .hc-sidebar { display: flex; }
}

@media (max-width: 768px) {
	.hc-ham { display: flex !important; }

	.hc-header-left {
		width: auto;
		gap: 8px;
		padding: 0 10px;
		flex: 1;
	}

	.hc-article-nav-label {
		font-size: 13px !important;
		color: #6B7280;
		font-weight: 500 !important;
		text-transform: uppercase;
		letter-spacing: .05em;
	}

	.hc-nav-back {
		font-size: 14px !important;
		color: #121317;
		font-weight: 600 !important;
		letter-spacing: 0.01em;
	}

	.hc-header {
		background: #ffffff;
		border-bottom: 1px solid var(--hc-border) !important;
	}

	.hc-header-logo img { display: block; }
.hc-logo-name { display: none; }

	.hc-logo-name {
		font-size: 15px !important;
		font-weight: 550;
		white-space: nowrap;
		color: #fff;
	}

	.hc-header-right { display: none; }

	.hc-sidebar-search {
		display: block;
		padding: 12px 20px;
		border-bottom: 1px solid var(--hc-border);
		flex-shrink: 0;
		margin-left: -3px;
		background: #fff;
	}

	.hc-sidebar-search .hc-sidebar-search-wrap {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 10px 10px;
		border: 1.5px solid var(--color-border);
		border-radius: 8px;
		background: transparent;
		position: relative;
	}
	.hc-sidebar-search .hc-sidebar-search-wrap:focus-within {
		border-color: var(--hc-green);
		box-shadow: 0 0 0 3px rgba(0, 85, 255, .08);
	}

	.hc-sidebar-search input {
		border: none;
		outline: none;
		background: transparent;
		font-size: 14px;
		font-family: var(--hc-font);
		color: var(--hc-text);
		flex: 1;
		min-width: 0;
	}
	.hc-sidebar-search input:focus       { border: none; }
	.hc-sidebar-search input::placeholder { color: #9ca3af; }
	.hc-sidebar-search svg { color: #9ca3af; flex-shrink: 0; }

	.hc-sidebar {
	position: fixed;
	top: var(--hc-header-h);
	left: 0;
	bottom: 0;
	transform: translateX(-100%);
	z-index: 95;
	width: 300px;
	display: flex;
	flex-direction: column;
	height: calc(100vh - var(--hc-header-h));
	background: #fff;
}
	.hc-sidebar.open { transform: translateX(0); }

	.hc-content { padding: 24px 20px 48px; }
	.hc-home    { padding: 24px 20px 48px; }

	.hc-article-title { font-size: 24px; font-weight: 500; }

	.hc-article-body p,
	.hc-article-body li { font-size: 15px; line-height: 24px !important;}

	.hc-article-body h2 { font-size: 24px; }
	.hc-article-body h3 { font-size: 19px; }
	.hc-faq__q { font-size: 15px; line-height: 24px !important; }
	.hc-article-body blockquote p { font-size: 15px; line-height: 24px !important; }

	.hc-home-title { font-size: 24px; }
	.hc-home-sub   { font-size: 15px; line-height: 24px !important; }

	.hc-cats-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
	.hc-article-nav  { grid-template-columns: 1fr; }

	.hc-nav-section-title { font-size: 14px; }
	.hc-nav-item          { font-size: 14px; }

	.hc-helpful-label { font-size: 13px; }
	.hc-helpful-btn   { font-size: 12px; padding: 7px 14px; }

	.hc-article-body ol,
	.hc-article-body ul { margin-left: 10px; }

	.hc-helpful {
		max-width: 690px;
		margin-top: 52px;
		padding-top: 24px;
		border-top: 1px solid var(--hc-border);
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

/* =====================================================
   RESPONSIVE — 480px
   ===================================================== */

@media (max-width: 480px) {
	.hc-cats-grid  { grid-template-columns: 1fr; }
	.hc-article-title { font-size: 29px; }
	.hc-home-title    { 
		font-size: 32px;
		margin-top: 20px;
		padding-right: 12px;
		padding-left: 12px;
	}
}

.hc-faq {
    border: 1px solid var(--color-border);
    border-radius: 5px;
    margin-bottom: 8px;
    overflow: hidden;
}

.hc-faq__q {
    padding: 14px 16px;
    font-weight: 550;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
	line-height: 24px;
	gap: 2px;
}

.hc-faq__q::-webkit-details-marker { display: none; }

.hc-faq__q::after {
    content: '+';
    font-size: 20px;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

details[open] .hc-faq__q::after {
    content: '−';
}

.hc-faq__a {
    padding: 0 16px 14px;
    color: var(--color-text-secondary);
    font-size: 15px !important;
    line-height: var(--line-height-relaxed);
}

.hc-ss-mobile {
    max-width: 360px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hc-article-body img {
    margin-bottom: 36px;
	margin-top: 0px !important;
}

/* =====================================================
   SEARCH POPUP
   ===================================================== */

.hc-search-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 999;
	backdrop-filter: blur(4px);
	align-items: flex-start;
	justify-content: center;
	padding-top: 80px;
}

.hc-search-popup-overlay.open {
	display: flex;
}

.hc-search-popup {
	background: #fff;
	border-radius: 14px;
	width: 100%;
	max-width: 640px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
	overflow: hidden;
	max-height: calc(100vh - 160px);
	display: flex;
	flex-direction: column;
}

.hc-search-popup__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--hc-border);
	flex-shrink: 0;
}

.hc-search-popup__header svg {
	color: #9ca3af;
	flex-shrink: 0;
}

.hc-search-popup__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 16px;
	font-family: var(--hc-font);
	color: var(--hc-text);
	background: transparent;
}

.hc-search-popup__input::placeholder {
	color: var(--hc-subtle);
}

.hc-search-popup__close {
	background: none;
	border: none;
	cursor: pointer;
	color: #000;
	padding: 4px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, color .15s;
}

.hc-search-popup__close:hover {
	background: var(--hc-bg-2);
	color: var(--hc-text);
}

.hc-search-popup__body {
	overflow-y: auto;
	flex: 1;
	scrollbar-width: thin;
	scrollbar-color: #c0c4cc transparent;
}

.hc-search-popup__empty {
	padding: 40px 20px;
	text-align: center;
	font-size: 14px;
	color: var(--hc-muted);
}

.hc-search-popup__label {
	padding: 12px 20px 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--hc-subtle);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.hc-popup-result-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 20px;
	text-decoration: none;
	transition: background .12s;
	border-bottom: 1px solid var(--hc-border);
}

.hc-popup-result-item:last-child {
	border-bottom: none;
}

.hc-popup-result-item:hover {
	background: var(--hc-bg-2);
}

.hc-popup-result-item__icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--hc-green-lt);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.hc-popup-result-item__icon svg {
	color: var(--hc-green);
}

.hc-popup-result-item__info {
	flex: 1;
	min-width: 0;
}

.hc-popup-result-item__title {
	font-size: 15px;
	font-weight: 500;
	color: var(--hc-text);
	margin-bottom: 3px;
}

.hc-popup-result-item__cat {
	font-size: 12px;
	color: var(--hc-subtle);
	margin-bottom: 4px;
}

.hc-popup-result-item__excerpt {
	font-size: 14px;
	color: var(--hc-muted);
	line-height: 1.5;
}

.hc-search-highlight {
	background: #cef431;
	border-radius: 3px;
	padding: 0 2px;
	color: var(--hc-text);
}

.hc-search-popup__footer {
	padding: 10px 20px;
	border-top: 1px solid var(--hc-border);
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.hc-search-popup__hint {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: var(--hc-subtle);
}

.hc-search-popup__hint kbd {
	border: 1px solid var(--hc-border);
	border-radius: 4px;
	padding: 1px 5px;
	font-size: 11px;
	font-family: var(--hc-font);
	color: var(--hc-muted);
	background: var(--hc-bg-2);
}

@media (max-width: 768px) {
	.hc-search-popup-overlay {
		top: var(--hc-header-h);
		padding: 0;
		align-items: flex-start;
	}

	.hc-search-popup {
		border-radius: 0;
		max-height: calc(100vh - var(--hc-header-h));
		width: 100%;
	}

	.hc-search-popup__footer {
		display: none;
	}
}

.hc-header-nav-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--hc-text);
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 4px;
	transition: background .15s;
	white-space: nowrap;
}
.hc-header-nav-link:hover {
	background: var(--hc-bg-2);
}
.hc-header-nav-link--primary {
	background: #111;
	color: #fff;
}
.hc-header-nav-link--primary:hover {
	background: #333;
}

.hc-sidebar-footer__buttons {
	display: none;
}

@media (max-width: 768px) {
	.hc-sidebar-footer__buttons {
		display: flex;
		gap: 8px;
		margin-bottom: 12px;
	}

	.hc-sidebar-footer {
		margin-bottom: 56px;
	}
}

.hc-sidebar-footer__btn {
	flex: 1;
	text-align: center !important;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: background .15s;
	box-sizing: border-box;
}

.hc-sidebar-footer__btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.hc-sidebar-footer__btn--primary {
	background: var(--hc-green);
	color: #fff !important;
}