/**
 * FAQs Panel
 * ============================================================================
 * Accordion-style frequently asked questions section.
 *
 * Load order: After base.css, before page-specific styles
 * Dependencies: 00-tokens.css (design tokens)
 * ============================================================================
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

.faqs-panel {
	position: relative;
}

.faqs-panel .content {
	max-width: 1280px;
	padding-top: 60px;
}

.faqs-panel .content h3 {
	color: var(--brand-main);
	font-size: 42px;
	letter-spacing: -1.5px;
	line-height: 46px;
	margin-bottom: 38px;
}

.faqs-container {
	border-top: 1px solid var(--grey);
	padding-bottom: 100px;
}

.faqs-container .faq {
	border-bottom: 1px solid var(--grey);
	font-size: 20px;
	line-height: 28px;
	padding: 23px 0;
	width: 100%;
	position: relative;
}

.faqs-container .faq h4 {
	font-weight: 400;
	padding-right: 50px;
	display: block;
}

.faqs-container .faq .answer {
	display: none;
	font-size: 16px;
	padding: 40px 0 70px;
	max-width: 880px;
	width: 100%;
	clear: both;
}

.faqs-container .faq a.cross {
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	transition: all ease 0.3s;
	position: absolute;
	right: 0;
	top: 23px;
}

.faqs-container .faq a.cross span {
	font-size: 30px;
}

.faqs-container .faq a.closed {
	align-items: center;
	display: flex;
	justify-content: center;
	transform: rotate(45deg);
}

.faqs-container .faq a.closed.open {
	transform: rotate(0deg);
}

/* ==========================================================================
   Responsive: Desktop and below (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
	.faqs-panel .content {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* ==========================================================================
   Responsive: Tablet (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
	.faqs-panel .content h3 {
		font-size: 34px;
		line-height: 42px;
	}
}

/* ==========================================================================
   Responsive: Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
	.faqs-panel .content {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* FAQ mobile adjustments */
	.faqs-container .faq {
		font-size: 16px;
		line-height: 24px;
		padding: 16px 0;
	}

	.faqs-container .faq h4 {
		padding-right: 40px;
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.faqs-container .faq a.cross {
		top: 16px;
	}

	.faqs-container .faq a.cross span {
		font-size: 24px;
	}

	.faqs-container .faq .answer {
		padding: 24px 0 40px;
	}
}
