/* ==========================================================
   FAQ Page Widget
   ========================================================== */

/* Layout */
.faqp-layout {
	display: flex;
	gap: 36px;
	align-items: flex-start;
}

.faqp-main {
	flex: 1;
	min-width: 0;
}

/* Search */
.faqp-search-wrapper {
	position: relative;
	margin-bottom: 10px;
}

.faqp-search-input {
	width: 100%;
	padding: 14px 50px 14px 18px;
	font-size: 15px;
	border: 1px solid #dde2ec;
	border-radius: 8px;
	outline: none;
	background: #fff;
	color: #333;
	box-sizing: border-box;
}

.faqp-search-input::placeholder {
	color: #a0a6b4;
}

.faqp-search-icon {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #1a2e5a;
	font-size: 20px;
	pointer-events: none;
}

/* FAQ List */
.faqp-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* FAQ Item */
.faqp-item {
	background: #fff;
	border: 1px solid #dde2ec;
	border-radius: 8px;
	transition: box-shadow 0.25s;
}

.faqp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 20px;
	cursor: pointer;
	gap: 16px;
	user-select: none;
}

.faqp-title {
	font-size: 16px;
	font-weight: 700;
	color: #0a1e3d;
	line-height: 1.45;
	flex: 1;
	margin: 0;
	padding: 0;
}

.faqp-toggle {
	font-size: 24px;
	font-weight: 300;
	color: #0a1e3d;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s;
	line-height: 1;
}

.faqp-item.active .faqp-toggle {
	transform: rotate(45deg);
}

/* Expandable body */
.faqp-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 20px;
}

.faqp-item.active .faqp-body {
	max-height: 600px;
	padding: 0 20px 24px;
}

.faqp-body p {
	font-size: 14px;
	color: #555;
	line-height: 1.8;
	margin-bottom: 6px;
}

.faqp-body p:last-child {
	margin-bottom: 0;
}

/* Sidebar */
.faqp-sidebar {
	width: 300px;
	flex-shrink: 0;
	position: sticky;
	top: 30px;
}

.faqp-sidebar-content {
	background: transparent;
	padding: 0;
}

.faqp-sidebar-title {
	font-size: 17px;
	font-weight: 800;
	color: #0a1e3d;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.faqp-sidebar-title i {
	font-size: 16px;
	color: #0056b3;
}

.faqp-nav-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
}

.faqp-nav-link {
	display: block;
	padding: 7px 0;
	font-size: 13px;
	color: #0056b3;
	text-decoration: none;
	line-height: 1.5;
	transition: color 0.2s;
}

.faqp-nav-link:hover {
	color: #003d80;
	text-decoration: underline;
}

.faqp-nav-link.active {
	color: #003d80;
	font-weight: 600;
}

/* No result */
.faqp-no-result {
	display: none;
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-size: 15px;
}

.faqp-no-result i {
	font-size: 36px;
	display: block;
	margin-bottom: 12px;
	color: #d0d5dd;
}

.faqp-no-result.show {
	display: block;
}

/* Responsive */
@media (max-width: 860px) {
	.faqp-layout {
		flex-direction: column;
	}

	.faqp-sidebar {
		width: 100% !important;
		position: static;
		order: -1;
	}
}