/* Earth Innovation — FAQ Help Center */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

body.page-template-page-faqs-php,
body.ei-faq-page,
body.page-faqs {
	margin-bottom: 0;
	overflow-x: hidden;
}

body.page-template-page-faqs-php .site-content,
body.page-template-page-faqs-php #content,
body.page-template-page-faqs-php #primary,
body.page-template-page-faqs-php .site-main,
body.ei-faq-page #primary,
body.ei-faq-page .site-main {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	float: none !important;
}

body.page-template-page-faqs-php #secondary,
body.ei-faq-page #secondary {
	display: none !important;
}

body.page-template-page-faqs-php #ei-scroll-mouse,
body.ei-faq-page #ei-scroll-mouse {
	display: none !important;
}

.ei-faq {
	--ei-faq-bg: #F1F3EC;
	--ei-faq-surface: #FFFFFF;
	--ei-faq-muted: #E7EBDF;
	--ei-faq-ink: #14251F;
	--ei-faq-soft: #4B655B;
	--ei-faq-faint: #7C9088;
	--ei-faq-accent: #E29B3D;
	--ei-faq-accent-deep: #B5721F;
	--ei-faq-border: #DCE2D2;
	--ei-faq-radius: 14px;

	background: var(--ei-faq-bg);
	color: var(--ei-faq-ink);
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	width: 100%;
}

.ei-faq *,
.ei-faq *::before,
.ei-faq *::after {
	box-sizing: border-box;
}

.ei-faq-wrap {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px 64px;
}

/* Header */
.ei-faq-header {
	background: var(--ei-faq-ink);
	color: #F1F3EC;
	padding: 36px 20px 28px;
	margin-bottom: 28px;
}

.ei-faq-header-inner {
	max-width: 820px;
	margin: 0 auto;
}

.ei-faq-eyebrow {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ei-faq-accent);
	font-weight: 600;
	margin: 0 0 10px;
}

.ei-faq-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 700;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
	color: #F1F3EC;
}

.ei-faq-subtitle {
	color: #C7D3CB;
	font-size: 15px;
	margin: 0 0 22px;
	max-width: 52ch;
}

/* Waveform */
.ei-faq-waveform {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 28px;
	margin: 0 0 4px;
}

.ei-faq-waveform span {
	display: block;
	width: 3px;
	border-radius: 2px;
	background: var(--ei-faq-accent);
	opacity: 0.55;
	transform-origin: bottom center;
	animation: ei-faq-pulse 2.4s ease-in-out infinite;
}

@keyframes ei-faq-pulse {
	0%, 100% { transform: scaleY(0.35); }
	50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
	.ei-faq-waveform span {
		animation: none;
		transform: scaleY(0.6);
	}
}

/* Search */
.ei-faq-search {
	position: relative;
	margin-top: 6px;
}

.ei-faq-search svg {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--ei-faq-faint);
	pointer-events: none;
}

#ei-faq-search {
	width: 100%;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 16px;
	padding: 13px 44px;
	border-radius: 999px;
	border: none;
	outline: none;
	background: #FFFFFF;
	color: var(--ei-faq-ink);
	box-shadow: none;
}

#ei-faq-search::placeholder {
	color: var(--ei-faq-faint);
}

#ei-faq-search:focus-visible {
	box-shadow: 0 0 0 3px rgba(226, 155, 61, 0.55);
}

.ei-faq-clear {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: none;
	background: var(--ei-faq-muted);
	color: var(--ei-faq-soft);
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	padding: 0;
}

.ei-faq-clear:not([hidden]) {
	display: flex;
}

.ei-faq-clear:hover {
	background: var(--ei-faq-border);
}

.ei-faq-clear:focus-visible {
	outline: 2px solid var(--ei-faq-accent);
	outline-offset: 1px;
}

/* Chips */
.ei-faq-chip-rail-outer {
	position: sticky;
	top: 0;
	z-index: 5;
	background: var(--ei-faq-bg);
	padding: 14px 0 10px;
	margin-bottom: 6px;
}

