/* Everest Custom Elements — faq.css
   Accordion FAQ. Brand #0B6993 / #084F70 / #17A2C9.
   Surface #F4F6F8. Text #111827. Muted #5C6570. */

.ehf-faq {
	background: #ffffff;
	padding: 96px 24px;
}

.ehf-faq__inner {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ehf-faq__heading {
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	color: #111827;
}

.ehf-faq__sub {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: #5c6570;
}

.ehf-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.ehf-faq__item {
	background: #f4f6f8;
	border: 1px solid rgba(11, 105, 147, 0.12);
	border-radius: 12px;
	overflow: hidden;
}

.ehf-faq__title {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: #111827;
}

/*
 * Hello Elementor reset.css styles EVERY native button as a magenta chip:
 *   [type=button] { width:auto; color:#c36; border:1px solid #c36; display:inline-block }
 * Specificity ties `.ehf-faq__q` (0,1,0). Theme CSS loads later → pink/teal
 * shrink-wrapped pills sitting in the gray `.ehf-faq__item` track.
 * Beat that with widget+element+class + the same !important pattern as `.ehf-toggle`.
 */
.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q,
.ehf-faq button.ehf-faq__q[type="button"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100% !important;
	max-width: none !important;
	min-height: 44px;
	margin: 0 !important;
	padding: 16px 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111827 !important;
	font-family: "Nunito", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	text-decoration: none !important;
	text-transform: none;
	white-space: normal !important;
	cursor: pointer;
}

.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q:hover,
.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q:focus,
.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q:focus-visible,
.ehf-faq button.ehf-faq__q[type="button"]:hover,
.ehf-faq button.ehf-faq__q[type="button"]:focus,
.ehf-faq button.ehf-faq__q[type="button"]:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #084f70 !important;
	text-decoration: none !important;
}

.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q:focus-visible,
.ehf-faq button.ehf-faq__q[type="button"]:focus-visible {
	outline: 2px solid #17a2c9;
	outline-offset: -2px;
}

.ehf-faq__q-text {
	flex: 1 1 auto;
}

.ehf-faq__chevron {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: #0b6993;
	transition: transform 0.28s ease;
}

.ehf-faq__q[aria-expanded="true"] .ehf-faq__chevron {
	transform: rotate(180deg);
}

.ehf-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease;
}

.ehf-faq__a[hidden] {
	display: grid;
}

.ehf-faq__a.is-open {
	grid-template-rows: 1fr;
}

.ehf-faq__a-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 20px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #5c6570;
}

.ehf-faq__a.is-open .ehf-faq__a-inner {
	padding-bottom: 20px;
}

.ehf-faq__a-inner p {
	margin: 0 0 12px;
}

.ehf-faq__a-inner p:last-child {
	margin-bottom: 0;
}

.ehf-faq__a-inner a,
.ehf-faq__a-inner a:link,
.ehf-faq__a-inner a:visited {
	color: #0b6993 !important;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.ehf-faq__a,
	.ehf-faq__chevron {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.ehf-faq {
		padding: 64px 24px;
	}

	.ehf-faq__heading {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.ehf-faq {
		padding: 48px 16px;
	}

	.ehf-faq__heading {
		font-size: 28px;
	}

	.elementor-widget-everest_faq .ehf-faq button.ehf-faq__q,
	.ehf-faq button.ehf-faq__q[type="button"] {
		font-size: 17px;
		padding: 14px 16px !important;
	}

	.ehf-faq__a-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
}
