/**
 * [bcc_faq] + the FAQ block appended to [bcc_location] output. Restyled to
 * match the reference mockup's plain <details>/<summary> treatment
 * (design/reference/index.html's generic details/summary rules) instead
 * of the bordered-card look this used to have -- no page used this before
 * PR 12 shipped it, so there was nothing to preserve.
 */
.bcc-faq {
	display: flex;
	flex-direction: column;
}

.bcc-faq__item {
	border-top: var(--bcc-border-width) solid var(--bcc-ink);
	padding: 18px 0;
}

.bcc-faq__item:last-child {
	border-bottom: var(--bcc-border-width) solid var(--bcc-ink);
}

.bcc-faq__item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	font-family: var(--bcc-font-display);
	font-weight: 800;
	font-size: 28px;
	text-transform: uppercase;
	color: var(--bcc-ink);
}

.bcc-faq__item summary::-webkit-details-marker {
	display: none;
}

.bcc-faq__item summary::after {
	content: "+";
	font-family: var(--bcc-font-mono);
	transition: transform .25s;
}

.bcc-faq__item[open] summary::after {
	transform: rotate(45deg);
}

.bcc-faq__item p {
	margin: 12px 0 0;
	color: var(--bcc-muted);
	max-width: 760px;
	line-height: 1.5;
}

/**
 * ===== [bcc_faq]'s own homepage section wrapper =====
 * The reference sits #faq directly under the (not yet built, tracked
 * separately) "Nos comptoirs" section with no top padding of its own --
 * once that section exists this can drop back to matching it exactly.
 * Until then this gets the same top/bottom rhythm as every other
 * homepage section.
 */
.bcc-faq-section {
	padding-block: 100px;
}

@media (width < 860px) {
	.bcc-faq-section {
		padding-block: 64px;
	}
}

.bcc-faq-section__wrap {
	width: min(1280px, 100% - 40px);
	margin-inline: auto;
}

.bcc-faq-section__head {
	margin-bottom: 40px;
}

.bcc-faq-section__head h2 {
	font-family: var(--bcc-font-display) !important;
	font-weight: 900;
	text-transform: uppercase;
	line-height: .88;
	font-size: clamp(3.375rem, 7.2vw, 7rem);
	color: var(--bcc-ink) !important;
	margin: 0;
}
