/**
 * FAQ Block Styles for Category Pages
 * Accordion-style FAQ section
 */

.tantal-cat-faq {
	margin: 48px 0;
	padding: 0;
	width: 100%;
}

.tantal-cat-faq__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	color: #333;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 32px 0;
	padding: 0;
}

.tantal-cat-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 100%;
}

.tantal-cat-faq__item {
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tantal-cat-faq__item:hover {
	border-color: #d0d0d0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tantal-cat-faq__item.is-open {
	border-color: #b0b0b0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tantal-cat-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: background-color 0.2s ease;
}

.tantal-cat-faq__question:hover {
	background-color: #f8f8f8;
}

.tantal-cat-faq__question:focus {
	outline: 2px solid #0073aa;
	outline-offset: -2px;
}

.tantal-cat-faq__question-text {
	flex: 1;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #333;
	margin: 0;
	padding-right: 16px;
}

.tantal-cat-faq__chevron {
	flex-shrink: 0;
	font-size: 24px;
	font-weight: 300;
	color: #666;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s ease;
	transform: rotate(0deg);
}

.tantal-cat-faq__item.is-open .tantal-cat-faq__chevron {
	transform: rotate(90deg);
	color: #333;
}

.tantal-cat-faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0 20px;
	background: #fafafa;
}

.tantal-cat-faq__item.is-open .tantal-cat-faq__answer {
	max-height: 1000px;
	padding: 16px 20px 20px;
}

.tantal-cat-faq__answer-content {
	font-size: 15px;
	line-height: 24px;
	color: #555;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.tantal-cat-faq {
		margin: 32px 0;
	}
	
	.tantal-cat-faq__title {
		font-size: 20px;
		line-height: 28px;
		margin-bottom: 24px;
	}
	
	.tantal-cat-faq__question {
		padding: 14px 16px;
	}
	
	.tantal-cat-faq__question-text {
		font-size: 15px;
		line-height: 22px;
		padding-right: 12px;
	}
	
	.tantal-cat-faq__chevron {
		font-size: 20px;
	}
	
	.tantal-cat-faq__answer {
		padding: 0 16px;
	}
	
	.tantal-cat-faq__item.is-open .tantal-cat-faq__answer {
		padding: 14px 16px 18px;
	}
	
	.tantal-cat-faq__answer-content {
		font-size: 14px;
		line-height: 22px;
	}
}

