/* 태미안치과 FAQ (자주 묻는 질문) */

.tfaq {
	max-width: 720px;
	margin: 0 auto;
	color: #222222;
}

.tfaq-head {
	text-align: center;
	margin: 0 0 24px;
}

.tfaq-eyebrow {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #0c79bc;
	margin: 0 0 8px;
}

.tfaq-title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.3px;
	margin: 0 0 10px;
}

.tfaq-sub {
	font-size: 15px;
	line-height: 1.7;
	color: #666666;
	margin: 0;
}

.tfaq-list {
	border: 1px solid #e3ebf1;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
}

.tfaq-item {
	border-bottom: 1px solid #eef3f7;
}

.tfaq-item:last-child {
	border-bottom: none;
}

/* 질문 줄 */
.tfaq-q {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 18px 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
	color: #22303c;
	cursor: pointer;
	list-style: none;
	transition: background 0.15s ease;
}

.tfaq-q::-webkit-details-marker {
	display: none;
}

.tfaq-q:hover {
	background: #f7fbfd;
}

.tfaq-q-mark {
	flex: none;
	font-size: 15px;
	font-weight: 800;
	color: #0c79bc;
	line-height: 1.6;
}

.tfaq-q-text {
	flex: 1;
}

/* 펼침 화살표 */
.tfaq-q-arrow {
	flex: none;
	width: 10px;
	height: 10px;
	margin-top: 7px;
	border-right: 2px solid #9bb0c0;
	border-bottom: 2px solid #9bb0c0;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.tfaq-item[open] > .tfaq-q {
	background: #f4f9fc;
}

.tfaq-item[open] .tfaq-q-arrow {
	transform: rotate(-135deg);
	margin-top: 11px;
}

/* 답변 */
.tfaq-a {
	display: flex;
	gap: 10px;
	padding: 0 20px 20px;
	font-size: 15px;
	line-height: 1.75;
	color: #4a5661;
}

.tfaq-a-mark {
	flex: none;
	font-size: 15px;
	font-weight: 800;
	color: #9bb0c0;
}

.tfaq-a-text {
	flex: 1;
}

.tfaq-a-text p {
	margin: 0 0 10px;
}

.tfaq-a-text p:last-child {
	margin-bottom: 0;
}

.tfaq-a-text a {
	color: #0c79bc;
	font-weight: 700;
}

.tfaq-note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: #8a949c;
	text-align: center;
}

@media (max-width: 600px) {
	.tfaq-title {
		font-size: 22px;
	}

	.tfaq-q {
		font-size: 15px;
		padding: 16px 16px;
	}

	.tfaq-a {
		padding: 0 16px 18px;
		font-size: 14.5px;
	}
}

/* ---------- 진료과목별 묶음 제목 (set="all" 통합 페이지용) ---------- */
.tfaq-group {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.2px;
	color: #22303c;
	margin: 34px 0 12px;
}

.tfaq-group::before {
	content: "";
	flex: none;
	width: 4px;
	height: 18px;
	border-radius: 2px;
	background: #0c79bc;
}

.tfaq-head + .tfaq-group {
	margin-top: 6px;
}

@media (max-width: 600px) {
	.tfaq-group {
		font-size: 17px;
		margin: 28px 0 10px;
	}
}
