/* ============================================================================
   FAQ PAGE STYLES (page-faq.php)
   ============================================================================ */

.faq-intro-block {
	background: #fff;
	border-radius: 14px;
	padding: 32px 30px;
	border: 1px solid #e5e7eb;
	margin-bottom: 36px;
}
.faq-intro-block h2 {
	font-size: 1.5rem;
	color: #0a1628;
	margin: 0 0 14px;
}
.faq-intro-block p {
	color: #4a5568;
	line-height: 1.7;
	margin: 0 0 12px;
}
.faq-intro-block p:last-child { margin-bottom: 0; }
.faq-intro-block a { color: #0a1628; font-weight: 600; }
.faq-intro-block a:hover { color: #ffb81c; }

/* Category nav */
.faq-category-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}
.faq-category-link {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px 18px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-category-link:hover {
	border-color: #ffb81c;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(10,22,40,0.06);
}
.faq-category-link__number {
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffb81c;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}
.faq-category-link__label {
	font-size: 0.95rem;
	font-weight: 700;
	color: #0a1628;
	margin-bottom: 6px;
	line-height: 1.3;
}
.faq-category-link__count {
	font-size: 0.825rem;
	color: #6b7280;
}

/* Category section header */
.faq-category-header {
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 2px solid #ffb81c;
}
.faq-category-header__number {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffb81c;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}
.faq-category-header h2 {
	font-size: 1.5rem;
	color: #0a1628;
	margin: 0 0 8px;
}
.faq-category-header p {
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
	font-size: 0.95rem;
}

/* Related resources section */
.resource-blocks {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 36px;
}
.resource-block {
	background: #fff;
	border-radius: 14px;
	padding: 32px 30px;
	border: 1px solid #e5e7eb;
}
.resource-block h3 {
	font-size: 1.3rem;
	color: #0a1628;
	margin: 0 0 14px;
}
.resource-block > p {
	color: #4a5568;
	line-height: 1.7;
	margin: 0 0 16px;
}

/* Glossary list */
.resource-glossary {
	margin: 18px 0 0;
}
.resource-glossary dt {
	font-weight: 700;
	color: #0a1628;
	margin-top: 16px;
	font-size: 0.95rem;
}
.resource-glossary dt:first-child { margin-top: 0; }
.resource-glossary dd {
	margin: 4px 0 0;
	padding-left: 0;
	color: #4a5568;
	line-height: 1.6;
	font-size: 0.925rem;
}

/* Numbered list */
.numbered-list {
	margin: 18px 0 0;
	padding-left: 0;
	list-style: none;
	counter-reset: numbered;
}
.numbered-list li {
	counter-increment: numbered;
	padding: 14px 0 14px 44px;
	position: relative;
	color: #4a5568;
	line-height: 1.65;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.95rem;
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before {
	content: counter(numbered);
	position: absolute;
	left: 0;
	top: 14px;
	width: 30px;
	height: 30px;
	background: rgba(255, 184, 28, 0.15);
	color: #ffb81c;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}
.numbered-list li strong { color: #0a1628; }

/* 4-column comparison table for FAQ */
.comparison-table--4col th,
.comparison-table--4col td { font-size: 0.875rem; padding: 12px 14px; }
.comparison-table--4col tr td:first-child,
.comparison-table--4col tr th:first-child { font-weight: 600; }

@media (max-width: 768px) {
	.faq-category-nav { grid-template-columns: 1fr 1fr; }
	.resource-block { padding: 24px 22px; }
}
