/* FAQ Section - Centered layout, white background, black/grey as per design */

.faq-section {
	padding: 56px 0 80px;
	background-color: #fff;
}

.faq-section__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	padding: 0;
	margin-top: 80px;
	padding-bottom: 80px;
}

/* Title - serif, large, black, centered, significant bottom margin */
.faq-section__title {
	color: #000;
	font-family: Playfair !important;
	font-size: 38px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: capitalize;
}

/* Intro - sans-serif, dark grey, centered */
.faq-section__intro {
	color: #000;
	text-align: center;
	font-family: Nunito !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-top: 20px;
}

.faq-section__intro p {
	margin: 0 0 10px;
}

.faq-section__intro p:last-child {
	margin-bottom: 0;
}

/* Tabs - horizontal, centered; thin light grey full-width line below */
.faq-section__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	border-bottom: 1px solid #eee;
	margin: 0 0 0;
	padding: 20px 0 0;
}

.faq-section__tab {
	appearance: none;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: #ccc;
	cursor: pointer;
	color: #C4C4C4;
	font-family: Playfair !important;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
	margin: 0 8px 0 0;
	text-align: center;
	width: 32%;
	transition: color 0.2s ease, border-color 0.2s ease;
	padding: 14px 20px 12px;
}

.faq-section__tab:hover {
	color: #999;
}

.faq-section__tab.is-active {
	color: #000;
	border-bottom-color: #000;
}

/* Panels - content left-aligned within centered container */
.faq-section__panels {
	margin-top: 0;
	padding-top: 0;
	text-align: left;
}

.faq-section__panel {
	display: none;
}

.faq-section__panel.is-active {
	display: flex;
	justify-content: center;
	align-items: center;
}

.faq-section__panel[hidden] {
	display: none !important;
}

.faq-section__empty {
	color: #555;
	font-family: Nunito !important;
	font-size: 16px;
	font-style: italic;
	margin: 28px 0 0;
	text-align: center;
}

/* Accordion overrides inside FAQ section: black text, light grey borders, generous padding */
.faq-section .faq-accordion {
	width: 80%;
	margin-top: 40px;
}

.faq-section .faq-accordion details {
	background: #fff;
	margin: 0;
	padding: 20px 24px;
	border-radius: 0;
	border-bottom: 1px solid #eee;
}

.faq-section .faq-accordion details:last-child {
	border-bottom: 1px solid #eee;
}

.faq-section .faq-accordion summary {
	color: #000;
	font-family: Playfair !important;
	font-weight: 400;
	text-transform: none;
	padding-right: 28px;
	list-style: none; /* Firefox */

	& ::-webkit-details-marker {
  	display: none; /* Chrome / Safari */
	}
}

/* Black caret-down chevron (override gold), right-aligned */
.faq-section .faq-accordion summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	height: 12px;
	width: 12px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transform: translateY(-50%) rotate(0deg);
}

.faq-section .faq-accordion details[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.faq-section .faq-accordion .faq-accordion__answer {
	margin-top: 16px;
	padding-top: 4px;
	color: #333;
	font-family: Nunito !important;
	line-height: 1.6;
}

.faq-section .faq-accordion .faq-accordion__answer p {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.faq-section {
		padding: 40px 0 56px;
	}

	.faq-section__title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.faq-section__intro {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.faq-section__tab {
		padding: 12px 0px 10px;
		margin-right: 4px;
		font-size: 14px;
	}

	.faq-section .faq-accordion details {
		padding: 16px 20px;
	}
}