/*
Theme Name: PFAdvisors Child
Theme URI: 
Description: Motyw potomny dla PFAdvisors
Author: 
Author URI: 
Template: pfadvisors
Version: 1.0.0
Text Domain: pfadvisors-child
*/

/* FAQ accordion - single post */

.single-faq {
	margin-top: 45px;
	margin-bottom: 35px;
}

.single-faq__heading {
	margin: 0 0 24px;
	color: #4f5b6b;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
}

.single-faq__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.single-faq__item {
	border: 1px solid #a52a43;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-faq__item[open] {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.single-faq__question {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 56px 18px 22px;
	cursor: pointer;
	list-style: none;
	color: #a52a43;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.single-faq__question::-webkit-details-marker {
	display: none;
}

.single-faq__question::marker {
	display: none;
	content: "";
}

.single-faq__question-title {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.single-faq__question::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 24px;
	height: 24px;
	border: 1px solid #a52a43;
	border-radius: 50%;
	color: #a52a43;
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	text-align: center;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.single-faq__item[open] .single-faq__question::after {
	content: "−";
	background: #a52a43;
	color: #fff;
}

.single-faq__answer {
	padding: 0 22px 20px;
	color: #4f5b6b;
	font-size: 15px;
	line-height: 1.7;
}

.single-faq__answer p {
	margin-top: 0;
	margin-bottom: 14px;
}

.single-faq__answer p:last-child,
.single-faq__answer ul:last-child,
.single-faq__answer ol:last-child {
	margin-bottom: 0;
}

.single-faq__answer ul,
.single-faq__answer ol {
	margin-top: 0;
	margin-bottom: 14px;
	padding-left: 22px;
}

.single-faq__answer li {
	margin-bottom: 6px;
}

.single-faq__answer li:last-child {
	margin-bottom: 0;
}

.single-faq__answer a {
	color: #a52a43;
	text-decoration: underline;
}

.single-faq__answer strong,
.single-faq__answer b {
	font-weight: 600;
}

@media (hover: hover) {
	.single-faq__item:hover {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	}

	.single-faq__question:hover::after {
		background: #a52a43;
		color: #fff;
	}
}

@media (max-width: 767px) {
	.single-faq {
		margin-top: 35px;
		margin-bottom: 30px;
	}

	.single-faq__heading {
		font-size: 26px;
	}

	.single-faq__question {
		padding: 16px 50px 16px 18px;
		font-size: 17px;
	}

	.single-faq__question::after {
		right: 18px;
	}

	.single-faq__answer {
		padding: 0 18px 18px;
		font-size: 15px;
	}
}

