/**
 * Expert FAQs — accordion (native details/summary)
 */

.mivida-faq-page .mivida-faq {
	padding-top: 72px;
	padding-bottom: 72px;
}

.admin-bar .mivida-faq-page .mivida-faq {
	padding-top: calc(72px + 32px);
}

.mivida-faq__inner {
	max-width: 800px;
}

.mivida-faq__header {
	margin-bottom: 36px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e8e8e8;
}

.mivida-faq__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #BA9E82;
}

.mivida-faq__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	color: #1d2327;
}

.mivida-faq__accordion {
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.mivida-faq__item {
	border-bottom: 1px solid #e8e8e8;
}

.mivida-faq__item:last-child {
	border-bottom: none;
}

.mivida-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
	background: #fafafa;
	transition: background 0.2s ease;
}

.mivida-faq__summary::-webkit-details-marker {
	display: none;
}

.mivida-faq__summary::marker {
	display: none;
}

.mivida-faq__summary:hover,
.mivida-faq__summary:focus {
	background: #f3f3f3;
	outline: none;
}

.mivida-faq__summary:focus-visible {
	box-shadow: inset 0 0 0 2px #BA9E82;
}

.mivida-faq__summary-text {
	flex: 1;
	text-align: left;
}

.mivida-faq__opener {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-right: 2px solid #1d2327;
	border-bottom: 2px solid #1d2327;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	margin-top: -4px;
}

.mivida-faq__item[open] .mivida-faq__opener {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.mivida-faq__item[open] .mivida-faq__summary {
	background: #fff;
}

.mivida-faq__content {
	padding: 0 20px 20px;
	background: #fff;
}

.mivida-faq__answer {
	font-size: 1rem;
	line-height: 1.65;
	color: #50575e;
}

.mivida-faq__answer--rich p {
	margin: 0 0 12px;
}

.mivida-faq__answer--rich p:last-child {
	margin-bottom: 0;
}

.mivida-faq__extra {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e8e8e8;
	font-size: 1rem;
	line-height: 1.65;
	color: #50575e;
}

.mivida-faq__extra.entry-content > *:first-child {
	margin-top: 0;
}

.mivida-faq__extra.entry-content > *:last-child {
	margin-bottom: 0;
}
