/* =============================================================================
   Nejat FAQ Widget
   .nejat-faq — two-column layout: image (left) + accordion (right)
   ============================================================================= */

/* ── Section wrapper ────────────────────────────────────────────────────────── */
.nejat-faq {
	overflow: hidden;
}

/* ── Two-column inner container ─────────────────────────────────────────────── */
.nejat-faq__inner {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 96px;
	align-items: start;
	max-width: var(--nejat-max-width);
	margin: 0 auto;
	padding: var(--nejat-section-pad-v) var(--nejat-gutter);
}

/* Image on right variant */
.nejat-faq--image-right .nejat-faq__media  { order: 2; }
.nejat-faq--image-right .nejat-faq__content { order: 1; }

/* ── Photo column ───────────────────────────────────────────────────────────── */
.nejat-faq__media {
	position: relative;
}

.nejat-faq__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--nejat-radius);
}

/* ── Content column ─────────────────────────────────────────────────────────── */
.nejat-faq__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

/* ── Eyebrow ────────────────────────────────────────────────────────────────── */
.nejat-faq__eyebrow {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: capitalize;
	color: #4ab3c8;
	margin: 0;
}

/* ── Headline ───────────────────────────────────────────────────────────────── */
.nejat-faq__headline {
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	color: #111111;
	margin: 0 0 32px;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ── FAQ list ───────────────────────────────────────────────────────────────── */
.nejat-faq__list {
	display: flex;
	flex-direction: column;
}

/* ── FAQ item ───────────────────────────────────────────────────────────────── */
.nejat-faq__item {
	border-bottom: 1px solid #e5e5e5;
}

.nejat-faq__item:first-child {
	border-top: 1px solid #e5e5e5;
}

/* ── Question button ────────────────────────────────────────────────────────── */
.nejat-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 28px 0;
	background: transparent !important;
	background-color: transparent !important;
	border: none;
	cursor: pointer;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
	color: inherit;
}

.nejat-faq__question:hover,
.nejat-faq__question:focus,
.nejat-faq__question:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.nejat-faq__question-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #374151;
	flex: 1;
}

/* ── Arrow ──────────────────────────────────────────────────────────────────── */
.nejat-faq__arrow {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: #9ca3af;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, color 0.3s ease;
}

.nejat-faq__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.nejat-faq__item.is-open .nejat-faq__arrow {
	transform: rotate(90deg);
	color: #4ab3c8;
}

/* ── Answer panel ───────────────────────────────────────────────────────────── */
.nejat-faq__answer-wrap {
	display: none;
	overflow: hidden;
}

.nejat-faq__answer {
	font-size: 15px;
	line-height: 1.75;
	color: #555555;
	padding-bottom: 22px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.nejat-faq__inner {
		gap: 48px;
		grid-template-columns: 1fr 1.5fr;
	}
}

@media (max-width: 768px) {
	.nejat-faq__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.nejat-faq__photo {
		aspect-ratio: 16 / 9;
	}

	/* Reset order overrides on mobile so image is always on top */
	.nejat-faq--image-right .nejat-faq__media,
	.nejat-faq--image-right .nejat-faq__content {
		order: unset;
	}
}
