/**
 * Styles for FAQ (EN homepage) + zh-Hant HTML homepage.
 * FAQ layout: stacked rounded accordion cards (no decorative icon / motion).
 */

.sv-nh-faq {
	background: #0a0a0a;
	color: #f3f3f3;
	padding: clamp(56px, 8vw, 88px) 24px;
}

.sv-nh-faq__inner {
	max-width: 920px;
	margin: 0 auto;
}

.sv-nh-faq__header {
	margin-bottom: 36px;
	text-align: center;
}

.sv-nh-faq h2 {
	margin: 0 0 14px;
	/* Match other homepage section titles (e.g. Client feedback ~30–42px). Theme html is 10px — use px, not rem. */
	font-size: clamp(30px, 3.4vw, 42px);
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}

.sv-nh-faq__lead {
	margin: 0 auto;
	max-width: 640px;
	color: #a8a8a8;
	font-size: 16px;
	line-height: 1.65;
}

.sv-nh-faq__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sv-nh-faq__item {
	margin: 0;
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.sv-nh-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	padding: 20px 24px;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
	color: #fff;
}

.sv-nh-faq__item summary::-webkit-details-marker {
	display: none;
}

.sv-nh-faq__q {
	flex: 1 1 auto;
	min-width: 0;
}

.sv-nh-faq__item summary::after {
	content: '';
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.85;
}

.sv-nh-faq__item[open] summary::after {
	margin-top: 3px;
	transform: rotate(225deg);
}

.sv-nh-faq__a {
	padding: 0 24px 20px;
}

.sv-nh-faq__a p {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 16px;
	color: #c4c4c4;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 400;
}

/* Light mode — same card accordion, inverted palette */
body:not(.active-dark-mode) .sv-nh-faq {
	background: #f4f4f2;
	color: #1f1f1f;
}

body:not(.active-dark-mode) .sv-nh-faq h2 {
	color: #121212;
}

body:not(.active-dark-mode) .sv-nh-faq__lead {
	color: #5f5f5f;
}

body:not(.active-dark-mode) .sv-nh-faq__item {
	background: #ffffff;
	border-color: rgba(18, 18, 18, 0.08);
	box-shadow: 0 8px 22px rgba(18, 18, 18, 0.06);
}

body:not(.active-dark-mode) .sv-nh-faq__item summary {
	color: #121212;
}

body:not(.active-dark-mode) .sv-nh-faq__a p {
	border-top-color: rgba(18, 18, 18, 0.08);
	color: #4a4a4a;
}

/* zh-Hant page */
.page-slug-zh-hant-homepage .entry-content,
.page-id-placeholder .entry-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4rem;
}

.sv-zh-hero h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.2;
	margin-bottom: 1rem;
}

.sv-zh-block {
	margin-top: 2.5rem;
}

.sv-zh-block h2 {
	font-size: 1.45rem;
	margin-bottom: 0.75rem;
}

.sv-zh-block ul {
	padding-left: 1.2rem;
	line-height: 1.7;
}

.sv-zh-cta {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	background: #3d3d3d;
	color: #f0f2f5 !important;
	text-decoration: none !important;
}
