/* Marble Accordion for Elementor */
.mma {
	--mma-c1: 25fr;
	--mma-c2: 34fr;
	--mma-c3: 41fr;
	--mma-gap: 0px;
	width: 100%;
	box-sizing: border-box;
}
.mma *,
.mma *::before,
.mma *::after {
	box-sizing: border-box;
}

/* ---- Row ---- */
.mma__item {
	display: grid;
	grid-template-columns: minmax(0, var(--mma-c1)) minmax(0, var(--mma-c2)) minmax(0, var(--mma-c3));
	column-gap: var(--mma-gap);
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid #d9d6cf;
	transition: background-color .25s ease;
}
.mma__list > .mma__item:last-child {
	border-bottom: 1px solid #d9d6cf;
}

/* ---- Header (button) ---- */
.mma .mma__header,
.mma .mma__header:hover,
.mma .mma__header:focus,
.mma .mma__header:active {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: left;
	text-transform: none;
	letter-spacing: inherit;
	font: inherit;
	line-height: inherit;
	color: inherit;
	cursor: pointer;
}
.mma .mma__header:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}
.mma .mma__header--static {
	cursor: default;
}
.mma__item.is-active .mma__header {
	grid-column: 1;
	align-self: start;
}

.mma__title {
	display: block;
	font-size: 16px;
	line-height: 1.3;
	color: #111;
	transition: color .25s ease;
}

/* ---- Arrows / icons ---- */
.mma__icon {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: 1;
	color: #111;
	transition: transform .3s ease, color .25s ease, opacity .2s ease;
}
.mma__i {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.mma__i svg {
	width: 1em;
	height: 1em;
	display: block;
}
.mma__i--custom svg {
	fill: currentColor;
}
.mma__i--custom i {
	line-height: 1;
}
.mma--hide-arrow .mma__item.is-active .mma__header .mma__icon {
	display: none;
}

/* ---- Panel ---- */
.mma__panel {
	display: none;
	grid-column: 2 / -1;
	grid-row: 1;
	overflow: hidden;
}
.mma__item.is-active .mma__panel {
	display: block;
}
.mma__panel-inner {
	display: grid;
	grid-template-columns: minmax(0, var(--mma-c2)) minmax(0, var(--mma-c3));
	column-gap: var(--mma-gap);
	align-items: stretch;
}
.mma__panel-inner--no-media {
	grid-template-columns: minmax(0, 1fr);
}

.mma__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
}
.mma__desc {
	max-width: 280px;
	font-size: 12px;
	line-height: 1.55;
	color: #5b5b5b;
}

/* ---- Links ---- */
.mma .mma__link,
.mma .mma__footer-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	font-size: 12px;
	line-height: 1.3;
	color: #111;
	text-decoration: none;
	box-shadow: none;
	transition: color .25s ease, opacity .25s ease;
}
.mma .mma__link:hover,
.mma .mma__footer-link:hover {
	text-decoration: none;
}
.mma .mma__link .mma__i,
.mma .mma__footer-link .mma__i {
	font-size: 13px;
	transition: transform .25s ease;
}
.mma .mma__link:hover .mma__i,
.mma .mma__footer-link:hover .mma__i {
	transform: translateX(3px);
}

/* ---- Image ---- */
.mma__media {
	min-width: 0;
}
.mma__media img {
	display: block;
	width: 100%;
	height: 180px;
	max-width: 100%;
	object-fit: cover;
}

/* ---- Footer ---- */
.mma__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 32px;
}
.mma .mma__footer-link {
	align-self: auto;
}

/* ---- Mobile: stack ---- */
@media (max-width: 767px) {
	.mma__item {
		grid-template-columns: minmax(0, 1fr);
	}
	.mma__item.is-active .mma__header,
	.mma__header {
		grid-column: 1;
	}
	.mma__panel {
		grid-column: 1;
		grid-row: 2;
		padding-top: 14px;
	}
	.mma__panel-inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 16px;
	}
	.mma__content {
		gap: 12px;
	}
	/* keep the arrow visible on mobile when open so the row still reads as a toggle */
	.mma--hide-arrow .mma__item.is-active .mma__header .mma__icon {
		display: inline-flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mma * {
		transition: none !important;
	}
}
