/**
 * Nexu Category SEO Brain - Public Styles
 *
 * @package NexuCatSEO
 * @since 1.0.0
 */

.ncsb-category-content {
	max-width: 100%;
	line-height: 1.8;
	color: inherit;
	font-family: inherit;
}

.ncsb-intro-section {
	margin-bottom: 1.5em;
	font-size: 1.05em;
}

.ncsb-main-section {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ncsb-article-body h3 {
	margin-top: 1.5em;
	margin-bottom: 0.6em;
	font-size: 1.2em;
	font-weight: 600;
}

.ncsb-article-body p {
	margin-bottom: 1em;
}

.ncsb-article-body ul,
.ncsb-article-body ol {
	margin: 0.8em 0;
	padding-left: 1.5em;
}

.ncsb-article-body ul li,
.ncsb-article-body ol li {
	margin-bottom: 0.4em;
}

.ncsb-article-body strong {
	font-weight: 600;
}

/* FAQ Section */
.ncsb-faq-section {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ncsb-faq-title {
	font-size: 1.3em;
	font-weight: 700;
	margin-bottom: 1em;
}

.ncsb-faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ncsb-faq-item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ncsb-faq-item:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ncsb-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1em 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-size: 1em;
	font-weight: 600;
	color: inherit;
	font-family: inherit;
	line-height: 1.5;
	gap: 1em;
}

.ncsb-faq-question:hover {
	opacity: 0.75;
}

.ncsb-faq-question:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.ncsb-faq-icon {
	font-size: 1.3em;
	font-weight: 300;
	transition: transform 0.2s ease;
	flex-shrink: 0;
	line-height: 1;
}

.ncsb-faq-question[aria-expanded="true"] .ncsb-faq-icon {
	transform: rotate(45deg);
}

.ncsb-faq-answer {
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.ncsb-faq-answer[hidden] {
	display: block !important;
	max-height: 0;
	padding: 0;
}

.ncsb-faq-answer:not([hidden]) {
	max-height: 500px;
	padding-bottom: 1em;
}

.ncsb-faq-answer-inner {
	line-height: 1.7;
}

.ncsb-faq-answer-inner p:last-child {
	margin-bottom: 0;
}
