/**
 * 2 Col FAQ + Image.
 *
 * Left image 40%, right FAQ accordion 60%.
 *
 * Brand colours: ink #1E1F1E · slate #454645 · brand #119100 ·
 *                sky #35AFC9 · cloud #F3EFE3
 */

.nops-tcf {
	position: relative;
	width: 100%;
	background: #454645; /* slate */
	color: #f3efe3; /* cloud */
	padding: 98px 0;
}

.nops-tcf-inner > .flex {
	gap: 96px;
	align-items: stretch; /* image matches the text height */
}

/* ---- Left: image ---- */
.nops-tcf-image-col {
	display: flex;
}

.nops-tcf-image {
	display: block;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #3a3b3a;
}

/* ---- Right: heading + accordion ---- */
.nops-tcf-text-col {
	min-width: 0;
	/* same vertical padding as the Two Col Layout text side */
	padding-top: 140px;
	padding-bottom: 140px;
}

.nops-tcf-heading {
	margin: 0 0 70px; /* 70px above the accordion's first line */
	font-weight: 400;
	line-height: 1.1;
	color: #f3efe3;
	font-size: clamp(2rem, 2.6vw, 50px); /* 50px */
}

/* ---- Accordion (reuses .nops-faq__* behaviour) ---- */
.nops-tcf-list .nops-faq-item {
	border-top: 1px solid #35afc9;
}

.nops-tcf-list .nops-faq-item:last-child {
	border-bottom: 1px solid #35afc9;
}

.nops-tcf-question {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	padding: 39px 0; /* 39px top/bottom */
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	color: #f3efe3;
	font-size: 30px; /* 30px */
	line-height: 1.3;
}

/* +/- icon */
.nops-tcf-question .nops-faq-icon {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.nops-tcf-question .nops-faq-icon::before,
.nops-tcf-question .nops-faq-icon::after {
	content: "";
	position: absolute;
	background: #f3efe3;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nops-tcf-question .nops-faq-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}

.nops-tcf-question .nops-faq-icon::after {
	left: 50%;
	top: 0;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}

.nops-tcf-question[aria-expanded="true"] .nops-faq-icon::after {
	transform: translateX(-50%) scaleY(0);
	opacity: 0;
}

/* answer (animated height) */
.nops-tcf-list .nops-faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}

.nops-tcf-list .nops-faq-answer.is-open {
	grid-template-rows: 1fr;
}

.nops-tcf-answer-inner {
	overflow: hidden;
	min-height: 0; /* allow the 0fr grid row to collapse fully */
	font-size: 20px; /* 20px */
	letter-spacing: 0.015em;
	line-height: 28px;
	color: #f3efe3;
	padding-left: 42px; /* align under the question text (icon + gap) */
}

.nops-tcf-list .nops-faq-answer.is-open .nops-tcf-answer-inner {
	padding-bottom: 39px;
}

.nops-tcf-answer-inner p {
	margin: 0;
}

.nops-tcf-answer-inner p + p {
	margin-top: 40px; /* 40px gap between paragraphs */
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.nops-tcf-inner > .flex {
		gap: 48px;
	}

	.nops-tcf-text-col {
		padding-top: 48px;
		padding-bottom: 0;
	}

	.nops-tcf-image {
		aspect-ratio: 1 / 1;
	}
}
