/**
 * Tour page content accordion (Compat\TourAccordion) — design A, 2026-11-24.
 * Native <details>/<summary>; the original H2/H3 sits inside <summary>.
 */
.mhm-tour-acc {
	border-bottom: 1px solid #e6e9ee;
}

.mhm-tour-acc:first-of-type {
	border-top: 1px solid #e6e9ee;
}

.mhm-tour-acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 0;
	cursor: pointer;
	list-style: none;
}

.mhm-tour-acc__head::-webkit-details-marker {
	display: none;
}

.mhm-tour-acc__head::marker {
	content: "";
}

/* One size for every row: the content mixes H2 and H3 for the same kind of
   section, which made the list look uneven (mockup: uniform rows). */
.mhm-tour-acc__head > h2,
.mhm-tour-acc__head > h3 {
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 1 auto;
	font-size: clamp(19px, 1.6vw, 24px) !important;
	line-height: 1.3 !important;
}

.mhm-tour-acc__head:focus-visible {
	outline: 2px solid #01806c;
	outline-offset: 2px;
}

.mhm-tour-acc__icon {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e8f6f3;
	transition: transform 0.2s ease;
}

.mhm-tour-acc__icon::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 10px;
	width: 7px;
	height: 7px;
	border-right: 2px solid #01806c;
	border-bottom: 2px solid #01806c;
	transform: rotate(45deg);
}

.mhm-tour-acc[open] > .mhm-tour-acc__head .mhm-tour-acc__icon {
	transform: rotate(180deg);
}

.mhm-tour-acc__body {
	padding: 0 0 16px;
}

.mhm-tour-acc__body > :first-child {
	margin-top: 0;
}

.mhm-tour-acc__body > :last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.mhm-tour-acc__icon {
		transition: none;
	}
}
