/* FAQ Accordion - front end
   ללא צבעים בכוונה: כל הצבעים/רקעים/מסגרות מגיעים מהתבנית.
   רוצה להוסיף משלך? ראה דוגמאות בתחתית הקובץ. */

.faqacc {
	margin: 1.5em 0;
	max-width: 100%;
}

.faqacc-item {
	margin-bottom: 12px;
	overflow: hidden;
}

.faqacc-question {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}

.faqacc-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: start;
	font: inherit;
	font-weight: 600;
	color: inherit;
}

.faqacc-trigger-text {
	flex: 1 1 auto;
}

/* האייקון (+ / חץ). background: currentColor => יורש את צבע הטקסט של התבנית. */
.faqacc-icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	position: relative;
	transition: transform 0.2s ease;
}

.faqacc-icon::before,
.faqacc-icon::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 50%;
	width: 14px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.faqacc-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

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

.faqacc-item.is-open .faqacc-icon::after {
	opacity: 0;
}

.faqacc-answer {
	overflow: hidden;
}

.faqacc-answer-inner {
	padding: 0 0 18px;
	line-height: 1.7;
}

.faqacc-answer-inner > :first-child {
	margin-top: 0;
}

.faqacc-answer-inner > :last-child {
	margin-bottom: 0;
}

/* Smooth open/close animation when JS is active. */
.faqacc[data-faqacc] .faqacc-answer {
	transition: height 0.25s ease;
}

/* ===== רוצה להוסיף עיצוב משלך? בטל את ההערה ושנה לפי הצורך =====
.faqacc-item {
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fff;
}
.faqacc-trigger {
	padding: 16px 20px;
}
.faqacc-answer-inner {
	padding: 0 20px 18px;
}
.faqacc-trigger:hover {
	background: #f6f7f7;
}
*/
