/* =============================================================
   Product Tech Spec FAQs Widget
   ============================================================= */

/* ── Wrapper ───────────────────────────────────────────────── */
.ae-faq-wrap {
	width: 100%;
	box-sizing: border-box;
}

/* ── FAQ Item ──────────────────────────────────────────────── */
.ae-faq-item {
	border-bottom: 1px solid #e0e0e0;
	overflow: hidden;
	box-sizing: border-box;
}

.ae-faq-item:first-child {
	border-top: 1px solid #e0e0e0;
}

button.ae-faq-trigger,button.ae-faq-trigger:hover {
    border: 0px !important;
}

/* ── Trigger button ────────────────────────────────────────── */
.ae-faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 24px;
	gap: 16px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
	transition: background-color 0.25s ease;
	/* Reset browser button styles */
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	font-family: inherit;
}

.ae-faq-trigger:focus-visible {
	outline: 2px solid #c41020;
	outline-offset: -2px;
}

.ae-faq-item.is-open .ae-faq-trigger {
	background-color: #222222;
}

/* ── Question text ─────────────────────────────────────────── */
.ae-faq-q {
	flex: 1;
	min-width: 0;
	font-size: 15px;
	font-weight: 400;
	color: #1a1a1a;
	line-height: 1.5;
	transition: color 0.25s ease;
}

.ae-faq-item.is-open .ae-faq-q {
	color: #ffffff;
}

/* ── Chevron icon ──────────────────────────────────────────── */
.ae-faq-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #666666;
	transition: color 0.25s ease;
}

.ae-faq-icon svg {
	display: block;
	transition: transform 0.3s ease;
}

.ae-faq-item.is-open .ae-faq-icon {
	color: #c41020;
}

.ae-faq-item.is-open .ae-faq-icon svg {
	transform: rotate(180deg);
}

/* ── Panel (collapsible) ───────────────────────────────────── */
.ae-faq-panel {
	overflow: hidden;
	height: 0;
	transition: height 0.3s ease;
}

/* ── Content ───────────────────────────────────────────────── */
.ae-faq-content {
	padding: 20px 24px 28px;
	font-size: 15px;
	line-height: 1.7;
	color: #555555;
	box-sizing: border-box;
}

.ae-faq-content p {
	margin: 0 0 14px;
}

.ae-faq-content p:last-child {
	margin-bottom: 0;
}

.ae-faq-content ul,
.ae-faq-content ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.ae-faq-content li {
	margin-bottom: 6px;
}

.ae-faq-content h3,
.ae-faq-content h4,
.ae-faq-content h5 {
	margin: 16px 0 8px;
	color: #222;
	font-weight: 700;
	line-height: 1.3;
}

.ae-faq-content h3:first-child,
.ae-faq-content h4:first-child,
.ae-faq-content h5:first-child {
	margin-top: 0;
}

.ae-faq-content strong,
.ae-faq-content b {
	color: #222;
	font-weight: 700;
}

.ae-faq-content a {
	color: #0066cc;
	text-decoration: none;
}

.ae-faq-content a:hover {
	text-decoration: underline;
}

.ae-faq-content img {
	max-width: 100%;
	height: auto;
	display: block;
}

.ae-faq-content blockquote {
	margin: 0 0 14px;
	padding: 10px 16px;
	border-left: 3px solid #c41020;
	background: #f9f9f9;
	font-style: italic;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
	.ae-faq-trigger {
		padding: 16px 20px;
		gap: 12px;
	}

	.ae-faq-content {
		padding: 16px 20px 22px;
	}

	.ae-faq-q {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.ae-faq-trigger {
		padding: 14px 16px;
	}

	.ae-faq-content {
		padding: 14px 16px 20px;
	}
}
