/* =============================================================
   FAQ PAGE V2 — Sidebar + Filters + Accordion
   Lighthouse Enterprises — 2026 redesign

   Append this to the theme stylesheet (e.g. style.css) or to
   new-homepage-styles.css. It is fully namespaced under .faq2-*
   so it will NOT collide with the legacy .faq-area / .faq-list /
   .faq-info styles already in style.css (those can be left as-is).

   Palette (from existing theme tokens):
     navy   #003A5C   gold   #FFD03E   orange #FF7F3F
     lt-blue#61B3E4   lt-blue2 #D5F3FF text   #272B2F
   ============================================================= */
.vc_row.faq-inner-row .vc_column-inner {
	padding:0px !important;
}

.faq2-module {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	max-width: var(--pagemax, 1321px);
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
}

/* When the shortcode is rendered without a sidebar (e.g. on a
   single service page) the accordion simply fills the width. */
.faq2-module.faq2-no-sidebar {
	gap: 0;
	max-width: 980px;
}

/* =============================================================
   SIDEBAR
   ============================================================= */

.faq2-sidebar {
	flex: 0 0 290px;
	width: 290px;
	/* Sticky: the sidebar scrolls with the page, then pins near the top.
	   It travels down until the bottom of .faq2-module is reached.
	   Increase `top` if the site has a fixed/sticky header so the sidebar
	   doesn't tuck underneath it (e.g. top: 110px for a 90px header). */
	position: -webkit-sticky;
	position: sticky;
	top: 30px;
	align-self: flex-start;
}

.faq2-avatar {
	width: 120px;
	height: 120px;
	margin: 0 auto -48px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0px 14px 34px -8px rgba(0, 58, 92, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.faq2-avatar img {
	width: 66px;
	height: 66px;
	object-fit: contain;
	display: block;
}

.faq2-nav {
	position: relative;
	z-index: 1;
	background: #FFFFFF;
	border-radius: 20px;
	border-right: 5px solid #FF7F3F;
	box-shadow: 0px 15px 40px -6px rgba(44, 88, 241, 0.16);
	padding: 10px 0 24px;
}

.faq2-nav-link {
	display: block;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: #272B2F;
	text-decoration: none;
	padding: 10px 8px;
	border-left: 5px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.faq2-nav-link:hover {
	color: #61B3E4 !important;
	text-decoration: none;
}

.faq2-nav-link.is-active {
	color: #003A5C;
	/*border-left-color: #FF7F3F;*/
}
.faq2-nav-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    /* top: 0; */
    height: 28px;
    width: 5px;
    background: #FF7F3F;
}

.faq2-nav-support {
	margin: 18px 14px 0;
	padding-top: 18px;
	/*border-top: 1px solid #D5F3FF;*/
}

.faq2-nav-support a {
	display: block;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	color: #003A5C;
	text-decoration: none;
	transition: color 0.2s ease;
}

.faq2-nav-support a:hover {
	color: #61B3E4 !important;
	text-decoration: none;
}

.faq2-nav-support span {
	display: block;
	color: #FF7F3F;
}

/* =============================================================
   MAIN COLUMN
   ============================================================= */

.faq2-main {
	flex: 1 1 auto;
	min-width: 0;
}

/* --- Filter bar --- */
.faq2-filterbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
}

.faq2-filter-label {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #003A5C;
	margin-right: 4px;
}

.faq2-filter {
	font-family: 'Lato', sans-serif;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #003A5C;
	background: #FFD03E;
	border: none;
	border-radius: 100px;
	padding: 8px 18px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.faq2-filter:hover {
	background: #61B3E4;
}

.faq2-filter.is-active {
	background: #003A5C;
	color: #FFFFFF;
}

/* --- Accordion --- */
.faq2-accordion {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq2-item {
	background: #FFFFFF;
	border-radius: 16px;
	box-shadow: 0px 12px 30px -6px rgba(44, 88, 241, 0.12);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq2-item:hover {
	box-shadow: 0px 16px 38px -6px rgba(44, 88, 241, 0.18);
}

.faq2-item.is-hidden {
	display: none;
}

.faq2-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin: 0;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	padding: 22px 26px;
	font-family: 'Lato', sans-serif;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.4;
	color: #003A5C;
}

.faq2-q:focus-visible {
	outline: 2px solid #61B3E4;
	outline-offset: 2px;
	border-radius: 12px;
}

/* --- Circular toggle + chevron --- */
.faq2-toggle {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #FFD03E;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.faq2-toggle i {
	display: block;
	width: 7px;
	height: 7px;
	border-top: 2px solid #FFD03E;
	border-right: 2px solid #FFD03E;
	transform: rotate(45deg);          /* points right ">" */
	margin-left: -2px;
	transition: transform 0.3s ease, border-color 0.3s ease, margin 0.3s ease;
}

.faq2-item.is-open .faq2-toggle {
	background: #FFD03E;
	border-color: #FFD03E;
}

.faq2-item.is-open .faq2-toggle i {
	transform: rotate(135deg);          /* points down "v" */
	border-color: #003A5C;
	margin-left: 0;
	margin-top: -2px;
}

/* --- Answer panel --- */
.faq2-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.faq2-a-inner {
	padding: 0 26px 26px;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	color: #272B2F;
}

.faq2-a-inner p {
	margin: 0 0 1em;
}

.faq2-a-inner p:last-child {
	margin-bottom: 0;
}

.faq2-a-inner a {
	color: #FF7F3F;
	text-decoration: underline;
}

.faq2-a-inner a:hover {
	color: #003A5C;
}

.faq2-a-inner ul,
.faq2-a-inner ol {
	margin: 0 0 1em;
	padding-left: 22px;
}

.faq2-empty {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: #5C666F;
	padding: 30px 4px;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 991px) {
	.faq2-module {
		flex-direction: column;
		gap: 30px;
	}

	.faq2-sidebar {
		flex: none;
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
		/* Not sticky once the layout stacks vertically. */
		position: static;
		top: auto;
	}

	.faq2-main {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.faq2-q {
		font-size: 16px;
		padding: 18px 18px;
	}

	.faq2-a-inner {
		padding: 0 18px 22px;
	}

	.faq2-avatar {
		width: 100px;
		height: 100px;
		margin-bottom: -42px;
	}

	.faq2-avatar img {
		width: 56px;
		height: 56px;
	}

	.faq2-filter-label {
		width: 100%;
		margin-bottom: 4px;
	}
}

.faq2-sidebar-title,
.faq2-sidebar-desc
{
	padding-left: 8px;
}
.faq2-sidebar-title
{
	font-size: 28px;
	font-weight: 800;
	line-height: 125%;
	color: #003A5C;
	padding-top: 5px;
}
.faq2-sidebar-desc
{
	font-size: 20px;
	font-weight: 400;
	line-height: 140%;
	color: #272B2F;
    padding-bottom: 20px;
    padding-top: 5px;
}
