/* JNYK FAQ Toggle - front-end styles */

.jnyk-faq-wrap {
	width: 100%;
}

.jnyk-faq-heading {
	font-size: 36px;
	color: #1c2b24;
	margin: 0;
	font-weight: 400;
	text-transform: uppercase;
}

.jnyk-faq-list {
	width: 100%;
}

.jnyk-faq-item {
	border-bottom: 1px solid #213838;
	position: relative;
}

/* the short bold accent underline segment, shown on the active/open item */
.jnyk-faq-item::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 0;
	background-color: #213838;
	transition: width 0.3s ease;
}

.jnyk-faq-item.jnyk-faq-active::after {
	width: 100%;
}

.jnyk-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: none;
	border: none;
	padding: 18px 0;
	margin: 0;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.jnyk-faq-question-text {
	font-size: 16px;
	color: #1c2b24;
	line-height: 1.4;
}

.jnyk-faq-icon {
	position: relative;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.jnyk-faq-icon-line {
	position: absolute;
	background-color: #1c2b24;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.jnyk-faq-icon-h {
	width: 16px;
	height: 1px;
}

.jnyk-faq-icon-v {
	width: 1px;
	height: 16px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.jnyk-faq-item.jnyk-faq-active .jnyk-faq-icon-v {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.jnyk-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.jnyk-faq-answer-inner {
	padding: 0 0 20px;
}

.jnyk-faq-answer-inner p {
	font-size: 14px;
	line-height: 1.6;
	color: #5c6b64;
	margin: 0;
}
