/* ASK FAQ – all selectors are scoped to the plugin wrapper. */
.ask-faq {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 10px;
	overflow: visible;
	box-sizing: border-box;
}
.ask-faq *, .ask-faq *::before, .ask-faq *::after { box-sizing: border-box; }

.ask-faq__title {
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 700;
}
.ask-faq__subtitle {
	margin: 0 auto 20px;
	max-width: 720px;
	color: rgba(255,255,255,.88);
	font-size: 14px;
	line-height: 1.6;
}
.ask-faq__search-wrap {
	position: relative;
	max-width: 540px;
	margin: 0 auto 18px;
}
.ask-faq__search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 17px;
	height: 17px;
	transform: translateY(-50%);
	pointer-events: none;
}
.ask-faq__search-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: #697581;
	stroke-width: 1.8;
	stroke-linecap: round;
}
.ask-faq .ask-faq__search {
	display: block;
	width: 100%;
	min-height: 43px;
	margin: 0;
	padding: 10px 16px 10px 42px;
	border: 1px solid rgba(255,255,255,.75);
	border-radius: 30px;
	background: #fff;
	color: #26323e;
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
	outline-offset: 3px;
}
.ask-faq__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.ask-faq .ask-faq__tab {
	min-height: 34px;
	margin: 0;
	padding: 7px 19px;
	border: 1px solid rgba(255,255,255,.9);
	border-radius: 22px;
	background: transparent;
	color: #fff;
	font: inherit;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ask-faq .ask-faq__tab:hover,
.ask-faq .ask-faq__tab:focus-visible,
.ask-faq .ask-faq__tab.is-active {
	background: #fff;
	border-color: #fff;
	color: #4b79a6;
}
.ask-faq__group { margin: 0 0 27px; }
.ask-faq__group:last-of-type { margin-bottom: 0; }

.ask-faq__items { display: grid; gap: 9px; }
.ask-faq__item {
	margin: 0;
	border: 1px solid var(--ask-faq-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.ask-faq__question-heading span {
	color: #000 !important;
}
.ask-faq__question-heading { margin: 0; padding: 0; font: inherit; }
.ask-faq .ask-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 6px 0px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #303943;
	text-align: left;

	cursor: pointer;
	box-shadow: none;
}
.ask-faq__group-title {
	margin-bottom: 15px;
}
.ask-faq .ask-faq__question:hover { background: #fbfcfe; color: #2f6f9f; }
.ask-faq .ask-faq__question:focus-visible,
.ask-faq .ask-faq__tab:focus-visible { outline: 2px solid #1769aa; outline-offset: 2px; }
.ask-faq__question-text { flex: 1 1 auto; }
.ask-faq__toggle {
	position: relative;
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	color: var(--ask-faq-accent);
}
.ask-faq__toggle span {
	position: absolute;
	top: 7px;
	left: 1px;
	width: 13px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .18s ease;
}
.ask-faq__toggle span + span { transform: rotate(90deg); }
.ask-faq__question[aria-expanded="true"] .ask-faq__toggle span + span { transform: rotate(0); }
.ask-faq__answer { border-top: 1px solid #edf0f3; }
.ask-faq__answer-inner {
	padding: 14px 16px 17px;


	overflow-wrap: anywhere;
}
.ask-faq__answer-inner > :first-child { margin-top: 0; }
.ask-faq__answer-inner > :last-child { margin-bottom: 0; }
.ask-faq__answer-inner a { color: #286fa8; text-decoration: underline; }
.ask-faq__no-results {
	margin: 10px 0 0;
	padding: 16px;
	border-radius: 8px;
	background: #f5f8fb;
	color: #5c6874;
	text-align: center;
	font-size: 14px;
}
.ask-faq-empty {
	padding: 18px;
	border: 1px solid #e5e9ee;
	border-radius: 8px;
	color: #5c6874;
	background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.ask-faq *, .ask-faq *::before, .ask-faq *::after { transition-duration: .01ms !important; }
}

/* Split shortcode layout: filters and FAQ list can be placed in separate Elementor sections. */
.ask-faq-controls { margin-bottom: 0; }
.ask-faq-list { margin-top: 0; box-shadow: none; border-radius: 0 0 10px 10px; }



/* Typo-tolerant search suggestions. Scoped to ASK FAQ; no external assets. */
.ask-faq__search-wrap { position: relative; }
.ask-faq__suggestions {
	position: absolute;
	z-index: 9999;
	top: calc(100% - 10px);
	left: 0;
	right: 0;
	max-height: 260px;
	overflow-y: auto;
	padding: 5px;
	border: 1px solid #e1e6ec;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(20, 43, 68, .16);
	text-align: left;
}
.ask-faq__suggestions[hidden] { display: none !important; }
.ask-faq .ask-faq__suggestion {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: #303943;
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	text-align: left;
	cursor: pointer;
}
.ask-faq .ask-faq__suggestion:hover,
.ask-faq .ask-faq__suggestion:focus,
.ask-faq .ask-faq__suggestion[aria-selected="true"] {
	background: #f0f5fa;
	color: #285f91;
	outline: none;
}
