/* Block: MP – FAQ */

.mp-faq__inner {
	max-width: 1140px;
	padding-top: 104px;
	padding-bottom: 104px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 80px;
}

.mp-faq__tete {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mp-faq__titre {
	margin: 0;
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 44px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--mp-black);
	text-transform: none;
	text-wrap: balance;
}

.mp-faq__contact {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--mp-muted);
}

.mp-faq__contact a {
	font-weight: 700;
	color: var(--mp-black);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mp-faq__liste {
	flex: 1.6 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.mp-faq__item {
	border-bottom: 1px solid #E8D9C8;
}

.mp-faq__item:first-child {
	border-top: 1px solid #E8D9C8;
}

.mp-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--mp-font-title);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.4;
	color: var(--mp-black);
}

.mp-faq__question::-webkit-details-marker {
	display: none;
}

.mp-faq__question::marker {
	content: "";
}

.mp-faq__question:focus-visible {
	outline: 2px solid var(--mp-pink);
	outline-offset: 4px;
	border-radius: 4px;
}

.mp-faq__plus {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 100px;
	border: 1.5px solid var(--mp-ink);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.mp-faq__plus::before,
.mp-faq__plus::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1.5px;
	background: var(--mp-ink);
	transform: translate(-50%, -50%);
}

.mp-faq__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.mp-faq__item[open] .mp-faq__plus {
	background: var(--mp-yellow);
	transform: rotate(45deg);
}

.mp-faq__reponse {
	max-width: 620px;
	padding: 0 54px 24px 0;
	font-size: 15px;
	line-height: 1.65;
	color: #333333;
}

.mp-faq__reponse p {
	margin: 0 0 10px;
}

.mp-faq__reponse p:last-child {
	margin-bottom: 0;
}

.mp-faq__reponse ul,
.mp-faq__reponse ol {
	margin: 0 0 10px;
	padding-left: 1.2em;
}

.mp-faq__reponse li {
	margin: 0 0 6px;
}

.mp-faq__reponse > :last-child {
	margin-bottom: 0;
}

/* "Show more": the extra questions are hidden only once the script has run, so they stay readable without it. */
.mp-faq__liste.is-replie .mp-faq__item.is-extra {
	display: none;
}

.mp-faq__plus-de {
	align-self: flex-start;
	margin-top: 28px;
}

/* .mp-btn sets display: inline-flex, which would otherwise override the hidden attribute. */
.mp-faq__plus-de[hidden] {
	display: none;
}

.mp-faq__plus-de svg {
	width: 18px;
	height: 18px;
}

/* Keep the title beside the questions while scrolling a long list. */
@media (min-width: 900px) {
	.mp-faq__tete {
		position: sticky;
		top: 40px;
	}

	.admin-bar .mp-faq__tete {
		top: 72px;
	}
}

.mp-faq--vide {
	padding: 24px;
	text-align: center;
	color: var(--mp-muted);
}

@media (max-width: 760px) {
	.mp-faq__inner {
		padding-top: 64px;
		padding-bottom: 72px;
		gap: 28px;
	}

	.mp-faq__titre {
		font-size: 30px;
	}

	.mp-faq__question {
		font-size: 16px;
		padding: 18px 0;
	}

	.mp-faq__reponse {
		padding-right: 0;
	}
}
