/* =========================================================
   TE FAQ TABS
   ========================================================= */

.teFaqTabs {
	width: 100%;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.teFaqTabs__layout {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 48px;
	width: 100%;
}

.teFaqTabs__sidebar {
	min-width: 0;
}

.teFaqTabs__content {
	min-width: 0;
}


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

.teFaqTabs__sidebarHeading {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
}

.teFaqTabs__nav {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.teFaqTabs__tab {
	display: block;
	width: 100%;
	padding: 18px 24px;

	border: 0;
	background: #fff;
	color: #202124;

	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);

	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
}

.teFaqTabs__tab:hover,
.teFaqTabs__tab:focus-visible {
	background: #f5f5f5;
}

.teFaqTabs__tab.is-active {
	background: #2784d9;
	color: #fff;
	font-weight: 700;
}


/* =========================================================
   CONTENT HEADING
   ========================================================= */

.teFaqTabs__heading {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
}


/* =========================================================
   MAIN CATEGORY PANELS
   ========================================================= */

.teFaqTabs__panel[hidden] {
	display: none !important;
}


/* =========================================================
   GROUP / SUBTABS
   ========================================================= */

.teFaqTabs__groupNav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}

.teFaqTabs__groupTab {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 10px 18px;

	border: 0;
	border-radius: 2px;

	background: #fff;
	color: #333;

	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;

	cursor: pointer;

	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.teFaqTabs__groupTab:hover,
.teFaqTabs__groupTab:focus-visible {
	background: #f5f5f5;
}

.teFaqTabs__groupTab.is-active {
	background: #2784d9;
	color: #fff;
	font-weight: 700;
}

.teFaqTabs__groupPanel[hidden] {
	display: none !important;
}


/* =========================================================
   ACCORDION CONTAINER
   ========================================================= */

.teFaqTabs .hyp-accordion {
	width: 100%;
	margin: 0;
	padding: 0;

	border: 1px solid #707070;
	box-sizing: border-box;
}


/* =========================================================
   ACCORDION PANELS
   ========================================================= */

.teFaqTabs .hyp-accordion__panel {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;

	border: 0;
	box-sizing: border-box;
}


/* =========================================================
   QUESTION ROW
   ========================================================= */

.teFaqTabs .hyp-accordion__heading {
	position: relative;

	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 24px;
	align-items: center;
	column-gap: 18px;

	width: 100%;
	min-height: 68px;

	margin: 0 !important;
	padding: 16px 24px;

	background: #fff;
	color: #333;

	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;

	cursor: pointer;
	box-sizing: border-box;
	overflow-wrap: anywhere;
}


/* Alternating question rows */

.teFaqTabs
	.hyp-accordion__panel:nth-child(odd)
	.hyp-accordion__heading {
	background: #fff;
}

.teFaqTabs
	.hyp-accordion__panel:nth-child(even)
	.hyp-accordion__heading {
	background: #e9e9e9;
}


/* =========================================================
   BLUE Q
   ========================================================= */

.teFaqTabs .hyp-accordion__heading::before {
	content: "Q";

	display: block;
	grid-column: 1;

	margin: 0;

	color: #2784d9;

	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}


/* =========================================================
   ARROW
   ========================================================= */

.teFaqTabs .hyp-accordion__heading fa-icon {
	position: static;

	grid-column: 3;
	justify-self: end;

	margin: 0;

	color: #2784d9 !important;
	font-size: 20px;
	line-height: 1;

	transform: rotate(-90deg);
	transition: transform 0.25s ease;
}


/* Open question points down */

.teFaqTabs
	.hyp-accordion__panel.active
	.hyp-accordion__heading
	fa-icon {
	transform: rotate(0deg);
}


.teFaqTabs .hyp-accordion__heading fa-icon svg {
	display: block;
	width: 1em;
	height: 1em;

	color: inherit !important;
	fill: currentColor;
}


/* =========================================================
   ANSWER
   ========================================================= */

.teFaqTabs .hyp-accordion__content {
	width: 100%;

	margin: 0 !important;
	padding: 18px 32px;

	background: #E8EDF1;
	color: #333;

	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;

	border: 0;

	box-sizing: border-box;
}


/* Remove the visible empty gap when an answer is closed */

.teFaqTabs .hyp-accordion__content:not(.active) {
	padding-top: 0;
	padding-bottom: 0;
}


/* Clean spacing inside answers */

.teFaqTabs .hyp-accordion__content > :first-child {
	margin-top: 0;
}

.teFaqTabs .hyp-accordion__content > :last-child {
	margin-bottom: 0;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

	.teFaqTabs__layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 28px;
	}

	.teFaqTabs__tab {
		padding: 16px 18px;
	}

}


@media (max-width: 700px) {

	.teFaqTabs__layout {
		display: block;
	}

	.teFaqTabs__sidebar {
		margin-bottom: 28px;
	}

	.teFaqTabs__nav {
		gap: 10px;
	}

	.teFaqTabs__tab {
		padding: 14px 18px;
	}

	.teFaqTabs__heading {
		font-size: 24px;
	}

	.teFaqTabs__groupNav {
		gap: 8px;
		margin-bottom: 16px;
	}

	.teFaqTabs__groupTab {
		padding: 9px 14px;
		font-size: 14px;
	}

	.teFaqTabs .hyp-accordion__heading {
		min-height: 60px;
		padding: 16px 50px 16px 18px;
	}

	.teFaqTabs .hyp-accordion__heading::before {
		margin-right: 16px;
		font-size: 25px;
	}

	.teFaqTabs .hyp-accordion__content {
		padding: 18px;
	}

	.teFaqTabs .hyp-accordion__content:not(.active) {
		padding-top: 0;
		padding-bottom: 0;
	}

}