/* ============================================================
   FAQ Widget  (.faq-*)
   Style: Apple — clean white, black text, smooth accordion
   ============================================================ */

.faq-section,
.faq-section * {
	box-sizing: border-box;
}

/* ── Header ──────────────────────────────────────────────── */
.faq-header {
	text-align: center;
	margin-bottom: 40px;
}

.faq-title {
	margin: 0 0 16px !important;
	font-size: 30px !important;
	font-weight: 600 !important;
	letter-spacing: -0.025em !important;
	color: #000 !important;
	line-height: 1.15 !important;
	word-spacing: normal !important;
}

@media (min-width: 640px) {
	.faq-title {
		font-size: 40px !important;
	}
}

.faq-subtitle {
	margin: 0 auto;
	font-size: 17px;
	color: #6b7280;
	line-height: 1.6;
	font-family: 'Inter', sans-serif;
}

/* ── Grid — 2 cols desktop, 1 col mobile ─────────────────── */
.faq-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 768px) {
	.faq-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* ── Item card ───────────────────────────────────────────── */
.faq-item {
	border-radius: 16px;
	border: 1px solid #f3f4f6;
	background: #ffffff;
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
	border-color: #e5e7eb;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item--open {
	border-color: #e5e7eb;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ── Question button ─────────────────────────────────────── */
.faq-question {
	display: flex !important;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 19px 24px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  text-align: left !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	font-size: 0;
	line-height: 0;
	margin: 0;
}

.faq-question:focus {
  outline: none !important;
}

.faq-question:focus-visible {
	outline: 2px solid #000;
	outline-offset: -2px;
	border-radius: 16px;
}

/* ── Icon wrapper ────────────────────────────────────────── */
.faq-icon-wrap {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 12px;
	background: #f5f5f7;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
	flex-shrink: 0;
}

.faq-item--open .faq-icon-wrap,
.faq-item:hover .faq-icon-wrap {
	background: #e2e2e2;
}

.faq-icon {
	width: 24px;
	height: 24px;
	display: block;
	color: #000000;
	transition: color 0.3s ease, filter 0.3s ease;
}

/* SVG icon */
.faq-icon-wrap svg.faq-icon {
	color: #000000;
}

/* IMG icon (uploaded SVG/PNG) */
.faq-icon-wrap img.faq-icon {
	filter: brightness(0);
}

.faq-item--open .faq-icon-wrap img.faq-icon,
.faq-item:hover .faq-icon-wrap img.faq-icon {
	filter: brightness(0) invert(1);
}

/* ── Question text ───────────────────────────────────────── */
.faq-question-text {
	flex: 1;
	min-width: 0;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	line-height: 1.35;
	letter-spacing: -0.01em;
  text-transform: none;
  white-space: normal;
}

/* ── Chevron ─────────────────────────────────────────────── */
.faq-chevron {
	width: 28px;
	height: 28px;
	min-width: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f5f5f7;
	color: #9ca3af;
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
}

.faq-item--open .faq-chevron {
	transform: rotate(180deg);
	background: #000000;
	color: #ffffff;
}

.faq-chevron svg {
	width: 20px;
	height: 20px;
}

/* ── Answer panel ────────────────────────────────────────── */
.faq-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}

.faq-answer[hidden] {
	display: block !important;
	max-height: 0;
	visibility: hidden;
}

.faq-answer-text {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: #6b7280;
	margin: 0;
	padding: 0 24px 24px;
  padding-left: 30px;
}

/* ── Mobile adjustments ──────────────────────────────────── */
@media (max-width: 767px) {
	.faq-question {
		padding: 18px 20px;
		gap: 12px;
	}

	.faq-icon-wrap {
		width: 40px;
		height: 40px;
		min-width: 40px;
		border-radius: 10px;
	}

	.faq-icon {
		width: 20px;
		height: 20px;
	}

	.faq-question-text {
		font-size: 15px;
	}

	.faq-answer-text {
		padding: 0 20px 20px;
		padding-left: 30px; /* icon + gap + padding */
		font-size: 14px;
	}

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

  .faq-section {
    padding: 0px 15px;
  }
}
