/**
 * Page FAQ accordion.
 *
 * Compact variant of the theme's existing Elementor accordion look
 * (.service-accord / .accord in style.css): same card treatment and brand red
 * marker, tighter vertical rhythm. Questions stay black and go bold when open;
 * the +/- marker stays red.
 *
 * The heading uses the theme's own .heading h2 rules so section titles stay
 * consistent site-wide. Everything is scoped under .arie-faq, and logical
 * properties keep the block correct on the Arabic (RTL) side.
 */

.arie-faq {
	padding: 40px 0;
	background: #fff;
}

.arie-faq__heading {
	margin-bottom: 20px;
}

/* The list sits in the theme's standard .container, so it lines up with the
   Elementor sections above it. No narrower max-width of its own. */
.arie-faq__list {
	margin: 0;
}

.arie-faq__item {
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid #d5d8dc;
	border-radius: 10px;
}

.arie-faq__item:last-child {
	margin-bottom: 0;
}

.arie-faq__question {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.arie-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 14px 18px;
	margin: 0;
	background: none;
	border: 0;
	text-align: start;
	cursor: pointer;
	font-family: "Figtree", sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
	color: #000;
	transition: font-weight 0.15s ease;
}

/* Bold once the row is open. */
.arie-faq__trigger[aria-expanded="true"] {
	/* font-weight: 700; */
}

.arie-faq__trigger:focus-visible {
	outline: 2px solid #e21f27;
	outline-offset: -2px;
	border-radius: 10px;
}

.arie-faq__question-text {
	flex: 1 1 auto;
}

/* Circled +/- marker in brand red, matching .accord's svg treatment. */
.arie-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 1px solid #e21f27;
	border-radius: 50%;
	color: #e21f27;
}

.arie-faq__icon::before,
.arie-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 2px;
	margin: -1px 0 0 -4.5px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.arie-faq__icon::after {
	transform: rotate(90deg);
}

.arie-faq__trigger[aria-expanded="true"] .arie-faq__icon::after {
	transform: rotate(0deg);
	opacity: 0;
}

.arie-faq__answer {
	overflow: hidden;
}

.arie-faq__answer[hidden] {
	display: none;
}

.arie-faq__answer-inner {
	padding: 0 18px 14px;
}

.arie-faq__answer-inner p {
	margin: 0;
	font-family: "Figtree", sans-serif;
	font-size: 15px;
	line-height: 26px;
	font-weight: 400;
	color: #000;
}

/* Animated open/close, applied by the script only when motion is welcome. */
.arie-faq__answer.is-animating {
	transition: height 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.arie-faq__trigger,
	.arie-faq__icon::before,
	.arie-faq__icon::after,
	.arie-faq__answer.is-animating {
		transition: none;
	}
}

@media (max-width: 991px) {
	.arie-faq {
		padding: 30px 0;
	}

	.arie-faq__heading {
		margin-bottom: 16px;
	}

	.arie-faq__trigger {
		padding: 13px 16px;
		font-size: 16px;
		line-height: 23px;
	}

	.arie-faq__answer-inner {
		padding: 0 16px 13px;
	}
}

@media (max-width: 767px) {
	.arie-faq {
		padding: 25px 0;
	}

	.arie-faq__item {
		margin-bottom: 8px;
		border-radius: 8px;
	}

	.arie-faq__trigger {
		padding: 12px 14px;
		gap: 10px;
		font-size: 15px;
		line-height: 22px;
	}

	.arie-faq__icon {
		width: 18px;
		height: 18px;
	}

	.arie-faq__icon::before,
	.arie-faq__icon::after {
		width: 8px;
		margin-left: -4px;
	}

	.arie-faq__answer-inner {
		padding: 0 14px 12px;
	}

	.arie-faq__answer-inner p {
		font-size: 15px;
		line-height: 24px;
	}
}
