/* =========================================================
 * Tech Resolve — WordPress FAQ
 * ======================================================= */

.tr-wordpress-faq {
	position: relative;
	overflow: hidden;

	padding:
		clamp(110px,11vw,185px)
		var(--tr-gutter);

	color: #fff;

	background: #06100d;
}


.tr-wordpress-faq__background,
.tr-wordpress-faq__grid,
.tr-wordpress-faq__glow {
	position: absolute;

	pointer-events: none;
}


.tr-wordpress-faq__background {
	inset: 0;
}


.tr-wordpress-faq__grid {
	inset: 0;

	opacity: .14;

	background-image:
		linear-gradient(
			rgba(255,255,255,.04) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(255,255,255,.04) 1px,
			transparent 1px
		);

	background-size: 52px 52px;
}


.tr-wordpress-faq__glow {
	top: -250px;
	right: 10%;

	width: 720px;
	height: 720px;

	background:
		radial-gradient(
			circle,
			rgba(25,224,120,.1),
			transparent 68%
		);
}


.tr-wordpress-faq__shell {
	position: relative;
	z-index: 2;

	width: min(100%,var(--tr-container));
	margin: 0 auto;
}


/* =========================================================
 * Header
 * ======================================================= */

.tr-wordpress-faq__header {
	display: grid;
	grid-template-columns:
		minmax(0,1.1fr)
		minmax(340px,.9fr);
	align-items: end;
	gap: clamp(50px,8vw,120px);

	margin-bottom: 65px;
}


.tr-wordpress-faq__eyebrow {
	display: block;

	margin-bottom: 17px;

	color: #19e078;

	font-size: 9px;
	font-weight: 800;
	letter-spacing: .15em;
}


.tr-wordpress-faq__header h2 {
	max-width: 900px;
	margin: 0;

	color: #fff;

	font-size: clamp(44px,5.3vw,76px);
	font-weight: 800;
	line-height: .99;
	letter-spacing: -.055em;
}


.tr-wordpress-faq__header > p {
	margin: 0;

	color: rgba(255,255,255,.49);

	font-size: 14px;
	line-height: 1.78;
}


/* =========================================================
 * Terminal
 * ======================================================= */

.tr-wordpress-faq__terminal {
	overflow: hidden;

	background:
		linear-gradient(
			145deg,
			rgba(255,255,255,.045),
			rgba(255,255,255,.012)
		);

	border:
		1px solid rgba(255,255,255,.085);

	border-radius: 24px;

	box-shadow:
		0 40px 100px rgba(0,0,0,.24);
}


.tr-wordpress-faq__terminal-top,
.tr-wordpress-faq__terminal-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 52px;
	padding: 0 20px;

	color: rgba(255,255,255,.3);

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-wordpress-faq__terminal-top {
	border-bottom:
		1px solid rgba(255,255,255,.075);
}


.tr-wordpress-faq__terminal-top > div {
	display: flex;
	align-items: center;
	gap: 7px;

	color: #19e078;
}


.tr-wordpress-faq__terminal-top i {
	width: 6px;
	height: 6px;

	background: #19e078;

	border-radius: 50%;
}


/* =========================================================
 * Query
 * ======================================================= */

.tr-wordpress-faq__item {
	border-bottom:
		1px solid rgba(255,255,255,.07);
}


.tr-wordpress-faq__question {
	display: grid !important;
	grid-template-columns:
		70px
		minmax(0,1fr)
		110px;
	align-items: center;
	gap: 20px;

	width: 100% !important;
	min-height: 94px !important;
	padding: 0 24px !important;

	color: rgba(255,255,255,.68) !important;
	text-align: left !important;

	background: transparent !important;

	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: none !important;

	cursor: pointer;
}


.tr-wordpress-faq__question:hover,
.tr-wordpress-faq__item.is-active
.tr-wordpress-faq__question {
	color: #fff !important;

	background:
		linear-gradient(
			90deg,
			rgba(25,224,120,.06),
			transparent
		) !important;
}


.tr-wordpress-faq__number {
	color: #19e078;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-wordpress-faq__question strong {
	font-size:
		clamp(15px,1.5vw,20px);

	line-height: 1.25;
}


.tr-wordpress-faq__state {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;

	color: rgba(255,255,255,.24);

	font-size: 7px;
	font-weight: 800;
	letter-spacing: .11em;
}


.tr-wordpress-faq__state i {
	width: 6px;
	height: 6px;

	background:
		rgba(255,255,255,.15);

	border-radius: 50%;
}


.tr-wordpress-faq__item.is-active
.tr-wordpress-faq__state {
	color: #19e078;
}


.tr-wordpress-faq__item.is-active
.tr-wordpress-faq__state i {
	background: #19e078;

	box-shadow:
		0 0 10px rgba(25,224,120,.65);
}


/* =========================================================
 * Answer
 * ======================================================= */

.tr-wordpress-faq__answer {
	display: grid;

	grid-template-rows: 0fr;

	transition:
		grid-template-rows 240ms var(--tr-ease);
}


.tr-wordpress-faq__answer > div {
	overflow: hidden;
}


.tr-wordpress-faq__answer span {
	display: block;

	margin:
		0 24px
		0 114px;

	color: #19e078;

	font-size: 7px;
	font-weight: 800;
	letter-spacing: .12em;
}


.tr-wordpress-faq__answer p {
	max-width: 900px;

	margin:
		10px
		120px
		0
		114px;

	padding-bottom: 0;

	color: rgba(255,255,255,.45);

	font-size: 11px;
	line-height: 1.78;

	transition:
		padding 240ms var(--tr-ease);
}


.tr-wordpress-faq__item.is-active
.tr-wordpress-faq__answer {
	grid-template-rows: 1fr;
}


.tr-wordpress-faq__item.is-active
.tr-wordpress-faq__answer p {
	padding-bottom: 30px;
}


/* =========================================================
 * Bottom
 * ======================================================= */

.tr-wordpress-faq__terminal-bottom {
	justify-content: center;
	gap: 13px;

	border-top:
		1px solid rgba(255,255,255,.07);
}


.tr-wordpress-faq__terminal-bottom i {
	width: 20px;
	height: 1px;

	background:
		rgba(25,224,120,.18);
}


@media (max-width: 800px) {

	.tr-wordpress-faq__header {
		grid-template-columns: 1fr;
	}


	.tr-wordpress-faq__question {
		grid-template-columns:
			45px
			minmax(0,1fr);

		padding:
			0 16px !important;
	}


	.tr-wordpress-faq__state {
		display: none;
	}


	.tr-wordpress-faq__answer span,
	.tr-wordpress-faq__answer p {
		margin-left: 61px;
		margin-right: 20px;
	}

}