/* FAQ accordion – [faq] */
.efaq {
	--efaq-text: #4b5563;
	--efaq-strong: #111827;
	--efaq-line: #e7e9ee;
	--efaq-red: #ce1126;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 1.2em 0 2em;
	interpolate-size: allow-keywords;
}
.efaq-title + .efaq { margin-top: 0; }
.efaq *,
.efaq *::before,
.efaq *::after { box-sizing: border-box; }

.efaq-item {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--efaq-line);
	border-radius: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.efaq-item[open] {
	border-color: #d9dde4;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 22px -12px rgba(16, 24, 40, .22);
}

.efaq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.efaq-q::-webkit-details-marker,
.efaq-q::marker { display: none; content: ""; }
.efaq-q:focus-visible { outline: 2px solid var(--efaq-strong); outline-offset: -2px; border-radius: 14px; }

.efaq .efaq-q__text {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--efaq-strong);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	transition: color .15s ease;
}
.efaq .efaq-q__text::before,
.efaq .efaq-q__text::after { content: none; display: none; }
.efaq-q:hover .efaq-q__text,
.efaq-item[open] .efaq-q__text { color: var(--efaq-red); }

/* Plus that turns into a minus */
.efaq-icon {
	position: relative;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f2f3f5;
	transition: background-color .2s ease;
}
.efaq-icon::before,
.efaq-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--efaq-strong);
	transform: translate(-50%, -50%);
	transition: transform .2s ease, background-color .2s ease;
}
.efaq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.efaq-item[open] .efaq-icon { background: var(--efaq-red); }
.efaq-item[open] .efaq-icon::before,
.efaq-item[open] .efaq-icon::after { background: #fff; }
.efaq-item[open] .efaq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.efaq-a {
	padding: 0 20px 18px;
	color: var(--efaq-text);
	font-size: 16px;
	line-height: 1.7;
}
.efaq .efaq-a p { margin: 0 0 .7em; }
.efaq .efaq-a p:last-child { margin-bottom: 0; }
.efaq-a a { color: var(--efaq-red); text-decoration: underline; text-underline-offset: 3px; }

/* Smooth open/close where the browser supports it. */
@supports selector(::details-content) {
	.efaq-item::details-content {
		height: 0;
		overflow: clip;
		transition: height .25s ease, content-visibility .25s allow-discrete;
	}
	.efaq-item[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.efaq-item::details-content { transition: none; }
}

@media (max-width: 600px) {
	.efaq-q { padding: 14px 16px; }
	.efaq .efaq-q__text { font-size: 16px; }
	.efaq-a { padding: 0 16px 16px; font-size: 15px; }
}
