/* MGH FAQ widget – accordion list, single column. Chevron toggles (rotates 180° when open). */
/* Container width matches image-text image column: 884px centered mobile, 686px + 50px left inset desktop. */
/* Title: Desktop H4 / Mobile H3, MGH blue. Optional section description (Paragraph) below title. Padding: 60px mobile, 100px desktop. */
/* Item: question Mobile H6 / Desktop H6; header padding 30px top/bottom mobile, 40px desktop; chevron 12×12. */

.mgh-faq {
	margin: 60px auto 0 auto;
	padding: 0 20px;
	max-width: 884px;
	width: 100%;
}

.mgh-faq--no-top-padding {
	margin-top: 0;
}

/* Mobile H3 (Figma): Poppins 600, 28px, line-height 120% */
.mgh-faq__title {
	margin: 0 0 20px 0;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.2;
}

/* Section intro — matches list/contact description (Paragraph, 14px, weight 300). */
.mgh-faq__section-description {
	margin: 0;
	line-height: 1.4;
	font-family: Poppins, sans-serif;
	font-weight: 300;
	font-size: 14px;
	color: #2c3a60;
}

.mgh-faq--has-description .mgh-faq__list {
	margin-top: 28px;
}

.mgh-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
}

.mgh-faq__item {
	margin: 0;
	padding: 0;
	border: none;
	border-top: 1px solid rgba(44, 58, 96, 0.20);
}

.mgh-faq__item:last-child {
	border-bottom: 1px solid rgba(44, 58, 96, 0.20);
}

.mgh-faq__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 30px 0;
	cursor: pointer;
	list-style: none;
}

.mgh-faq__header::-webkit-details-marker,
.mgh-faq__header::marker {
	display: none;
}

.mgh-faq__item-title {
	flex: 1;
	min-width: 0;
	line-height: 1.2;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 16px;
}

.mgh-faq .mgh-faq__list .mgh-faq__item-title {
	color: #2c3a60;
}

.mgh-faq__chevron {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.mgh-faq__item[open] .mgh-faq__chevron {
	transform: rotate(180deg);
}

.mgh-faq__description {
	margin: 0 0 20px 0;
	padding: 0;
	line-height: 1.4;
}

/* Rich text (WYSIWYG) content inside answers */
.mgh-faq__description p {
	margin: 0 0 1em 0;
}

.mgh-faq__description p:last-child {
	margin-bottom: 0;
}

.mgh-faq__description strong,
.mgh-faq__description b {
	font-weight: 600;
}

.mgh-faq__description ul,
.mgh-faq__description ol {
	margin: 0 0 1em 0;
	padding-left: 1.5em;
}

.mgh-faq__description ul {
	list-style: disc;
}

.mgh-faq__description ol {
	list-style: decimal;
}

.mgh-faq__description ul:last-child,
.mgh-faq__description ol:last-child {
	margin-bottom: 0;
}

.mgh-faq__description li {
	margin-bottom: 0.4em;
}

.mgh-faq__description a {
	color: #2c3a60;
	text-decoration: underline;
}

.mgh-faq__button-wrap {
	margin-top: 0;
	margin-bottom: 20px;
}

/* Desktop – match image-text image column (686px) with the same 50px left inset */
@media (min-width: 1280px) {
	.mgh-faq {
		margin: 100px 0 0 50px;
		padding: 0;
		max-width: 686px;
	}

	.mgh-faq--no-top-padding {
		margin-top: 0;
	}

	/* Desktop H4 (Figma): Poppins 600, 27px, line-height 120% */
	.mgh-faq__title {
		margin-bottom: 20px;
		font-size: 27px;
	}

	.mgh-faq:not(.mgh-faq--has-description) .mgh-faq__title {
		margin-bottom: 28px;
	}

	.mgh-faq--has-description .mgh-faq__list {
		margin-top: 28px;
	}

	.mgh-faq__header {
		padding: 40px 0;
	}

	.mgh-faq__item-title {
		font-size: 17px;
	}
}
