/* ═══════════════════════════════════════════════════
   Elementor Blog Grid – FAQ Accordion Styles
   ═══════════════════════════════════════════════════ */

/* ── Wrapper ── */
.ebg-faq-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background-color: #f8fafc;
	padding: 48px;
	border-radius: 16px;
}

/* Two‑column layout */
.ebg-faq--two-col {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}

/* Full‑width layout */
.ebg-faq--full {
	display: block;
}

.ebg-faq--full .ebg-faq__right {
	max-width: 800px;
	margin: 0 auto;
}

/* ── Left Column ── */
.ebg-faq__left {
	position: sticky;
	top: 100px;
}

.ebg-faq__tag {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #16a34a;
	margin-bottom: 12px;
}

.ebg-faq__heading {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
	color: #111827;
	margin: 0 0 14px;
}

.ebg-faq__desc {
	font-size: 15px;
	line-height: 1.7;
	color: #6b7280;
	margin: 0 0 28px;
}

/* ── CTA Button ── */
.ebg-faq__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background-color: #16a34a;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 50px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.ebg-faq__cta:hover {
	background-color: #15803d;
	box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
	transform: translateY(-1px);
	color: #fff;
}

.ebg-faq__cta-icon {
	flex-shrink: 0;
	opacity: 0.9;
}

/* ── FAQ Items ── */
.ebg-faq__right {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ebg-faq-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ebg-faq-item:hover {
	border-color: #d1d5db;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ebg-faq-item--active {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.ebg-faq-item--active:hover {
	border-color: #86efac;
}

/* Header / Question */
.ebg-faq-item__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 22px;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
	gap: 16px;
	transition: padding 0.3s ease;
}

.ebg-faq-item__question {
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: #111827;
}

/* Icon */
.ebg-faq-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	border-radius: 50%;
	border: 2px solid #d1d5db;
	color: #9ca3af;
	background: transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}

/* Show/hide plus/minus */
.ebg-faq-item__icon-plus,
.ebg-faq-item__icon-minus {
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.ebg-faq-item__icon-minus {
	display: none;
}

.ebg-faq-item--active .ebg-faq-item__icon-plus {
	display: none;
}

.ebg-faq-item--active .ebg-faq-item__icon-minus {
	display: block;
}

.ebg-faq-item--active .ebg-faq-item__icon {
	background-color: #16a34a;
	border-color: #16a34a;
	color: #fff;
	box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* Answer Body */
.ebg-faq-item__body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ebg-faq-item__answer {
	padding: 0 22px 20px;
	font-size: 14px;
	line-height: 1.7;
	color: #6b7280;
}

.ebg-faq-item__answer p {
	margin: 0 0 10px;
}

.ebg-faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.ebg-faq--two-col {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ebg-faq__left {
		position: static;
		text-align: center;
	}

	.ebg-faq__heading {
		font-size: 24px;
	}

	.ebg-faq-wrapper {
		padding: 28px 20px;
	}

	.ebg-faq-item__header {
		padding: 14px 16px;
	}

	.ebg-faq-item__answer {
		padding: 0 16px 16px;
	}
}

@media (max-width: 480px) {
	.ebg-faq__heading {
		font-size: 20px;
	}

	.ebg-faq-item__question {
		font-size: 14px;
	}

	.ebg-faq-item__icon {
		width: 26px;
		height: 26px;
		min-width: 26px;
	}

	.ebg-faq-item__icon svg {
		width: 12px;
		height: 12px;
	}
}
