/* TEACH FAQ */

.teach-faq-search,
.teach-faq-accordion {
	--tf-accent: #f5861f;
	--tf-accent-dark: #e07310;
	--tf-text: #1a1a1a;
	--tf-muted: #6b6b6b;
	--tf-bg-soft: #f7f7f8;
	font-size: 15px;
	color: var(--tf-text);
}

/* ---------- button ---------- */

.tf-btn {
	display: inline-block;
	background: var(--tf-accent);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 7px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.tf-btn:hover,
.tf-btn:focus {
	background: var(--tf-accent-dark);
	color: #fff;
}

/* ---------- search bar ---------- */

.teach-faq-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	padding: 6px 6px 6px 16px;
	margin: 0 0 24px;
}

.tf-search-icon {
	flex: 0 0 auto;
	color: var(--tf-muted);
}

.tf-search-input {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	font-size: 15px;
	color: var(--tf-text);
	outline: none;
	box-shadow: none;
	padding: 8px 0;
	min-width: 0;
}

.tf-search-input::placeholder {
	color: var(--tf-muted);
}

.tf-search-btn {
	flex: 0 0 auto;
	border-radius: 6px;
	padding: 7px 16px;
}

/* ---------- accordion ---------- */

.tf-item {
	background: var(--tf-bg-soft);
	border-radius: 8px;
	margin: 0 0 12px;
	overflow: hidden;
}

.tf-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	background: none;
	border: 0;
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--tf-text);
	text-align: left;
	cursor: pointer;
}

.tf-question:hover .tf-question-text {
	color: var(--tf-accent-dark);
}

.tf-icon {
	flex: 0 0 auto;
	color: var(--tf-accent);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.tf-answer {
	padding: 0 20px 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tf-text);
}

.tf-answer p {
	margin: 0 0 10px;
}

.tf-answer p:last-child {
	margin-bottom: 0;
}

.tf-answer a {
	color: var(--tf-accent-dark);
}

.tf-empty {
	background: var(--tf-bg-soft);
	border-radius: 8px;
	padding: 16px 20px;
	color: var(--tf-muted);
	margin: 0 0 12px;
}
