/* FAQ Yoga Beyt — accordion */

.ybfaq {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.ybfaq *,
.ybfaq *::before,
.ybfaq *::after { box-sizing: border-box; }

/* Header */
.ybfaq__head {
	text-align: center;
	margin-bottom: 56px;
}

.ybfaq__title {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 48px;
	line-height: 56px;
	font-weight: 400;
	letter-spacing: -1.92px;
	color: #3e3e3e;
	margin: 0;
}

.ybfaq__subtitle {
	font-family: "Raleway", sans-serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: 600;
	letter-spacing: -0.36px;
	color: rgba(0, 0, 0, 0.66);
	margin: 16px 0 0;
}

/* List */
.ybfaq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

/* Question row (button) */
.ybfaq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	background: none;
	border: 0;
	margin: 0;
	cursor: pointer;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}

.ybfaq__q:hover,
.ybfaq__q:focus,
.ybfaq__q:active {
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.ybfaq__q-text {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 24px;
	line-height: 28px;
	font-weight: 400;
	letter-spacing: -0.96px;
	color: #3b1e11;
}

.ybfaq__icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: #3b1e11;
	transition: transform .3s ease;
}

.ybfaq__q[aria-expanded="true"] .ybfaq__icon {
	transform: rotate(180deg);
}

/* Answer (collapsible) */
.ybfaq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .32s ease;
}

.ybfaq__q[aria-expanded="true"] + .ybfaq__a {
	grid-template-rows: 1fr;
}

.ybfaq__a-inner {
	overflow: hidden;
}

.ybfaq__q[aria-expanded="true"] + .ybfaq__a .ybfaq__a-inner {
	padding-bottom: 22px;
}

.ybfaq__a-inner,
.ybfaq__a-inner p {
	font-family: "Raleway", sans-serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: 600;
	letter-spacing: -0.36px;
	color: rgba(0, 0, 0, 0.41);
	margin: 0;
	max-width: 800px;
}

.ybfaq__a-inner p + p { margin-top: 10px; }

.ybfaq__empty {
	font-family: "Raleway", sans-serif;
	color: rgba(0, 0, 0, 0.6);
	text-align: center;
}

/* Responsive */
@media (max-width: 680px) {
	.ybfaq__title { font-size: 32px; line-height: 40px; letter-spacing: -1px; }
	.ybfaq__q-text { font-size: 20px; line-height: 26px; letter-spacing: -0.6px; }
	.ybfaq__q { padding: 18px 0; gap: 16px; }
	.ybfaq__head { margin-bottom: 40px; }
}