.ei-faq-chip-rail {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 10px;
	scrollbar-width: thin;
	scrollbar-color: var(--ei-faq-border) transparent;
}

.ei-faq-chip-rail::-webkit-scrollbar {
	height: 5px;
}

.ei-faq-chip-rail::-webkit-scrollbar-thumb {
	background: var(--ei-faq-border);
	border-radius: 4px;
}

.ei-faq-chip {
	flex: 0 0 auto;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--ei-faq-border);
	background: var(--ei-faq-surface);
	color: var(--ei-faq-soft);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ei-faq-chip:hover {
	border-color: var(--ei-faq-faint);
}

.ei-faq-chip:focus-visible {
	outline: 2px solid var(--ei-faq-accent-deep);
	outline-offset: 2px;
}

.ei-faq-chip.is-active {
	background: var(--ei-faq-ink);
	border-color: var(--ei-faq-ink);
	color: #F1F3EC;
}

.ei-faq-chip .count {
	opacity: 0.65;
	font-weight: 500;
	margin-left: 4px;
}

.ei-faq-result-line {
	font-size: 13px;
	color: var(--ei-faq-soft);
	margin: 2px 2px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ei-faq-reset {
	background: none;
	border: none;
	color: var(--ei-faq-accent-deep);
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
	font-family: 'IBM Plex Sans', sans-serif;
}

.ei-faq-reset:not([hidden]) {
	display: inline;
}

/* Sections */
.ei-faq-section-heading {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ei-faq-accent-deep);
	margin: 30px 2px 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ei-faq-border);
}

.ei-faq-section-heading:first-of-type {
	margin-top: 4px;
}

/* Items */
.ei-faq-item {
	background: var(--ei-faq-surface);
	border: 1px solid var(--ei-faq-border);
	border-radius: var(--ei-faq-radius);
	margin-bottom: 10px;
	overflow: hidden;
}

.ei-faq-q {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	padding: 15px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--ei-faq-ink);
}

.ei-faq-q:focus-visible {
	outline: 2px solid var(--ei-faq-accent-deep);
	outline-offset: -2px;
}

.ei-faq-num {
	font-family: 'Space Grotesk', sans-serif;
	color: var(--ei-faq-accent-deep);
	font-weight: 700;
	font-size: 13px;
	flex: 0 0 auto;
	min-width: 24px;
}

.ei-faq-q-text {
	flex: 1;
}

.ei-faq-q-text mark {
	background: rgba(226, 155, 61, 0.4);
	color: inherit;
	border-radius: 2px;
}

.ei-faq-chevron {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	stroke: var(--ei-faq-faint);
	transition: transform 0.25s ease;
}

.ei-faq-item.is-open .ei-faq-chevron {
	transform: rotate(180deg);
}

.ei-faq-a-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease;
}

.ei-faq-item.is-open .ei-faq-a-wrap {
	grid-template-rows: 1fr;
}

.ei-faq-a-inner {
	overflow: hidden;
}

.ei-faq-a {
	padding: 0 16px 17px 52px;
	font-size: 14.5px;
	color: var(--ei-faq-soft);
}

.ei-faq-a ul {
	margin: 6px 0 0;
	padding-left: 18px;
}

.ei-faq-a li {
	margin-bottom: 4px;
}

.ei-faq-empty {
	text-align: center;
	padding: 50px 20px;
	color: var(--ei-faq-soft);
}

.ei-faq-empty svg {
	width: 34px;
	height: 34px;
	stroke: var(--ei-faq-faint);
	margin-bottom: 12px;
}

.ei-faq-empty p {
	margin: 4px 0;
}

.ei-faq-empty strong {
	color: var(--ei-faq-ink);
}

.ei-faq-footer-note {
	text-align: center;
	font-size: 12.5px;
	color: var(--ei-faq-faint);
	margin: 36px 0 0;
}

.ei-faq-footer-note a {
	color: var(--ei-faq-accent-deep);
	font-weight: 600;
}

@media (max-width: 560px) {
	.ei-faq-header {
		padding: 28px 16px 24px;
	}

	.ei-faq-a {
		padding-left: 16px;
	}
}
